From b62578f8b43f15be89b3d14f463f11aed03e6fb9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 09 五月 2024 18:57:25 +0800
Subject: [PATCH] 最新版本

---
 h5/unpackage/dist/dev/mp-weixin/pages/visitorApplication/visitorApplication.js |   44 +++++++++++++++++++++++---------------------
 1 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/h5/unpackage/dist/dev/mp-weixin/pages/visitorApplication/visitorApplication.js b/h5/unpackage/dist/dev/mp-weixin/pages/visitorApplication/visitorApplication.js
index aeb9ca2..d2910f4 100644
--- a/h5/unpackage/dist/dev/mp-weixin/pages/visitorApplication/visitorApplication.js
+++ b/h5/unpackage/dist/dev/mp-weixin/pages/visitorApplication/visitorApplication.js
@@ -158,34 +158,28 @@
       _vm.show5 = false
     }
     _vm.e6 = function ($event) {
-      _vm.show = false
-    }
-    _vm.e7 = function ($event) {
-      _vm.show = false
-    }
-    _vm.e8 = function ($event) {
       _vm.show1 = false
     }
-    _vm.e9 = function ($event) {
+    _vm.e7 = function ($event) {
       _vm.show1 = false
       _vm.show3 = true
     }
-    _vm.e10 = function ($event) {
+    _vm.e8 = function ($event) {
       _vm.show2 = false
     }
-    _vm.e11 = function ($event) {
+    _vm.e9 = function ($event) {
       _vm.show2 = false
+    }
+    _vm.e10 = function ($event) {
+      _vm.show3 = false
+    }
+    _vm.e11 = function ($event) {
+      _vm.show6 = true
     }
     _vm.e12 = function ($event) {
       _vm.show3 = false
     }
     _vm.e13 = function ($event) {
-      _vm.show6 = true
-    }
-    _vm.e14 = function ($event) {
-      _vm.show3 = false
-    }
-    _vm.e15 = function ($event) {
       _vm.show6 = false
     }
   }
@@ -586,6 +580,12 @@
     this.getUserValid();
   },
   methods: {
+    closeMJ: function closeMJ() {
+      this.show = false;
+      this.columns.forEach(function (item) {
+        item.active = false;
+      });
+    },
     submit: function submit() {
       if (!this.form1.receptMemberId) return uni.showToast({
         title: '琚浜轰笉鑳戒负绌�',
@@ -603,10 +603,12 @@
         title: '璁块棶闂ㄧ涓嶈兘涓虹┖',
         icon: 'none'
       });
-      if (!this.form1.reason) return uni.showToast({
-        title: '鎷滆浜嬬敱涓嶈兘涓虹┖',
-        icon: 'none'
-      });
+      // if (!this.form1.reason) return uni.showToast({
+      // 	title: '鎷滆浜嬬敱涓嶈兘涓虹┖',
+      // 	icon: 'none'
+      // })
+      this.form1.starttime = this.form1.starttime + ':00';
+      this.form1.endtime = this.form1.endtime + ':00';
       this.$u.api.createFk(_objectSpread(_objectSpread(_objectSpread({}, this.form), this.form1), {}, {
         openid: this.$store.state.openId,
         withUserList: this.personnel
@@ -767,11 +769,11 @@
       });
     },
     setinDate: function setinDate(e) {
-      this.form1.starttime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM:ss');
+      this.form1.starttime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM');
       this.show4 = false;
     },
     setoutDate: function setoutDate(e) {
-      this.form1.endtime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM:ss');
+      this.form1.endtime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM');
       this.show5 = false;
     },
     // 鏌ヨ鐢ㄦ埛

--
Gitblit v1.9.3