From 2b32ef9201a9858ecc6d4eda9d2b206574032c7f Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Fri, 5 May 2023 17:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E5=85=B8=E6=8E=A5=E5=8F=A3=20=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=9D=83=E9=99=90=E7=9A=84=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/dictionary.js | 31 ++ src/components/newTranslate.vue | 190 +++++++ src/views/System/dataDictionary.vue | 101 ++-- .../reportProcess/components/reportForm.vue | 481 ++++++++++++------ src/views/reportProcess/launch.vue | 10 +- 5 files changed, 596 insertions(+), 217 deletions(-) create mode 100644 src/api/modules/dictionary.js create mode 100644 src/components/newTranslate.vue diff --git a/src/api/modules/dictionary.js b/src/api/modules/dictionary.js new file mode 100644 index 0000000..1a818b8 --- /dev/null +++ b/src/api/modules/dictionary.js @@ -0,0 +1,31 @@ +import { instance as request } from '@/utils/request' + +export default { + addDic (data) { + return request({ + url: '/api/sys/dict/add', + method: 'post', + data + }) + }, + editDic (data) { + return request({ + url: '/api/sys/dict/edit', + method: 'put', + data + }) + }, + getDic (data) { + return request({ + url: '/api/sys/dict/page', + method: 'get', + params:data + }) + }, + delDic (data) { + return request({ + url: '/api/sys/dict/'+data, + method: 'get', + }) + }, +} diff --git a/src/components/newTranslate.vue b/src/components/newTranslate.vue new file mode 100644 index 0000000..e6df410 --- /dev/null +++ b/src/components/newTranslate.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/src/views/System/dataDictionary.vue b/src/views/System/dataDictionary.vue index 3e4868a..79902a1 100644 --- a/src/views/System/dataDictionary.vue +++ b/src/views/System/dataDictionary.vue @@ -8,9 +8,9 @@
- + - +
@@ -36,9 +36,9 @@ {{ rowIndex + (q.pageNo - 1) * q.pageSize + 1 }} - - - + + +