|
@@ -743,8 +743,10 @@ export default {
|
|
|
isDel: null,
|
|
|
searchValue: this.spaceId,
|
|
|
tagList: [],
|
|
|
+
|
|
|
};
|
|
|
this.resetForm("form");
|
|
|
+ this.dynamicTags=[]
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
@@ -776,15 +778,19 @@ export default {
|
|
|
this.reset();
|
|
|
this.open = true;
|
|
|
this.title = "添加文件基本信息";
|
|
|
+ // this.dynamicTags=[];
|
|
|
+ // console.log(this.dynamicTags);
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
- this.reset();
|
|
|
+ // this.reset();
|
|
|
const docId = row.docId || this.ids;
|
|
|
getInfo(docId, row.createYear).then((response) => {
|
|
|
this.form = response.data;
|
|
|
+ // this.form.tagList = this.dynamicTags;
|
|
|
this.open = true;
|
|
|
this.title = "修改文件基本信息";
|
|
|
+ // console.log(response);
|
|
|
});
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
@@ -808,7 +814,7 @@ export default {
|
|
|
});
|
|
|
|
|
|
// console.log(this.dynamicTags.length);
|
|
|
- console.log(this.form);
|
|
|
+ // console.log(this.form);
|
|
|
// console.log(this.dynamicTags);
|
|
|
|
|
|
},
|