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