|
@@ -0,0 +1,65 @@
|
|
|
+<template>
|
|
|
+ <div class="app-container">
|
|
|
+ <el-collapse v-model="activeName" @change="handleChange">
|
|
|
+ <el-collapse-item>
|
|
|
+ <template slot="title">
|
|
|
+ <span style="font-size:20px; margin-left:20px;letter-spacing:2px;color:red">
|
|
|
+ <i class="el-icon-warning"></i>
|
|
|
+ <span> 当前节点:{{ currentNode == null ? '???' : currentNode.nodeName }}</span>
|
|
|
+ <span> 项目编号:{{ nodeBusinessInfo.businessSubId }}</span>
|
|
|
+ </span>
|
|
|
+ <span style="font-size:15px; margin-left:15px;letter-spacing:2px; color:RGB(168,168,168)">
|
|
|
+ 点击展开查看实时流程图
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <WorkflowBoard ref='board' @workflowCommitVerify="workflowCommitVerify" :nodeBusinessInfo="nodeBusinessInfo" />
|
|
|
+ </el-collapse-item>
|
|
|
+ </el-collapse>
|
|
|
+ <div class="button-area">
|
|
|
+ <el-button v-if="nodeBusinessInfo.currentNodePermission.commit" class="y-save" type="success" round
|
|
|
+ @click="commit('PASS')" :disabled="!nodeBusinessInfo.doWorkflow">提交</el-button>
|
|
|
+ <el-button v-if="nodeBusinessInfo.currentNodePermission.reversible" class="y-save" type="warning" round
|
|
|
+ @click="commit('REVERSE')" :disabled="!nodeBusinessInfo.doWorkflow">退回</el-button>
|
|
|
+ <el-button v-if="nodeBusinessInfo.currentNodePermission.skippable" class="y-save" type="warning" round
|
|
|
+ @click="commit('SKIP')" :disabled="!nodeBusinessInfo.doWorkflow">跳过</el-button>
|
|
|
+ <el-button v-if="nodeBusinessInfo.currentNodePermission.terminable" class="y-save" type="danger" round
|
|
|
+ @click="commit('TERMINATE')" :disabled="!nodeBusinessInfo.doWorkflow">终止</el-button>
|
|
|
+ <el-button v-if="nodeBusinessInfo.currentNodePermission.restartable" class="y-save" type="danger" round
|
|
|
+ @click="commit('RESTART')" :disabled="!nodeBusinessInfo.doWorkflow">重置</el-button>
|
|
|
+ <el-button class="y-save" round type="info" @click="goBack">返回</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import YDetailPageLayout from '@/components/YDetailPageLayout/index_detail'
|
|
|
+import WorkflowBoard from '@/components/workflowBoard'
|
|
|
+import ScanEntry from '@/components/ScanEntry'
|
|
|
+import { isNumber, phoneNumber, postiveInteger, isIdNumber } from '@/utils/validate'
|
|
|
+import { calculateTargetPrice, validateParams } from '@/utils/personalUtil'
|
|
|
+import HouseCertificate from '@/components/personalForms/houseCertificate'
|
|
|
+import LandCertificate from '@/components/personalForms/landCertificate'
|
|
|
+import ImmovableCertificate from '@/components/personalForms/immovableCertificate'
|
|
|
+import EntityInfo from '@/components/personalForms/entityInfo'
|
|
|
+import BackgroundInfo from '@/components/personalForms/backgroundInfo'
|
|
|
+import SellingAbilityInfo from '@/components/personalForms/sellingAbilityInfo'
|
|
|
+import existPNG from '@/assets/images/exist.png'
|
|
|
+import emptyPNG from '@/assets/images/empty.png'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'personalTodoDetail',
|
|
|
+ components: {
|
|
|
+ YDetailPageLayout,
|
|
|
+ WorkflowBoard,
|
|
|
+ ScanEntry,
|
|
|
+ HouseCertificate,
|
|
|
+ LandCertificate,
|
|
|
+ ImmovableCertificate,
|
|
|
+ EntityInfo,
|
|
|
+ BackgroundInfo,
|
|
|
+ SellingAbilityInfo
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|