mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 15:26:45 +08:00
Merge branch 'feature/开门红' into dev
# Conflicts: # src/assets/js/utils/request.js
This commit is contained in:
@@ -2,11 +2,9 @@ import axios from 'axios'
|
|||||||
import AESTools from '@/assets/js/utils/cryptoJsUtil'
|
import AESTools from '@/assets/js/utils/cryptoJsUtil'
|
||||||
import configApp from '@/config'
|
import configApp from '@/config'
|
||||||
import { Dialog, Toast } from 'vant'
|
import { Dialog, Toast } from 'vant'
|
||||||
import dateUtil from '@/assets/js/utils/date-utils'
|
|
||||||
import MD5 from 'js-md5'
|
import MD5 from 'js-md5'
|
||||||
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
||||||
|
import BusinessCommon from '@/assets/js/business-common.js'
|
||||||
import { device } from '@/assets/js/business-common.js'
|
|
||||||
let proposal = [
|
let proposal = [
|
||||||
'/proposal/proposal/list',
|
'/proposal/proposal/list',
|
||||||
'/proposal/proposal/toInsurance',
|
'/proposal/proposal/toInsurance',
|
||||||
@@ -148,7 +146,7 @@ service.interceptors.request.use(
|
|||||||
*/
|
*/
|
||||||
if (relativePath === '/customer/agent/info' && !token) {
|
if (relativePath === '/customer/agent/info' && !token) {
|
||||||
// 设备类型
|
// 设备类型
|
||||||
const target = device()
|
const target = BusinessCommon.device()
|
||||||
// 安卓or苹果
|
// 安卓or苹果
|
||||||
if (target.isAndroid || target.isIphone) {
|
if (target.isAndroid || target.isIphone) {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
|
|||||||
@@ -158,9 +158,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
async created() {
|
||||||
this.getAgentInfo()
|
await this.getAgentInfo()
|
||||||
this.getTableData()
|
await this.getTableData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getTableData() {
|
async getTableData() {
|
||||||
@@ -179,7 +179,7 @@ export default {
|
|||||||
window.EWebBridge.webCallAppInJs('updateWebHeight', {
|
window.EWebBridge.webCallAppInJs('updateWebHeight', {
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
isLoadMore: this.isLoadMore
|
isLoadMore: this.idMoreDataShow
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -199,7 +199,7 @@ export default {
|
|||||||
window.EWebBridge.webCallAppInJs('updateWebHeight', {
|
window.EWebBridge.webCallAppInJs('updateWebHeight', {
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
isLoadMore: this.isLoadMore
|
isLoadMore: this.idMoreDataShow
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user