|
@@ -2,7 +2,7 @@
|
|
|
<!-- 直接复用原 workflowTab 代码 -->
|
|
<!-- 直接复用原 workflowTab 代码 -->
|
|
|
<div class="task-formulate">
|
|
<div class="task-formulate">
|
|
|
<div class="operation-bar">
|
|
<div class="operation-bar">
|
|
|
- <span>预定的监审工作起止时间:</span>
|
|
|
|
|
|
|
+ <span>流程预定起止时间:</span>
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
v-model="formData.workflow.plannedAuditStartDate"
|
|
v-model="formData.workflow.plannedAuditStartDate"
|
|
|
type="date"
|
|
type="date"
|
|
@@ -27,11 +27,10 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
type="success"
|
|
type="success"
|
|
|
plain
|
|
plain
|
|
|
- icon="iconfont-5039297 icon-zengjia1"
|
|
|
|
|
:disabled="isView"
|
|
:disabled="isView"
|
|
|
@click="handleSetWorkflow"
|
|
@click="handleSetWorkflow"
|
|
|
>
|
|
>
|
|
|
- 工作环节设置
|
|
|
|
|
|
|
+ 流程明细
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
<CostAuditTable
|
|
<CostAuditTable
|
|
@@ -41,9 +40,12 @@
|
|
|
:show-action-column="true"
|
|
:show-action-column="true"
|
|
|
>
|
|
>
|
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
|
- <el-button type="text" :disabled="isView" @click="handleSetStep(row)">
|
|
|
|
|
- 设置
|
|
|
|
|
|
|
+ <el-button type="text" @click="handleViewStepDetail(row)">
|
|
|
|
|
+ 环节明细
|
|
|
</el-button>
|
|
</el-button>
|
|
|
|
|
+ <!-- <el-button type="text" :disabled="isView" @click="handleSetStep(row)">
|
|
|
|
|
+ 设置
|
|
|
|
|
+ </el-button> -->
|
|
|
</template>
|
|
</template>
|
|
|
</CostAuditTable>
|
|
</CostAuditTable>
|
|
|
<div class="table-description">
|
|
<div class="table-description">
|
|
@@ -272,6 +274,49 @@
|
|
|
<el-button @click="dialogs.stepDialogVisible = false">取消</el-button>
|
|
<el-button @click="dialogs.stepDialogVisible = false">取消</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+ <!-- 环节明细对话框 -->
|
|
|
|
|
+ <el-dialog
|
|
|
|
|
+ title="环节明细"
|
|
|
|
|
+ :visible.sync="dialogs.detailDialogVisible"
|
|
|
|
|
+ width="50%"
|
|
|
|
|
+ :modal="false"
|
|
|
|
|
+ append-to-body
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-row :gutter="16">
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ 流程环节:{{ detailRow.processNodeValue || '-' }}
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ 环节类型:{{
|
|
|
|
|
+ getDictName('processNodeType', detailRow.nodeType) || '-'
|
|
|
|
|
+ }}
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row :gutter="16" style="margin-top: 10px">
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ 办理人员:{{
|
|
|
|
|
+ detailRow.mainUserName
|
|
|
|
|
+ ? detailRow.mainUserName + ',' + detailRow.userName || ''
|
|
|
|
|
+ : detailRow.userName || '-'
|
|
|
|
|
+ }}
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row :gutter="16" style="margin-top: 10px">
|
|
|
|
|
+ <el-col :span="24">办理意见:{{ detailRow.actRemarks || '-' }}</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row :gutter="16" style="margin-top: 10px">
|
|
|
|
|
+ <el-col :span="12">要求办结期限:{{ detailRow.endTime || '-' }}</el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ 开始时间:{{ detailRow.actStartTime || '-' }}
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <el-row :gutter="16" style="margin-top: 10px">
|
|
|
|
|
+ <el-col :span="12">结束时间:{{ detailRow.actEndTime || '-' }}</el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
|
|
+ <el-button @click="dialogs.detailDialogVisible = false">关闭</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -297,6 +342,8 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ // 环节明细数据
|
|
|
|
|
+ detailRow: {},
|
|
|
formData: {
|
|
formData: {
|
|
|
currentStepRules: {
|
|
currentStepRules: {
|
|
|
endTime: [
|
|
endTime: [
|
|
@@ -370,6 +417,11 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // 查看环节明细
|
|
|
|
|
+ handleViewStepDetail(row) {
|
|
|
|
|
+ this.detailRow = { ...(row || {}) }
|
|
|
|
|
+ this.dialogs.detailDialogVisible = true
|
|
|
|
|
+ },
|
|
|
formatterUserList(userId) {
|
|
formatterUserList(userId) {
|
|
|
return this.formatterMainUserList().filter(
|
|
return this.formatterMainUserList().filter(
|
|
|
(item) => item.userId !== userId
|
|
(item) => item.userId !== userId
|