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表示没有通过校验