From 498e71eb8ce7db34e54f64dc2c83e8edc49c54a3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 08 五月 2024 10:40:06 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit

---
 h5/pages/visitorApplication/visitorApplication.vue |   28 +++++++++++++++++-----------
 1 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/h5/pages/visitorApplication/visitorApplication.vue b/h5/pages/visitorApplication/visitorApplication.vue
index ecc0b4f..1838734 100644
--- a/h5/pages/visitorApplication/visitorApplication.vue
+++ b/h5/pages/visitorApplication/visitorApplication.vue
@@ -8,7 +8,7 @@
 					<text>*</text>
 				</view>
 				<view class="list_item_content">
-					<input type="number" maxlength="11" v-model="form1.phone1" placeholder="璇疯緭鍏ユ墜鏈哄彿" @blur="getUser" placeholder-style="color: #999999;" />
+					<input type="number" maxlength="11" v-model="form1.phone1" :placeholder="verify == '0' ? '杈撳叆鎵嬫満鍙峰悗鑷姩鑾峰彇' : '璇疯緭鍏ユ墜鏈哄彿'" @blur="getUser" placeholder-style="color: #999999;" />
 				</view>
 			</view>
 			<view class="list_item">
@@ -57,7 +57,7 @@
 					<text>*</text>
 				</view>
 				<view class="list_item_content">
-					<input type="text" v-model="form1.reason" placeholder="璇疯緭鍏ユ潵璁夸簨鐢憋紝鎮ㄦ潵鍋氫粈涔堢殑" placeholder-style="color: #999999;" />
+					<input type="text" v-model="form1.reason" placeholder="璇疯緭鍏ユ潵璁夸簨鐢�" placeholder-style="color: #999999;" />
 				</view>
 			</view>
 			<view class="list_item">
@@ -108,7 +108,6 @@
 			v-if="form1.starttime"
 			:show="show5"
 			:minDate="formatTimeStamp(form1.starttime)"
-			:maxDate="formatTimeStamp(maxTime)"
 			mode="datetime"
 			@cancel="show5 = false"
 			@confirm="setoutDate"
@@ -309,7 +308,9 @@
 				show6: false,
 				show7: false,
 				fileList: [],
-				columns1: [[{name: '韬唤璇�', id: 0}, {name: '娓境璇佷欢', id: 1},{name: '鎶ょ収', id: 2}]],
+				columns1: [
+					[{name: '韬唤璇�', id: 0}, {name: '娓境璇佷欢', id: 1},{name: '鎶ょ収', id: 2}],
+				],
 				columns: [],
 				cars: [],
 				day: null,
@@ -351,9 +352,9 @@
 			if (options.data) {
 				this.form = JSON.parse(options.data)
 			}
-			this.getvisit()
-			this.getVisit1()
-			this.getUserValid()
+			// this.getvisit()
+			// this.getVisit1()
+			// this.getUserValid()
 		},
 		methods: {
 			openInput(type) {
@@ -376,7 +377,7 @@
 				this.$refs.cropper.close()
 				uni.showLoading({ title: '涓婁紶涓�', mask: true });
 				uni.uploadFile({
-					url: `${this.$baseUrl}public/api/uploadFtp.do`,
+					url: `${this.$baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`,
 					filePath: file.tempFilePath,
 					name: 'file',
 					formData: {
@@ -534,7 +535,7 @@
 						uni.showLoading({ title: '涓婁紶涓�', mask: true });
 						for (let i = 0; i < chooseImageRes.tempFilePaths.length; i++) {
 							uni.uploadFile({
-								url: `${this.$baseUrl}public/api/uploadFtp.do`,
+								url: `${this.$baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`,
 								filePath: chooseImageRes.tempFilePaths[i],
 								name: 'file',
 								formData: {
@@ -563,6 +564,7 @@
 			seleIdcard(e) {
 				this.withUserList.idcardType = e.value[0].id
 				this.withUserList.idcardTypeName = e.value[0].name
+				console.log(e);
 				this.show6 = false
 			},
 			submitCart() {
@@ -612,7 +614,9 @@
 			},
 			setinDate(e) {
 				this.form1.starttime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM');
-				this.maxTime = getDaysAfterDate(uni.$u.timeFormat(e.value, 'yyyy-mm-dd'), this.day)
+				// this.maxTime = getDaysAfterDate(uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM'), this.day)
+				this.maxTime = this.form1.starttime
+				console.log(this.form1.starttime);
 				this.show4 = false
 			},
 			setoutDate(e) {
@@ -1115,7 +1119,9 @@
 
 			.list_item {
 				width: 100%;
-				height: 98rpx;
+				// min-height: 98rpx;
+				padding: 30rpx 0;
+				box-sizing: border-box;
 				display: flex;
 				align-items: center;
 				justify-content: space-between;

--
Gitblit v1.9.3