5 Commits

5 changed files with 17 additions and 8 deletions

View File

@@ -31,14 +31,14 @@
} }
</script> </script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script> <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script>
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script> <!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
<script> <script>
window.selfLink = window.location.href; window.selfLink = window.location.href;
window.selfSearch = window.location.search; window.selfSearch = window.location.search;
</script> </script>
<script> <script>
// VConsole 默认会挂载到 `window.VConsole` 上 // VConsole 默认会挂载到 `window.VConsole` 上
let vConsole = new window.VConsole(); // let vConsole = new window.VConsole();
(function (doc, win) { (function (doc, win) {
// console.log("==window.location.pathname===",window.location.pathname) // console.log("==window.location.pathname===",window.location.pathname)
let docEl = doc.documentElement let docEl = doc.documentElement

View File

@@ -212,7 +212,9 @@ export default {
}, },
async onLoad(){ async onLoad(){
await this.getDriverList() await this.getDriverList()
if (this.total>10){
this.pageNum++; this.pageNum++;
}
// 加载状态结束 // 加载状态结束
this.loading = false; this.loading = false;
// 数据全部加载完成 // 数据全部加载完成
@@ -238,7 +240,6 @@ export default {
} }
}, },
async getDriverList(){ async getDriverList(){
this.driverList=[]
let res = await driverList({ let res = await driverList({
pageNum:this.pageNum, pageNum:this.pageNum,
pageSize:this.pageSize, pageSize:this.pageSize,
@@ -257,6 +258,7 @@ export default {
this.driverList = preList.concat(arr) this.driverList = preList.concat(arr)
} }
} }
console.log('this.driverList',this.driverList)
}, },
async getPermissions(){ async getPermissions(){
let res = await userOperationPermissions(); let res = await userOperationPermissions();

View File

@@ -268,7 +268,7 @@
this.$toast('服务区域不能为空') this.$toast('服务区域不能为空')
return return
} }
this.wechatId='wmOTNXBwAABrvKkE_Fh8ZN8Xm2S9v2wQ' // this.wechatId='wmOTNXBwAABrvKkE_Fh8ZN8Xm2S9v2wQ'
if(!this.wechatId) { if(!this.wechatId) {
await this.QrCodeResult(); await this.QrCodeResult();
if( !this.wechatId ) { if( !this.wechatId ) {

View File

@@ -41,7 +41,8 @@
</div> </div>
<div class="credentials_item"> <div class="credentials_item">
<div class="credentials_title">4.开户许可证/基本存款账户信息</div> <div class="credentials_title">4.开户许可证/基本存款账户信息</div>
<img :src="supplierInfo?.accountUrl" alt=""> <img v-if="supplierInfo?.accountUrl" :src="supplierInfo?.accountUrl" alt="">
<div v-else class="empty"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -298,10 +299,14 @@
color: #4A4A4A; color: #4A4A4A;
padding: 10px 0; padding: 10px 0;
} }
img { img,.empty{
width: 97px; width: 97px;
height: 64px; height: 64px;
} }
.empty{
border: 1px solid silver;
margin-left: 8px;
}
} }
.ml2 { .ml2 {
margin-left: 2%; margin-left: 2%;

View File

@@ -250,7 +250,9 @@ export default {
}, },
async onLoad(){ async onLoad(){
await this.getVehicleList() await this.getVehicleList()
if(this.total>10){
this.pageNum++; this.pageNum++;
}
// 加载状态结束 // 加载状态结束
this.loading = false; this.loading = false;
// 数据全部加载完成 // 数据全部加载完成