Bladeren bron

流程获取年度有误

西昌缴费二期
ndbs 2 jaren geleden
bovenliggende
commit
f2731cf290
2 gewijzigde bestanden met toevoegingen van 16 en 4 verwijderingen
  1. +12
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/notice2/list.vue
  2. +4
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue

+ 12
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/notice2/list.vue Bestand weergeven

@@ -4,7 +4,7 @@
<!-- 未完成 类名 sSec1Type2 图片 enter2-1 enter2-2 enter2-3 enter2-4 enter2-5-->
<!-- 可以点击类名 sSec1Tap -->
<view class="ensHeader">
<view class="ensTime">{{ todayTime.doHandleYear() }}</view>
<view class="ensTime">{{ year }}</view>
<view class="ensHeadT">新生入校流程</view>
</view>
<view class="ensSec1">
@@ -135,20 +135,29 @@ export default{
StuInfoFreshEntity:{},
StuInfoFreshFamilyList: [],
StuInfoFreshEmergePeopleList: []
}
},
year:'',
ready:false,
}
},
onShow() {
this.init();
if(this.ready){
this.init();
}
},
methods:{
init() {
let _this = this;
_this.userinfo = _this.GET_GLOBAL('loginUser'); //获取登录信息
this.year = todayTime.doHandleYear()
_this.LOADING('加载数据中…');
_this.HTTP_GET('StuInfoFresh/stuInfoFreshEntity', _this.userinfo.account, '加载数据时出错').then(res => {
this.ready = true
_this.HIDE_LOADING();
console.log(res);
if(res.StuInfoFreshEntity == null){
res.StuInfoFreshEntity = {}
}
_this.data = _this.COPY(res);
if (this.data["StuInfoFreshFamilyList"].length && this.data["StuInfoFreshFamilyList"].length > 0) {
_this.one = true


+ 4
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue Bestand weergeven

@@ -219,7 +219,10 @@ export default {
if(!this.photo.length)array.push("[采集照片信息]:不能为空")
// if(!this.queryData.RegionNo)array.push("[籍贯]:不能为空")
// if(!this.queryData.FamilyAddress)array.push("[家庭住址]:不能为空")
if(!this.queryData.telephone||!/^(\+\d{2,3}\-)?\d{11}$/.test(this.queryData.telephone))array.push("[联系电话]:" + !this.queryData.telephone?"不能为空":"格式错误"))
if(!this.queryData.telephone||!/^(\+\d{2,3}\-)?\d{11}$/.test(this.queryData.telephone)){
let str = this.queryData.telephone?"格式错误":"不能为空"
array.push("[联系电话]:" + str)
}
if(!this.queryData.StuInfoFreshFamilyEntities.length||
!this.queryData.StuInfoFreshFamilyEntities.every((item)=>{
return item.Name&&(item.Relation||item.Relation===0)&&(item.Sex||item.Sex===0)&&/^[1-9]\d*$/.test(item.Age)&&(item.Politicy||item.Politicy===0)


Laden…
Annuleren
Opslaan