From 8b7c2fe49917d670eb2a03cecda23ea50961c494 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Tue, 09 Aug 2022 09:26:29 +0800
Subject: [PATCH] lct
---
src/views/system/personShiftManage/personTimeManage/durationManage/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/system/personShiftManage/personTimeManage/durationManage/index.vue b/src/views/system/personShiftManage/personTimeManage/durationManage/index.vue
index 5d3d46f..eb9e387 100644
--- a/src/views/system/personShiftManage/personTimeManage/durationManage/index.vue
+++ b/src/views/system/personShiftManage/personTimeManage/durationManage/index.vue
@@ -109,8 +109,8 @@
import { Edit, View, Plus, Delete, Refresh, Search, Download } from '@element-plus/icons-vue';
import { ElTable } from 'element-plus';
import { FormInstance, FormRules, ElMessage } from 'element-plus';
-import { workingHoursApi } from '/@/api/basicDateManage/personShiftManage/workingHours';
-import {workingHoursSetApi} from "/@/api/basicDateManage/personShiftManage/workingHoursSet";
+import { workingHoursApi } from '/@/api/systemManage/basicDateManage/personShiftManage/workingHours';
+import { workingHoursSetApi } from '/@/api/systemManage/basicDateManage/personShiftManage/workingHoursSet';
// 定义接口来定义对象的类型
interface stateType {
@@ -344,7 +344,7 @@
// 批量删除
const deleteBatchBtn = async () => {
if (state.deleteArr.length > 0) {
- state.deleteSetDialog = true
+ state.deleteSetDialog = true;
} else {
ElMessage({
type: 'warning',
@@ -355,20 +355,20 @@
const conFirmDeleteBatch = async () => {
let res = await workingHoursApi().deleteBatchWorkTimePeriod({ ids: state.deleteArr });
if (res.data.code === '200') {
- state.deleteSetDialog = false
+ state.deleteSetDialog = false;
ElMessage({
type: 'success',
message: res.data.msg
});
- getListByPage()
+ getListByPage();
} else {
ElMessage({
type: 'warning',
message: res.data.msg
});
- state.deleteSetDialog = false
+ state.deleteSetDialog = false;
}
- }
+ };
const handleSizeChange = (val: number) => {
state.pageSize = val;
--
Gitblit v1.9.2