From 7ed5f33e7bd9ca26fb41700e518234b973841921 Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: 星期三, 24 四月 2024 22:30:52 +0800 Subject: [PATCH] !107 add 新增岗位编码与部门编码 并将岗位放到部门下 * add 新增获取岗位选择框列表 * update 岗位查询树表和单表相互undefined * update 岗位查询增加单部门查询 * update 优化类别编码与后台一致性 * add 新增岗位部门树以及类别编码 * add 部门增加类别代码 --- src/views/monitor/online/index.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue index cbab805..eb12364 100644 --- a/src/views/monitor/online/index.vue +++ b/src/views/monitor/online/index.vue @@ -4,10 +4,10 @@ <el-card shadow="hover"> <el-form ref="queryFormRef" :model="queryParams" :inline="true"> <el-form-item label="鐧诲綍鍦板潃" prop="ipaddr"> - <el-input v-model="queryParams.ipaddr" placeholder="璇疯緭鍏ョ櫥褰曞湴鍧�" clearable style="width: 200px" @keyup.enter="handleQuery" /> + <el-input v-model="queryParams.ipaddr" placeholder="璇疯緭鍏ョ櫥褰曞湴鍧�" clearable @keyup.enter="handleQuery" /> </el-form-item> <el-form-item label="鐢ㄦ埛鍚嶇О" prop="userName"> - <el-input v-model="queryParams.userName" placeholder="璇疯緭鍏ョ敤鎴峰悕绉�" clearable style="width: 200px" @keyup.enter="handleQuery" /> + <el-input v-model="queryParams.userName" placeholder="璇疯緭鍏ョ敤鎴峰悕绉�" clearable @keyup.enter="handleQuery" /> </el-form-item> <el-form-item> <el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button> @@ -61,10 +61,10 @@ </template> <script setup name="Online" lang="ts"> -import { forceLogout, list as initData } from "@/api/monitor/online"; -import { OnlineQuery, OnlineVO } from "@/api/monitor/online/types"; -import api from "@/api/system/user"; -import {to} from "await-to-js"; +import { forceLogout, list as initData } from '@/api/monitor/online'; +import { OnlineQuery, OnlineVO } from '@/api/monitor/online/types'; +import api from '@/api/system/user'; +import { to } from 'await-to-js'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { sys_device_type } = toRefs<any>(proxy?.useDict('sys_device_type')); @@ -106,9 +106,9 @@ if (!err) { await forceLogout(row.tokenId); await getList(); - proxy?.$modal.msgSuccess("鍒犻櫎鎴愬姛"); + proxy?.$modal.msgSuccess('鍒犻櫎鎴愬姛'); } -} +}; onMounted(() => { getList(); -- Gitblit v1.9.3