From edc717779fcf6ad98fde00a6fdec440f6a63c265 Mon Sep 17 00:00:00 2001 From: Xia Zekun Date: Fri, 15 Mar 2024 11:19:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=9E=E6=80=A7=E6=A0=87=E8=AF=86=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/label.js | 12 + src/common/lang/en-us.js | 7 + src/common/lang/zh-cn.js | 8 + .../AttributeIdentificationList.vue | 288 ++++++++++++++++++ .../modules/AttributeIdentificationModal.vue | 198 ++++++++++++ 5 files changed, 513 insertions(+) create mode 100644 src/api/label.js create mode 100644 src/views/system/AttributeIdentificationManage/AttributeIdentificationList.vue create mode 100644 src/views/system/AttributeIdentificationManage/modules/AttributeIdentificationModal.vue diff --git a/src/api/label.js b/src/api/label.js new file mode 100644 index 00000000..cc019ca5 --- /dev/null +++ b/src/api/label.js @@ -0,0 +1,12 @@ +import { getAction, postAction } from './manage.js' + +// 属性标识管理-新增 +const addLabel = (params) => postAction('/laws/lawsLabelDatabase/add', params) + +// 属性标识管理-编辑 +const editLabel = (params) => postAction('/laws/lawsLabelDatabase/edit', params) + +export { + addLabel, + editLabel, +} diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 0617782f..d4cc091f 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -587,6 +587,13 @@ module.exports = { downTemplate: 'Click to download template', noFileMsg: 'Please select a file' }, + // 属性标识管理 + attributeIdentification:{ + labelName:'Label Name', + firstLabel:'First Label', + secondLabel:'Second Label', + thirdLabel:'Third Label', + }, // 系统管理 system, // 个人中心 diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index cd6e534c..f9cc813f 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -636,6 +636,14 @@ module.exports = { primaryNodeName: '名称', selectedData: '已选数据' }, + // 属性标识管理 + attributeIdentification:{ + labelName:'标签名称', + firstLabel:'一级标签', + secondLabel:'二级标签', + thirdLabel:'三级标签', + }, + // 系统管理 system, // 个人中心 diff --git a/src/views/system/AttributeIdentificationManage/AttributeIdentificationList.vue b/src/views/system/AttributeIdentificationManage/AttributeIdentificationList.vue new file mode 100644 index 00000000..3ea87928 --- /dev/null +++ b/src/views/system/AttributeIdentificationManage/AttributeIdentificationList.vue @@ -0,0 +1,288 @@ + + + + + diff --git a/src/views/system/AttributeIdentificationManage/modules/AttributeIdentificationModal.vue b/src/views/system/AttributeIdentificationManage/modules/AttributeIdentificationModal.vue new file mode 100644 index 00000000..bf7c406e --- /dev/null +++ b/src/views/system/AttributeIdentificationManage/modules/AttributeIdentificationModal.vue @@ -0,0 +1,198 @@ + + + + +