[update] 法规合规评估流程

This commit is contained in:
lideqin
2024-07-16 14:12:31 +08:00
parent 5f3a48ed38
commit 0481774270
4 changed files with 16 additions and 1 deletions
+3
View File
@@ -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,
+1
View File
@@ -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',
+1
View File
@@ -236,6 +236,7 @@ module.exports = {
resourceNotFound: '很抱歉,资源未找到!',
networkTimeout: '网络超时',
unauthorized: '未授权,请重新登录',
tableDataDisabledClear: '表格至少需要一条数据',
// 标准字段
standardField: {
standardEnglishName: '标准英文名称',
@@ -43,7 +43,7 @@
<template v-slot:splitFileSource="{record}" class="action-span-cell">
<!-- 通过添加标准新增的 -->
<j-dict-select-tag v-if="record.addType === AddType.SELECT_STANDARD.value"
style="width: '100%'"
style="width: 100%"
v-model="record.splitFileSource"
dict-code="decomposition_single_source"
:disabled="disabled"
@@ -693,6 +693,11 @@ export default {
this.selectionRows = []
},
batchDel () {
if (this.selectedRowKeys.length === this.dataList.length) {
// 说明数据全选中了,提示表格数据不可以全部删除
this.$message.warning(this.$t('tableDataDisabledClear'))
return
}
if (this.selectedRowKeys.length <= 0) {
this.$message.warning(this.$t('selectARecord'))
} else {
@@ -715,6 +720,11 @@ export default {
this.ipagination = pagination
},
handleDelete (uid) {
if (this.dataList.length <= 1) {
// 说明剩最后一条数据了,提示表格数据不可以全部删除
this.$message.warning(this.$t('tableDataDisabledClear'))
return
}
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),