From 72365ef17bc414f82e4ba7080615f750baea51a3 Mon Sep 17 00:00:00 2001
From: lideqin <694785430@qq.com>
Date: Wed, 27 Dec 2023 09:46:27 +0800
Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E4=BC=81=E6=A0=87?=
=?UTF-8?q?=E5=88=B6=E4=BF=AE=E8=AE=A2,=E9=80=89=E6=8B=A9=E6=A0=87?=
=?UTF-8?q?=E5=87=86=E7=BB=84=E4=BB=B6=E8=B7=B3=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../selection/StandardSelectionModal.vue | 37 +++++++++++++++++--
.../DepartLiaisonLeaderApproveBaseInfo.vue | 1 +
2 files changed, 34 insertions(+), 4 deletions(-)
diff --git a/src/components/selection/StandardSelectionModal.vue b/src/components/selection/StandardSelectionModal.vue
index 99fc6f11..af79daac 100644
--- a/src/components/selection/StandardSelectionModal.vue
+++ b/src/components/selection/StandardSelectionModal.vue
@@ -52,6 +52,15 @@
+
+
+
+ {{ text || text === 0 ? text : global.emptyLine }}
+ {{ text }}
+ {{ global.emptyLine }}
+
+
+
@@ -144,14 +153,16 @@ export default {
dataIndex: 'standardNumber',
ellipsis: true,
align: 'center',
- width: 150
+ width: 150,
+ scopedSlots: { customRender: 'toDetail' }
},
{
title: this.$t('standardName'),
dataIndex: 'standardName',
ellipsis: true,
align: 'center',
- width: 150
+ width: 150,
+ scopedSlots: { customRender: 'toDetail' }
},
// 发布日期
{
@@ -260,11 +271,29 @@ export default {
},
handleTypeChange () {
this.$forceUpdate()
+ },
+ // 点击跳转标准详情
+ handleGoDetail (record) {
+ let path = ''
+ // 需要先判断是哪种标准
+ if (record.source === '1') {
+ path = '/standardRegulationLibrary/DomesticStandardDetail'
+ } else if (record.source === '2') {
+ path = '/standardRegulationLibrary/OverseasStandardDetail'
+ } else if (record.source === '3') {
+ path = '/enterpriseStandardLibrary/enterpriseStandardDetail'
+ }
+ this.$openPageNewSheet({
+ path: path,
+ query: {
+ id: record.id
+ }
+ })
}
}
}
-
diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonLeaderApproveBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonLeaderApproveBaseInfo.vue
index 57dea3ff..9435c903 100644
--- a/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonLeaderApproveBaseInfo.vue
+++ b/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonLeaderApproveBaseInfo.vue
@@ -130,6 +130,7 @@ export default {
// 把数据抛出,在线编辑不知道要不要抛
const data = {}
data.advices = this.dataSource
+ data.businessJson = JSON.stringify(this.$refs.baseInfoForm.getData())
return data
},
// 外层获取数据要过校验,返回false表示没有通过校验