From bede9162cc2b39dd3ecd4f5cbbdbc0fffe10e74e Mon Sep 17 00:00:00 2001 From: zjh <10930829+zheng-jinhao1209@user.noreply.gitee.com> Date: Thu, 20 Jul 2023 16:11:09 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/modulex/ModulexList.vue | 62 +++++---- .../rulex/controller/RulexController.java | 122 ++++++++++-------- 2 files changed, 107 insertions(+), 77 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/modulex/ModulexList.vue b/ant-design-vue-jeecg/src/views/modulex/ModulexList.vue index b80e141..36588e9 100644 --- a/ant-design-vue-jeecg/src/views/modulex/ModulexList.vue +++ b/ant-design-vue-jeecg/src/views/modulex/ModulexList.vue @@ -98,29 +98,11 @@ :action="functionImportExcelUrl" @change="handleImportExcel"> 导入功能 - - 导入规则 - -

当前状态:{{ ModalData.status }}

-

总记录数:{{ ModalData.records }}

-

已上传:{{ ModalData.uploaded }}

- -
-
+ + 导入规则 + + 导入实体 @@ -466,6 +448,7 @@ export default { tablexImportExcelUrl: "tablex/tablex/importExcel", tablexDownExcelUrl: "tablex/tablex/templateExcel", ruleImportExcelUrl: "rulex/rulex/importExcel", + ruleDownExcelUrl: "rulex/rulex/downExcel", exportxsxl: "modulex/modulex/exportxsxl" }, dictOptions: {}, @@ -508,6 +491,9 @@ export default { ruleImportExcelUrl: function () { return `${window._CONFIG['domianURL']}/${this.url.ruleImportExcelUrl}` }, + ruleDownExcelUrl: function () { + return `${window._CONFIG['domianURL']}/${this.url.ruleDownExcelUrl}` + }, tablexData: function () { return { note: ['对应模块id(必填):填写正确的模块名称', @@ -522,6 +508,33 @@ export default { uploadUrl: this.tablexImportExcelUrl, downUrl: this.tablexDownExcelUrl } + }, + ruleData: function () { + return { + note: ['对应模块(必填):填写正确的模块名称', + '对应功能(必填):填写正确的功能名称', + '对应实体(必填):填写正确的实体名称', + '对应字段(必填):填写正确的字段名称', + '顺序号(必填);同功能下不重复', + '规则编码(必填):功能编码+顺序号(格式001)', + '规则描述(非必填)', + '分析图(非必填)', + '责任人(非必填)', + '任务等级(必填):值:1、2、3、4、5个等级', + '任务状态(必填):值:未发布、已发布、开发中、已完成、已撤回、已取消', + '版本状态(必填): 可填入值为[当前、历史]', + '规则状态(必填): 值:正常、停用、废弃', + '开始时间(必填) ', + '任务时长(必填)', + '提交时间(必填)', + '实际时长(必填)', + '规则状态(必填): 值:正常、停用、废弃', + '版本号:请填写小与五位数的正整数' + ], + title: '导入规则', + uploadUrl: this.ruleImportExcelUrl, + downUrl: this.ruleDownExcelUrl + } } }, methods: { @@ -751,9 +764,10 @@ export default { this.loadData() }, - }, - + } } + +