Admin
2022-09-09 bcf73ce4a874faf98629f2e1c6c4aaa84fe6296f
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') {
@@ -303,19 +300,6 @@
               state.dialogPermitNo = false
            }
         }
         // 获取用户列表
         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 () => {