Merge remote-tracking branch 'origin/main'

This commit is contained in:
2026-01-18 22:23:08 +08:00
416 changed files with 24611 additions and 22733 deletions

View File

@@ -93,4 +93,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 { addCreditCaseFiling, updateCreditCaseFiling } from '@/api/credit/creditCaseFiling';
import {
addCreditCaseFiling,
updateCreditCaseFiling
} from '@/api/credit/creditCaseFiling';
import { CreditCaseFiling } from '@/api/credit/creditCaseFiling/model';
import { useThemeStore } from '@/store/modules/theme';
import { storeToRefs } from 'pinia';
@@ -257,7 +260,9 @@
const formData = {
...form
};
const saveOrUpdate = isUpdate.value ? updateCreditCaseFiling : addCreditCaseFiling;
const saveOrUpdate = isUpdate.value
? updateCreditCaseFiling
: addCreditCaseFiling;
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 {