移动端转办
This commit is contained in:
@@ -168,7 +168,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!-- 加入标准化协会信息备案流程-->
|
<!-- 加入标准化协会信息备案流程-->
|
||||||
<template>
|
<template>
|
||||||
<div class="phoneGrbzhxhStep3 phoneBox">
|
<div class="phoneJrbzhxhStep3 phoneBox">
|
||||||
<ProcessHeaderPhone toggle>
|
<ProcessHeaderPhone toggle>
|
||||||
<template slot="proName">加入标准化协会备案流程</template>
|
<template slot="proName">加入标准化协会备案流程</template>
|
||||||
<template slot="proNode">标准法规工程师审核</template>
|
<template slot="proNode">标准法规工程师审核</template>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="wbbzform"
|
:model="wbbzform"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -198,7 +198,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"
|
||||||
@@ -215,7 +215,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
@@ -273,6 +273,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
|
show-transfer
|
||||||
show-back
|
show-back
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@@ -299,19 +300,24 @@
|
|||||||
@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>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
||||||
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 { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneGrbzhxhStep3",
|
name: "phoneJrbzhxhStep3",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -320,6 +326,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: "",
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
@@ -329,7 +338,7 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
modalshowflag: false,
|
modalshowflag: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: '',
|
drawerTitle: "",
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList:[],
|
fileList:[],
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -544,21 +553,42 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//流程转办
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
this.phoneshowflag = 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.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false;
|
||||||
|
this.$message.success("调整成功");
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
//流程提交
|
//流程提交
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true;
|
||||||
this.wbbzform.signFlag = '1',
|
this.wbbzform.signFlag = "1",
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.participantsData = this.participantsData;
|
||||||
this.wbbzform.associationData = this.associationData
|
this.wbbzform.associationData = this.associationData;
|
||||||
var json = JSON.stringify( this.wbbzform)
|
var json = JSON.stringify(this.wbbzform);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -576,29 +606,33 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//流程驳回
|
//流程驳回
|
||||||
beforeBack(){
|
beforeBack() {
|
||||||
this.isSubmit = true
|
if (!this.commentText) {
|
||||||
this.wbbzform.signFlag = '0',
|
this.$message.warning("请填写审批意见");
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
} else {
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.isSubmit = true;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.signFlag = "0",
|
||||||
this.wbbzform.associationData = this.associationData
|
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
||||||
var json = JSON.stringify( this.wbbzform)
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.wbbzform.participantsData = this.participantsData;
|
||||||
taskIds: this.taskIds,
|
this.wbbzform.associationData = this.associationData;
|
||||||
userId: this.userId,
|
var json = JSON.stringify(this.wbbzform);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
this.isSubmit = false
|
this.$message.success(res.message);
|
||||||
}, e => {
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -615,7 +649,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/phone';
|
@import '~@/assets/styles/phone';
|
||||||
.phoneGrbzhxhStep3 {
|
.phoneJrbzhxhStep3 {
|
||||||
/deep/.van-dialog__content {
|
/deep/.van-dialog__content {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!-- 加入标准化协会信息备案流程-->
|
<!-- 加入标准化协会信息备案流程-->
|
||||||
<template>
|
<template>
|
||||||
<div class="phoneGrbzhxhStep4 phoneBox">
|
<div class="phoneJrbzhxhStep4 phoneBox">
|
||||||
<ProcessHeaderPhone toggle>
|
<ProcessHeaderPhone toggle>
|
||||||
<template slot="proName">加入标准化协会备案流程</template>
|
<template slot="proName">加入标准化协会备案流程</template>
|
||||||
<template slot="proNode">标准法规工程师审核</template>
|
<template slot="proNode">标准法规工程师审核</template>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="wbbzform"
|
:model="wbbzform"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -198,7 +198,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"
|
||||||
@@ -215,7 +215,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
@@ -273,6 +273,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
|
show-transfer
|
||||||
show-back
|
show-back
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@@ -299,6 +300,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>
|
||||||
|
|
||||||
@@ -311,7 +318,7 @@ import ProcessFooter from "process/components/ProcessFooter";
|
|||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneGrbzhxhStep4",
|
name: "phoneJrbzhxhStep4",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -320,6 +327,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
@@ -529,11 +539,32 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//流程转办
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = 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.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
//流程提交
|
//流程提交
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
@@ -600,7 +631,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/phone';
|
@import '~@/assets/styles/phone';
|
||||||
.phoneGrbzhxhStep4 {
|
.phoneJrbzhxhStep4 {
|
||||||
/deep/.van-dialog__content {
|
/deep/.van-dialog__content {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -10,130 +10,132 @@
|
|||||||
<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">
|
||||||
<el-form
|
<ProcessTitle>
|
||||||
ref="qbfsForm"
|
<template slot="title">基础信息</template>
|
||||||
:model="qbfsForm"
|
</ProcessTitle>
|
||||||
:rules="formRules"
|
<el-collapse-transition>
|
||||||
class="label-input-form"
|
|
||||||
label-width="150px"
|
|
||||||
>
|
|
||||||
<ProcessTitle>
|
|
||||||
<template slot="title">基础信息</template>
|
|
||||||
</ProcessTitle>
|
|
||||||
<div class="prc-content-border" v-if="foldFormFlag">
|
<div class="prc-content-border" v-if="foldFormFlag">
|
||||||
<el-row :gutter="24">
|
<el-form
|
||||||
<el-col :span="24">
|
ref="qbfsForm"
|
||||||
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled">
|
:model="qbfsForm"
|
||||||
<el-input
|
:rules="formRules"
|
||||||
readonly
|
class="label-input-form"
|
||||||
v-model="qbfsForm.entNumber"
|
label-width="150px"
|
||||||
placeholder="请输入企标编号"
|
>
|
||||||
clearable
|
<el-row :gutter="24">
|
||||||
></el-input>
|
<el-col :span="24">
|
||||||
</el-form-item>
|
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.entNumber"
|
||||||
v-model="qbfsForm.cnName"
|
placeholder="请输入企标编号"
|
||||||
placeholder="请输入中文名称"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="英文名称" prop="enName" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.cnName"
|
||||||
v-model="qbfsForm.enName"
|
placeholder="请输入中文名称"
|
||||||
placeholder="请输入英文名称"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="英文名称" prop="enName" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.enName"
|
||||||
v-model="qbfsForm.entCategory"
|
placeholder="请输入英文名称"
|
||||||
placeholder="请输入企标类别"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.entCategory"
|
||||||
v-model="qbfsForm.replaceNumber"
|
placeholder="请输入企标类别"
|
||||||
placeholder="请输入代替企标编号"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="下一步状态" prop="nextStatus" class="add-form-item ">
|
<el-input
|
||||||
<el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">
|
readonly
|
||||||
<el-option
|
v-model="qbfsForm.replaceNumber"
|
||||||
v-for="item in associationOptions"
|
placeholder="请输入代替企标编号"
|
||||||
:key="item.value"
|
clearable
|
||||||
:label="item.label"
|
></el-input>
|
||||||
:value="item.value">
|
</el-form-item>
|
||||||
</el-option>
|
<el-form-item label="下一步状态" prop="nextStatus" class="add-form-item ">
|
||||||
</el-select>
|
<el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">
|
||||||
</el-form-item>
|
<el-option
|
||||||
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
|
v-for="item in associationOptions"
|
||||||
<el-input
|
:key="item.value"
|
||||||
readonly
|
:label="item.label"
|
||||||
v-model="qbfsForm.replacedNumber"
|
:value="item.value">
|
||||||
placeholder="请输入被代替企标编号"
|
</el-option>
|
||||||
clearable
|
</el-select>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.replacedNumber"
|
||||||
v-model="qbfsForm.releaseDate"
|
placeholder="请输入被代替企标编号"
|
||||||
placeholder="请输入发布日期"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.releaseDate"
|
||||||
v-model="qbfsForm.implementDate"
|
placeholder="请输入发布日期"
|
||||||
placeholder="请输入实施日期"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="复审日期" prop="reviewDate" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.implementDate"
|
||||||
v-model="qbfsForm.reviewDate"
|
placeholder="请输入实施日期"
|
||||||
placeholder="请输入复审日期"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="复审日期" prop="reviewDate" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<div class="file-box" v-if="fileList.length > 0">
|
readonly
|
||||||
<p v-for="item in fileList"
|
v-model="qbfsForm.reviewDate"
|
||||||
:key="item.id"> {{ item.oldFileName }}
|
placeholder="请输入复审日期"
|
||||||
<i
|
clearable
|
||||||
title="下载"
|
></el-input>
|
||||||
@click="downloadFile(item.id)"
|
</el-form-item>
|
||||||
class="icon-download"
|
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||||
v-btn-permission="''"
|
<div class="file-box" v-if="fileList.length > 0">
|
||||||
/>
|
<p v-for="item in fileList"
|
||||||
<i
|
:key="item.id"> {{ item.oldFileName }}
|
||||||
title="下载带水印"
|
<i
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
title="下载"
|
||||||
class="icon-download2"
|
@click="downloadFile(item.id)"
|
||||||
v-btn-permission="''"
|
class="icon-download"
|
||||||
/>
|
v-btn-permission="''"
|
||||||
</p>
|
/>
|
||||||
</div>
|
<i
|
||||||
<div v-else>
|
title="下载带水印"
|
||||||
暂无数据
|
@click="downloadFileByWater(item.id, item.name)"
|
||||||
</div>
|
class="icon-download2"
|
||||||
</el-form-item>
|
v-btn-permission="''"
|
||||||
<el-form-item class="add-form-item ">
|
/>
|
||||||
</el-form-item>
|
</p>
|
||||||
</el-col>
|
</div>
|
||||||
</el-row>
|
<div v-else>
|
||||||
|
暂无数据
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="add-form-item ">
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-collapse-transition>
|
||||||
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
|
<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>
|
||||||
@@ -141,7 +143,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
border
|
||||||
height="52%"
|
height="100%"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
@@ -180,7 +182,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
@@ -248,14 +250,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -277,6 +277,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -419,31 +422,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -183,14 +183,6 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedRoles"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
<!-- 选择责任人-->
|
<!-- 选择责任人-->
|
||||||
<Role-tree
|
<Role-tree
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
@@ -198,6 +190,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="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -219,6 +217,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
fileList: [],
|
fileList: [],
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -345,31 +346,32 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRoles (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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -319,14 +319,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -349,6 +347,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -502,31 +503,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -319,14 +319,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -349,6 +347,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -502,31 +503,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -319,14 +319,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -349,6 +347,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -502,31 +503,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -249,14 +249,12 @@
|
|||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedTransferRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +276,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +340,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -242,21 +242,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<phone-role
|
||||||
check-box
|
:role-title="drawerTitle"
|
||||||
:is-title="drawerTitle"
|
:result-list="phoneRoleList"
|
||||||
:is-visible.sync="modalshowflag"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="drawerCheck"
|
||||||
:nodeList="nodeList"
|
/>
|
||||||
></Role-tree>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedTransferRole"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +269,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +333,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -242,21 +242,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<phone-role
|
||||||
check-box
|
:role-title="drawerTitle"
|
||||||
:is-title="drawerTitle"
|
:result-list="phoneRoleList"
|
||||||
:is-visible.sync="modalshowflag"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="drawerCheck"
|
||||||
:nodeList="nodeList"
|
/>
|
||||||
></Role-tree>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedTransferRole"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +269,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +333,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -242,21 +242,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<phone-role
|
||||||
check-box
|
:role-title="drawerTitle"
|
||||||
:is-title="drawerTitle"
|
:result-list="phoneRoleList"
|
||||||
:is-visible.sync="modalshowflag"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="drawerCheck"
|
||||||
:nodeList="nodeList"
|
/>
|
||||||
></Role-tree>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedTransferRole"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +269,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +333,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (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
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -168,6 +174,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -396,9 +405,30 @@ export default {
|
|||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = 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.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR (type, title, id) {
|
choiceZRR (type, title, id) {
|
||||||
@@ -408,42 +438,6 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
|
||||||
if (this.drawerTitle === '转办处理人') {
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.roleRow = data[0]
|
|
||||||
// 选取负责人时的操作
|
|
||||||
if (this.multipleSelection.length === 0) {
|
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
|
||||||
this.rowDutyPeople.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
}else {
|
|
||||||
this.multipleSelection.forEach(item => {
|
|
||||||
item.dutyPeopleInfo = this.roleRow.name
|
|
||||||
item.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
})
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
// 选取流程信息完成
|
|
||||||
// this.roleForm.dutyUserInfoName = this.roleRow.name
|
|
||||||
}
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -168,6 +174,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -396,9 +405,30 @@ export default {
|
|||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = 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.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR (type, title, id) {
|
choiceZRR (type, title, id) {
|
||||||
@@ -408,42 +438,6 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
|
||||||
if (this.drawerTitle === '转办处理人') {
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.roleRow = data[0]
|
|
||||||
// 选取负责人时的操作
|
|
||||||
if (this.multipleSelection.length === 0) {
|
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
|
||||||
this.rowDutyPeople.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
}else {
|
|
||||||
this.multipleSelection.forEach(item => {
|
|
||||||
item.dutyPeopleInfo = this.roleRow.name
|
|
||||||
item.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
})
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
// 选取流程信息完成
|
|
||||||
// this.roleForm.dutyUserInfoName = this.roleRow.name
|
|
||||||
}
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -168,6 +174,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -396,9 +405,30 @@ export default {
|
|||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = 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.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR (type, title, id) {
|
choiceZRR (type, title, id) {
|
||||||
@@ -408,42 +438,6 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
|
||||||
if (this.drawerTitle === '转办处理人') {
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.roleRow = data[0]
|
|
||||||
// 选取负责人时的操作
|
|
||||||
if (this.multipleSelection.length === 0) {
|
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
|
||||||
this.rowDutyPeople.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
}else {
|
|
||||||
this.multipleSelection.forEach(item => {
|
|
||||||
item.dutyPeopleInfo = this.roleRow.name
|
|
||||||
item.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
})
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
// 选取流程信息完成
|
|
||||||
// this.roleForm.dutyUserInfoName = this.roleRow.name
|
|
||||||
}
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -262,6 +262,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -284,6 +290,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
lawInfoTableLoading: true,
|
lawInfoTableLoading: true,
|
||||||
@@ -403,11 +412,32 @@ export default {
|
|||||||
this.processStep = window.URL.createObjectURL(res.data)
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = 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.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data) {
|
setMap(data) {
|
||||||
|
|||||||
+4
-4
@@ -2256,8 +2256,8 @@ const routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/phoneGrbzhxhStep3',
|
path: '/phoneJrbzhxhStep3',
|
||||||
name: 'phoneGrbzhxhStep3',
|
name: 'phoneJrbzhxhStep3',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step3.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step3.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isBoolean: true,
|
isBoolean: true,
|
||||||
@@ -2266,8 +2266,8 @@ const routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/phoneGrbzhxhStep4',
|
path: '/phoneJrbzhxhStep4',
|
||||||
name: 'phoneGrbzhxhStep4',
|
name: 'phoneJrbzhxhStep4',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step4.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step4.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isBoolean: true,
|
isBoolean: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user