From df06d5adebeedb5edca6264450671792ccbd9d4e Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Mon, 26 Sep 2022 16:19:36 +0800
Subject: [PATCH] 修改
---
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