YF-yuan 3 anni fa
parent
commit
66864a06ac
30 ha cambiato i file con 479 aggiunte e 218 eliminazioni
  1. +5
    -1
      src/views/assessingTarget/basicTarget.vue
  2. +5
    -1
      src/views/assessingTarget/constraint.vue
  3. +5
    -1
      src/views/assessingTarget/reward.vue
  4. +23
    -20
      src/views/assessingTarget/taskTable.vue
  5. +7
    -3
      src/views/chain/coordinationManage/applyCooperation.vue
  6. +15
    -7
      src/views/chain/coordinationManage/approvalCooperation.vue
  7. +13
    -5
      src/views/second/assessmentResults/results/basicTarget.vue
  8. +12
    -5
      src/views/second/assessmentResults/results/constraint.vue
  9. +12
    -4
      src/views/second/assessmentResults/results/reward.vue
  10. +58
    -34
      src/views/second/assessmentResults/scoreRules/constraint.vue
  11. +50
    -27
      src/views/second/assessmentResults/scoreRules/reward.vue
  12. +19
    -9
      src/views/second/coordinationManage/applyCooperation/basicTarget.vue
  13. +19
    -8
      src/views/second/coordinationManage/applyCooperation/constraint.vue
  14. +19
    -8
      src/views/second/coordinationManage/applyCooperation/reward.vue
  15. +22
    -9
      src/views/second/coordinationManage/approvalCooperation/basicTarget.vue
  16. +22
    -8
      src/views/second/coordinationManage/approvalCooperation/constraint.vue
  17. +22
    -8
      src/views/second/coordinationManage/approvalCooperation/reward.vue
  18. +6
    -2
      src/views/second/coordinationManage/cooperateList/basicTarget.vue
  19. +5
    -1
      src/views/second/coordinationManage/cooperateList/constraint.vue
  20. +5
    -1
      src/views/second/coordinationManage/cooperateList/reward.vue
  21. +11
    -5
      src/views/second/segmentation/basicTable.vue
  22. +8
    -2
      src/views/second/segmentation/constraint.vue
  23. +5
    -5
      src/views/second/segmentation/contentDetail.vue
  24. +8
    -2
      src/views/second/segmentation/reward.vue
  25. +37
    -14
      src/views/second/taskSummary/basicTable.vue
  26. +19
    -7
      src/views/second/taskSummary/constraint.vue
  27. +19
    -7
      src/views/second/taskSummary/reward.vue
  28. +11
    -5
      src/views/summary/basicTarget.vue
  29. +6
    -4
      src/views/summary/constraint.vue
  30. +11
    -5
      src/views/summary/reward.vue

+ 5
- 1
src/views/assessingTarget/basicTarget.vue Vedi File

@@ -77,7 +77,11 @@
align="center"
prop="leaderUnit"
:key="6"
></el-table-column>
>
<template slot-scope="{row}">
<pre>{{row.leaderUnit}}</pre>
</template>
</el-table-column>

<el-table-column
label="牵头部门"

+ 5
- 1
src/views/assessingTarget/constraint.vue Vedi File

@@ -58,7 +58,11 @@
align="center"
prop="leaderUnit"
:key="4"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column
label="牵头部门"
min-width="80"

+ 5
- 1
src/views/assessingTarget/reward.vue Vedi File

@@ -74,7 +74,11 @@
align="center"
prop="leaderUnit"
:key="6"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column
label="牵头部门"
min-width="80"

+ 23
- 20
src/views/assessingTarget/taskTable.vue Vedi File

