Commit cc97dcb3 authored by 张耀's avatar 张耀

feat:

获取工单推送人员列表接口参数
parent 50022109
......@@ -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) => {
......
......@@ -4,7 +4,12 @@
<GapTitle title="手动下发"></GapTitle>
</template>
<div class="manual-distribution">
<Form labelWidth="80px" :methodLists="ORDER_METHODS" :history="history" ref="form" />
<Form
labelWidth="80px"
:methodLists="ORDER_METHODS"
:history="history"
:user_list_url="user_list_url"
ref="form" />
</div>
<template #footer>
<el-button size="default" @click="Close">关闭</el-button>
......@@ -36,6 +41,10 @@ const props = defineProps({
type: Object,
default: null,
},
is_all: {
type: Boolean,
default: false,
},
});
const history = computed(() => {
/*
......
......@@ -133,8 +133,7 @@
</div>
</div>
</div>
<ManualDistribution v-model:visible="visible" :row="active_row" />
<ManualDistribution v-model:visible="visible" :row="active_row" :is_all="true" />
</div>
<!-- 删除 -->
<el-dialog class="dialog_box" title="删除" v-model="delDialog" width="420px">
......
......@@ -21,6 +21,7 @@
labelWidth="115px"
:methodLists="ORDER_METHODS"
methodLabel="推送方式"
:is_all="true"
:history="history" />
</div>
</el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment