Browse Source

修改字段名称

master
YF-yuan 3 years ago
parent
commit
11dccfd527
5 changed files with 9 additions and 10 deletions
  1. +2
    -3
      src/views/second/coordinationManage/applyCooperation/basicTarget.vue
  2. +1
    -1
      src/views/second/coordinationManage/cooperateList/basicTarget.vue
  3. +1
    -1
      src/views/second/coordinationManage/cooperateList/constraint.vue
  4. +1
    -1
      src/views/second/coordinationManage/cooperateList/reward.vue
  5. +4
    -4
      src/views/second/taskSummary/reward.vue

+ 2
- 3
src/views/second/coordinationManage/applyCooperation/basicTarget.vue View File

methods: { methods: {
judge(row) { judge(row) {
let arr = [].concat( let arr = [].concat(
row.leaderDept,
row.cooperateDept.split(",").map((item) => parseInt(item)),
row.otherDept.split(",").map((item) => parseInt(item))
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.status == 1;
return bool; return bool;

+ 1
- 1
src/views/second/coordinationManage/cooperateList/basicTarget.vue View File

this.page = page; this.page = page;
}, },
getDataList() { getDataList() {
this.searchParams.leaderDept = this.user.user.deptId
// this.searchParams.leaderDept = this.user.user.deptId
api.getBasicDataList(Object.assign({}, this.page, this.searchParams)).then((res)=>{ api.getBasicDataList(Object.assign({}, this.page, this.searchParams)).then((res)=>{
let data = res.data.data; let data = res.data.data;
this.count = data.total; this.count = data.total;

+ 1
- 1
src/views/second/coordinationManage/cooperateList/constraint.vue View File

this.page = page; this.page = page;
}, },
getDataList() { getDataList() {
this.searchParams.leaderDept = this.user.user.deptId
// this.searchParams.leaderDept = this.user.user.deptId
api.getConstraintDataList(Object.assign({}, this.page, this.searchParams)).then((res)=>{ api.getConstraintDataList(Object.assign({}, this.page, this.searchParams)).then((res)=>{
let data = res.data.data; let data = res.data.data;
this.count = data.total; this.count = data.total;

+ 1
- 1
src/views/second/coordinationManage/cooperateList/reward.vue View File

this.page = page; this.page = page;
}, },
getDataList() { getDataList() {
this.searchParams.leaderDept = this.user.user.deptId
// this.searchParams.leaderDept = this.user.user.deptId
api.getRewardDataList(Object.assign({}, this.page, this.searchParams)).then((res)=>{ api.getRewardDataList(Object.assign({}, this.page, this.searchParams)).then((res)=>{
let data = res.data.data; let data = res.data.data;
this.count = data.total; this.count = data.total;

+ 4
- 4
src/views/second/taskSummary/reward.vue View File

align="center" align="center"
prop="leaderUnit" prop="leaderUnit"
></el-table-column> ></el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<el-table-column label="牵头部门" width="120" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre> <pre>{{ row.leaderDeptList | formatList }}</pre>
</template> </template>
<pre>{{ row.leaderPrincipalList | formatList }}</pre> <pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="牵头部门" width="100" align="center">
<el-table-column label="其他牵头部门" width="120" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
<pre>{{ row.otherDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="责任领导" width="80" align="center"> <el-table-column label="责任领导" width="80" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre>
<pre>{{ row.otherPrincipalList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

Loading…
Cancel
Save