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 @@