对接重点认证标准/政策合规性项目审查流程
This commit is contained in:
+3
@@ -230,6 +230,9 @@
|
|||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
showTableButton() {
|
showTableButton() {
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||||
return true
|
return true
|
||||||
|
|||||||
+9
-4
@@ -13,7 +13,8 @@
|
|||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUser"
|
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUser"
|
||||||
style="display: none;"></el-input>
|
style="display: none;"></el-input>
|
||||||
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUserName" placeholder="流程发起人"
|
<el-input :disabled="disabledXX" v-model="roleForm.prcCreateUserName"
|
||||||
|
placeholder="流程发起人"
|
||||||
disabled></el-input>
|
disabled></el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -218,6 +219,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.disabledXX = false
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
this.disabledXX = true
|
||||||
|
}
|
||||||
this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
|
this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
|
||||||
this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||||
this.roleForm = {...this.roleForm}
|
this.roleForm = {...this.roleForm}
|
||||||
@@ -284,7 +289,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
save(callback){
|
save(callback) {
|
||||||
callback && callback(this.roleForm)
|
callback && callback(this.roleForm)
|
||||||
},
|
},
|
||||||
getData(item) {
|
getData(item) {
|
||||||
@@ -317,8 +322,8 @@
|
|||||||
prcCreateUser: row.prcCreateUser,
|
prcCreateUser: row.prcCreateUser,
|
||||||
prcCreateUserName: row.prcCreateUserName,
|
prcCreateUserName: row.prcCreateUserName,
|
||||||
|
|
||||||
csrUserIds:row.csrUserIds,
|
csrUserIds: row.csrUserIds,
|
||||||
csrUserNames:row.csrUserNames
|
csrUserNames: row.csrUserNames
|
||||||
}
|
}
|
||||||
this.roleForm = {...this.roleForm}
|
this.roleForm = {...this.roleForm}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
<businessDivisionList v-if="isBusinessDivisionList" ref="businessDivisionListRef"/>
|
<businessDivisionList v-if="isBusinessDivisionList" ref="businessDivisionListRef"/>
|
||||||
<productPlanningList v-if="isProductPlanningList" ref="productPlanningListRef"/>
|
<productPlanningList v-if="isProductPlanningList" ref="productPlanningListRef"/>
|
||||||
</div>
|
</div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion v-if="showCommentText">
|
||||||
<el-collapse-item title="意见填写">
|
<el-collapse-item title="意见填写">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-input type="textarea"
|
<el-input type="textarea"
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
style="padding-top: 20px">
|
style="padding-top: 20px">
|
||||||
<approvalHistory/>
|
<approvalHistory/>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter show-submit
|
<ProcessFooter :show-submit="showSubmit"
|
||||||
:show-save="showSave"
|
:show-save="showSave"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:rejectLoading="isReject"
|
:rejectLoading="isReject"
|
||||||
@@ -263,6 +263,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
showSubmit() {
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
showPersonnel() {//显示人员信息
|
showPersonnel() {//显示人员信息
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||||
@@ -277,6 +283,9 @@
|
|||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
disabledXX() {//是否可以操作基础信息
|
disabledXX() {//是否可以操作基础信息
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3') {
|
||||||
return false
|
return false
|
||||||
@@ -316,6 +325,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
showSave() { //是否展示保存
|
showSave() { //是否展示保存
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicyComplianceProgramReviewProcessKey1' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey7' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey3' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey7' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey9') {
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey8' || this.taskKey == 'PolicyComplianceProgramReviewProcessKey9') {
|
||||||
@@ -325,6 +337,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
showTransfer() {//是否展示转办
|
showTransfer() {//是否展示转办
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (!this.taskKey) {
|
if (!this.taskKey) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
@@ -332,6 +347,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
showReject() {//是否展示驳回
|
showReject() {//是否展示驳回
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' ||
|
if (this.taskKey == 'PolicyComplianceProgramReviewProcessKey2' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey4' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey4' ||
|
||||||
this.taskKey == 'PolicyComplianceProgramReviewProcessKey5' ||
|
this.taskKey == 'PolicyComplianceProgramReviewProcessKey5' ||
|
||||||
@@ -389,6 +407,12 @@
|
|||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
|
showCommentText() {
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//获取草稿的数据进行展示
|
//获取草稿的数据进行展示
|
||||||
|
|||||||
+4
@@ -218,6 +218,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.disabledXX = false
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
this.disabledXX = true
|
||||||
|
}
|
||||||
this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
|
this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
|
||||||
this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
|
||||||
this.roleForm = {...this.roleForm}
|
this.roleForm = {...this.roleForm}
|
||||||
|
|||||||
+15
@@ -196,6 +196,9 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
isNodeDisplay() {//是否展示新增和批量删除
|
isNodeDisplay() {//是否展示新增和批量删除
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey9') {
|
this.taskKey == 'PolicySolicitOpinionProcessKey9') {
|
||||||
return true
|
return true
|
||||||
@@ -203,6 +206,9 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
isGenerateSummary() {//是否展示生成汇总单和生成上报意见
|
isGenerateSummary() {//是否展示生成汇总单和生成上报意见
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey13' ||
|
if (this.taskKey == 'PolicySolicitOpinionProcessKey13' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey14' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey14' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey15') {
|
this.taskKey == 'PolicySolicitOpinionProcessKey15') {
|
||||||
@@ -211,6 +217,9 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
isExport() {//是否展示导出
|
isExport() {//是否展示导出
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey12') {
|
if (this.taskKey == 'PolicySolicitOpinionProcessKey12') {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
@@ -236,6 +245,9 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
isOperate() {//是否展示操作列
|
isOperate() {//是否展示操作列
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey12') {
|
this.taskKey == 'PolicySolicitOpinionProcessKey12') {
|
||||||
@@ -244,6 +256,9 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
showSelection() {//是否展示选择
|
showSelection() {//是否展示选择
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
if (this.taskKey == 'PolicySolicitOpinionProcessKey8' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey9') {
|
this.taskKey == 'PolicySolicitOpinionProcessKey9') {
|
||||||
return true
|
return true
|
||||||
|
|||||||
@@ -212,7 +212,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<solicitationList v-if="showSolicitation" ref="solicitationListRef"/>
|
<solicitationList v-if="showSolicitation" ref="solicitationListRef"/>
|
||||||
</div>
|
</div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion v-if="showCommentText">
|
||||||
<el-collapse-item title="意见填写">
|
<el-collapse-item title="意见填写">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-input type="textarea"
|
<el-input type="textarea"
|
||||||
@@ -232,7 +232,7 @@
|
|||||||
style="padding-top: 20px">
|
style="padding-top: 20px">
|
||||||
<approvalHistory/>
|
<approvalHistory/>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter show-submit
|
<ProcessFooter :show-submit="showSubmit"
|
||||||
:show-save="showSave"
|
:show-save="showSave"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:rejectLoading="isReject"
|
:rejectLoading="isReject"
|
||||||
@@ -383,7 +383,16 @@
|
|||||||
return '抄送'
|
return '抄送'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
showSubmit(){
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
showSave() { //是否展示保存
|
showSave() { //是否展示保存
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey3' || this.taskKey == 'PolicySolicitOpinionProcessKey7' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey3' || this.taskKey == 'PolicySolicitOpinionProcessKey7' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey8' || this.taskKey == 'PolicySolicitOpinionProcessKey9' ||
|
||||||
@@ -393,12 +402,18 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
showTransfer() {//是否展示转办
|
showTransfer() {//是否展示转办
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (!this.taskKey) {
|
if (!this.taskKey) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
showReject() {//是否展示驳回
|
showReject() {//是否展示驳回
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
if (this.taskKey == 'PolicySolicitOpinionProcessKey2' ||
|
if (this.taskKey == 'PolicySolicitOpinionProcessKey2' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey4' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey4' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey5' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey5' ||
|
||||||
@@ -441,12 +456,21 @@
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
disabledXX() {
|
disabledXX() {
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
|
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey3') {
|
this.taskKey == 'PolicySolicitOpinionProcessKey3') {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
|
showCommentText(){
|
||||||
|
if (this.$route.query.operate && this.$route.query.operate == 'view') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//获取草稿的数据进行展示
|
//获取草稿的数据进行展示
|
||||||
|
|||||||
@@ -19,23 +19,27 @@
|
|||||||
@click="exportStandard"
|
@click="exportStandard"
|
||||||
icon="export"
|
icon="export"
|
||||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||||
>导出</el-button>
|
>导出
|
||||||
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
round
|
round
|
||||||
@click="seeProcessLast"
|
@click="seeProcessLast"
|
||||||
>查看流程数据</el-button>
|
>查看流程数据
|
||||||
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="tzclrEnable"
|
v-if="tzclrEnable"
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@click="adjustmentHandler"
|
@click="adjustmentHandler"
|
||||||
round
|
round
|
||||||
>调整处理人</el-button>
|
>调整处理人
|
||||||
|
</el-button>
|
||||||
<el-button v-if="approveShow"
|
<el-button v-if="approveShow"
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@click="approveHandler"
|
@click="approveHandler"
|
||||||
round
|
round
|
||||||
>汇总流程</el-button>
|
>汇总流程
|
||||||
|
</el-button>
|
||||||
<!--临时屏蔽 start-->
|
<!--临时屏蔽 start-->
|
||||||
<!--<el-button-->
|
<!--<el-button-->
|
||||||
<!-- class="common-button-default"-->
|
<!-- class="common-button-default"-->
|
||||||
@@ -43,11 +47,11 @@
|
|||||||
<!-- @click="handlingTasks"-->
|
<!-- @click="handlingTasks"-->
|
||||||
<!-->办理任务</el-button>-->
|
<!-->办理任务</el-button>-->
|
||||||
<!--临时屏蔽 end-->
|
<!--临时屏蔽 end-->
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- class="common-button-default"-->
|
<!-- class="common-button-default"-->
|
||||||
<!-- round-->
|
<!-- round-->
|
||||||
<!-- @click="urgeRow"-->
|
<!-- @click="urgeRow"-->
|
||||||
<!-- >催办</el-button>-->
|
<!-- >催办</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
@@ -125,32 +129,32 @@
|
|||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
<!-- <org-table-->
|
<!-- <org-table-->
|
||||||
<!-- title="调整处理人"-->
|
<!-- title="调整处理人"-->
|
||||||
<!-- :visible.sync="drawerModal"-->
|
<!-- :visible.sync="drawerModal"-->
|
||||||
<!-- dialog-model-->
|
<!-- dialog-model-->
|
||||||
<!-- :config="orgTableConfig"-->
|
<!-- :config="orgTableConfig"-->
|
||||||
<!-- :max-selected="1"-->
|
<!-- :max-selected="1"-->
|
||||||
<!-- max-selected-tips="处理人只能选择一个用户"-->
|
<!-- max-selected-tips="处理人只能选择一个用户"-->
|
||||||
<!-- :excludeUser="excludeUser"-->
|
<!-- :excludeUser="excludeUser"-->
|
||||||
<!-- @confirm="addTree"-->
|
<!-- @confirm="addTree"-->
|
||||||
<!-- ></org-table>-->
|
<!-- ></org-table>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapMutations } from 'vuex'
|
import {mapMutations} from 'vuex'
|
||||||
import { changeAssigneeNew } from 'api/process'
|
import {changeAssigneeNew} from 'api/process'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import eventBus from '@/common/eventHub'
|
import eventBus from '@/common/eventHub'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'processDetail',
|
name: 'processDetail',
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
approveShow:false,
|
approveShow: false,
|
||||||
approveRowIndex:0,
|
approveRowIndex: 0,
|
||||||
assigneeNewLoading: false, // 调整处理人确定loading
|
assigneeNewLoading: false, // 调整处理人确定loading
|
||||||
loginPeople: '',
|
loginPeople: '',
|
||||||
// 调整处理人抽屉状态
|
// 调整处理人抽屉状态
|
||||||
@@ -184,7 +188,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkedRole (data) {
|
checkedRole(data) {
|
||||||
this.assigneeNewLoading = true
|
this.assigneeNewLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.selectPeople.id, // 任务id
|
taskId: this.selectPeople.id, // 任务id
|
||||||
@@ -204,11 +208,11 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 汇总流程
|
// 汇总流程
|
||||||
approveHandler(){
|
approveHandler() {
|
||||||
let index = this.detailData.length - 1 // 当前流程任务最后一步index
|
let index = this.detailData.length - 1 // 当前流程任务最后一步index
|
||||||
let isEnd = true
|
let isEnd = true
|
||||||
let row = {...this.detailData[this.approveRowIndex+1]}//汇总页下一步拿到数据
|
let row = {...this.detailData[this.approveRowIndex + 1]}//汇总页下一步拿到数据
|
||||||
if(this.approveRowIndex ===this.detailData.length-1){ //最后一步
|
if (this.approveRowIndex === this.detailData.length - 1) { //最后一步
|
||||||
row = {...this.detailData[this.approveRowIndex]}
|
row = {...this.detailData[this.approveRowIndex]}
|
||||||
}
|
}
|
||||||
row.taskIds = row.id
|
row.taskIds = row.id
|
||||||
@@ -232,50 +236,88 @@ export default {
|
|||||||
// 根据type判断跳转具体流程页面
|
// 根据type判断跳转具体流程页面
|
||||||
if (prcType === '1') {
|
if (prcType === '1') {
|
||||||
// 标准入库流程数据 //第一步
|
// 标准入库流程数据 //第一步
|
||||||
this.toProcessDetail('bzrkStep1-1',row)
|
this.toProcessDetail('bzrkStep1-1', row)
|
||||||
}else if(prcType === '2'){
|
} else if (prcType === '2') {
|
||||||
//标准调研流程 //第五步
|
//标准调研流程 //第五步
|
||||||
this.toProcessDetail('bzdyStep5-1',row)
|
this.toProcessDetail('bzdyStep5-1', row)
|
||||||
}else if(prcType === '3'){
|
} else if (prcType === '3') {
|
||||||
//标准征求意见 第七步
|
//标准征求意见 第七步
|
||||||
this.toProcessDetail('bzzqyjStep5-1',row)
|
this.toProcessDetail('bzzqyjStep5-1', row)
|
||||||
}else if(prcType === '4'){
|
} else if (prcType === '4') {
|
||||||
//标准清单发布流程数据 第一步
|
//标准清单发布流程数据 第一步
|
||||||
this.toProcessDetail('bzqdfbStep1_1',row)
|
this.toProcessDetail('bzqdfbStep1_1', row)
|
||||||
} else if(prcType === '9') {
|
} else if (prcType === '9') {
|
||||||
//标准解读流程 数据汇总页面 最后一步 暂时没有
|
//标准解读流程 数据汇总页面 最后一步 暂时没有
|
||||||
this.toProcessDetail('bzjdStep6-1', row)
|
this.toProcessDetail('bzjdStep6-1', row)
|
||||||
}else if (prcType === '5'){
|
} else if (prcType === '5') {
|
||||||
//标准合规评估流程 最后一步
|
//标准合规评估流程 最后一步
|
||||||
this.toProcessDetail('bzpgStep8-2',row)
|
this.toProcessDetail('bzpgStep8-2', row)
|
||||||
}else if(prcType === '6'){
|
} else if (prcType === '6') {
|
||||||
//项目合规评估流程 最后一步
|
//项目合规评估流程 最后一步
|
||||||
// this.toProcessDetail('xmpg2Step12-1',row)
|
// this.toProcessDetail('xmpg2Step12-1',row)
|
||||||
this.toProcessDetail('xmpgStep5-1',row)
|
this.toProcessDetail('xmpgStep5-1', row)
|
||||||
}else if(prcType === '10'){
|
} else if (prcType === '10') {
|
||||||
//项目清单确认 最后一步
|
//项目清单确认 最后一步
|
||||||
this.toProcessDetail('xmqdqrStep4-1',row)
|
this.toProcessDetail('xmqdqrStep4-1', row)
|
||||||
}else if (prcType === '8') {
|
} else if (prcType === '8') {
|
||||||
// 未符合项整改 3
|
// 未符合项整改 3
|
||||||
this.toProcessDetail('wfhxzgStep3-1',row)
|
this.toProcessDetail('wfhxzgStep3-1', row)
|
||||||
}else if(prcType === 'buss1'){
|
} else if (prcType === 'buss1') {
|
||||||
//企标制修订 技术标准 第9
|
//企标制修订 技术标准 第9
|
||||||
this.toProcessDetail('bussLibrary11-1',row)
|
this.toProcessDetail('bussLibrary11-1', row)
|
||||||
}else if(prcType === 'buss2'){
|
} else if (prcType === 'buss2') {
|
||||||
//企标 产品标准 6
|
//企标 产品标准 6
|
||||||
this.toProcessDetail('bussLibraryProduct6-1',row)
|
this.toProcessDetail('bussLibraryProduct6-1', row)
|
||||||
}else if(prcType === 'buss3'){
|
} else if (prcType === 'buss3') {
|
||||||
//企标复审 4
|
//企标复审 4
|
||||||
this.toProcessDetail('bussFs2-1',row)
|
this.toProcessDetail('bussFs2-1', row)
|
||||||
}else if(prcType === '24'){
|
} else if (prcType === '24') {
|
||||||
//企标废止 3
|
//企标废止 3
|
||||||
this.toProcessDetail('qbfzStep4-1',row)
|
this.toProcessDetail('qbfzStep4-1', row)
|
||||||
}else if(prcType === '25'){
|
} else if (prcType === '25') {
|
||||||
//企标制修订计划管控 1
|
//企标制修订计划管控 1
|
||||||
this.toProcessDetail('qbzxdjhgkStep1-1',row)
|
this.toProcessDetail('qbzxdjhgkStep1-1', row)
|
||||||
}else if(prcType === '26'){
|
} else if (prcType === '26') {
|
||||||
//企标制修订计划立项 1
|
//企标制修订计划立项 1
|
||||||
this.toProcessDetail('qbzxdlxStep1-1',row)
|
this.toProcessDetail('qbzxdlxStep1-1', row)
|
||||||
|
} else if (prcType === '29') {
|
||||||
|
let data = []
|
||||||
|
this.detailData.forEach(res => {
|
||||||
|
if (res.taskDefinitionKey == 'PolicySolicitOpinionProcessKey11') {
|
||||||
|
data.push(res)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.$router.push({
|
||||||
|
path: '/policyConsultation',
|
||||||
|
query: {
|
||||||
|
taskIds: data[0].id,
|
||||||
|
prcNum: data[0].prcNum,
|
||||||
|
prcName: data[0].prcName,
|
||||||
|
prcType: data[0].prcType,
|
||||||
|
prcId: data[0].processInstanceId,
|
||||||
|
taskDefinitionKey: data[0].taskDefinitionKey,
|
||||||
|
operate: 'view',
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (prcType === '30') {
|
||||||
|
let data = []
|
||||||
|
this.detailData.forEach(res => {
|
||||||
|
if (res.taskDefinitionKey == 'PolicyComplianceProgramReviewProcessKey11') {
|
||||||
|
data.push(res)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.$router.push({
|
||||||
|
path: '/policyComplianceReview',
|
||||||
|
query: {
|
||||||
|
taskIds: data[0].id,
|
||||||
|
prcNum: data[0].prcNum,
|
||||||
|
prcName: data[0].prcName,
|
||||||
|
prcType: data[0].prcType,
|
||||||
|
prcId: data[0].processInstanceId,
|
||||||
|
taskDefinitionKey: data[0].taskDefinitionKey,
|
||||||
|
operate: 'view',
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -284,7 +326,7 @@ export default {
|
|||||||
* @date 2019/4/22
|
* @date 2019/4/22
|
||||||
* @Description: 查看流程最后一步
|
* @Description: 查看流程最后一步
|
||||||
*/
|
*/
|
||||||
seeProcessLast () {
|
seeProcessLast() {
|
||||||
let index = this.detailData.length - 1 // 当前流程任务最后一步index
|
let index = this.detailData.length - 1 // 当前流程任务最后一步index
|
||||||
let isEnd = true
|
let isEnd = true
|
||||||
let row = {...this.detailData[0]}
|
let row = {...this.detailData[0]}
|
||||||
@@ -292,7 +334,6 @@ export default {
|
|||||||
row.taskInfo = row.name
|
row.taskInfo = row.name
|
||||||
row.tabsName = this.$route.query.tabsName
|
row.tabsName = this.$route.query.tabsName
|
||||||
let prcType = this.detailData[index].prcType // 流程类型
|
let prcType = this.detailData[index].prcType // 流程类型
|
||||||
console.log(prcType);
|
|
||||||
// 判断当前流程是否已全部办理完成
|
// 判断当前流程是否已全部办理完成
|
||||||
// this.detailData.map(item => {
|
// this.detailData.map(item => {
|
||||||
// if (!item.endTime) {
|
// if (!item.endTime) {
|
||||||
@@ -312,90 +353,116 @@ export default {
|
|||||||
// 根据type判断跳转具体流程页面
|
// 根据type判断跳转具体流程页面
|
||||||
if (prcType === '1') {
|
if (prcType === '1') {
|
||||||
// 标准入库流程数据
|
// 标准入库流程数据
|
||||||
this.toProcessDetail('bzrkStep1',row)
|
this.toProcessDetail('bzrkStep1', row)
|
||||||
}else if(prcType === 'laws1'){
|
} else if (prcType === 'laws1') {
|
||||||
//政策入库
|
//政策入库
|
||||||
this.toProcessDetail('zcrkStep1',row)
|
this.toProcessDetail('zcrkStep1', row)
|
||||||
}else if(prcType === 'laws2'){
|
} else if (prcType === 'laws2') {
|
||||||
//政策征求意见流程
|
//政策征求意见流程
|
||||||
this.toProcessDetail('zczqyjStep1',row)
|
this.toProcessDetail('zczqyjStep1', row)
|
||||||
}else if(prcType === 'laws3'){
|
} else if (prcType === 'laws3') {
|
||||||
//重点认证标准/政策合规性项目审查流程
|
//重点认证标准/政策合规性项目审查流程
|
||||||
this.toProcessDetail('zdrzbzORzchgxxmscStep1',row)
|
this.toProcessDetail('zdrzbzORzchgxxmscStep1', row)
|
||||||
}else if(prcType === 'buss1'){
|
} else if (prcType === 'buss1') {
|
||||||
//企标入库
|
//企标入库
|
||||||
this.toProcessDetail('bussLibrary1',row)
|
this.toProcessDetail('bussLibrary1', row)
|
||||||
}else if(prcType === 'buss2'){
|
} else if (prcType === 'buss2') {
|
||||||
//企标入库
|
//企标入库
|
||||||
this.toProcessDetail('bussLibraryProduct1',row)
|
this.toProcessDetail('bussLibraryProduct1', row)
|
||||||
}else if(prcType === 'buss3'){
|
} else if (prcType === 'buss3') {
|
||||||
//企标复审
|
//企标复审
|
||||||
this.toProcessDetail('qbfsStep1',row)
|
this.toProcessDetail('qbfsStep1', row)
|
||||||
}else if(prcType === '4'){
|
} else if (prcType === '4') {
|
||||||
//标准清单发布流程数据
|
//标准清单发布流程数据
|
||||||
this.toProcessDetail('bzqdfbStep1',row)
|
this.toProcessDetail('bzqdfbStep1', row)
|
||||||
}else if (prcType === '5'){
|
} else if (prcType === '5') {
|
||||||
//标准项目合规评估
|
//标准项目合规评估
|
||||||
this.toProcessDetail('bzpgStep1',row)
|
this.toProcessDetail('bzpgStep1', row)
|
||||||
}else if(prcType === '6'){
|
} else if (prcType === '6') {
|
||||||
//标准项目合规评估 项目维度
|
//标准项目合规评估 项目维度
|
||||||
this.toProcessDetail('xmpg2Step1',row)
|
this.toProcessDetail('xmpg2Step1', row)
|
||||||
} else if (prcType === '8') {
|
} else if (prcType === '8') {
|
||||||
// 未符合项整改
|
// 未符合项整改
|
||||||
this.toProcessDetail('wfhxzgStep1',row)
|
this.toProcessDetail('wfhxzgStep1', row)
|
||||||
} else if(prcType === '9'){
|
} else if (prcType === '9') {
|
||||||
this.toProcessDetail('bzjdStep1',row)
|
this.toProcessDetail('bzjdStep1', row)
|
||||||
//标准调研流程
|
//标准调研流程
|
||||||
}else if(prcType === '2'){
|
} else if (prcType === '2') {
|
||||||
this.toProcessDetail('bzdyStep1',row)
|
this.toProcessDetail('bzdyStep1', row)
|
||||||
}else if(prcType === '3'){
|
} else if (prcType === '3') {
|
||||||
//标准征求意见
|
//标准征求意见
|
||||||
this.toProcessDetail('bzzqyjStep1',row)
|
this.toProcessDetail('bzzqyjStep1', row)
|
||||||
}else if(prcType === '10'){
|
} else if (prcType === '10') {
|
||||||
//项目清单确认
|
//项目清单确认
|
||||||
this.toProcessDetail('xmqdqrStep1',row, 'unShowReceipt')
|
this.toProcessDetail('xmqdqrStep1', row, 'unShowReceipt')
|
||||||
}else if(prcType === '14'){
|
} else if (prcType === '14') {
|
||||||
//加入标准化协会信息备案流程
|
//加入标准化协会信息备案流程
|
||||||
this.toProcessDetail('cywbbzzxdStep1',row,)
|
this.toProcessDetail('cywbbzzxdStep1', row,)
|
||||||
}else if(prcType === '15'){
|
} else if (prcType === '15') {
|
||||||
//加入标准化协会信息备案流程
|
//加入标准化协会信息备案流程
|
||||||
this.toProcessDetail('jrbzhxhStep1',row,)
|
this.toProcessDetail('jrbzhxhStep1', row,)
|
||||||
} else if(prcType === '16'){
|
} else if (prcType === '16') {
|
||||||
//外部署名
|
//外部署名
|
||||||
this.toProcessDetail('wbsmStep1',row)
|
this.toProcessDetail('wbsmStep1', row)
|
||||||
}else if(prcType === '20') {
|
} else if (prcType === '20') {
|
||||||
// 入会流程
|
// 入会流程
|
||||||
this.toProcessDetail('bzrhStep1',row)
|
this.toProcessDetail('bzrhStep1', row)
|
||||||
} else if(prcType === '21') {
|
} else if (prcType === '21') {
|
||||||
// 参会流程
|
// 参会流程
|
||||||
this.toProcessDetail('bzchStep1',row)
|
this.toProcessDetail('bzchStep1', row)
|
||||||
} else if(prcType === '23'){
|
} else if (prcType === '23') {
|
||||||
//企标复审
|
//企标复审
|
||||||
this.toProcessDetail('qbfsStep1',row)
|
this.toProcessDetail('qbfsStep1', row)
|
||||||
}else if(prcType === '24'){
|
} else if (prcType === '24') {
|
||||||
//企标废止
|
//企标废止
|
||||||
this.toProcessDetail('qbfzStep1',row)
|
this.toProcessDetail('qbfzStep1', row)
|
||||||
}else if(prcType === '25'){
|
} else if (prcType === '25') {
|
||||||
//企标制修订计划管控
|
//企标制修订计划管控
|
||||||
this.toProcessDetail('qbzxdjhgkStep1',row)
|
this.toProcessDetail('qbzxdjhgkStep1', row)
|
||||||
}else if(prcType === '26'){
|
} else if (prcType === '26') {
|
||||||
//企标制修订计划立项
|
//企标制修订计划立项
|
||||||
this.toProcessDetail('qbzxdlxStep1',row)
|
this.toProcessDetail('qbzxdlxStep1', row)
|
||||||
}else if(prcType === '17'){
|
} else if (prcType === '17') {
|
||||||
//政策课题入会发起流程
|
//政策课题入会发起流程
|
||||||
this.toProcessDetail('zcrhStep1',row)
|
this.toProcessDetail('zcrhStep1', row)
|
||||||
}else if(prcType === '18'){
|
} else if (prcType === '18') {
|
||||||
//政策课题参会发起流程
|
//政策课题参会发起流程
|
||||||
this.toProcessDetail('zcchStep1',row)
|
this.toProcessDetail('zcchStep1', row)
|
||||||
}else if(prcType === '12'){
|
} else if (prcType === '12') {
|
||||||
//政策课题参会发起流程
|
//政策课题参会发起流程
|
||||||
this.toProcessDetail('zdrzbzORzchgxxmscStep1',row)
|
this.toProcessDetail('zdrzbzORzchgxxmscStep1', row)
|
||||||
|
} else if (prcType === '29') {
|
||||||
|
this.$router.push({
|
||||||
|
path: '/policyConsultation',
|
||||||
|
query: {
|
||||||
|
taskIds: row.id,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcId: row.processInstanceId,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType,
|
||||||
|
taskDefinitionKey: row.taskDefinitionKey,
|
||||||
|
operate: 'view',
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (prcType === '30') {
|
||||||
|
this.$router.push({
|
||||||
|
path: '/policyComplianceReview',
|
||||||
|
query: {
|
||||||
|
taskIds: row.id,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType,
|
||||||
|
prcId: row.processInstanceId,
|
||||||
|
taskDefinitionKey: row.taskDefinitionKey,
|
||||||
|
operate: 'view',
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('当前流程未全部办理完成,无法查看')
|
this.$message.warning('当前流程未全部办理完成,无法查看')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
toProcessDetail(componentName,row,unShowReceipt) {
|
toProcessDetail(componentName, row, unShowReceipt) {
|
||||||
let data = {
|
let data = {
|
||||||
name: componentName,
|
name: componentName,
|
||||||
query: {
|
query: {
|
||||||
@@ -405,13 +472,13 @@ export default {
|
|||||||
prcNum: row.prcNum,
|
prcNum: row.prcNum,
|
||||||
prcName: row.prcName,
|
prcName: row.prcName,
|
||||||
prcType: row.prcType,
|
prcType: row.prcType,
|
||||||
disabledXX:true,
|
disabledXX: true,
|
||||||
verifySarStandard:true,
|
verifySarStandard: true,
|
||||||
index:this.approveRowIndex,
|
index: this.approveRowIndex,
|
||||||
processInstanceId:row.processInstanceId
|
processInstanceId: row.processInstanceId
|
||||||
},
|
},
|
||||||
params:{
|
params: {
|
||||||
currentItem:row.currentItem
|
currentItem: row.currentItem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (unShowReceipt) {
|
if (unShowReceipt) {
|
||||||
@@ -420,11 +487,11 @@ export default {
|
|||||||
this.$router.push(data)
|
this.$router.push(data)
|
||||||
},
|
},
|
||||||
// table行选择事件
|
// table行选择事件
|
||||||
tableChange (row) {
|
tableChange(row) {
|
||||||
this.tableRow = row
|
this.tableRow = row
|
||||||
},
|
},
|
||||||
// 办理任务
|
// 办理任务
|
||||||
handlingTasks () {
|
handlingTasks() {
|
||||||
// 判断选中一条数据、未完成数据、当前登陆人数据
|
// 判断选中一条数据、未完成数据、当前登陆人数据
|
||||||
if (this.tableRow.length === 1 && !this.tableRow[0].endTime && this.tableRow[0].assigneeId === this.$store.getters.userInfo.userId) {
|
if (this.tableRow.length === 1 && !this.tableRow[0].endTime && this.tableRow[0].assigneeId === this.$store.getters.userInfo.userId) {
|
||||||
if (this.$store.state.detailMap !== '') {
|
if (this.$store.state.detailMap !== '') {
|
||||||
@@ -970,15 +1037,15 @@ export default {
|
|||||||
if (row.taskInfo === '法规联络人发起复审或企标工程师选择法规联络人') {
|
if (row.taskInfo === '法规联络人发起复审或企标工程师选择法规联络人') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/qbfs/step1',
|
path: '/qbfs/step1',
|
||||||
query:{
|
query: {
|
||||||
taskIds:row.taskIds
|
taskIds: row.taskIds
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (row.taskInfo === '选择法规联络人') {
|
} else if (row.taskInfo === '选择法规联络人') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/qbfs/step2',
|
path: '/qbfs/step2',
|
||||||
query:{
|
query: {
|
||||||
taskIds:row.taskIds
|
taskIds: row.taskIds
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -989,7 +1056,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 调整处理人
|
// 调整处理人
|
||||||
adjustmentHandler () {
|
adjustmentHandler() {
|
||||||
if (this.tableRow.length === 1 && !this.tableRow[0].endTime) {
|
if (this.tableRow.length === 1 && !this.tableRow[0].endTime) {
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
this.drawerTitle = '调整处理人'
|
this.drawerTitle = '调整处理人'
|
||||||
@@ -999,7 +1066,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 催办
|
// 催办
|
||||||
urgeRow () {
|
urgeRow() {
|
||||||
if (this.tableRow.length === 1 && !this.tableRow[0].endTime) {
|
if (this.tableRow.length === 1 && !this.tableRow[0].endTime) {
|
||||||
this.$confirm('您确认要催办该任务吗', '提示', {
|
this.$confirm('您确认要催办该任务吗', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
@@ -1015,11 +1082,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 清空条件
|
// 清空条件
|
||||||
clearanceCondition () {
|
clearanceCondition() {
|
||||||
this.completeFlagType = true
|
this.completeFlagType = true
|
||||||
this.tableRow = []
|
this.tableRow = []
|
||||||
},
|
},
|
||||||
back () {
|
back() {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'ProcessCenter',
|
name: 'ProcessCenter',
|
||||||
query: {
|
query: {
|
||||||
@@ -1028,7 +1095,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 调整处理人确定事件
|
// 调整处理人确定事件
|
||||||
addTree (checkedList) {
|
addTree(checkedList) {
|
||||||
if (checkedList.length !== 1) {
|
if (checkedList.length !== 1) {
|
||||||
this.$message.warning('请选择一个处理人进行调整')
|
this.$message.warning('请选择一个处理人进行调整')
|
||||||
} else {
|
} else {
|
||||||
@@ -1056,7 +1123,7 @@ export default {
|
|||||||
* @author: chenxiaoxi
|
* @author: chenxiaoxi
|
||||||
* @date: 2018/10/11 13:41:45
|
* @date: 2018/10/11 13:41:45
|
||||||
*/
|
*/
|
||||||
urge (row) {
|
urge(row) {
|
||||||
this.$http.postData('person/personMsg/saveNew',
|
this.$http.postData('person/personMsg/saveNew',
|
||||||
{
|
{
|
||||||
msgContent: '流程编号为' + row.prcNum + '的流程,请尽快办理。',
|
msgContent: '流程编号为' + row.prcNum + '的流程,请尽快办理。',
|
||||||
@@ -1075,7 +1142,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum () {
|
processNum() {
|
||||||
axios.request({
|
axios.request({
|
||||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
@@ -1090,7 +1157,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 请求列表
|
// 请求列表
|
||||||
processTable () {
|
processTable() {
|
||||||
this.$http.get('lawss/activiti/get_list_by_instance', {
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
sortWord: this.shunxu ? this.paixu : '',
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
@@ -1100,10 +1167,11 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.detailData = res
|
this.detailData = res
|
||||||
}, e => {})
|
}, e => {
|
||||||
|
})
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']),
|
...mapMutations(['setProcess', 'setHandleInfo', 'setPrcLastDetail']),
|
||||||
processFlag (res) {
|
processFlag(res) {
|
||||||
// if (res.data.hisTaskExcelVOList[0].processTypeFlag === '1' || res.data.hisTaskExcelVOList[0].processTypeFlag === '2' || res.data.hisTaskExcelVOList[0].processTypeFlag === '3' || res.data.hisTaskExcelVOList[0].processTypeFlag === '4' ||
|
// if (res.data.hisTaskExcelVOList[0].processTypeFlag === '1' || res.data.hisTaskExcelVOList[0].processTypeFlag === '2' || res.data.hisTaskExcelVOList[0].processTypeFlag === '3' || res.data.hisTaskExcelVOList[0].processTypeFlag === '4' ||
|
||||||
// res.data.hisTaskExcelVOList[0].processTypeFlag === '5' || res.data.hisTaskExcelVOList[0].processTypeFlag === '6' || res.data.hisTaskExcelVOList[0].processTypeFlag === '8') {
|
// res.data.hisTaskExcelVOList[0].processTypeFlag === '5' || res.data.hisTaskExcelVOList[0].processTypeFlag === '6' || res.data.hisTaskExcelVOList[0].processTypeFlag === '8') {
|
||||||
// return false
|
// return false
|
||||||
@@ -1114,7 +1182,7 @@ export default {
|
|||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
// 导出事件
|
// 导出事件
|
||||||
exportStandard () {
|
exportStandard() {
|
||||||
let ids = []
|
let ids = []
|
||||||
if (this.tableRow.length > 0) {
|
if (this.tableRow.length > 0) {
|
||||||
this.tableRow.map(item => {
|
this.tableRow.map(item => {
|
||||||
@@ -1129,7 +1197,7 @@ export default {
|
|||||||
this.$message.success('导出信息成功')
|
this.$message.success('导出信息成功')
|
||||||
},
|
},
|
||||||
// 表格排序
|
// 表格排序
|
||||||
sortChange (sortObj) {
|
sortChange(sortObj) {
|
||||||
if (sortObj.column.order !== 'normal') {
|
if (sortObj.column.order !== 'normal') {
|
||||||
this.shunxu = ''
|
this.shunxu = ''
|
||||||
this.paixu = ''
|
this.paixu = ''
|
||||||
@@ -1139,7 +1207,7 @@ export default {
|
|||||||
case 'name' :
|
case 'name' :
|
||||||
// 后台联调
|
// 后台联调
|
||||||
this.paixu = 'name'
|
this.paixu = 'name'
|
||||||
if (order === 'ascending'){
|
if (order === 'ascending') {
|
||||||
this.shunxu = 'asc'
|
this.shunxu = 'asc'
|
||||||
} else if (order === 'descending') {
|
} else if (order === 'descending') {
|
||||||
this.shunxu = 'desc'
|
this.shunxu = 'desc'
|
||||||
@@ -1149,7 +1217,7 @@ export default {
|
|||||||
case 'assignee' :
|
case 'assignee' :
|
||||||
// 后台联调
|
// 后台联调
|
||||||
this.paixu = 'assignee'
|
this.paixu = 'assignee'
|
||||||
if (order === 'ascending'){
|
if (order === 'ascending') {
|
||||||
this.shunxu = 'asc'
|
this.shunxu = 'asc'
|
||||||
} else if (order === 'descending') {
|
} else if (order === 'descending') {
|
||||||
this.shunxu = 'desc'
|
this.shunxu = 'desc'
|
||||||
@@ -1159,7 +1227,7 @@ export default {
|
|||||||
case 'createTime' :
|
case 'createTime' :
|
||||||
// 后台联调
|
// 后台联调
|
||||||
this.paixu = 'startTime'
|
this.paixu = 'startTime'
|
||||||
if (order === 'ascending'){
|
if (order === 'ascending') {
|
||||||
this.shunxu = 'asc'
|
this.shunxu = 'asc'
|
||||||
} else if (order === 'descending') {
|
} else if (order === 'descending') {
|
||||||
this.shunxu = 'desc'
|
this.shunxu = 'desc'
|
||||||
@@ -1170,28 +1238,28 @@ export default {
|
|||||||
this.processTable()
|
this.processTable()
|
||||||
},
|
},
|
||||||
// 流程审批按钮是否显示
|
// 流程审批按钮是否显示
|
||||||
getApproveShow(){
|
getApproveShow() {
|
||||||
this.$http.get('lawss/activiti/get_gather_by_instance',{
|
this.$http.get('lawss/activiti/get_gather_by_instance', {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
sortWord: this.shunxu ? this.paixu : '',
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
shunxu: this.shunxu
|
shunxu: this.shunxu
|
||||||
},{
|
}, {
|
||||||
loading: 'loading',
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.approveShow = res[res.length-1].isGather
|
this.approveShow = res[res.length - 1].isGather
|
||||||
this.approveRowIndex = res[res.length-1].index
|
this.approveRowIndex = res[res.length - 1].index
|
||||||
}, e => {})
|
}, e => {
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {},
|
||||||
},
|
|
||||||
props: {},
|
props: {},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText () {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
},
|
},
|
||||||
urgeRowMenu () {
|
urgeRowMenu() {
|
||||||
let flag = false
|
let flag = false
|
||||||
this.$store.getters.getMenuList.map((menu) => {
|
this.$store.getters.getMenuList.map((menu) => {
|
||||||
if (menu.id === 'ZDE6GT7UG5' || this.loginPeople === this.$store.getters.userInfo.userId) {
|
if (menu.id === 'ZDE6GT7UG5' || this.loginPeople === this.$store.getters.userInfo.userId) {
|
||||||
@@ -1208,24 +1276,25 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
beforeUpdate () {
|
beforeUpdate() {
|
||||||
if (this.detailData.length > 0) {
|
if (this.detailData.length > 0) {
|
||||||
sessionStorage.setItem('processInstance', JSON.stringify(this.detailData[0]))
|
sessionStorage.setItem('processInstance', JSON.stringify(this.detailData[0]))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted() {
|
||||||
this.processNum()
|
this.processNum()
|
||||||
this.processTable()
|
this.processTable()
|
||||||
this.getApproveShow()
|
this.getApproveShow()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
//@import '~styles/mixins';
|
//@import '~styles/mixins';
|
||||||
#processDetails{
|
#processDetails {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.flow-chart{
|
|
||||||
|
.flow-chart {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 45%;
|
height: 45%;
|
||||||
background: #F0F0F0;
|
background: #F0F0F0;
|
||||||
@@ -1234,33 +1303,38 @@ export default {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
.flow-header{
|
|
||||||
|
.flow-header {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
//.flex();
|
//.flex();
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
.flow-chart-title{
|
|
||||||
|
.flow-chart-title {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
//.ellipsis();
|
//.ellipsis();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.flow-group{
|
|
||||||
|
.flow-group {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(~'100% - 30px');
|
height: calc(~'100% - 30px');
|
||||||
.process-img{
|
|
||||||
|
.process-img {
|
||||||
//width: 100%;
|
//width: 100%;
|
||||||
//height: 100%;
|
//height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.flow-list{
|
|
||||||
|
.flow-list {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(~'55% - 55px');
|
height: calc(~'55% - 55px');
|
||||||
border: 1px solid #CCCDCE;
|
border: 1px solid #CCCDCE;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user