This commit is contained in:
zhengziru
2024-07-25 16:15:44 +08:00
parent 53f1a70ed0
commit 1b4c7751e9
2 changed files with 15 additions and 4 deletions
+9 -3
View File
@@ -241,6 +241,12 @@ layout("/mobile/platform.html"){
</div> </div>
<div style="margin-bottom: 60px" v-if="active === 2"> <div style="margin-bottom: 60px" v-if="active === 2">
<van-swipe :autoplay="3000" class="swiper">
<van-swipe-item v-for="(image, index) in images" :key="index">
<img :src="image" width="100%"/>
</van-swipe-item>
</van-swipe>
<van-row v-for="m in moduleMenus" class="module"> <van-row v-for="m in moduleMenus" class="module">
<div class="van-sidebar-item van-sidebar-item--select"> <div class="van-sidebar-item van-sidebar-item--select">
{{m.moduleName}} {{m.moduleName}}
@@ -270,9 +276,9 @@ layout("/mobile/platform.html"){
data() { data() {
return { return {
images: [ images: [
"${AppDomain!}" + 'home1.png', "${AppDomain!}" + '/home1.png',
"${AppDomain!}" + 'home2.png', "${AppDomain!}" + '/home2.png',
"${AppDomain!}" + 'home3.png', "${AppDomain!}" + '/home3.png',
], ],
moduleMenus: [], moduleMenus: [],
roles: [], roles: [],
@@ -26,7 +26,7 @@ layout("/layouts/platform.html"){
style="float: right;margin-bottom: 10px"> style="float: right;margin-bottom: 10px">
添加 添加
</el-button> </el-button>
<span style="color: red">说明:。</span> <span style="color: red">说明:不同人员类型可根据不同缴费模式设置缴费标准。</span>
<el-table <el-table
:data="formData.payStandards" :data="formData.payStandards"
@@ -207,6 +207,11 @@ layout("/layouts/platform.html"){
const resp = await $.get(loc() + '/getPaymentConfig') const resp = await $.get(loc() + '/getPaymentConfig')
if (resp.code === 0){ if (resp.code === 0){
this.formData = {...resp.data} this.formData = {...resp.data}
if (!this.formData.payStandards){
this.formData = {
payStandards: [{payPersonnel: null, payMode: '1', personTypes: null, payModeValue: null,payModeValueList:[{name:'',value:''}]}]
}
}
} }
} }
}, },