Просмотр исходного кода

审核失败和 审核中问题

roose 4 лет назад
Родитель
Сommit
9d46183091

+ 11 - 0
pages/collectInfo/collectInfo.js

@@ -6,6 +6,7 @@ Page({
   data: {
     value:[0,0,0,0,0],
     focus: true,
+    shiBaiShow:false,
     showAdressBox: false,
     showAdressBox1: false,
     provinceArr: [],
@@ -180,6 +181,16 @@ Page({
     // this.formCheckoftenPhoneNull();
     // this.formCheckloveQtNull();
   },
+  goShibai(){
+    this.setData({
+      shiBaiShow :true
+    })
+  },
+  shiBaiClose(){
+    this.setData({
+      shiBaiShow :false
+    })
+  },
   sure() {
     let han = /^[\u4e00-\u9fa5]+$/;
     if (this.data.addOldname == '' || this.data.addOldname == null) {

+ 13 - 4
pages/collectInfo/collectInfo.wxml

@@ -63,6 +63,15 @@
 		<view class="form_box">
 			<!-- 第一个tab老人信息 -->
 			<view wx:if="{{currentIndex==0}}">
+				<view wx:if="{{oldInfo[activeIndex].status == '4'}}" class="scans" bindtap="goShibai">
+					<text>审核失败,点击查看驳回理由</text>
+				</view>
+				<van-popup  show="{{ shiBaiShow }}" position="top" custom-style="height: 30%;" bind:close="shiBaiClose">
+					<view class="liyou">驳回理由:</view>
+					<view>{{oldInfo[activeIndex].remark}}</view>
+				</van-popup>
+
+
 				<view class="scan" bindtap="goOcr">
 					<van-icon name="photograph" color="#2087f7" size="30rpx" style="margin-left:20rpx" />
 					<text>可拍身份证照片上传基本信息</text>
@@ -91,7 +100,7 @@
 				<view class="block"><text class="red">*</text>户籍地址
 					<view class="picker1">
 						<view wx:if="{{oldInfo[activeIndex].chooseAdressArr.length==0}}" bindtap="showAdressShow">点我选择户籍地址</view>
-						<view style="width:450rpx;height:100rpx" wx:else  bindtap="showAdressShow">{{oldInfo[activeIndex].chooseAdressArr}}</view>
+						<view style="width:450rpx;height:100rpx" wx:else bindtap="showAdressShow">{{oldInfo[activeIndex].chooseAdressArr}}</view>
 					</view>
 					<view class="picker_container" wx:if='{{showAdressBox}}'>
 						<view style="height:50px;width:300px">
@@ -140,7 +149,7 @@
 					</picker> -->
 					<view class="picker1">
 						<view wx:if="{{oldInfo[activeIndex].chooseAdressArr1.length==0}}" bindtap="showAdressShow1">点我选择现居地址</view>
-							<view style="width:450rpx;height:100rpx" wx:else  bindtap="showAdressShow1">{{oldInfo[activeIndex].chooseAdressArr1}}</view>
+						<view style="width:450rpx;height:100rpx" wx:else bindtap="showAdressShow1">{{oldInfo[activeIndex].chooseAdressArr1}}</view>
 						<!-- <textarea style="width:420rpx;height:100rpx" disabled="true" wx:else  bindtap="showAdressShow1" value="{{oldInfo[activeIndex].chooseAdressArr1}}"></textarea> -->
 					</view>
 					<view class="picker_container" wx:if='{{showAdressBox1}}'>
@@ -328,7 +337,7 @@
 					</checkbox-group>
 				</view>
 				<view wx:if="{{isoldtypeNull}}" class="required">老年人类别不能为空哦!</view>
-					<view class="name"><text class="red">*</text>老人照片</view>
+				<view class="name"><text class="red">*</text>老人照片</view>
 				<view class="scan" wx:if="{{oldInfo[activeIndex].imgPath == ''}}" style="margin-top:20rpx" bindtap="goPhoto">
 					<image src="../../images/mz/upload.png" style="width:40rpx;height:40rpx;margin-top:5rpx;margin-left:30rpx"></image><text >请上传老人含面部照片</text>
 				</view>
@@ -499,5 +508,5 @@
 				<view wx:if="{{regularsInfos[activeIndex].visitCount[4].checked&&isVisittimesQtnull}}" class="required">其它巡访频次不能为空哦!</view>
 			</view>
 		</view>
-	</view> 
+	</view>
 </view>

+ 21 - 0
pages/collectInfo/collectInfo.wxss

@@ -122,6 +122,27 @@ page {
   color: #2087f7;
 }
 
+.scans {
+  width: 450rpx;
+  height: 50rpx;
+  border-radius: 10rpx;
+  margin-top: 10rpx;
+  margin-bottom: 10rpx;
+  text-align: center;
+  font-size: 25rpx;
+  color: red;
+  display: flex;
+  align-items: center;
+  border: 1px solid #c0c4cc;
+  justify-content: center;
+  box-shadow: 0px 0px 10px 0px rgba(153, 153, 153, 0.15);
+}
+
+.liyou {
+  font-size: 28rpx;
+  font-weight: 900;
+}
+
 .scan text {
   margin-left: 10rpx;
   line-height: 50rpx;

+ 2 - 2
utils/util.js

@@ -1,9 +1,9 @@
 const globalData = {
   // publicUrl: 'http://info.windd.cn:8080/test',//测试
-  // publicUrl: 'https://info.windd.cn/collection',//正式
+   publicUrl: 'https://info.windd.cn/collection',//正式
   //publicUrl: 'http://10.16.4.12:7001',
   //publicUrl: 'http://10.16.4.8:7001',
-  publicUrl:'http://10.16.4.7:7001'//立秋
+  //publicUrl:'http://10.16.4.7:7001'//立秋
 };
 module.exports = {
   globalData: globalData,