zhengkaixin 4 years ago
parent
commit
0fce63f167
2 changed files with 3 additions and 3 deletions
  1. 1 1
      .env.development
  2. 2 2
      src/projects/business/views/Master/Attendance/LeaveForm.vue

+ 1 - 1
.env.development

@@ -2,7 +2,7 @@ NODE_ENV=devlopment
 VUE_APP_NODE_NAME=devlopment
 OUT_PUT_NAME=dev
 VUE_APP_LOCAL_STORAGE_PREFIX=dev
-VUE_APP_BACKEND_URL=https://ykt-test.xiaoxinda.com/jp-housekeeper-server/
+VUE_APP_BACKEND_URL=http://192.168.33.220:8086/jp-housekeeper-server/
 #小鹏管家微信appid
 VUE_APP_WXAPPID=wx7e70eb62a8459869
 VUE_APP_AUTH=

+ 2 - 2
src/projects/business/views/Master/Attendance/LeaveForm.vue

@@ -299,10 +299,10 @@
 				} else if (!this.tjForm.approvedId) {
 					mui.toast('请选择审批人');
 					return false;
-				} else if (!this.tjForm.startTime) {
+				} else if (this.tjForm.startTime== '请选择') {
 					mui.toast('请选择开始日期');
 					return false;
-				} else if (!this.tjForm.endTime) {
+				} else if (!this.tjForm.endTime== '请选择') {
 					mui.toast('请选择结束日期');
 					return false;
 				} else if (!this.tjForm.reason) {