修复:项目管理的关联工单列表增加查询条件appId

This commit is contained in:
gxwebsoft
2024-06-06 12:07:53 +08:00
parent 62bd0f7e36
commit 153b571705
14 changed files with 832 additions and 87 deletions

View File

@@ -145,7 +145,6 @@
const onDeleteItem = (index: number) => {
images.value.splice(index, 1);
form.value = '';
form.type = 0;
};
@@ -166,7 +165,6 @@
const saveOrUpdate = isUpdate.value
? updateWebsiteField
: addWebsiteField;
console.log(isUpdate.value);
saveOrUpdate(data)
.then((msg) => {
loading.value = false;
@@ -192,11 +190,13 @@
if (props.data) {
assignFields(props.data);
form.comments = props.data.comments;
images.value.push({
uid: uuid(),
url: props.data.value,
status: 'done'
});
if (form.type == 1) {
images.value.push({
uid: uuid(),
url: props.data.value,
status: 'done'
});
}
isUpdate.value = true;
} else {
isUpdate.value = false;