From ea9d79144af1ff6b6a8a07fbbbc223a7cd50faec Mon Sep 17 00:00:00 2001 From: tangw Date: Tue, 9 Dec 2025 18:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=85=A8=E5=B1=80=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/liswork/xtwh/ComOpt.ts | 53 ++ src/views/liswork/xtwh/comopt/index.vue | 653 ++++++++++++++++++ .../localconfig/components/DynamicInput.vue | 131 ++-- 3 files changed, 791 insertions(+), 46 deletions(-) create mode 100644 src/api/liswork/xtwh/ComOpt.ts create mode 100644 src/views/liswork/xtwh/comopt/index.vue diff --git a/src/api/liswork/xtwh/ComOpt.ts b/src/api/liswork/xtwh/ComOpt.ts new file mode 100644 index 0000000..d638e7c --- /dev/null +++ b/src/api/liswork/xtwh/ComOpt.ts @@ -0,0 +1,53 @@ +//@ts-ignore js语法检查忽略 +import request from '@/utils/request'; + + +// 查询参数列表 +export function paramList(query?: Object) { + return request({ + url: '/param/query', + method: 'get', + params: query, + }); +} +// 获取默认值 +export function getdef(query?: Object) { + return request({ + url: '/param/getdef', + method: 'get', + params: query, + }); +} +// 修改参数列表 +export function updateParam(query?: Object) { + return request({ + url: '/param/update', + method: 'put', + data: query, + }); +} +// 删除参数列表 +export function delParam(query?: Object) { + return request({ + url: '/param/del', + method: 'delete', + params: query, + }); +} +// 查询参数列表树状结构 +export function paramTree(query?: Object) { + return request({ + url: '/param/queryTree', + method: 'get', + params: query, + }); +} + +// 查询某个参数 +export function queryOneService(yq: string,xxdh: string) { + return request({ + url: '/param/queryOne', + method: 'get', + params: {yq,xxdh} + }); +} \ No newline at end of file diff --git a/src/views/liswork/xtwh/comopt/index.vue b/src/views/liswork/xtwh/comopt/index.vue new file mode 100644 index 0000000..3b682ec --- /dev/null +++ b/src/views/liswork/xtwh/comopt/index.vue @@ -0,0 +1,653 @@ + + + + + \ No newline at end of file diff --git a/src/views/liswork/xtwh/localconfig/components/DynamicInput.vue b/src/views/liswork/xtwh/localconfig/components/DynamicInput.vue index 6bc88c6..f1560d9 100644 --- a/src/views/liswork/xtwh/localconfig/components/DynamicInput.vue +++ b/src/views/liswork/xtwh/localconfig/components/DynamicInput.vue @@ -2,16 +2,14 @@
@@ -82,15 +80,16 @@ @change="handleValueChange" /> - + @@ -129,7 +128,7 @@