【修改】修改流程中心

This commit is contained in:
zhoulingpo
2023-05-11 16:20:16 +08:00
parent c726c7af47
commit 62120b8640
5 changed files with 18 additions and 9 deletions
+2 -2
View File
@@ -93,10 +93,10 @@
</vxe-column> </vxe-column>
<vxe-column show-overflow show-header-overflow field="mainContent" title="摘要"></vxe-column> <vxe-column show-overflow show-header-overflow field="mainContent" title="摘要"></vxe-column>
<vxe-column show-overflow show-header-overflow field="year" title="报告年份"></vxe-column> <vxe-column show-overflow show-header-overflow field="year" title="报告年份"></vxe-column>
<vxe-column show-overflow show-header-overflow field="rating" title="报告评级"> <vxe-column show-overflow show-header-overflow field="reportRating" title="报告评级">
<template #default="{row}"> <template #default="{row}">
<el-rate <el-rate
v-model="row.rating/2" v-model="row.reportRating/2"
disabled disabled
text-color="#ff9900" text-color="#ff9900"
> >
+7 -4
View File
@@ -141,7 +141,8 @@ export default {
pageNo: 1 pageNo: 1
}, },
submitjson:{}, submitjson:{},
prcType:1 prcType:'',
application:'' //存储转办的意见
} }
}, },
created () { created () {
@@ -149,7 +150,7 @@ export default {
this.prcNum=this.$store.getters.handleProcess.prcNum this.prcNum=this.$store.getters.handleProcess.prcNum
this.prcId=this.$store.getters.handleProcess.prcId this.prcId=this.$store.getters.handleProcess.prcId
this.prcName=this.$store.getters.handleProcess.prcName this.prcName=this.$store.getters.handleProcess.prcName
this.$set(this.processForm,'prcName',this.prcName) this.prcType=this.$store.getters.handleProcess.prcType
let params={ let params={
prcId: this.prcId, prcId: this.prcId,
prcType: this.prcType prcType: this.prcType
@@ -191,8 +192,9 @@ export default {
}) })
}, },
// 转办 // 转办
handleTransfer() { handleTransfer(type) {
this.visibleTree = true this.visibleTree = true
this.application=type
}, },
// 选择转办 // 选择转办
handleDblClick(treeNode) { handleDblClick(treeNode) {
@@ -205,7 +207,8 @@ export default {
taskId: this.taskId, taskId: this.taskId,
assignee: treeNode[0].USID, assignee: treeNode[0].USID,
userId: this.$store.getters.userInfo.usid, userId: this.$store.getters.userInfo.usid,
pId: this.prcId pId: this.prcId,
approvalOpinion:this.application
}).then(() => { }).then(() => {
this.$message.success('转办成功') this.$message.success('转办成功')
this.$router.push({path: '/userCenter/processCenter', query: {id: this.$route.query.id}}) this.$router.push({path: '/userCenter/processCenter', query: {id: this.$route.query.id}})
+7 -3
View File
@@ -89,7 +89,9 @@ export default {
}, },
PERMISSION, PERMISSION,
submitjson:{}, submitjson:{},
prcType: '' prcType: '',
application:'' //存储转办的意见
} }
}, },
created () { created () {
@@ -123,8 +125,9 @@ export default {
}, },
methods: { methods: {
// 转办 // 转办
handleTransfer() { handleTransfer(type) {
this.visibleTree = true this.visibleTree = true
this.application = type
}, },
// 选择转办 // 选择转办
handleDblClick(treeNode) { handleDblClick(treeNode) {
@@ -137,7 +140,8 @@ export default {
taskId: this.taskId, taskId: this.taskId,
assignee: treeNode[0].USID, assignee: treeNode[0].USID,
userId: this.$store.getters.userInfo.usid, userId: this.$store.getters.userInfo.usid,
pId: this.prcId pId: this.prcId,
approvalOpinion:this.application
}).then(() => { }).then(() => {
this.$message.success('转办成功') this.$message.success('转办成功')
this.$router.push({path: '/userCenter/processCenter', query: {id: this.$route.query.id}}) this.$router.push({path: '/userCenter/processCenter', query: {id: this.$route.query.id}})
@@ -115,6 +115,7 @@ export default {
prcNum: row.prcNum, prcNum: row.prcNum,
prcId: row.prcId, prcId: row.prcId,
prcName: row.prcName, prcName: row.prcName,
prcType: row.prcType
} }
this.$store.commit('setHandleProcess',params) this.$store.commit('setHandleProcess',params)
switch (row.prcType) { switch (row.prcType) {
@@ -195,6 +195,7 @@ export default {
prcNum: row.prcNum, prcNum: row.prcNum,
prcId: row.prcId, prcId: row.prcId,
prcName: row.prcName, prcName: row.prcName,
prcType: row.prcType
} }
this.$store.commit('setHandleProcess',params) this.$store.commit('setHandleProcess',params)
switch (row.prcType) { switch (row.prcType) {