wangxy 1 kuukausi sitten
vanhempi
commit
9c1499954c

+ 8 - 3
pages/admin/Hetong/addSanfangHetong.vue

@@ -117,11 +117,11 @@
 			xinyongdaima: '', // 统一社会信用代码
 			xiuxi: '', // 休息天数
 			khUserName: '', // 客户电话
-			shentizhuangkuang: 1, // 身体状态,1 能自理 ,2半自理, 3不能自理
+      shentiqingkuang: 1, // 身体状态,1 能自理 ,2半自理, 3不能自理
 			beizhu: '', // 备注
 			qianming: '',
 			id: null,
-      jutidizhi: ''
+      jutidizhi: '',
 		},
 		type: null,
     timer: null
@@ -164,10 +164,15 @@
 
 	function handleAdd() {
     if (data.timer) {
+      uni.showToast({
+        title: '请勿连续提交'
+      })
       return
     }
     data.timer = setTimeout(() => { },3000)
-
+    uni.showToast({
+      title: '提交中',
+    })
 		const opt = Object.assign({}, {
 			...data.hetong,
 			htId: data.mobanList[data.mobanIndex].id

+ 1 - 1
pages/admin/Hetong/components/zhaoguLaoren.vue

@@ -10,7 +10,7 @@
 			<view class="phone-form-label"><text class="form-label-require"></text>身体情况</view>
 			<view class="form-radio-group">
 				<view v-for="item in items" :key="item.value" class="form-radio-item" @click="radioChange(item.value)"
-					:class="{genderActive:data.shentizhuangkuang==item.value }">{{item.text}}</view>
+					:class="{genderActive:data.shentiqingkuang==item.value }">{{item.text}}</view>
 			</view>
 		</view>
 		<view class="fwnr-label-input">