流程模版用户查询

szh-new
lijingjia 3 months ago
parent be9438a11d
commit 7da86fc8f1

@ -90,8 +90,11 @@
const open = () => { const open = () => {
dialogVisible.value = true dialogVisible.value = true
} }
const onOpen = () => { const changeHandle = (v, b) => {
getList().then((res) => { onOpen(b)
}
const onOpen = (v) => {
getList({ queryKey: v }).then((res) => {
if (res.succeeded) { if (res.succeeded) {
userOrgOptions.value = res.data.map((e) => { userOrgOptions.value = res.data.map((e) => {
return { return {
@ -164,6 +167,7 @@
:style="{ width: '100%' }" :style="{ width: '100%' }"
suffix-icon="search" suffix-icon="search"
clearable clearable
@keyup="changeHandle($event, queryForm.name)"
> >
</el-input> </el-input>
</template> </template>

@ -83,10 +83,11 @@ export function rolegetList() {
}) })
} }
// 获取用户 // 获取用户
export function getList() { export function getList(params) {
return request<DataResult>({ return request<DataResult>({
url: Api.getList, url: Api.getList,
method: 'get', method: 'get',
params
}) })
} }
// 详情 // 详情

Loading…
Cancel
Save