Bladeren bron

app2.2.0在线缴费

西昌缴费二期
杨晓琪 2 jaren geleden
bovenliggende
commit
e0eaf65156
3 gewijzigde bestanden met toevoegingen van 68 en 6 verwijderingen
  1. +2
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js
  2. +10
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json
  3. +56
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/onlienpay/list.vue

+ 2
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js Bestand weergeven

@@ -683,13 +683,13 @@ export default {
if(result.data.code != 200){
uni.hideLoading()
uni.showToast({
title: result.data.info,
title: tips||result.data.info||"未知错误",
icon: 'none'
})
return null
}

return result.data.data
return result.data.data||true
},

// 【即将废弃】请使用 this.CONFIG() 来替代


+ 10
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json Bestand weergeven

@@ -1019,7 +1019,16 @@



],
,{
"path" : "pages/onlienpay/payqrcode",
"style" :
{
"navigationBarTitleText": "在线缴费",
"enablePullDownRefresh": false
}
}
],

// 全局样式
"globalStyle": {


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

@@ -1,15 +1,68 @@
<template>
<view class="page"><web-view :src="url"></web-view></view>
<view class="page">
<view class="welT">基本信息</view>
<l-input title="学号" :value="formData.StuNo" disabled right />
<l-input title="姓名" :value="formData.StuNo" disabled right />
<l-input title="班级" :value="formData.StuNo" disabled right />
<l-input title="系别" :value="formData.StuNo" disabled right />
<view class="welT">缴费项目</view>
<l-input title="代收教材费" :value="formData.StuNo" disabled right />
<l-input title="住宿费" :value="formData.StuNo" disabled right />
<l-input title="应缴合计" :value="formData.StuNo" disabled right />
<view class="welT">本次实缴</view>
<l-input title="代收教材费" :value="formData.StuNo" placeholder="请填写" right />
<l-input title="住宿费" :value="formData.StuNo" placeholder="请填写" right />
<l-input title="应缴合计" :value="formData.StuNo" placeholder="请填写" right />
<view class="btn" @click="submit">支 付</view>
</view>
</template>

<script>
export default {
data() {
return {
url: "http://112.45.152.8:8001/u8pay/index.jsp"
formData:{}
};
},
methods:{
getFormData(){
this.LOADING();
this.HTTP_GET('StuInfoFresh/saveStuInfoFresh', this.queryData,).then(res => {
this.HIDE_LOADING();
if (res) {
this.formData = res
}
});
},
submit(){
this.LOADING('正在提交数据…');
this.HTTP_POST('StuInfoFresh/saveStuInfoFresh', this.queryData,"缴费失败").then(res => {
this.HIDE_LOADING();
this.NAV_TO('./payqrcode?id='+15641654);
if (res) {
this.NAV_TO('./payqrcode');
this.TOAST('缴费成功');
}
});
}
},
created() {
this.getFormData()
}
};
</script>

<style></style>
<style scoped>
.page{
background-color: #fff;
padding-bottom: 12px;
}
.welT {
font-size: 16px;
line-height: 26px;
padding: 0 12px;
padding-top: 12px;
color: #999;
}
</style>

Laden…
Annuleren
Opslaan