Commit cc97dcb3 authored by 张耀's avatar 张耀

feat:

获取工单推送人员列表接口参数
parent 50022109
...@@ -107,6 +107,10 @@ const props = defineProps({ ...@@ -107,6 +107,10 @@ const props = defineProps({
type: Object, type: Object,
default: METHODS, default: METHODS,
}, },
is_all: {
type: Boolean,
default: false,
},
}); });
const form_ref = ref(null); const form_ref = ref(null);
// 表单数据 // 表单数据
...@@ -166,7 +170,10 @@ const addTrue = ref(0); ...@@ -166,7 +170,10 @@ const addTrue = ref(0);
// 获取远程用户列表 // 获取远程用户列表
const userLists = ref([]); const userLists = ref([]);
const getUserLists = () => { 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) { if (res.data.code == 200) {
userLists.value = userLists.value =
res.data.data?.map((e) => { res.data.data?.map((e) => {
......
...@@ -4,7 +4,12 @@ ...@@ -4,7 +4,12 @@
<GapTitle title="手动下发"></GapTitle> <GapTitle title="手动下发"></GapTitle>
</template> </template>
<div class="manual-distribution"> <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> </div>
<template #footer> <template #footer>
<el-button size="default" @click="Close">关闭</el-button> <el-button size="default" @click="Close">关闭</el-button>
...@@ -36,6 +41,10 @@ const props = defineProps({ ...@@ -36,6 +41,10 @@ const props = defineProps({
type: Object, type: Object,
default: null, default: null,
}, },
is_all: {
type: Boolean,
default: false,
},
}); });
const history = computed(() => { const history = computed(() => {
/* /*
......
...@@ -133,8 +133,7 @@ ...@@ -133,8 +133,7 @@
</div> </div>
</div> </div>
</div> </div>
<ManualDistribution v-model:visible="visible" :row="active_row" :is_all="true" />
<ManualDistribution v-model:visible="visible" :row="active_row" />
</div> </div>
<!-- 删除 --> <!-- 删除 -->
<el-dialog class="dialog_box" title="删除" v-model="delDialog" width="420px"> <el-dialog class="dialog_box" title="删除" v-model="delDialog" width="420px">
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
labelWidth="115px" labelWidth="115px"
:methodLists="ORDER_METHODS" :methodLists="ORDER_METHODS"
methodLabel="推送方式" methodLabel="推送方式"
:is_all="true"
:history="history" /> :history="history" />
</div> </div>
</el-form-item> </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