YF-yuan пре 3 година
родитељ
комит
e3adf5a894
4 измењених фајлова са 8 додато и 6 уклоњено
  1. +2
    -1
      src/views/chain/coordinationManage/applyCooperation.vue
  2. +2
    -3
      src/views/second/coordinationManage/applyCooperation/basicTarget.vue
  3. +2
    -1
      src/views/second/coordinationManage/applyCooperation/constraint.vue
  4. +2
    -1
      src/views/second/coordinationManage/applyCooperation/reward.vue

+ 2
- 1
src/views/chain/coordinationManage/applyCooperation.vue Прегледај датотеку

@@ -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

+ 2
- 3
src/views/second/coordinationManage/applyCooperation/basicTarget.vue Прегледај датотеку

@@ -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

+ 2
- 1
src/views/second/coordinationManage/applyCooperation/constraint.vue Прегледај датотеку

@@ -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);

+ 2
- 1
src/views/second/coordinationManage/applyCooperation/reward.vue Прегледај датотеку

@@ -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);

Loading…
Откажи
Сачувај