手机端选人

This commit is contained in:
宋伟佳
2021-12-22 15:27:28 +08:00
parent 9b03a8b05c
commit 6b7af8ad84
8 changed files with 438 additions and 398 deletions
@@ -359,14 +359,9 @@ export default {
}, },
//驳回 //驳回
beforeBack(){ beforeBack(){
if (this.participantsData.length < 1) { if(!this.commentText){
this.$message.warning("项目信息不能为空"); this.$message.warning('请填写审批意见')
} else { }else{
this.participantsData.forEach(item => {
if (item.projectNumber === undefined) {
this.$message.warning("请完善项目信息");
}
});
this.wbbzform.commentText = this.commentText; this.wbbzform.commentText = this.commentText;
let json = { let json = {
participantsData: this.participantsData, participantsData: this.participantsData,
@@ -359,19 +359,14 @@ export default {
}, },
//驳回 //驳回
beforeBack(){ beforeBack(){
if (this.participantsData.length < 1) { if (!this.commentText) {
this.$message.warning("项目信息不能为空"); this.$message.warning("请填写审批意见");
} else { } else {
this.participantsData.forEach(item => {
if (item.projectNumber === undefined) {
this.$message.warning("请完善项目信息");
}
});
this.wbbzform.commentText = this.commentText; this.wbbzform.commentText = this.commentText;
let json = { let json = {
participantsData: this.participantsData, participantsData: this.participantsData,
wbbzform: this.wbbzform, wbbzform: this.wbbzform,
signFlag: '2', signFlag: "2"
}; };
this.$refs["wbbzForm"].validate((valid) => { this.$refs["wbbzForm"].validate((valid) => {
if (valid) { if (valid) {
@@ -359,14 +359,9 @@ export default {
}, },
//驳回 //驳回
beforeBack(){ beforeBack(){
if (this.participantsData.length < 1) { if(!this.commentText){
this.$message.warning("项目信息不能为空"); this.$message.warning('请填写审批意见')
} else { }else{
this.participantsData.forEach(item => {
if (item.projectNumber === undefined) {
this.$message.warning("请完善项目信息");
}
});
this.wbbzform.commentText = this.commentText; this.wbbzform.commentText = this.commentText;
let json = { let json = {
participantsData: this.participantsData, participantsData: this.participantsData,
@@ -122,6 +122,9 @@
width="100px" width="100px"
align="center" align="center"
label="文本状态"> label="文本状态">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
@@ -206,6 +209,7 @@
<ProcessFooter <ProcessFooter
show-back show-back
show-submit show-submit
show-transfer
:transfer-loading="isTransfer" :transfer-loading="isTransfer"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
@@ -223,6 +227,12 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<phone-role
:role-title="drawerTitle"
:result-list="phoneRoleList"
:is-show-phone.sync="modalshowflag"
@checkedRole="drawerCheck"
/>
</div> </div>
</template> </template>
@@ -232,7 +242,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader"; import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter"; import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle"; import ProcessTitle from "../../components/ProcessTitle";
import { inboundLiaisonDetail ,changeAssigneeNew} from "api/process"; import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default { export default {
name: "phoneBzqdfbStep4", name: "phoneBzqdfbStep4",
@@ -244,6 +254,9 @@ export default {
}, },
data() { data() {
return { return {
modalshowflag: false,
phoneRoleList: [],
phoneDrawerTitle: '',
nodeList:[], nodeList:[],
isTransfer: false, isTransfer: false,
drawerTitle:'', drawerTitle:'',
@@ -304,26 +317,6 @@ export default {
}; };
}, },
methods: { methods: {
//确认转办
checkedRole (data) {
this.assigneeNewLoading = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例
}).then(res => {
this.isTransfer = false
if (res.success) {
this.drawerModal = false
this.$message.success('调整成功')
this.$router.push("/processCenter");
this.processNum()
} else {
this.$message.warning(res.message)
}
})
},
// 请求转换流程图 // 请求转换流程图
processNum (row) { processNum (row) {
axios.request({ axios.request({
@@ -341,9 +334,29 @@ export default {
}, },
//转办事件 //转办事件
handleTransfer(){ handleTransfer(){
this.drawerModal = true this.modalshowflag = true
this.drawerTitle = '转办处理人' this.phoneRoleList = this.roleTransfer
this.selectPeople = row this.phoneDrawerTitle = '转办处理人'
},
drawerCheck (data) {
this.roleTransfer = data
this.phoneRoleList = this.roleTransfer
this.turnLoading = true
changeAssigneeNew({
taskId: this.taskIds, // 任务id
assignee: data[0].id, // 被委托人
userId: this.userId, // 委托人
pId: this.pId // 流程实例
}).then(res =>{
if (res.success) {
this.turnLoading = false
this.$message.success('调整成功')
this.$router.push("/processCenter")
} else {
this.$message.warning(res.message)
}
})
this.modalshowflag = false
}, },
processTable() { processTable() {
this.$http.get("lawss/activiti/get_list_by_instance", { this.$http.get("lawss/activiti/get_list_by_instance", {
@@ -10,18 +10,19 @@
<div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div> <div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div>
</div> </div>
<div class="content" v-show="active === '1'"> <div class="content" v-show="active === '1'">
<div> <div style="overflow: auto">
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<el-collapse-transition>
<div class="prc-content-border" v-if="foldFormFlag">
<el-form <el-form
ref="wbbzForm" ref="wbbzForm"
:model="wbbzform" :model="wbbzform"
:rules="formRules" :rules="formRules"
class="label-input-form" class="label-input-form"
label-width="210px" label-width="120px"
> >
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<div class="prc-content-border" v-if="foldFormFlag">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="提报单位" prop="reportingUnit" class="add-form-item "> <el-form-item label="提报单位" prop="reportingUnit" class="add-form-item ">
@@ -106,13 +107,15 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div>
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
</el-form> </el-form>
</div>
</el-collapse-transition>
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
<ProcessTitle> <ProcessTitle>
<template slot="title">参与人信息</template> <template slot="title">参与人信息</template>
</ProcessTitle> </ProcessTitle>
<el-table border <el-table border
height="100%"
ref="selection" ref="selection"
:data="participantsData" :data="participantsData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -148,7 +151,7 @@
</el-table> </el-table>
</div> </div>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="回执说明"> <el-collapse-item title="审批意见">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-input <el-input
type="textarea" type="textarea"
@@ -223,6 +226,7 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-transfer
show-back show-back
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
@@ -249,6 +253,12 @@
@checkedRole="checkedTransferRole" @checkedRole="checkedTransferRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<phone-role
:role-title="drawerTitle"
:result-list="phoneRoleList"
:is-show-phone.sync="phoneshowflag"
@checkedRole="drawerCheck"
/>
</div> </div>
</template> </template>
@@ -258,7 +268,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader"; import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle"; import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter"; import ProcessFooter from "process/components/ProcessFooter";
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process"; import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default { export default {
name: "phoneCywbbzzxdStep4", name: "phoneCywbbzzxdStep4",
@@ -270,6 +280,9 @@ export default {
}, },
data() { data() {
return { return {
phoneshowflag: false,
phoneRoleList: [],
phoneDrawerTitle: '',
//切换tab //切换tab
active: "1", active: "1",
foldFormFlag: true, foldFormFlag: true,
@@ -371,14 +384,9 @@ export default {
}, },
//驳回 //驳回
beforeBack(){ beforeBack(){
if (this.participantsData.length < 1) { if(!this.commentText){
this.$message.warning("项目信息不能为空"); this.$message.warning('请填写审批意见')
} else { }else{
this.participantsData.forEach(item => {
if (item.projectNumber === undefined) {
this.$message.warning("请完善项目信息");
}
});
this.wbbzform.commentText = this.commentText; this.wbbzform.commentText = this.commentText;
let json = { let json = {
participantsData: this.participantsData, participantsData: this.participantsData,
@@ -445,29 +453,30 @@ export default {
}, },
//转办按钮 //转办按钮
handleTransfer(){ handleTransfer(){
this.drawerModal = true this.phoneshowflag = true
this.drawerTitle = '转办处理人' this.phoneRoleList = this.roleTransfer
this.selectPeople = row this.phoneDrawerTitle = '转办处理人'
}, },
//确认转办 //确认转办
checkedTransferRole (data) { drawerCheck (data) {
this.assigneeNewLoading = true this.roleTransfer = data
this.phoneRoleList = this.roleTransfer
this.turnLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人 assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人 userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例 pId: this.$route.query.prcId // 流程实例
}).then(res => { }).then(res =>{
this.isTransfer = false
if (res.success) { if (res.success) {
this.drawerModal = false this.turnLoading = false
this.$message.success('调整成功') this.$message.success('调整成功')
this.$router.push("/processCenter"); this.$router.push("/processCenter")
this.processNum()
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}) })
this.modalshowflag = false
}, },
}, },
computed: { computed: {
@@ -10,18 +10,19 @@
<div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div> <div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div>
</div> </div>
<div class="content" v-show="active === '1'"> <div class="content" v-show="active === '1'">
<div> <div style="overflow: auto">
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<el-collapse-transition>
<div class="prc-content-border" v-if="foldFormFlag">
<el-form <el-form
ref="wbbzForm" ref="wbbzForm"
:model="wbbzform" :model="wbbzform"
:rules="formRules" :rules="formRules"
class="label-input-form" class="label-input-form"
label-width="210px" label-width="120px"
> >
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<div class="prc-content-border" v-if="foldFormFlag">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="提报单位" prop="reportingUnit" class="add-form-item "> <el-form-item label="提报单位" prop="reportingUnit" class="add-form-item ">
@@ -106,13 +107,15 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div>
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
</el-form> </el-form>
</div>
</el-collapse-transition>
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
<ProcessTitle> <ProcessTitle>
<template slot="title">参与人信息</template> <template slot="title">参与人信息</template>
</ProcessTitle> </ProcessTitle>
<el-table border <el-table border
height="100%"
ref="selection" ref="selection"
:data="participantsData" :data="participantsData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -148,7 +151,7 @@
</el-table> </el-table>
</div> </div>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="回执说明"> <el-collapse-item title="审批意见">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-input <el-input
type="textarea" type="textarea"
@@ -223,6 +226,7 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-transfer
show-back show-back
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
@@ -249,6 +253,12 @@
@checkedRole="checkedTransferRole" @checkedRole="checkedTransferRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<phone-role
:role-title="drawerTitle"
:result-list="phoneRoleList"
:is-show-phone.sync="phoneshowflag"
@checkedRole="drawerCheck"
/>
</div> </div>
</template> </template>
@@ -258,7 +268,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader"; import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle"; import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter"; import ProcessFooter from "process/components/ProcessFooter";
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process"; import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default { export default {
name: "phoneCywbbzzxdStep5", name: "phoneCywbbzzxdStep5",
@@ -270,6 +280,9 @@ export default {
}, },
data() { data() {
return { return {
phoneshowflag: false,
phoneRoleList: [],
phoneDrawerTitle: '',
//切换tab //切换tab
active: "1", active: "1",
foldFormFlag: true, foldFormFlag: true,
@@ -371,14 +384,9 @@ export default {
}, },
//驳回 //驳回
beforeBack(){ beforeBack(){
if (this.participantsData.length < 1) { if(!this.commentText){
this.$message.warning("项目信息不能为空"); this.$message.warning('请填写审批意见')
} else { }else {
this.participantsData.forEach(item => {
if (item.projectNumber === undefined) {
this.$message.warning("请完善项目信息");
}
});
this.wbbzform.commentText = this.commentText; this.wbbzform.commentText = this.commentText;
let json = { let json = {
participantsData: this.participantsData, participantsData: this.participantsData,
@@ -445,29 +453,30 @@ export default {
}, },
//转办按钮 //转办按钮
handleTransfer(){ handleTransfer(){
this.drawerModal = true this.phoneshowflag = true
this.drawerTitle = '转办处理人' this.phoneRoleList = this.roleTransfer
this.selectPeople = row this.phoneDrawerTitle = '转办处理人'
}, },
//确认转办 //确认转办
checkedTransferRole (data) { drawerCheck (data) {
this.assigneeNewLoading = true this.roleTransfer = data
this.phoneRoleList = this.roleTransfer
this.turnLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人 assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人 userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例 pId: this.$route.query.prcId // 流程实例
}).then(res => { }).then(res =>{
this.isTransfer = false
if (res.success) { if (res.success) {
this.drawerModal = false this.turnLoading = false
this.$message.success('调整成功') this.$message.success('调整成功')
this.$router.push("/processCenter"); this.$router.push("/processCenter")
this.processNum()
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}) })
this.modalshowflag = false
}, },
}, },
computed: { computed: {
@@ -10,18 +10,19 @@
<div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div> <div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div>
</div> </div>
<div class="content" v-show="active === '1'"> <div class="content" v-show="active === '1'">
<div> <div style="overflow: auto">
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<el-collapse-transition>
<div class="prc-content-border" v-if="foldFormFlag">
<el-form <el-form
ref="wbbzForm" ref="wbbzForm"
:model="wbbzform" :model="wbbzform"
:rules="formRules" :rules="formRules"
class="label-input-form" class="label-input-form"
label-width="210px" label-width="120px"
> >
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<div class="prc-content-border" v-if="foldFormFlag">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="提报单位" prop="reportingUnit" class="add-form-item "> <el-form-item label="提报单位" prop="reportingUnit" class="add-form-item ">
@@ -106,13 +107,15 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div>
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
</el-form> </el-form>
</div>
</el-collapse-transition>
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
<ProcessTitle> <ProcessTitle>
<template slot="title">参与人信息</template> <template slot="title">参与人信息</template>
</ProcessTitle> </ProcessTitle>
<el-table border <el-table border
height="100%"
ref="selection" ref="selection"
:data="participantsData" :data="participantsData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -148,7 +151,7 @@
</el-table> </el-table>
</div> </div>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="回执说明"> <el-collapse-item title="审批意见">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-input <el-input
type="textarea" type="textarea"
@@ -223,6 +226,7 @@
</el-table> </el-table>
</div> </div>
<ProcessFooter <ProcessFooter
show-transfer
show-back show-back
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
@@ -249,6 +253,12 @@
@checkedRole="checkedTransferRole" @checkedRole="checkedTransferRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<phone-role
:role-title="drawerTitle"
:result-list="phoneRoleList"
:is-show-phone.sync="phoneshowflag"
@checkedRole="drawerCheck"
/>
</div> </div>
</template> </template>
@@ -258,7 +268,7 @@ import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
import ProcessHeader from "../../components/ProcessHeader"; import ProcessHeader from "../../components/ProcessHeader";
import ProcessTitle from "process/components/ProcessTitle"; import ProcessTitle from "process/components/ProcessTitle";
import ProcessFooter from "process/components/ProcessFooter"; import ProcessFooter from "process/components/ProcessFooter";
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process"; import {completeTask, inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "@/api/process.js"
export default { export default {
name: "phoneCywbbzzxdStep6", name: "phoneCywbbzzxdStep6",
@@ -270,6 +280,9 @@ export default {
}, },
data() { data() {
return { return {
phoneshowflag: false,
phoneRoleList: [],
phoneDrawerTitle: '',
//切换tab //切换tab
active: "1", active: "1",
foldFormFlag: true, foldFormFlag: true,
@@ -371,14 +384,9 @@ export default {
}, },
//驳回 //驳回
beforeBack(){ beforeBack(){
if (this.participantsData.length < 1) { if(!this.commentText){
this.$message.warning("项目信息不能为空"); this.$message.warning('请填写审批意见')
} else { }else{
this.participantsData.forEach(item => {
if (item.projectNumber === undefined) {
this.$message.warning("请完善项目信息");
}
});
this.wbbzform.commentText = this.commentText; this.wbbzform.commentText = this.commentText;
let json = { let json = {
participantsData: this.participantsData, participantsData: this.participantsData,
@@ -445,29 +453,30 @@ export default {
}, },
//转办按钮 //转办按钮
handleTransfer(){ handleTransfer(){
this.drawerModal = true this.phoneshowflag = true
this.drawerTitle = '转办处理人' this.phoneRoleList = this.roleTransfer
this.selectPeople = row this.phoneDrawerTitle = '转办处理人'
}, },
//确认转办 //确认转办
checkedTransferRole (data) { drawerCheck (data) {
this.assigneeNewLoading = true this.roleTransfer = data
this.phoneRoleList = this.roleTransfer
this.turnLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人 assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人 userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例 pId: this.$route.query.prcId // 流程实例
}).then(res => { }).then(res =>{
this.isTransfer = false
if (res.success) { if (res.success) {
this.drawerModal = false this.turnLoading = false
this.$message.success('调整成功') this.$message.success('调整成功')
this.$router.push("/processCenter"); this.$router.push("/processCenter")
this.processNum()
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}) })
this.modalshowflag = false
}, },
}, },
computed: { computed: {
@@ -478,6 +478,21 @@ export default {
console.log(item); console.log(item);
this.$nextTick(() => { this.$nextTick(() => {
this.wbbzform = JSON.parse(JSON.stringify(item)); this.wbbzform = JSON.parse(JSON.stringify(item));
this.wbbzform.comityOptionsOne.forEach(item =>{
if(this.wbbzform.associationName === item.id){
this.wbbzform.associationName = item.name
}
})
this.wbbzform.comityOptionsTwo.forEach(item =>{
if(this.wbbzform.committee === item.id){
this.wbbzform.committee = item.name
}
})
this.wbbzform.comityOptionsOneThree.forEach(item =>{
if(this.wbbzform.workingGroup === item.id){
this.wbbzform.workingGroup = item.name
}
})
this.associationData = item.associationData this.associationData = item.associationData
this.participantsData = item.participantsData this.participantsData = item.participantsData
item.fileName.forEach(itemId => { item.fileName.forEach(itemId => {