chenxiong 3 yıl önce
ebeveyn
işleme
e0a28b2542

+ 3 - 3
common/request.js

@@ -5,8 +5,8 @@ import api from './api.js'
 var num = 1
 //接口api   
 // export const BASE_URL = 'https://api.xyyxt.net'   //release
-export const BASE_URL = 'http://120.79.166.78:19009'   //预发布
-// export const BASE_URL = 'http://42.192.164.187:19005'    //test 
+// export const BASE_URL = 'http://120.79.166.78:19009'   //预发布
+export const BASE_URL = 'http://42.192.164.187:19005'    //test 
 // export const BASE_URL = 'http://192.168.1.222:5055'    //dev
 
  //图片上传api
@@ -17,7 +17,7 @@ export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 // export const socket_url = 'ws://120.79.166.78:19009/webSocket/'  //预发布
 // export const socket_url = 'wss://api.xyyxt.net/webSocket/'  //release
 
-export const version = '5.1.1' 
+export const version = '5.2.1' 
 export const tenantId = '867735392558919680' 
 export const myRequest = (options) => {
 	if (store.state.allowLoading && !options.noLoading) {

+ 10 - 2
pages2/invoice/index.vue

@@ -291,7 +291,7 @@
 											<text class="text agree" v-if="invoiceDetail.periodStatus == 3">通过</text>
 											<text class="text refuse" v-if="invoiceDetail.periodStatus == 2">驳回</text>
 										</u-cell-item>
-										<u-cell-item :border-bottom="false" hover-class="none" :arrow="false">
+										<u-cell-item :border-bottom="false" hover-class="none" :arrow="false" v-if="invoiceDetail.periodReason">
 											<view slot="title">审核反馈:</view>
 											<text class="text">{{invoiceDetail.periodReason||''}}</text>
 										</u-cell-item>
@@ -446,7 +446,7 @@ export default {
 					{
 						validator: (rule, value, callback) => {
 							// 上面有说,返回true表示校验通过,返回false表示不通过
-							var reg = /(^[0-9A-Z]{15}$)|(^[0-9A-Z]{18}$)|(^[0-9A-Z]{20}$)/;
+							var reg = /(^[0-9A-Z]{15,20}$)/;
 							console.log( reg.test(value),' reg.test(value)')
 							return reg.test(value);
 						},
@@ -490,6 +490,14 @@ export default {
 						message: '请输入开户银行', 
 						// 可以单个或者同时写两个触发验证方式 
 						trigger: ['change'],
+					},
+					{
+						validator: (rule, value, callback) => {
+							var reg = /[\u4E00-\u9FA5]+/;
+							return reg.test(value)
+						},
+						message: '开户银行名称不正确',
+						trigger: ['change', 'blur']
 					}
 				],
 				

+ 2 - 2
pages2/learn/my_learn.vue

@@ -60,14 +60,14 @@
 						<view>
 							<view v-if="item.periodStatus === 1 && item.applyStatus === 1">
 								<view class="subTitle">{{ item.applyName }}</view>
-								<view class="status">
+								<!-- <view class="status">
 									<view class="label">审核状态:</view>
 									<view class="val green">
 										<text>
 											机构审核通过
 										</text>
 									</view>
-								</view>
+								</view> -->
 								<view class="btnBox"><view class="btn" @click="jumpPage(item, 2,index)">预约考试</view></view>
 							</view>
 							<u-line color="#EEEEEE" v-if="item.periodStatus === 1 && item.applyStatus === 1" />

+ 1 - 0
pages2/verify/input.vue

@@ -1026,6 +1026,7 @@ export default {
 				return this.dictObj['sys_user_sex'];
 			}
 			if (key === 'education') {
+				console.log(this.dictObj['edu_level'])
 				return this.dictObj['edu_level'];
 			}
 			if (key === 'working_years') {

+ 1 - 0
pages3/polyv/detail.vue

@@ -1123,6 +1123,7 @@ export default {
         this.$api
           .coursePhotoRecord(data)
           .then((res) => {
+						console.log(res,'postCoursePhotoRecord')
             if (res.data.code == 200) {
               resolve();
             } else {