修复:项目管理的关联工单列表增加查询条件appId
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user