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 @@