update 企标稽查整改调整
This commit is contained in:
@@ -97,10 +97,10 @@ export default {
|
|||||||
title: this.$t('workCenter.newProcess.auditExtensionApplicationProcess'),
|
title: this.$t('workCenter.newProcess.auditExtensionApplicationProcess'),
|
||||||
path: '/workCenter/InspectionExtensionRequestProcess'
|
path: '/workCenter/InspectionExtensionRequestProcess'
|
||||||
},
|
},
|
||||||
// { // 企标稽查整改
|
{ // 企标稽查整改
|
||||||
// title: this.$t('workCenter.newProcess.enterpriseStandardInspectionAndRectification'),
|
title: this.$t('workCenter.newProcess.enterpriseStandardInspectionAndRectification'),
|
||||||
// path: '/workCenter/EnterpriseStandardInspectionRectification'
|
path: '/workCenter/EnterpriseStandardInspectionRectification'
|
||||||
// },
|
},
|
||||||
{ // 权限申请流程
|
{ // 权限申请流程
|
||||||
title: this.$t('workCenter.newProcess.permissionApplicationProcess'),
|
title: this.$t('workCenter.newProcess.permissionApplicationProcess'),
|
||||||
path: '/workCenter/PermissionApplicationProcess'
|
path: '/workCenter/PermissionApplicationProcess'
|
||||||
|
|||||||
+3
-3
@@ -3,12 +3,12 @@
|
|||||||
:title="title"
|
:title="title"
|
||||||
:width="drawerWidth"
|
:width="drawerWidth"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:confirmLoading="confirmLoading"
|
:confirmLoading="loading"
|
||||||
switchFullscreen
|
switchFullscreen
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
@cancel="handleCancel"
|
@cancel="handleCancel"
|
||||||
:cancelText="$t('close')">
|
:cancelText="$t('close')">
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="loading">
|
||||||
<div class="table-operator" v-if="!disabled">
|
<div class="table-operator" v-if="!disabled">
|
||||||
<!-- 新增 -->
|
<!-- 新增 -->
|
||||||
<a-button icon="plus" type="primary" @click="handleAdd">{{ $t('newlyAdded') }}</a-button>
|
<a-button icon="plus" type="primary" @click="handleAdd">{{ $t('newlyAdded') }}</a-button>
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:can-drag="true"
|
:can-drag="true"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
|
:loading="loading"
|
||||||
:row-selection="null"
|
:row-selection="null"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%'}"
|
:scroll="{x: '100%'}"
|
||||||
@@ -96,7 +97,6 @@ export default {
|
|||||||
drawerWidth: 1000,
|
drawerWidth: 1000,
|
||||||
visible: false,
|
visible: false,
|
||||||
model: {},
|
model: {},
|
||||||
confirmLoading: false,
|
|
||||||
url: {
|
url: {
|
||||||
list: '/enterprise/InspectContent/queryClauseByEsInspectId',
|
list: '/enterprise/InspectContent/queryClauseByEsInspectId',
|
||||||
delete: '/enterprise/InspectContent/delete'
|
delete: '/enterprise/InspectContent/delete'
|
||||||
|
|||||||
+5
-5
@@ -177,11 +177,11 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
pageTitle () {
|
pageTitle () {
|
||||||
return this.$t('flowCenter') + this.$route.meta.title + '(' + this.nodeTitle + ')'
|
return this.$t('flowCenter') + this.$route.meta.title + (this.nodeTitle ? `(${this.nodeTitle})` : '')
|
||||||
},
|
},
|
||||||
// 节点标题
|
// 节点标题
|
||||||
nodeTitle () {
|
nodeTitle () {
|
||||||
return this.$route.query.taskName || EsInspectionRectification.uploadRectificationResult.text
|
return this.$route.query.taskName || ''
|
||||||
},
|
},
|
||||||
processDisabled () {
|
processDisabled () {
|
||||||
return this.currentNode !== EsInspectionRectification.uploadRectificationResult.value
|
return this.currentNode !== EsInspectionRectification.uploadRectificationResult.value
|
||||||
@@ -189,9 +189,9 @@ export default {
|
|||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
const { projectId, nodeId, taskName } = this.$route.query
|
const { projectId, nodeId, taskName } = this.$route.query
|
||||||
// 发起、草稿进来没有nodeId,就默认发起节点
|
// 自动发起流程: 没有默认节点
|
||||||
this.currentNode = nodeId || EsInspectionRectification.uploadRectificationResult.value
|
this.currentNode = nodeId || ''
|
||||||
this.currentNodeName = taskName || EsInspectionRectification.uploadRectificationResult.text
|
this.currentNodeName = taskName || ''
|
||||||
this.projectId = projectId
|
this.projectId = projectId
|
||||||
this.btn = EsInspectionRectification.propertyOfValue('btn', this.currentNode) || []
|
this.btn = EsInspectionRectification.propertyOfValue('btn', this.currentNode) || []
|
||||||
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
|
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
|
||||||
|
|||||||
Reference in New Issue
Block a user