修改bug

This commit is contained in:
宋伟佳
2021-08-06 14:27:01 +08:00
parent 32342b194d
commit 2df6b33b42
4 changed files with 47 additions and 12 deletions
@@ -282,7 +282,7 @@ export default {
},
// 点击查看
handlePreview(item) {
console.log(item)
console.log(item);
let routeUrl = this.$router.resolve({
name: "OtherStandardDetails",
params: {
@@ -304,14 +304,14 @@ export default {
}, res => {
this.standardData = res.data.list;
this.standardData.forEach(item => {
if(item.attrInfoMap === null){
this.$set(item, "ZCCSSRQ", '');
this.$set(item, "XCXSSRQ", '');
}else{
if (item.attrInfoMap === null) {
this.$set(item, "ZCCSSRQ", "");
this.$set(item, "XCXSSRQ", "");
} else {
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
}
})
});
this.totalNo = res.data.count;
}, e => {
});
@@ -354,7 +354,10 @@ export default {
},
//提交事件
handleSubmit() {
this.isSubmit = true
if (!this.listForm.jgUser) {
this.$message.warning("请选择架构经理");
} else {
this.isSubmit = true;
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.$http.post("lawss/activiti/completeTask", {
@@ -368,9 +371,10 @@ export default {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false
this.isSubmit = false;
}, e => {
});
}
},
choiceZRR(scope, type, title, id) {
if (scope != null) {