修改bug
This commit is contained in:
@@ -533,9 +533,14 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
let mes = JSON.parse(res.mes);
|
let mes = JSON.parse(res.mes);
|
||||||
this.listForm = mes.form;
|
this.listForm = mes.form;
|
||||||
this.dataList = mes.form.dataList;
|
|
||||||
this.roleForm = mes.roleForm;
|
this.roleForm = mes.roleForm;
|
||||||
this.commentText = mes.commentText;
|
this.commentText = mes.commentText;
|
||||||
|
this.dataList = mes.form.dataList;
|
||||||
|
this.dataList.forEach(item => {
|
||||||
|
if(!item.projectLine){
|
||||||
|
this.dataList = null
|
||||||
|
}
|
||||||
|
})
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
@@ -866,12 +871,12 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
watch: {
|
watch: {
|
||||||
dataList: {
|
// dataList: {
|
||||||
deep: true,
|
// deep: true,
|
||||||
handler (val) {
|
// handler (val) {
|
||||||
console.log('dataList update', val)
|
// console.log('dataList update', val)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//从数据库中查询下拉框数据
|
//从数据库中查询下拉框数据
|
||||||
|
|||||||
@@ -662,7 +662,6 @@ export default {
|
|||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -315,7 +315,7 @@ export default {
|
|||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.mesg)
|
console.log(res.mesg);
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
|
|||||||
Reference in New Issue
Block a user