From 39f1b58ed87d5b05bde112762c51d384471ae1b5 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期一, 13 十一月 2023 10:42:08 +0800
Subject: [PATCH] 1、优化首页布局 2、班次班制管理页面表格数据新增增加表单项验证 3、班次班制管理页面新增班次时如果并未选择开始与结束休息时间,应默认为空,而不是当前时间 4、班次班制管理页面新增或修改班次时如果选择跨天,则时间请求参数会混乱,应与不跨天时保持一致

---
 src/store/modules/DepartTree.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/DepartTree.js b/src/store/modules/DepartTree.js
index ea9c359..b2a52a7 100644
--- a/src/store/modules/DepartTree.js
+++ b/src/store/modules/DepartTree.js
@@ -1,6 +1,6 @@
 import Vue from 'vue'
 import {ajaxGetDictItems,getDictItemsFromCache} from '@/api/api'
-import { SET_DEPARTTREE  } from "@/store/mutation-types"
+import { SYS_DEPARTTREE  } from "@/store/mutation-types"
 import { getAction } from '@/api/manage'
 
 const DepartTree = {
@@ -29,7 +29,7 @@
         ajaxGetDictItems('depart_is', null).then((res) => {
           if (res.success) {
             const result = res.result
-            Vue.ls.set(SET_DEPARTTREE, result)
+            Vue.ls.set(SYS_DEPARTTREE, result)
             commit('SET_DEPARTTREE', result)
             resolve(res)
           }else{

--
Gitblit v1.9.3