style(api): 统一代码风格并修复语法问题

- 统一import语句的空格格式
- 修复分号缺失问题
- 调整函数参数换行格式以符合规范
- 删除多余空行保持代码整洁
- 修复字符串拼接的换行格式问题
This commit is contained in:
2026-01-21 00:26:14 +08:00
parent 7a37f66081
commit 82ac209505
559 changed files with 40550 additions and 37977 deletions

View File

@@ -22,9 +22,7 @@
</a-spin>
<div class="ele-text-center">
<span>只能上传xlsxlsx文件</span>
<a :href="templateUrl" download="终本案件导入模板.xlsx">
下载导入模板
</a>
<a :href="templateUrl" download="终本案件导入模板.xlsx"> 下载导入模板 </a>
</div>
</ele-modal>
</template>
@@ -93,4 +91,3 @@
emit('update:visible', value);
};
</script>

View File

@@ -148,7 +148,10 @@
import { ref, reactive, watch } from 'vue';
import { Form, message } from 'ant-design-vue';
import { assignObject, uuid } from 'ele-admin-pro';
import { addCreditFinalVersion, updateCreditFinalVersion } from '@/api/credit/creditFinalVersion';
import {
addCreditFinalVersion,
updateCreditFinalVersion
} from '@/api/credit/creditFinalVersion';
import { CreditFinalVersion } from '@/api/credit/creditFinalVersion/model';
import { useThemeStore } from '@/store/modules/theme';
import { storeToRefs } from 'pinia';
@@ -257,7 +260,9 @@
const formData = {
...form
};
const saveOrUpdate = isUpdate.value ? updateCreditFinalVersion : addCreditFinalVersion;
const saveOrUpdate = isUpdate.value
? updateCreditFinalVersion
: addCreditFinalVersion;
saveOrUpdate(formData)
.then((msg) => {
loading.value = false;
@@ -280,12 +285,12 @@
images.value = [];
if (props.data) {
assignObject(form, props.data);
if(props.data.image){
if (props.data.image) {
images.value.push({
uid: uuid(),
url: props.data.image,
status: 'done'
})
});
}
isUpdate.value = true;
} else {