From 23f1bf22c42a904c05cee63e10c9fd8b60dfe8f5 Mon Sep 17 00:00:00 2001 From: Admin <978517621@qq.com> Date: 星期二, 20 九月 2022 14:54:56 +0800 Subject: [PATCH] Default Changelist --- src/views/specialWorkSystem/workProcess/gasCheck/index.vue | 18 +----------------- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/src/views/specialWorkSystem/workProcess/gasCheck/index.vue b/src/views/specialWorkSystem/workProcess/gasCheck/index.vue index 0c7e59e..a724e75 100644 --- a/src/views/specialWorkSystem/workProcess/gasCheck/index.vue +++ b/src/views/specialWorkSystem/workProcess/gasCheck/index.vue @@ -174,9 +174,7 @@ import { Edit, View, Plus, Delete, Refresh, Search, Download } from '@element-plus/icons-vue'; import { ElTable, ElMessage, ElMessageBox } from 'element-plus' import type { FormInstance, FormRules, UploadProps, UploadUserFile } from 'element-plus' - import { teamManageApi } from '/@/api/systemManage/basicDateManage/personShiftManage/teamManage'; import { workProcessApi } from '/@/api/specialWorkSystem/workProcess'; - import {workApplyApi} from "/@/api/specialWorkSystem/workApply"; // 定义接口来定义对象的类型 interface stateType { @@ -278,7 +276,6 @@ // 分页获取气体检测列表 const getListByPage = async () => { - getAll() const data = { pageSize: state.pageSize, pageIndex: state.pageIndex, searchParams: { workType: state.workType, workPermitNo: state.workPermitNo } }; let res = await workProcessApi().getDetectionListPage(data); if (res.data.code === '200') { @@ -304,19 +301,6 @@ } } - // 获取用户列表 - const getAll = async ()=>{ - const res = await workApplyApi().getAllUsers() - if (res.data.code === '200') { - state.workerList = JSON.parse(JSON.stringify(res.data.data)) - } else { - ElMessage({ - type: 'warning', - message: res.data.msg - }); - } - }; - // 关键词查询记录 const searchRecord = async () => { if (state.workPermitNo == ''&& state.workType == null) { @@ -341,7 +325,7 @@ if (res.data.code === '200') { ElMessage({ type: 'success', - message: res.data.msg + message: '添加成功!' }); getListByPage(); } else { -- Gitblit v1.9.2