|
@@ -272,9 +272,18 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
//关闭编辑弹窗
|
|
//关闭编辑弹窗
|
|
|
- handleEditClose() {
|
|
|
|
|
- let guid = sessionStorage.getItem('guid');
|
|
|
|
|
- this.handleMoreClick(guid,this.tableSearchText,this.page);
|
|
|
|
|
|
|
+ handleEditClose(flag) {
|
|
|
|
|
+ const that = this;
|
|
|
|
|
+ // console.log("关闭编辑弹窗",flag);
|
|
|
|
|
+ that.contentItem = {};
|
|
|
|
|
+ that.isContentShow = false;
|
|
|
|
|
+ that.isContentView = false;
|
|
|
|
|
+ if(flag){
|
|
|
|
|
+ let guid = sessionStorage.getItem('guid');
|
|
|
|
|
+ // console.log("关闭编辑弹窗",guid);
|
|
|
|
|
+ that.handleMoreClick(guid,this.tableSearchText,this.page);
|
|
|
|
|
+ that.$parent.getDmsDataList();
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
handleClose() {
|
|
handleClose() {
|
|
|
this.tableShow = false;
|
|
this.tableShow = false;
|
|
@@ -548,8 +557,8 @@ export default {
|
|
|
moreBtn.addEventListener('click', () => {
|
|
moreBtn.addEventListener('click', () => {
|
|
|
// that.tableShow = false;
|
|
// that.tableShow = false;
|
|
|
this.tableSearchText = "";
|
|
this.tableSearchText = "";
|
|
|
- that.handleMoreClick(fet.properties.GUID,"",0);
|
|
|
|
|
sessionStorage.setItem('guid', fet.properties.GUID);
|
|
sessionStorage.setItem('guid', fet.properties.GUID);
|
|
|
|
|
+ that.handleMoreClick(fet.properties.GUID,"",0);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
}, 0);
|
|
}, 0);
|
|
@@ -575,8 +584,8 @@ export default {
|
|
|
pageSize: that.pageSize,
|
|
pageSize: that.pageSize,
|
|
|
page: that.page,
|
|
page: that.page,
|
|
|
};
|
|
};
|
|
|
- console.log("guid:", guid);
|
|
|
|
|
- console.log("text:", text);
|
|
|
|
|
|
|
+ // console.log("guid:", guid);
|
|
|
|
|
+ // console.log("text:", text);
|
|
|
let arr = [...(requestParams.search ? JSON.parse(requestParams.search) : [])];
|
|
let arr = [...(requestParams.search ? JSON.parse(requestParams.search) : [])];
|
|
|
if(guid){
|
|
if(guid){
|
|
|
arr.push({
|
|
arr.push({
|
|
@@ -627,7 +636,7 @@ export default {
|
|
|
}else{
|
|
}else{
|
|
|
that.tableData = [];
|
|
that.tableData = [];
|
|
|
that.contentItem=[];
|
|
that.contentItem=[];
|
|
|
- this.$message({ message: '无员工数据', type: 'info' })
|
|
|
|
|
|
|
+ // this.$message({ message: '无员工数据', type: 'info' })
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|