对比dev修改代码

This commit is contained in:
mengxiaolong
2020-10-29 13:21:40 +08:00
parent 6d77abd189
commit a2b78d6866
2 changed files with 4 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
</van-tabs>
<div class="basicInfo" v-show="active === 0">
<p style="border-bottom: 1px solid #ebedf0" class="fs15 fwb pl10 pv12">基本信息</p>
<div class="pb80">
<div class="pb50">
<van-cell-group>
<van-cell title="姓名" :value="basicInfoDTO.name" />
<van-cell title="性别" :value="basicInfoDTO.sex == 0 ? '男' : '女'" />

View File

@@ -1,5 +1,5 @@
<template>
<div class="record-list-container pb50">
<div class="record-list-container pb20 bg-white">
<van-list v-model="loading" :immediate-check="false" :finished="finished" :finished-text="finishedText" @load="loadMore">
<div v-if="isSuccess">
<div v-if="approveList.length > 0">
@@ -49,7 +49,6 @@
<script>
import { List, Tag, Sticky, Dialog } from 'vant'
import { agentAddApproval } from '@/api/ebiz/agentEenter/agentEenter.js'
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'approveList',
@@ -72,16 +71,7 @@ export default {
}
},
async mounted() {
document.getElementsByTagName('body')[0].classList.add('bg-white')
const res = await getAgentInfo({})
if (res.result == 0) {
this.branchType = /^N{1}/.test(res.branchType) ? '1' : '0' //res.branchType 以N打头的是内勤 其他是外勤
if (this.branchType == '0') {
this.loadMore()
}
} else {
return this.$toast(res.resultMessage)
}
this.loadMore()
},
destroyed() {
document.getElementsByTagName('body')[0].classList.remove('bg-white')
@@ -90,7 +80,6 @@ export default {
loadMore() {
let pageInfo = {
pageNum: this.currentPage
// pageSize: this.pageSize
}
this.getOrderList(pageInfo)
},
@@ -140,7 +129,7 @@ export default {
.record-list {
border-bottom: 1px solid #ebedf0;
border-top: 1px solid #ebedf0;
margin: 15px 0;
margin-bottom: 15px;
.justify-content-fe {
border-top: 1px solid #ebedf0;
}