From 87579ce5e7c1a9864c39196ea75a7badd45df9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Mon, 8 Jul 2024 17:58:57 +0800 Subject: [PATCH] 07/08 --- src/views/baseinfo/formcopy/api.ts | 22 +- .../formcopy/components/Modal copy.vue | 225 +++++++++++ .../baseinfo/formcopy/components/Modal.vue | 367 +++++++++++++++++- src/views/baseinfo/formcopy/index.vue | 14 +- 4 files changed, 616 insertions(+), 12 deletions(-) create mode 100644 src/views/baseinfo/formcopy/components/Modal copy.vue diff --git a/src/views/baseinfo/formcopy/api.ts b/src/views/baseinfo/formcopy/api.ts index 31bd6996..6fa177d5 100644 --- a/src/views/baseinfo/formcopy/api.ts +++ b/src/views/baseinfo/formcopy/api.ts @@ -5,6 +5,9 @@ enum Api { list = '/mainApi/FormCopy/GetFormCopyList', EditFormCopy = '/mainApi/FormCopy/EditFormCopy', GetCodeGoodsTypeInfo = '/mainApi/FormCopy/GetFormCopyInfo', + BatchDelFormCopy = '/mainApi/FormCopy/BatchDelFormCopy', + + GetClientPermissionList = '/mainApi/Common/GetClientPermissionList', GetTablesByClient = '/mainApi/Common/GetTablesByClient', GetColumnsByClient = '/mainApi/Common/GetColumnsByClient', @@ -33,16 +36,31 @@ export function getCodeGoodsTypeInfo(query) { params: query, }) } +// 详情 (Auth) +export function batchDelFormCopy(query) { + return request({ + url: Api.BatchDelFormCopy, + method: 'get', + params: query, + }) +} +// 获取客户数据权限列表 (Auth) +export function getClientPermissionList() { + return request({ + url: Api.GetClientPermissionList, + method: 'get', + }) +} // 获取数据库表及视图名-客户端 (Auth) -export function getTablesByClient(query) { +export function getTablesByClient() { return request({ url: Api.GetTablesByClient, method: 'get', - params: query, }) } + // 获取数据库表及视图名-客户端 (Auth) export function getColumnsByClient(query) { return request({ diff --git a/src/views/baseinfo/formcopy/components/Modal copy.vue b/src/views/baseinfo/formcopy/components/Modal copy.vue new file mode 100644 index 00000000..51225855 --- /dev/null +++ b/src/views/baseinfo/formcopy/components/Modal copy.vue @@ -0,0 +1,225 @@ + + + + diff --git a/src/views/baseinfo/formcopy/components/Modal.vue b/src/views/baseinfo/formcopy/components/Modal.vue index 978eacfa..a87ac84a 100644 --- a/src/views/baseinfo/formcopy/components/Modal.vue +++ b/src/views/baseinfo/formcopy/components/Modal.vue @@ -17,6 +17,11 @@ + @@ -46,19 +51,122 @@ - + + +
+
+ + + + 已复制表单,可拖动调整显示顺序 + + +
+
+ + + + + +
+ +
请添加数据列
+
+
+
+ +
+
+ + + 未复制表单 +
+
+
+ {{ item.label }} + +
+
+ +
没有更多数据了
+
+
+
+
@@ -96,7 +204,13 @@ - diff --git a/src/views/baseinfo/formcopy/index.vue b/src/views/baseinfo/formcopy/index.vue index 673f13a9..dc8d8f39 100644 --- a/src/views/baseinfo/formcopy/index.vue +++ b/src/views/baseinfo/formcopy/index.vue @@ -1,6 +1,12 @@