@@ -66,7 +66,11 @@
min-width="80"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column
label="牵头部门"
min-width="80"
@@ -75,7 +79,6 @@
></el-table-column>
<el-table-column
label="责任领导"
min-width="80"
align="center"
prop="leaderPrincipal"
@@ -115,27 +118,27 @@ export default {
return 1;
},
},
count:{
type:[Number,String],
default(){
return 0
}
count: {
type: [Number, String],
default() {
return 0;
},
},
loading:{
type:Boolean,
default(){
return false
}
loading: {
type: Boolean,
default() {
return false;
},
},
page:{
type:Object,
default(){
page: {
type: Object,
default() {
return {
page:1,
limit:10,
}
}
}
page: 1,
limit: 10,
};
},
},
},
data() {
return {

+ 7
- 3
src/views/chain/coordinationManage/applyCooperation.vue Vedi File

@@ -1,7 +1,11 @@
<template>
<div class="apply-cooperation ele-body">
<el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)">
<search @search:task="updateParams($event)" @export="exportData($event)" :show-export="true"/>
<search
@search:task="updateParams($event)"
@export="exportData($event)"
:show-export="true"
/>
<el-table
border
highlight-current-row
@@ -174,8 +178,8 @@ export default {
methods: {
exportData(data){
this.loading=true;
api.exportList(Object.assign({sheetName:"链长制配合申请列表", isApply: 1},data)).then(res=>{
if(res.code == 0) {
applyApi.exportList(Object.assign({sheetName:"链长制配合申请列表", isApply: 1},data)).then(res=>{
if(res.data.code == 0) {
window.open(res.data.data);
this.$message({
type:"success",

+ 15
- 7
src/views/chain/coordinationManage/approvalCooperation.vue Vedi File

@@ -183,14 +183,22 @@ export default {
methods: {
exportData(data){
this.loading=true;
api.exportList(Object.assign({sheetName:"链长制配合申请审核记录", isChecked: 1},data)).then(res=>{
window.open(res.data.data);
this.$message({
type:"success",
message:"导出成功"
})
api.exportList(Object.assign({sheetName:"链长制配合申请审核记录"},data)).then(res=>{
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
}else{
this.$message({
type:"warning",
message:"暂无数据"
})
}
}).catch(e=>{
this.$message.error("导出失败")
console.log(e)
this.$message.error("暂无数据")
}).finally(()=>{
this.loading=false;
})

+ 13
- 5
src/views/second/assessmentResults/results/basicTarget.vue Vedi File

@@ -52,7 +52,11 @@
width="80 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -65,7 +69,9 @@
</el-table-column>
<el-table-column label="牵头部门" width="100" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -76,7 +82,9 @@
</el-table-column>
<el-table-column label="配合部门" width="100" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -84,7 +92,7 @@
<template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template>
</el-table-column>
</el-table-column>
</el-table>
<el-pagination
:current-page.sync="page.page"
@@ -119,7 +127,7 @@ export default {
count: 0,
showEdit: false,
loading: false,
form:{}
form: {},
};
},
methods: {

+ 12
- 5
src/views/second/assessmentResults/results/constraint.vue Vedi File

@@ -46,7 +46,11 @@
width="80 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -59,7 +63,9 @@
</el-table-column>
<el-table-column label="牵头部门" width="100" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -70,7 +76,9 @@
</el-table-column>
<el-table-column label="配合部门" width="100" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -92,7 +100,6 @@
:flat="true"
@current-change="getDataList()"
/>
</div>
</template>

@@ -115,7 +122,7 @@ export default {
count: 0,
showEdit: false,
loading: false,
form:{}
form: {},
};
},
methods: {

+ 12
- 4
src/views/second/assessmentResults/results/reward.vue Vedi File

@@ -52,7 +52,11 @@
width="80 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -65,7 +69,9 @@
</el-table-column>
<el-table-column label="牵头部门" width="100" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -76,7 +82,9 @@
</el-table-column>
<el-table-column label="配合部门" width="100" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -120,7 +128,7 @@ export default {
count: 0,
showEdit: false,
loading: false,
form:{}
form: {},
};
},
methods: {

+ 58
- 34
src/views/second/assessmentResults/scoreRules/constraint.vue Vedi File

@@ -47,20 +47,26 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
</template>
</el-table-column>
<el-table-column label="责任领导" width="80" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template>
</el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
</template>
</el-table-column>
<el-table-column label="责任领导" width="80" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template>
</el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -71,7 +77,9 @@
</el-table-column>
<el-table-column label="配合部门" min-width="80" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -114,13 +122,21 @@
@closed="form = {}"
>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">牵头部门名称</div></el-col>
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col>
<el-col :span="6"
><div class="grid-content bg-purple">序号</div></el-col
>
<el-col :span="8"
><div class="grid-content bg-purple">牵头部门名称</div></el-col
>
<el-col :span="10"
><div class="grid-content bg-purple">考核得分</div></el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">党政办公室</div></el-col>
<el-col :span="8"
><div class="grid-content bg-purple">党政办公室</div></el-col
>
<el-col :span="10">
<div class="grid-content bg-purple">
<el-input size="mini" v-model="form.leaderPoints"></el-input>
@@ -128,21 +144,29 @@
</el-col>
</el-row>
<el-divider></el-divider>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">配合部门名称</div></el-col>
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col>
<el-row :gutter="20">
<el-col :span="6"
><div class="grid-content bg-purple">序号</div></el-col
>
<el-col :span="8"
><div class="grid-content bg-purple">配合部门名称</div></el-col
>
<el-col :span="10"
><div class="grid-content bg-purple">考核得分</div></el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">党群办公室</div></el-col>
<el-col :span="8"
><div class="grid-content bg-purple">党群办公室</div></el-col
>
<el-col :span="10">
<div class="grid-content bg-purple">
<el-input size="mini" v-model="form.coorPoints"></el-input>
</div>
</el-col>
</el-row>
<div slot="footer">
<el-button @click="showEdit = false">取消</el-button>&nbsp;
<el-button type="primary" @click="save">保存</el-button>
@@ -170,7 +194,7 @@ export default {
count: 0,
showEdit: false,
loading: false,
form:{}
form: {},
};
},
methods: {
@@ -191,14 +215,14 @@ export default {
</script>

<style scoped>
/deep/.el-dialog__body {
padding: 10px 20px;
}
.el-row {
height: 45px;
line-height: 45px;
}
.el-divider {
margin: 10px 0px;
}
/deep/.el-dialog__body {
padding: 10px 20px;
}
.el-row {
height: 45px;
line-height: 45px;
}
.el-divider {
margin: 10px 0px;
}
</style>

+ 50
- 27
src/views/second/assessmentResults/scoreRules/reward.vue Vedi File

@@ -53,7 +53,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -66,7 +70,9 @@
</el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -77,7 +83,9 @@
</el-table-column>
<el-table-column label="配合部门" min-width="80" align="center">
<template slot-scope="{ row }">
<span><pre>{{ row.leaderDeptList | formatList }}</pre></span>
<span>
<pre>{{ row.leaderDeptList | formatList }}</pre>
</span>
</template>
</el-table-column>

@@ -119,13 +127,21 @@
@closed="form = {}"
>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">牵头部门名称</div></el-col>
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col>
<el-col :span="6"
><div class="grid-content bg-purple">序号</div></el-col
>
<el-col :span="8"
><div class="grid-content bg-purple">牵头部门名称</div></el-col
>
<el-col :span="10"
><div class="grid-content bg-purple">考核得分</div></el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">党政办公室</div></el-col>
<el-col :span="8"
><div class="grid-content bg-purple">党政办公室</div></el-col
>
<el-col :span="10">
<div class="grid-content bg-purple">
<el-input size="mini" v-model="form.leaderPoints"></el-input>
@@ -133,27 +149,34 @@
</el-col>
</el-row>
<el-divider></el-divider>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">序号</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">配合部门名称</div></el-col>
<el-col :span="10"><div class="grid-content bg-purple">考核得分</div></el-col>
<el-row :gutter="20">
<el-col :span="6"
><div class="grid-content bg-purple">序号</div></el-col
>
<el-col :span="8"
><div class="grid-content bg-purple">配合部门名称</div></el-col
>
<el-col :span="10"
><div class="grid-content bg-purple">考核得分</div></el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">1</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">党群办公室</div></el-col>
<el-col :span="8"
><div class="grid-content bg-purple">党群办公室</div></el-col
>
<el-col :span="10">
<div class="grid-content bg-purple">
<el-input size="mini" v-model="form.coorPoints"></el-input>
</div>
</el-col>
</el-row>
<div slot="footer">
<el-button @click="showEdit = false">取消</el-button>&nbsp;
<el-button type="primary" @click="save">保存</el-button>
</div>
</el-dialog>
</div>
</template>

@@ -176,16 +199,16 @@ export default {
count: 0,
showEdit: false,
loading: false,
form:{}
form: {},
};
},
methods: {
getDataList() {},
edit(row) {
this.showEdit = true
this.showEdit = true;
},
save() {
this.showEdit = false
this.showEdit = false;
},
},
filters: {
@@ -199,14 +222,14 @@ export default {
</script>

<style scoped>
/deep/.el-dialog__body {
padding: 10px 20px;
}
.el-row {
height: 45px;
line-height: 45px;
}
.el-divider {
margin: 10px 0px;
}
/deep/.el-dialog__body {
padding: 10px 20px;
}
.el-row {
height: 45px;
line-height: 45px;
}
.el-divider {
margin: 10px 0px;
}
</style>

+ 19
- 9
src/views/second/coordinationManage/applyCooperation/basicTarget.vue Vedi File

@@ -54,7 +54,11 @@
width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -196,19 +200,25 @@ export default {
this.loading = true;
api
.exportBasicList(
Object.assign({ sheetName: "基础目标任务细分小条",isApply:1 }, data)
Object.assign({ sheetName: "基础目标任务细分小条", isApply: 1 }, data)
)
.then((res) => {
console.log(res.data.data);
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 19
- 8
src/views/second/coordinationManage/applyCooperation/constraint.vue Vedi File

@@ -48,7 +48,11 @@
width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -188,18 +192,25 @@ export default {
this.loading = true;
api
.exportContraintList(
Object.assign({ sheetName: "刚性约束细分小条",isApply:1 }, data)
Object.assign({ sheetName: "刚性约束细分小条", isApply: 1 }, data)
)
.then((res) => {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
}else{
this.$message({
type:"warning",
message:"暂无数据"
})
}
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 19
- 8
src/views/second/coordinationManage/applyCooperation/reward.vue Vedi File

@@ -54,7 +54,11 @@
width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -195,18 +199,25 @@ export default {
this.loading = true;
api
.exportRewardList(
Object.assign({ sheetName: "重点专项细分小条" ,isApply:1}, data)
Object.assign({ sheetName: "重点专项细分小条", isApply: 1 }, data)
)
.then((res) => {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 22
- 9
src/views/second/coordinationManage/approvalCooperation/basicTarget.vue Vedi File

@@ -72,7 +72,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -206,19 +210,28 @@ export default {
this.loading = true;
api
.exportBasicList(
Object.assign({ sheetName: "基础目标任务配合申请审核列表" ,isChecked:1}, data)
Object.assign(
{ sheetName: "基础目标任务配合申请审核列表", isChecked: 1 },
data
)
)
.then((res) => {
console.log(res.data.data);
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 22
- 8
src/views/second/coordinationManage/approvalCooperation/constraint.vue Vedi File

@@ -65,7 +65,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -199,18 +203,28 @@ export default {
this.loading = true;
api
.exportContraintList(
Object.assign({ sheetName: "刚性约束配合申请审核审核列表",isChecked:1 }, data)
Object.assign(
{ sheetName: "刚性约束配合申请审核审核列表", isChecked: 1 },
data
)
)
.then((res) => {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 22
- 8
src/views/second/coordinationManage/approvalCooperation/reward.vue Vedi File

@@ -72,7 +72,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -206,18 +210,28 @@ export default {
this.loading = true;
api
.exportRewardList(
Object.assign({ sheetName: "重点专项配合申请审核列表",isChecked: 1}, data)
Object.assign(
{ sheetName: "重点专项配合申请审核列表", isChecked: 1 },
data
)
)
.then((res) => {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
console.log(e);
this.$message.error("导出失败");
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 6
- 2
src/views/second/coordinationManage/cooperateList/basicTarget.vue Vedi File

@@ -1,6 +1,6 @@
<template>
<div class="basic-target" v-loading="loading">
<search :type="1" @search:task="updateParams($event)"/>
<search :type="1" @search:task="updateParams($event)" />
<el-table
:data="dataList"
border
@@ -66,7 +66,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>

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

@@ -59,7 +59,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>

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

@@ -66,7 +66,11 @@
min-width="95 "
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="120" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>

+ 11
- 5
src/views/second/segmentation/basicTable.vue Vedi File

@@ -58,7 +58,11 @@
width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -114,7 +118,9 @@
>分项</router-link
> -->
<!-- <span @click="toSegmentation(row)">分项</span> -->
<el-link @click="toSegmentation(row)" type="primary" ><i class="el-icon-setting"></i>分项</el-link>
<el-link @click="toSegmentation(row)" type="primary"
><i class="el-icon-setting"></i>分项</el-link
>
</template>
</el-table-column>
</el-table>
@@ -169,10 +175,10 @@ export default {
],
created() {
this.getDataList();
let page=this.page;
page.page=this.$store.state.base.currentPage||1;
let page = this.page;
page.page = this.$store.state.base.currentPage || 1;
this.$store.commit("base/SET_CURRENT_PAGE", null);
this.page=page
this.page = page;
},
methods: {
toSegmentation(row) {

+ 8
- 2
src/views/second/segmentation/constraint.vue Vedi File

@@ -52,7 +52,11 @@
width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -110,7 +114,9 @@
}"
>分项</router-link
> -->
<el-link @click="toSegmentation(row)" type="primary"><i class="el-icon-setting"></i>分项</el-link>
<el-link @click="toSegmentation(row)" type="primary"
><i class="el-icon-setting"></i>分项</el-link
>
</template>
</el-table-column>
</el-table>

+ 5
- 5
src/views/second/segmentation/contentDetail.vue Vedi File

@@ -27,7 +27,7 @@
<el-row type="flex">
<el-col :span="5" class="grey"><span>区牵头单位</span></el-col>
<el-col :span="7"
><span>{{ data.leaderUnit }}</span></el-col
><span><pre>{{ data.leaderUnit }}</pre></span></el-col
>
<el-col :span="5" class="grey"><span>封顶分值</span></el-col>
<el-col :span="7"
@@ -833,10 +833,10 @@ export default {
"points",
"leaderDept",
"leaderPrincipal",
"otherDept",
"otherPrincipal",
"cooperateDept",
"cooperatePrincipal",
// "otherDept",
// "otherPrincipal",
// "cooperateDept",
// "cooperatePrincipal",
];
for (let param of params) {
if (Array.isArray(form[param])) {

+ 8
- 2
src/views/second/segmentation/reward.vue Vedi File

@@ -58,7 +58,11 @@
width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -116,7 +120,9 @@
}"
>分项</router-link
> -->
<el-link @click="toSegmentation(row)" type="primary"><i class="el-icon-setting"></i>分项</el-link>
<el-link @click="toSegmentation(row)" type="primary"
><i class="el-icon-setting"></i>分项</el-link
>
</template>
</el-table-column>
</el-table>

+ 37
- 14
src/views/second/taskSummary/basicTable.vue Vedi File

@@ -1,7 +1,12 @@
<template>
<div class="assessing-content ele-body">
<el-card shadow="never" element-loading-background="rgba(255, 255, 255, 1)">
<search :type="1" @search:task="updateParams($event)" @export="exportData($event)" :show-export="true"/>
<search
:type="1"
@search:task="updateParams($event)"
@export="exportData($event)"
:show-export="true"
/>
<el-table
highlight-current-row
:data="dataList"
@@ -53,7 +58,11 @@
width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -405,19 +414,33 @@ export default {
},
},
methods: {
exportData(data){
this.loading=true;
api.exportBasicList(Object.assign({sheetName:"基础目标任务细分小条"},data)).then(res=>{
window.open(res.data.data);
this.$message({
type:"success",
message:"导出成功"
exportData(data) {
this.loading = true;
api
.exportBasicList(
Object.assign({ sheetName: "基础目标任务细分小条" }, data)
)
.then((res) => {
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
}).catch(e=>{
this.$message.error("导出失败")
}).finally(()=>{
this.loading=false;
})
.catch((e) => {
console.log(e);
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;
});
},
changePrincipal(e, type, index) {
if (type == "other") {

+ 19
- 7
src/views/second/taskSummary/constraint.vue Vedi File

@@ -52,7 +52,11 @@
width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -411,14 +415,22 @@ export default {
Object.assign({ sheetName: "刚性约束细分小条" }, data)
)
.then((res) => {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
this.$message.error("导出失败");
console.log(e);
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 19
- 7
src/views/second/taskSummary/reward.vue Vedi File

@@ -58,7 +58,11 @@
width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -418,14 +422,22 @@ export default {
Object.assign({ sheetName: "重点专项细分小条" }, data)
)
.then((res) => {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
if (res.data.code == 0) {
window.open(res.data.data);
this.$message({
type: "success",
message: "导出成功",
});
} else {
this.$message({
type: "warning",
message: "暂无数据",
});
}
})
.catch((e) => {
this.$message.error("导出失败");
console.log(e);
this.$message.error("暂无数据");
})
.finally(() => {
this.loading = false;

+ 11
- 5
src/views/summary/basicTarget.vue Vedi File

@@ -53,7 +53,11 @@
min-width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -117,10 +121,12 @@ export default {
components: {
search,
},
mixins: [mergeSpan([
{name: 'quota1', col: [1]},
{name: 'quota2', col: [2]},
])],
mixins: [
mergeSpan([
{ name: "quota1", col: [1] },
{ name: "quota2", col: [2] },
]),
],
created() {
this.getDataList();
this.$store.dispatch("base/getQuota1List", 1);

+ 6
- 4
src/views/summary/constraint.vue Vedi File

@@ -40,7 +40,11 @@
min-width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -111,9 +115,7 @@ export default {
}
},
},
mixins: [mergeSpan([
{name: 'quota', col: [1]}
])],
mixins: [mergeSpan([{ name: "quota", col: [1] }])],
created() {
this.getDataList();
this.$store.dispatch("base/getQuota1List", 1);

+ 11
- 5
src/views/summary/reward.vue Vedi File

@@ -53,7 +53,11 @@
min-width="95"
align="center"
prop="leaderUnit"
></el-table-column>
>
<template slot-scope="{ row }">
<pre>{{ row.leaderUnit }}</pre>
</template>
</el-table-column>
<el-table-column label="牵头部门" min-width="80" align="center">
<template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre>
@@ -122,10 +126,12 @@ export default {
components: {
search,
},
mixins: [mergeSpan([
{name: 'quota1', col: [1]},
{name: 'quota2', col: [2]},
])],
mixins: [
mergeSpan([
{ name: "quota1", col: [1] },
{ name: "quota2", col: [2] },
]),
],
created() {
this.getDataList();
this.$store.dispatch("base/getQuota1List", 1);

Loading…
Annulla
Salva