From cc97dcb3dd72879de4922fc829632fe262d16f50 Mon Sep 17 00:00:00 2001 From: zhangyao Date: Thu, 13 Jul 2023 17:21:49 +0800 Subject: [PATCH] feat: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 获取工单推送人员列表接口参数 --- src/components/manual-distribution/form.vue | 9 ++++++++- src/components/manual-distribution/index.vue | 11 ++++++++++- src/page/main/ticket/business-ticket-manage/index.vue | 3 +-- .../business-ticket-manage/modules/add-form.vue | 1 + 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/components/manual-distribution/form.vue b/src/components/manual-distribution/form.vue index 04d7d98..cdc218d 100644 --- a/src/components/manual-distribution/form.vue +++ b/src/components/manual-distribution/form.vue @@ -107,6 +107,10 @@ const props = defineProps({ type: Object, default: METHODS, }, + is_all: { + type: Boolean, + default: false, + }, }); const form_ref = ref(null); // 表单数据 @@ -166,7 +170,10 @@ const addTrue = ref(0); // 获取远程用户列表 const userLists = ref([]); const getUserLists = () => { - axios.get("/v1/api/user/devOps").then((res) => { + const params = { + is_all: props.is_all || "", + }; + axios.get("/v1/api/user/devOps", { params }).then((res) => { if (res.data.code == 200) { userLists.value = res.data.data?.map((e) => { diff --git a/src/components/manual-distribution/index.vue b/src/components/manual-distribution/index.vue index f849f60..37231f6 100644 --- a/src/components/manual-distribution/index.vue +++ b/src/components/manual-distribution/index.vue @@ -4,7 +4,12 @@
-
+