完成仓库模块
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
|
||||
<script setup name="Route" lang="ts">
|
||||
import { list_statapi } from '@/api/system/Inspection';
|
||||
import { getUserByRoleKey } from '@/api/system/user';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
@@ -74,12 +75,15 @@ const data = reactive({
|
||||
});
|
||||
|
||||
const checkdata = ref([]);
|
||||
// TODO 巡检人员名称
|
||||
|
||||
const { queryParams } = toRefs(data);
|
||||
|
||||
const inspectionUserlist = ref([]);
|
||||
/** 查询巡检路线列表 */
|
||||
const getList = async () => {
|
||||
loading.value = true;
|
||||
// const inspectionUseres = await getUserByRoleKey('inspection');
|
||||
// inspectionUserlist.value = inspectionUseres.data;
|
||||
const res = await list_statapi(queryParams.value);
|
||||
routeList.value = res.rows;
|
||||
total.value = res.total;
|
||||
|
||||
Reference in New Issue
Block a user