@@ -165,7 +165,7 @@ export default { | |||
row.cooperateDept?row.cooperateDept.split(",").map((item) => parseInt(item)):[], | |||
row.leaderDept?row.leaderDept.split(",").map((item) => parseInt(item)):[] | |||
); | |||
let bool = arr.includes(this.user.user.deptId) || row.status == 1; | |||
let bool = arr.includes(this.user.user.deptId) || row.isApply == 2; | |||
return bool; | |||
}, | |||
getDataList() { | |||
@@ -199,6 +199,7 @@ export default { | |||
edit(row) { | |||
this.showEdit = true; | |||
this.form.chainIndustryId = row.id | |||
this.form.isApply = 2 | |||
}, | |||
save(){ | |||
applyApi |
@@ -190,7 +190,7 @@ export default { | |||
row.cooperateDept?row.cooperateDept.split(",").map((item) => parseInt(item)):[], | |||
row.leaderDept?row.leaderDept.split(",").map((item) => parseInt(item)):[] | |||
); | |||
let bool = arr.includes(this.user.user.deptId) || row.status == 1; | |||
let bool = arr.includes(this.user.user.deptId) || row.isApply == 2; | |||
return bool; | |||
}, | |||
updateParams(data) { | |||
@@ -211,7 +211,6 @@ export default { | |||
let data = res.data.data; | |||
this.count = data.total; | |||
this.dataList = this.reduceData(data.records); | |||
console.log(this.dataList); | |||
}) | |||
.catch((e) => { | |||
this.dataList = []; | |||
@@ -226,7 +225,7 @@ export default { | |||
this.form.type = 1; | |||
this.form.itemId = row.basicTaskId; | |||
this.form.leaderDept = row.leaderDept; | |||
console.log(this.form); | |||
this.form.isApply = 2 | |||
}, | |||
save() { | |||
applyApi |
@@ -181,7 +181,7 @@ export default { | |||
row.cooperateDept?row.cooperateDept.split(",").map((item) => parseInt(item)):[], | |||
row.leaderDept?row.leaderDept.split(",").map((item) => parseInt(item)):[] | |||
); | |||
let bool = arr.includes(this.user.user.deptId) || row.status == 1; | |||
let bool = arr.includes(this.user.user.deptId) || row.isApply == 2; | |||
return bool; | |||
}, | |||
updateParams(data) { | |||
@@ -215,6 +215,7 @@ export default { | |||
this.form.type = 3; | |||
this.form.itemId = row.rigidityConstraintId; | |||
this.form.leaderDept = row.leaderDept; | |||
this.form.isApply = 2 | |||
}, | |||
save() { | |||
console.log(this.form); |
@@ -189,7 +189,7 @@ export default { | |||
row.cooperateDept?row.cooperateDept.split(",").map((item) => parseInt(item)):[], | |||
row.leaderDept?row.leaderDept.split(",").map((item) => parseInt(item)):[] | |||
); | |||
let bool = arr.includes(this.user.user.deptId) || row.status == 1; | |||
let bool = arr.includes(this.user.user.deptId) || row.isApply == 2; | |||
return bool; | |||
}, | |||
updateParams(data) { | |||
@@ -223,6 +223,7 @@ export default { | |||
this.form.type = 2; | |||
this.form.itemId = row.specialPowerId; | |||
this.form.leaderDept = row.leaderDept; | |||
this.form.isApply = 2 | |||
}, | |||
save() { | |||
console.log(this.form); |