diff --git a/src/components/manual-distribution/form.vue b/src/components/manual-distribution/form.vue index 04d7d9885dd32461d4d8a9d1c72c29dee8dbbe31..cdc218d123d85c0a561ebe8038c06f638b44249c 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 f849f60ca08ac5e8fcccd291b026989298f5e60a..37231f6cd04388d079ecf285344ff3745628b04c 100644 --- a/src/components/manual-distribution/index.vue +++ b/src/components/manual-distribution/index.vue @@ -4,7 +4,12 @@
-
+