From 0481774270fdb85351534b8e09a8d44bb83a626f Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Tue, 16 Jul 2024 14:12:31 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=B3=95=E8=A7=84=E5=90=88=E8=A7=84?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/standardRegulationLibraryApi.js | 3 +++ src/common/lang/en-us.js | 1 + src/common/lang/zh-cn.js | 1 + .../modules/EngineerInitBaseInfo.vue | 12 +++++++++++- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/api/standardRegulationLibraryApi.js b/src/api/standardRegulationLibraryApi.js index ff7aa73..cf77857 100644 --- a/src/api/standardRegulationLibraryApi.js +++ b/src/api/standardRegulationLibraryApi.js @@ -136,6 +136,8 @@ const editStandardMasterPlan = (params) => postAction('/laws/StandardMasterPlan/ // 市场法规清单-基础信息-根据id查询 const getMarketRegulationListById = (params) => getAction('/laws/marketStandard/detail', params) +// 市场法规清单-基础信息-根据id查询(无权限) +const getMarketRegulationListByIdNoPerm = (params) => getAction('/laws/marketStandard/queryById', params) // 市场法规清单-基础信息-新增 const marketRegulationListAdd = (params) => postAction('/laws/marketStandard/add', params) // 市场法规清单-基础信息-编辑 @@ -232,6 +234,7 @@ export { // 市场法规清单 getMarketRegulationListById, + getMarketRegulationListByIdNoPerm, marketRegulationListAdd, marketRegulationListEdit, marketRegulationDetailListById, diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 5465a56..fa6ebb7 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -219,6 +219,7 @@ module.exports = { resourceNotFound: 'Sorry, the resource was not found!', networkTimeout: 'Network Timeout', unauthorized: 'Unauthorized, please log in again', + tableDataDisabledClear: 'The table requires at least one piece of data', // 树右键 treeRight: { addFolder: 'Create New Folder', diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index eb7b8fb..294faf4 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -236,6 +236,7 @@ module.exports = { resourceNotFound: '很抱歉,资源未找到!', networkTimeout: '网络超时', unauthorized: '未授权,请重新登录', + tableDataDisabledClear: '表格至少需要一条数据', // 标准字段 standardField: { standardEnglishName: '标准英文名称', diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue index dc3eb92..293de9a 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue @@ -43,7 +43,7 @@