Commit d29bfeb3 authored by jiacheng.mao's avatar jiacheng.mao

Merge remote-tracking branch 'origin/develop' into develop

parents 9fd72fd3 2a05b4ae
......@@ -8,7 +8,6 @@ www/static/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
# Editor directories and files
.idea
.vscode
......
......@@ -26,7 +26,7 @@ const webpackConfig = merge(baseWebpackConfig, {
output: {
path: config.build.assetsRoot,
filename: utils.assetsPath('js/[name].[chunkhash].js'),
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
chunkFilename: utils.assetsPath('js/[name].[id].[chunkhash].js')
},
plugins: [
// http://vuejs.github.io/vue-loader/en/workflow/production.html
......
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"2.9.9"'
currentVersion: '"3.0.0"'
}
......@@ -87,7 +87,7 @@ module.exports = {
* Source Maps
*/
productionSourceMap: true,
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
......
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"2.9.9"'
currentVersion: '"3.0.0"'
}
......@@ -13,20 +13,14 @@
"clean": "rimraf www/*"
},
"dependencies": {
"IdCardPlugin": "file:../card-plugin-test/IdCardPlugin",
"autosize": "^3.0.20",
"better-scroll": "^1.10.3",
"cordova-ios": "^4.5.5",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-splashscreen": "5.0.2",
"cordova-plugin-statusbar": "2.4.2",
"cordova-plugin-whitelist": "1.3.3",
"crypto-js": "^3.1.9-1",
"fastclick": "https://hel.hand-china.com/easyUI/fastclick.git",
"hls-easy-ui": "https://hel.hand-china.com/easyUI/hls-easy-ui.git#keyboard",
"ionic-plugin-keyboard": "^2.2.1",
"js-base64": "^2.5.1",
"pdfjs-dist": "^2.2.228",
"pdfjs-dist": "2.2.228",
"vue": "^2.5.2",
"vue-router": "^3.0.1",
"vuex": "^2.1.1",
......@@ -99,7 +93,7 @@
"yaml-loader": "^0.4.0"
},
"engines": {
"node": ">= 4.0.0",
"node": ">= 11.0.0",
"npm": ">= 3.0.0"
},
"browserslist": [
......@@ -111,13 +105,6 @@
"ios",
"android"
],
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"ionic-plugin-keyboard": {},
"IdCardPlugin": {}
}
"plugins": {}
}
}
\ No newline at end of file
}
......@@ -174,9 +174,9 @@
</h-content>
<bottom-tab v-if="!flag">
<tab-button class="before" @click.native="takePhonto">
<img src="@/assets/constractSigning/certification.png" >认证
<img src="@/assets/constractSigning/certification.png" >签署合同
</tab-button>
<tab-button class="approve" @click.native="isConfirm">确定</tab-button>
<tab-button class="approve" @click.native="isConfirm">提交审核</tab-button>
</bottom-tab>
</h-view>
</template>
......@@ -541,7 +541,7 @@ export default {
// 只有认证通过后方可进行签约操作
vm.hlsPopup.showConfirm({
title: '提示',
content: '您确定同意发车吗?',
content: '您确定提交审核吗?',
onConfirm: data => {
if (data === 1) {
vm.confirm()
......@@ -566,7 +566,7 @@ export default {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.showSuccess('发车成功')
vm.hlsPopup.showSuccess('合同签署成功')
setTimeout(() => {
vm.$router.push({
name: 'MyInfo',
......
......@@ -140,7 +140,6 @@ export default {
this.$refs.scroll.scrollToTop()
},
changePage (e) {
debugger
this.$router.push({
name: 'ConfirmDetail',
query: {
......
......@@ -10,7 +10,7 @@
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()">
<span>融租申请创建</span>
<span>融租方案创建</span>
</div>
</h-header>
<div class="tab-style has-header">
......@@ -47,7 +47,7 @@
</scroll>
<bottom-tab>
<tab-button class="footer" @click.native="changePage">
<img class="add-img" src="@/assets/contractCreate/create-add.png" alt=""> 创建新合同
<img class="add-img" src="@/assets/contractCreate/create-add.png" alt=""> 融租方案创建
</tab-button>
</bottom-tab>
</h-view>
......
......@@ -26,7 +26,7 @@
</div>
<div v-if="multipleRole == 'AGENT' || (multipleRole == 'OFFICE' || user_bp_type == 'OFFICE')" class="contract-item" @click="goCreate()">
<img src="@/assets/myInfo/contractCreate.png" >
<span>融租申请创建</span>
<span>融租方案创建</span>
</div>
<div v-if="multipleRole == 'GUTA'" class="contract-item" @click="changeContract('GUTA')">
<img src="@/assets/myInfo/under.png" >
......
......@@ -7,7 +7,7 @@
</div>
</h-header>
<scroll
v-if="data!==null"
v-show="data!==null"
ref="scroll" :updateData="[lists]" :pullUp="true" class="pay-content"
@pullingUp="getList">
<div v-for="(item,index) in lists" :key="index" class="contract-item">
......
......@@ -15,7 +15,7 @@
<h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()" >
<span>合同详情</span>
<span>方案详情</span>
</div>
</h-header>
<!-- <div
......@@ -38,10 +38,10 @@
<img :src="num === 0?check1:uncheck1" >基本信息
</div>
<div :class="{'done':num === 1,'undone':num !== 1}" @click="num = 1;">
<img :src="num === 1?check3:uncheck3" >租赁信息
<img :src="num === 1?check3:uncheck3" >方案信息
</div>
<div :class="{'done':num === 2,'undone':num !== 2}" @click="num = 2;">
<img :src="num === 2?check2:uncheck2" >合同文本
<img :src="num === 2?check2:uncheck2" >征信授权书
</div>
</div>
<h-content v-if="num === 0" class="business-condition">
......@@ -220,10 +220,10 @@
</h-content>
<bottom-tab v-if="con_confirm_status!=='APPROVED'" class="add-box">
<tab-button class="before" @click.native="takePhonto">
<img src="@/assets/constractSigning/certification.png" >认证
<img src="@/assets/constractSigning/certification.png" >征信签约
</tab-button>
<tab-button class="next" @click.native="inSure">
<img src="@/assets/intoApproval/approve.png" >确认签约
<img src="@/assets/intoApproval/approve.png" >提交审核
</tab-button>
</bottom-tab>
<h-modal
......
......@@ -340,10 +340,10 @@
</div>
</h-content>
<bottom-tab v-if="!flag">
<tab-button class="save" @click.native="generateContract" :disable="generateContractFlag">生成合同文本</tab-button>
<tab-button class="save" @click.native="generateContract" :disable="generateContractFlag">生成电子合同</tab-button>
<tab-button
class="approve" @click.native="checkStatus"
>融租合同创建</tab-button
>提交签署</tab-button
>
</bottom-tab>
<div class="bottom-pop">
......@@ -987,7 +987,7 @@ export default {
return i.lease_status === 'N'
})
if (mantained.length > 0) {
hlsPopup.showLongCenter('您有待维护的设备项,请完善信息后再申请发车!')
hlsPopup.showLongCenter('您有待维护的设备项,请完善信息后再提交至客户签署!')
} else {
this.isApprove()
}
......@@ -995,7 +995,7 @@ export default {
isApprove () {
this.hlsPopup.showConfirm({
title: '提示',
content: '您确定申请发车吗?',
content: '您确定提交至客户签署吗?',
onConfirm: (data) => {
if (data === 1) {
this.approve()
......
......@@ -47,9 +47,9 @@
</div>
</div>
</scroll>
<bottom-tab>
<!--<bottom-tab>
<tab-button class="add" @click.native="goAdd">新增发车</tab-button>
</bottom-tab>
</bottom-tab>-->
</h-view>
</template>
<script>
......
......@@ -3,7 +3,7 @@
<h-header class="bar-custom">
<div slot="center" class="top-word">业务指引-{{ role }}</div>
</h-header>
<h-content>
<h-content class="has-footer">
<!-- 搜索 -->
<div class="search has-header">
<img src="@/assets/functionCenter/bgxg-pic@2x.png" alt="" >
......@@ -159,12 +159,12 @@ export default {
},
beforeRouteEnter (to, from, next) {
if (true) {
next(vm => {
vm.userQuery()
})
}
next()
// if (true) {
next(vm => {
vm.userQuery()
})
// }
// next()
},
// created () {
// this.userQuery()
......@@ -195,27 +195,24 @@ export default {
window.localStorage.setItem('bp_identity', res.info.bp_identity)
window.localStorage.setItem('bp_class', res.info.user_bp_class)
window.localStorage.setItem('bp_type', res.info.user_bp_type)
if (window.localStorage.multipleRole) {
} else {
window.localStorage.setItem('multipleRole', res.info.user_bp_type)
}
if (window.localStorage.getItem('multipleRole') == 'TENANT') {
window.localStorage.setItem('multipleRole', res.info.user_bp_type)
vm.user_bp_type = res.info.user_bp_type
vm.bp_type_n = res.info.user_bp_type_n
vm.user_bp_name = res.info.user_bp_name
vm.user_phone = res.info.user_phone
if (vm.user_bp_type === 'TENANT') {
vm.role = '主承租人'
} else if (window.localStorage.getItem('multipleRole') == 'GUTA') {
} else if (vm.user_bp_type === 'GUTA') {
vm.role = '担保人'
} else if (window.localStorage.getItem('multipleRole') == 'FACTORY') {
} else if (vm.user_bp_type === 'FACTORY') {
vm.role = '主机厂'
} else if (window.localStorage.getItem('multipleRole') == 'AGENT') {
} else if (vm.user_bp_type === 'AGENT') {
vm.role = '经销商'
} else if (window.localStorage.getItem('multipleRole') == 'OFFICE') {
} else if (vm.user_bp_type === 'OFFICE') {
vm.role = '办事处'
} else if (vm.user_bp_type === 'MANAGER') {
vm.role = '业务经理'
}
vm.user_bp_type = res.info.user_bp_type
vm.bp_type_n = res.info.user_bp_type_n
vm.user_bp_name = res.info.user_bp_name
vm.user_phone = res.info.user_phone
if (vm.user_bp_type === 'AGENT') {
vm.isAGENT = true
} else {
......@@ -235,12 +232,12 @@ export default {
goStart () {
let vm = this
if (this.bp_id) {
if (window.localStorage.multipleRole === 'OFFICE' || window.localStorage.multipleRole === 'AGENT') {
if (vm.user_bp_type === 'MANAGER') {
this.$router.push({
name: 'StartList',
})
} else {
hlsPopup.showLongCenter('您当前角色非经销商或办事处,无法使用该功能!')
hlsPopup.showLongCenter('您当前角色非业务经理,无法使用该功能!')
}
} else {
hlsPopup.showLongCenter('请先进行用户绑定')
......@@ -248,7 +245,11 @@ export default {
},
// 融租方案确认
conSign () {
let vm = this
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if (this.user_bp_type === 'MANAGER') {
hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!')
return
}
if (this.bp_id) {
this.$router.push({
name: 'ContractSigning',
......@@ -264,7 +265,7 @@ export default {
goVideoSign () {
let vm = this
if (this.bp_id) {
if (window.localStorage.multipleRole === 'OFFICE' || window.localStorage.multipleRole === 'FACTORY' || window.localStorage.multipleRole === 'AGENT') {
if (vm.user_bp_type === 'OFFICE' || vm.user_bp_type === 'FACTORY' || vm.user_bp_type === 'AGENT') {
hlsPopup.showLongCenter('您当前角色非承租人或担保人,无法使用该功能!')
} else {
this.$router.push({
......@@ -289,7 +290,7 @@ export default {
goCarConfirm () {
let vm = this
if (vm.bp_id) {
if (window.localStorage.multipleRole === 'OFFICE' || window.localStorage.multipleRole === 'FACTORY') {
if (vm.user_bp_type === 'OFFICE' || vm.user_bp_type === 'FACTORY') {
hlsPopup.showLongCenter('您当前角色非承租人或担保人或经销商,无法使用该功能!')
} else {
vm.$router.push({
......@@ -303,8 +304,13 @@ export default {
// 进入我的还款
goReimburse () {
let vm = this
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if (this.user_bp_type === 'MANAGER') {
hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!')
return
}
if (this.bp_id) {
if (window.localStorage.multipleRole === 'OFFICE' || window.localStorage.multipleRole === 'FACTORY' || window.localStorage.multipleRole === 'AGENT') {
if (vm.user_bp_type === 'OFFICE' || vm.user_bp_type === 'FACTORY' || vm.user_bp_type === 'AGENT') {
hlsPopup.showLongCenter('您当前角色非承租人或担保人,无法使用该功能!')
} else {
this.$router.push({
......@@ -318,7 +324,7 @@ export default {
goInvoice () {
let vm = this
if (this.bp_id) {
if (window.localStorage.multipleRole === 'TENANT') {
if (vm.user_bp_type === 'TENANT') {
this.$router.push({
name: 'MyInvoice',
})
......@@ -330,8 +336,7 @@ export default {
}
},
goContractRepayment () {
let vm = this
if (window.localStorage.getItem('bp_id') !== 'undefined') {
if (this.bp_id) {
this.$router.push({
name: 'ContractRepayment',
})
......@@ -341,8 +346,13 @@ export default {
},
changeRent () {
let vm = this
if (window.localStorage.getItem('bp_id') !== 'undefined') {
if (window.localStorage.multipleRole === 'OFFICE' || window.localStorage.multipleRole === 'FACTORY' || window.localStorage.multipleRole === 'AGENT') {
// 首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if (this.user_bp_type === 'MANAGER') {
hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!')
return
}
if (this.bp_id) {
if (vm.user_bp_type === 'OFFICE' || vm.user_bp_type === 'FACTORY' || vm.user_bp_type === 'AGENT') {
hlsPopup.showLongCenter('您当前角色非承租人或担保人,无法使用该功能!')
} else {
this.$router.push({
......@@ -354,7 +364,11 @@ export default {
}
},
userBind () {
let vm = this
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
if (this.user_bp_type === 'MANAGER') {
hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!')
return
}
window.localStorage.setItem('from', true)
if (!this.bp_id && this.user_bp_status === 'NEW') {
this.$router.push({
......@@ -422,7 +436,7 @@ export default {
},
todoList () {
if (this.bp_id) {
if (window.localStorage.multipleRole !== 'OFFICE' && window.localStorage.multipleRole !== 'AGENT') {
if (this.user_bp_type !== 'OFFICE' && this.user_bp_type !== 'AGENT') {
hlsPopup.showLongCenter('仅经销商/办事处业务员角色可使用该功能!')
} else {
this.$router.push({
......
......@@ -29,7 +29,9 @@
<div class="functions">
<div class="title">资讯动态</div>
<ul>
<li v-for="item in newsList" :key="item.index"><img src="@/assets/homePage/inform.png" alt="">{{item.new_title}}</li>
<li v-for="item in newsList" :key="item.index"><img src="@/assets/homePage/inform.png" alt="">{{
item.new_title }}
</li>
</ul>
<img src="@/assets/functionCenter/in@2x.png" @click="gotoNews()">
<!-- <function-item
......@@ -48,7 +50,7 @@
</div>
</div>
<div class="guessing">猜你喜欢<span><img src="@/assets/homePage/intrest.png"></span></div>
<div v-for="(list,index) in guessingList" :key="index" class="guessing-wrap" @click="goProductDetail(list)" >
<div v-for="(list,index) in guessingList" :key="index" class="guessing-wrap" @click="goProductDetail(list)">
<list-item :item-height="120">
<item>
<div slot="name" class="item-pic">
......@@ -58,9 +60,13 @@
<div slot="content" class="item-content">
<div class="top">{{ list.product_name }}</div>
<img src="@/assets/homePage/hot.png" class="hot">
<div class="center"><span class="firsts">{{ !list.office_id&&!list.agent_id?"-":(list.office_id?'办事处':'经销商') }}</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?"-":(list.office_id?list.office_name:list.agent_name) }}</span></div>
<div class="center"><span class="firsts">产品型号</span> <span class="seconds">{{ list.product_code }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?( list.province_id_n === list.city_id_n?(list.district_id_n?list.city_id_n + list.district_id_n:list.city_id_n):(list.district_id_n?list.province_id_n + list.city_id_n + list.district_id_n:list.province_id_n + list.city_id_n )):(list.office_id? (list.office_province === list.office_city?(list.office_district?list.office_city + list.office_district:list.office_city ):(list.office_district?list.office_province + list.office_city + list.office_district:list.office_province + list.office_city)):(list.agent_province === list.agent_city?(list.agent_district?list.agent_city + list.agent_district:list.agent_city):(list.agent_district?list.agent_province + list.agent_city + list.agent_district:list.agent_province + list.agent_city))) }}</span></div>
<div class="center"><span class="firsts">{{ !list.office_id&&!list.agent_id?'-':(list.office_id?'办事处':'经销商') }}</span>
<span class="seconds">{{ !list.office_id&&!list.agent_id?'-':(list.office_id?list.office_name:list.agent_name) }}</span>
</div>
<div class="center"><span class="firsts">产品型号</span> <span class="seconds">{{ list.product_code }}</span>
</div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?( list.province_id_n === list.city_id_n?(list.district_id_n?list.city_id_n + list.district_id_n:list.city_id_n):(list.district_id_n?list.province_id_n + list.city_id_n + list.district_id_n:list.province_id_n + list.city_id_n )):(list.office_id? (list.office_province === list.office_city?(list.office_district?list.office_city + list.office_district:list.office_city ):(list.office_district?list.office_province + list.office_city + list.office_district:list.office_province + list.office_city)):(list.agent_province === list.agent_city?(list.agent_district?list.agent_city + list.agent_district:list.agent_city):(list.agent_district?list.agent_province + list.agent_city + list.agent_district:list.agent_province + list.agent_city))) }}</span>
</div>
</div>
</item>
</list-item>
......@@ -72,6 +78,7 @@
<script>
import functionState from './functionState'
import noImg from '../../assets/productQuery/none.png'
export default {
name: 'HomePage',
data () {
......@@ -84,7 +91,7 @@ export default {
isVisitor: false,
moduleSeparateList: [],
guessingList: [],
newsList: []
newsList: [],
}
},
watch: {},
......@@ -104,176 +111,176 @@ export default {
// }
})
},
methods:{
// 定位
getLocation () {
let vm = this
// if (vum.Platform.isAndroid()) { // 安卓采用jsapi
// var geolocation = new BMap.Geolocation()
// vm.hlsPopup.showLoading('数据加载中')
// geolocation.getCurrentPosition(function (res) {
// vm.hlsPopup.hideLoading()
// if (this.getStatus() === 0) {
// // 判断是否是手动选择过定位
// if (window.localStorage.getItem('province')) {
// vm.city = window.localStorage.getItem('city')
// vm.province = window.localStorage.getItem('province')
// vm.guessingQuery(vm.city)
// } else {
// // 没有就定位当前位置
// console.log(res)
// vm.city = res.address.city
// vm.province = res.address.province
// vm.guessingQuery(res.address.city)
// }
// }
// }, {enableHighAccuracy: true})
// } else { // ios使用插件定位
console.log('&&&&&&&&&&&&___ios')
// if (!$config.isMobilePlatform) {
// }
baidumap_location.getCurrentPosition(function (result) {
if (window.localStorage.getItem('province')) {
vm.city = window.localStorage.getItem('city')
vm.province = window.localStorage.getItem('province')
vm.guessingQuery(vm.city)
} else {
vm.city = result.city
vm.province = result.province
vm.guessingQuery(result.city)
}
}, function (error) {
})
// }
// setTimeout(vm.guessingQuery(), 0)
},
goFunctionHome (data) {
this.$router.push({
name: data.functionState,
})
},
// 新闻资讯
getNews() {
let url = $config.basePath + 'news_entrance_list'
let param = {}
this.$post(url, param).then((res) => {
this.hlsPopup.hideLoading()
if (res.result === 'S') {
this.newsList = res.lists
methods: {
// 定位
getLocation () {
let vm = this
// if (vum.Platform.isAndroid()) { // 安卓采用jsapi
// var geolocation = new BMap.Geolocation()
// vm.hlsPopup.showLoading('数据加载中')
// geolocation.getCurrentPosition(function (res) {
// vm.hlsPopup.hideLoading()
// if (this.getStatus() === 0) {
// // 判断是否是手动选择过定位
// if (window.localStorage.getItem('province')) {
// vm.city = window.localStorage.getItem('city')
// vm.province = window.localStorage.getItem('province')
// vm.guessingQuery(vm.city)
// } else {
// // 没有就定位当前位置
// console.log(res)
// vm.city = res.address.city
// vm.province = res.address.province
// vm.guessingQuery(res.address.city)
// }
// }
// }, {enableHighAccuracy: true})
// } else { // ios使用插件定位
console.log('&&&&&&&&&&&&___ios')
// if (!$config.isMobilePlatform) {
// }
/*baidumap_location.getCurrentPosition(function (result) {
if (window.localStorage.getItem('province')) {
vm.city = window.localStorage.getItem('city')
vm.province = window.localStorage.getItem('province')
vm.guessingQuery(vm.city)
} else {
vm.city = result.city
vm.province = result.province
vm.guessingQuery(result.city)
}
}, function (error) {
})*/
// setTimeout(vm.guessingQuery(), 0)
},
goFunctionHome (data) {
this.$router.push({
name: data.functionState,
})
},
// 新闻资讯
getNews () {
let url = $config.basePath + 'news_entrance_list'
let param = {}
this.$post(url, param).then((res) => {
this.hlsPopup.hideLoading()
if (res.result === 'S') {
this.newsList = res.lists
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
goModuleFunction (data) {
let vm = this
if (this.isVisitor && data.moduleState !== 'FinancingTrial') {
hlsPopup.showConfirm({
title: '提示',
content: `请先登录!`,
onConfirm: data => {
if (data) {
vm.$router.push('/login')
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
goModuleFunction (data) {
let vm = this
if (this.isVisitor && data.moduleState !== 'FinancingTrial') {
hlsPopup.showConfirm({
title: '提示',
content: `请先登录!`,
onConfirm: data => {
if (data) {
vm.$router.push('/login')
} else {
}
},
})
} else {
this.$router.push({
name: data.moduleState,
})
}
},
location () {
this.$router.push({
name: 'Location',
params: {
province: this.province,
city: this.city,
},
})
},
gotoNews () {
this.$router.push({
name: 'NewsList',
})
},
})
} else {
this.$router.push({
name: data.moduleState,
})
}
},
location () {
this.$router.push({
name: 'Location',
params: {
province: this.province,
city: this.city,
},
// 用户信息查询
userQuery () {
let vm = this
let url = $config.basePath + 'user_query'
let param = {
'phone': window.localStorage.getItem('user_phone'),
}
vm.hlsPopup.showLoading('数据加载中')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
window.localStorage.setItem('bp_type', res.info.user_bp_type)
vm.user_bp_status = res.info.user_bp_status
vm.user_bp_class = res.info.user_bp_class
vm.bp_id = res.info.user_bp_id
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
gotoNews () {
this.$router.push({
name: 'NewsList',
})
},
// 用户信息查询
userQuery () {
let vm = this
let url = $config.basePath + 'user_query'
let param = {
'phone': window.localStorage.getItem('user_phone'),
}
vm.hlsPopup.showLoading('数据加载中')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
window.localStorage.setItem('bp_type', res.info.user_bp_type)
vm.user_bp_status = res.info.user_bp_status
vm.user_bp_class = res.info.user_bp_class
vm.bp_id = res.info.user_bp_id
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// 猜你喜欢
guessingQuery (e) {
console.log(e)
let vm = this
let url = $config.basePath + 'guess_you_like_query'
let param = {
'user_phone': window.localStorage.getItem('user_phone'),
'city': e,
}
vm.hlsPopup.showLoading('数据加载中')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.guessingList = res.lists
vm.guessingList.forEach(item => {
item['url'] = item.product_attachment_id ? process.env.filePath + 'attachment_id=' + item.product_attachment_id + '&access_token=' + window.localStorage.access_token : noImg
})
},
// 猜你喜欢
guessingQuery (e) {
console.log(e)
let vm = this
let url = $config.basePath + 'guess_you_like_query'
let param = {
'user_phone': window.localStorage.getItem('user_phone'),
'city': e,
}
vm.hlsPopup.showLoading('数据加载中')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.guessingList = res.lists
vm.guessingList.forEach(item => {
item['url'] = item.product_attachment_id ? process.env.filePath + 'attachment_id=' + item.product_attachment_id + '&access_token=' + window.localStorage.access_token : noImg
})
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// 进入产品明细
goProductDetail (list) {
let vm = this
if (!window.localStorage.getItem('password')) {
hlsPopup.showConfirm({
title: '提示',
content: `请先登录!`,
onConfirm: data => {
if (data) {
vm.$router.push('/login')
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// 进入产品明细
goProductDetail (list) {
let vm = this
if (!window.localStorage.getItem('password')) {
hlsPopup.showConfirm({
title: '提示',
content: `请先登录!`,
onConfirm: data => {
if (data) {
vm.$router.push('/login')
} else {
}
},
})
} else {
this.$router.push({
name: 'ProDetailed',
params: {
product_id: list.product_id,
bp_id: list.bp_id,
},
})
}
},
},
},
})
} else {
this.$router.push({
name: 'ProDetailed',
params: {
product_id: list.product_id,
bp_id: list.bp_id,
},
})
}
},
},
}
</script>
<style lang='less'>
@import "../../styles/vue-1px";
#homePage {
.content{
.content {
background-color: #EFEFEF;
}
.top-wrap {
width: 100%;
height: 100px;
......@@ -311,9 +318,11 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
img {
height: 15px;
}
.title {
flex-grow: 0;
flex-basis: 70px;
......@@ -322,11 +331,13 @@ export default {
font-weight: 600;
line-height: 30px;
text-align: center;
border-right: 1px solid#F1F0F5;
border-right: 1px solid #F1F0F5;
}
ul {
flex-grow: 2;
flex-basis: 2;
li {
height: 30px;
line-height: 30px;
......@@ -334,6 +345,7 @@ export default {
text-align: left;
text-indent: 15px;
font-size: 14px;
img {
vertical-align: middle;
margin-right: 15px;
......@@ -356,10 +368,12 @@ export default {
flex-direction: column;
justify-content: space-around;
align-items: center;
img{
margin: 0;
img {
margin: 0;
}
div{
div {
margin-bottom: 14px;
ont-family: PingFangSC-Regular;
font-size: 13px;
......@@ -381,19 +395,23 @@ export default {
.hls-swipe {
width: 100vw;
img {
width: 100vw;
// height: 100%;
}
.hls-swipe-indicators{
.hls-swipe-indicators {
left: 54%;
bottom: 20px;
.hls-swipe-indicators-item{
.hls-swipe-indicators-item {
width: 10px;
height: 2px;
border-radius: 0;
}
.hls-swipe-indicators-item--active{
.hls-swipe-indicators-item--active {
background-color: #FFF;
}
}
......@@ -405,6 +423,7 @@ export default {
display: flex;
flex-direction: row;
padding: 0 1% 0 1%;
.left-pic {
width: 41.6%;
margin-left: 4px;
......@@ -443,35 +462,43 @@ export default {
letter-spacing: 0.57px;
height: 40px;
padding-left: 2%;
span{
padding-top: 2px;
margin-left: 4px;
span {
padding-top: 2px;
margin-left: 4px;
}
img{
img {
width: 14px;
height: 14px;
}
}
.guessing-wrap{
.guessing-wrap {
position: relative;
width: 96%;
margin: 0 auto;
.hls-list-item{
.hls-list-item {
border-radius: 10px;
.contents{
.contents {
padding: 8px 6px 8px 0;
.add-content{
.add-content {
justify-content: flex-start;
}
}
}
}
.item-pic {
width: 110px;
height: 110px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 100%;
// height: 100%;
......@@ -487,20 +514,23 @@ export default {
margin-top: 10px;
font-weight: 600;
}
.hot {
position: absolute;
top: 0;
right: 0;
width: 45px;
}
.center {
margin-top: 6px;
display: flex;
.firsts {
width: 76px;
font-family: PingFangSC-Regular;
font-size: 14px;
color: rgba(56,63,69,0.60);
color: rgba(56, 63, 69, 0.60);
letter-spacing: 0.5px;
}
......
......@@ -6,7 +6,7 @@
<!-- <h-content class="content"> -->
<scroll
v-if="list.length !== 0"
v-show="list.length !== 0"
ref="scroll" :updateData="[list]" :pullUp="true" class="has-footer"
@pullingUp="getInfo">
<section v-for="(item,parentIndex) in list" :key="parentIndex" class="msg-wrap">
......
......@@ -167,12 +167,12 @@
</list-item>
<div class="version">版本号:{{ currentVersion }}</div>
<button
v-if="!popSetect"
v-if="!popSetect" v-show="user_bp_type !== 'MANAGER'"
@click="approveBtn ? unBind() : changePageHead()"
>
{{ description }}
</button>
<button v-if="popSetect" @click="popSetectBox = true">
<button v-if="popSetect" v-show="user_bp_type !== 'MANAGER'" @click="popSetectBox = true">
{{ description }}
</button>
</div>
......@@ -695,9 +695,7 @@ export default {
let vm = this
this.hlsPopup.showActionSheet({
buttonArray:
this.bp_id === undefined
? ['修改头像']
: ['修改头像', '用户信息', '角色切换'],
(this.bp_id === undefined || vm.user_bp_type === 'MANAGER') ? ['修改头像'] : ['修改头像', '用户信息', '角色切换'],
callback: (index) => {
if (index === 0) {
this.imgUploadShow(vm.app_user_id)
......
......@@ -19,7 +19,7 @@
<div slot="name" style="color:#656464;">修改信息</div>
<div class="arrow_right"><img src="@/assets/myinfo/arrow_right.png"></div>
</item>
<item @click.native="changeRole()">
<item v-if="user_bp_type!='MANAGER'" @click.native="changeRole()">
<div slot="name" style="color:#656464;">角色切换</div>
<div class="arrow_right"><img src="@/assets/myinfo/arrow_right.png"></div>
</item>
......
......@@ -36,7 +36,7 @@
<img slot="icon" src="../assets/image/tab/n_function@2x.png">
<span slot="label">业务办理</span>
</tabbar-item>
<tabbar-item @click.native="tabClick">
<tabbar-item :selected="$route.path === '/tab/my-info'" @click.native="tabClick">
<img slot="icon-active" src="../assets/image/tab/my@2x.png">
<img slot="icon" src="../assets/image/tab/n_my@2x.png">
<span slot="label">我的</span>
......
......@@ -8,144 +8,145 @@
import Vue from 'vue'
import Router from 'vue-router'
import Guide from '@/pages/guide/guide'
import Login from '@/pages/login'
import Regiester from '@/pages/regiester'
import Regiester2 from '@/pages/regiester2'
import PwdForgot from '@/pages/pwd-forgotten'
import PwdReset from '@/pages/pwd-reset'
import FingerLogin from '@/pages/finger-login'
import Tab from '@/pages/tab'
import HomePage from '@/pages/home/home-page'
const Guide = resolve => require.ensure([], () => { resolve(require('@/pages/guide/guide')) }, 'login')
const Login = resolve => require.ensure([], () => { resolve(require('@/pages/login')) }, 'login')
const Regiester = resolve => require.ensure([], () => { resolve(require('@/pages/regiester')) }, 'login')
const Regiester2 = resolve => require.ensure([], () => { resolve(require('@/pages/regiester2')) }, 'login')
const PwdForgot = resolve => require.ensure([], () => { resolve(require('@/pages/pwd-forgotten')) }, 'login')
const PwdReset = resolve => require.ensure([], () => { resolve(require('@/pages/pwd-reset')) }, 'login')
const FingerLogin = resolve => require.ensure([], () => { resolve(require('@/pages/finger-login')) }, 'login')
const Tab = resolve => require.ensure([], () => { resolve(require('@/pages/tab')) }, 'login')
const HomePage = resolve => require.ensure([], () => { resolve(require('@/pages/home/home-page')) }, 'home')
// 定位
import Location from '@/pages/home/location'
const Location = resolve => require.ensure([], () => { resolve(require('@/pages/home/location')) }, 'home')
// 我的
import MyInfo from '@/pages/myInfo/my-info'
import Certification from '@/pages/myInfo/certification'
const MyInfo = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/my-info')) }, 'myInfo')
const Certification = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/certification')) }, 'myInfo')
// 我的收藏
import MyProductList from '@/pages/myProductCollection/my-product-list'
const MyProductList = resolve => require.ensure([], () => { resolve(require('@/pages/myProductCollection/my-product-list')) }, 'myProductCollection')
// test工具类
import HlsPopup from '@/pages/hlsPopup'
const HlsPopup = resolve => require.ensure([], () => { resolve(require('@/pages/hlsPopup')) }, 'test')
// 用户绑定
import UserBind from '@/pages/userBind/userBind'
import NaturePerson from '@/pages/userBind/np/naturePerson'
import Enterprise from '@/pages/userBind/org/enterprise'
const UserBind = resolve => require.ensure([], () => { resolve(require('@/pages/userBind/userBind')) }, 'userBind')
const NaturePerson = resolve => require.ensure([], () => { resolve(require('@/pages/userBind/np/naturePerson')) }, 'userBind')
const Enterprise = resolve => require.ensure([], () => { resolve(require('@/pages/userBind/org/enterprise')) }, 'userBind')
// 用户绑定new
import EnterpriseNew from '@/pages/userBindNew/org/baseInfo'
import Invoice from '@/pages/userBindNew/org/invoice'
import Enclosure from '@/pages/userBindNew/org/enclosure'
import BankInfo from '@/pages/userBindNew/org/bankInfo'
const EnterpriseNew = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/org/baseInfo')) }, 'bindOrg')
const Invoice = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/org/invoice')) }, 'bindOrg')
const Enclosure = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/org/enclosure')) }, 'bindOrg')
const BankInfo = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/org/bankInfo')) }, 'bindOrg')
// 新版用户绑定
const NPBaseInfo = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/np/base-info')) }, 'bindNp')
const NPInvoiceInfo = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/np/invoice-info')) }, 'bindNp')
const NPBankInfo = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/np/bank-info')) }, 'bindNp')
const AccessoryInfo = resolve => require.ensure([], () => { resolve(require('@/pages/userBindNew/np/accessory-info')) }, 'bindNp')
// 进件审批
import Base from '@/pages/intoApproval/intoApproval/base'
import IntoList from '@/pages/intoApproval/into-list'
import Refund from '@/pages/intoApproval/intoApproval/refund'
const Base = resolve => require.ensure([], () => { resolve(require('@/pages/intoApproval/intoApproval/base')) }, 'intoApproval')
const IntoList = resolve => require.ensure([], () => { resolve(require('@/pages/intoApproval/into-list')) }, 'intoApproval')
const Refund = resolve => require.ensure([], () => { resolve(require('@/pages/intoApproval/intoApproval/refund')) }, 'intoApproval')
// 经销商签约
import ContractList from '@/pages/distributorSign/contract-list'
import ContractDetails from '@/pages/distributorSign/contract-details'
import FinancDetails from '@/pages/distributorSign/financ-details' // 还款计划
const ContractList = resolve => require.ensure([], () => { resolve(require('@/pages/distributorSign/contract-list')) }, 'distributorSign')
const ContractDetails = resolve => require.ensure([], () => { resolve(require('@/pages/distributorSign/contract-details')) }, 'distributorSign')
const FinancDetails = resolve => require.ensure([], () => { resolve(require('@/pages/distributorSign/financ-details')) }, 'distributorSign')// 还款计划
// 融资试算
import FinancingTrial from '@/pages/financingTrial/financing-trial'
import FinancingDetails from '@/pages/financingTrial/financing-details' // 融资明细
import TrialRepayPlan from '@/pages/financingTrial/trial-repay-plan'
const FinancingTrial = resolve => require.ensure([], () => { resolve(require('@/pages/financingTrial/financing-trial')) }, 'financingTrial')
const FinancingDetails = resolve => require.ensure([], () => { resolve(require('@/pages/financingTrial/financing-details')) }, 'financingTrial')// 融资明细
const TrialRepayPlan = resolve => require.ensure([], () => { resolve(require('@/pages/financingTrial/trial-repay-plan')) }, 'financingTrial')
// 融租方案确认
import ContractSigning from '../pages/contractSigning/contract-signing'
import ContractDetail from '@/pages/ContractSigning/contract-detail'
import ContractContent from '@/pages/ContractSigning/contract-content'
import EntryInfo from '@/pages/ContractSigning/entry-info'
import ElectronicSign from '@/pages/ContractSigning/electronic-sign'
/* import BodyCheck from '@/pages/ContractSigning/body-check' */
import ContractRepayPlan from '@/pages/ContractSigning/contract-repay-plan'
const ContractSigning = resolve => require.ensure([], () => { resolve(require('@/pages/contractSigning/contract-signing')) }, 'contractSigning')
const ContractDetail = resolve => require.ensure([], () => { resolve(require('@/pages/ContractSigning/contract-detail')) }, 'contractSigning')
const ContractContent = resolve => require.ensure([], () => { resolve(require('@/pages/ContractSigning/contract-content')) }, 'contractSigning')
const EntryInfo = resolve => require.ensure([], () => { resolve(require('@/pages/ContractSigning/entry-info')) }, 'contractSigning')
const ElectronicSign = resolve => require.ensure([], () => { resolve(require('@/pages/ContractSigning/electronic-sign')) }, 'contractSigning')
/* const BodyCheck = resolve=>require.ensure([],()=>{resolve(require(@/pages/ContractSigning/body-check')) }, 'contractSigning') */
const ContractRepayPlan = resolve => require.ensure([], () => { resolve(require('@/pages/ContractSigning/contract-repay-plan')) }, 'contractSigning')
// 首付款支付
import FirstPay from '../pages/pay/firstPay/first-pay'
import PayEntry from '@/pages/pay/firstPay/pay-entry'
import ContractRecord from '@/pages/pay/firstPay/contract-record'
const FirstPay = resolve => require.ensure([], () => { resolve(require('@/pages/pay/firstPay/first-pay')) }, 'firstPay')
const PayEntry = resolve => require.ensure([], () => { resolve(require('@/pages/pay/firstPay/pay-entry')) }, 'firstPay')
const ContractRecord = resolve => require.ensure([], () => { resolve(require('@/pages/pay/firstPay/contract-record')) }, 'pay')
// 款项支付
import PaymentPayEntry from '@/pages/pay/payment/pay-entry'
import PaymentContractRecord from '@/pages/pay/payment/contract-record'
import NewList from '@/pages/pay/payment/new-list'
const PaymentPayEntry = resolve => require.ensure([], () => { resolve(require('@/pages/pay/payment/pay-entry')) }, 'pay')
const PaymentContractRecord = resolve => require.ensure([], () => { resolve(require('@/pages/pay/payment/contract-record')) }, 'pay')
const NewList = resolve => require.ensure([], () => { resolve(require('@/pages/pay/payment/new-list')) }, 'pay')
// 保证金支付
import MarginFirstPay from '@/pages/pay/marginPay/first-pay'
import MarginPayEntry from '@/pages/pay/marginPay/pay-entry'
const MarginFirstPay = resolve => require.ensure([], () => { resolve(require('@/pages/pay/marginPay/first-pay')) }, 'pay')
const MarginPayEntry = resolve => require.ensure([], () => { resolve(require('@/pages/pay/marginPay/pay-entry')) }, 'pay')
// 支付页
import PayPage from '@/pages/pay/pay-page'
const PayPage = resolve => require.ensure([], () => { resolve(require('@/pages/pay/pay-page')) }, 'pay')
// 产品查询
import QueryHome from '@/pages/productQuery/query-home'
import ProDetailed from '@/pages/productQuery/product-detailed'
const QueryHome = resolve => require.ensure([], () => { resolve(require('@/pages/productQuery/query-home')) }, 'productQuery')
const ProDetailed = resolve => require.ensure([], () => { resolve(require('@/pages/productQuery/product-detailed')) }, 'productQuery')
// 消息中心
import MessageCenter from '@/pages/messageCenter/message-list'
import ProductList from '@/pages/productQuery/product-list'
import EntityList from '@/pages/productQuery/entity-list'
import RejectDetail from '@/pages/messageCenter/reject-detail'
const MessageCenter = resolve => require.ensure([], () => { resolve(require('@/pages/messageCenter/message-list')) }, 'messageCenter')
const ProductList = resolve => require.ensure([], () => { resolve(require('@/pages/productQuery/product-list')) }, 'productQuery')
const EntityList = resolve => require.ensure([], () => { resolve(require('@/pages/productQuery/entity-list')) }, 'productQuery')
const RejectDetail = resolve => require.ensure([], () => { resolve(require('@/pages/messageCenter/reject-detail')) }, 'messageCenter')
// 帮助与反馈
import HelpList from '@/pages/help/help-list'
import HelpDetail from '@/pages/help/detail'
import HelpFeedback from '@/pages/help/feedback'
const HelpList = resolve => require.ensure([], () => { resolve(require('@/pages/help/help-list')) }, 'help')
const HelpDetail = resolve => require.ensure([], () => { resolve(require('@/pages/help/detail')) }, 'help')
const HelpFeedback = resolve => require.ensure([], () => { resolve(require('@/pages/help/feedback')) }, 'help')
// 我的还款
import ReimburseMyselfList from '@/pages/reimburseMyself/reimburse-myself-list'
import ReimburseDetail from '@/pages/reimburseMyself/reimburse-detail'
const ReimburseMyselfList = resolve => require.ensure([], () => { resolve(require('@/pages/reimburseMyself/reimburse-myself-list')) }, 'reimburseMyself')
const ReimburseDetail = resolve => require.ensure([], () => { resolve(require('@/pages/reimburseMyself/reimburse-detail')) }, 'reimburseMyself')
// 合同还款
import ContractRepayment from '@/pages/contractRepayment/contract-repayment'
import RepayDetails from '@/pages/contractRepayment/repay-details'
import RepayPlan from '@/pages/contractRepayment/refund'
const ContractRepayment = resolve => require.ensure([], () => { resolve(require('@/pages/contractRepayment/contract-repayment')) }, 'contractRepayment')
const RepayDetails = resolve => require.ensure([], () => { resolve(require('@/pages/contractRepayment/repay-details')) }, 'contractRepayment')
const RepayPlan = resolve => require.ensure([], () => { resolve(require('@/pages/contractRepayment/refund')) }, 'contractRepayment')
// 融资合同创建
import StartList from '@/pages/contractStart/start-list'
import AddCar from '@/pages/contractStart/add-car'
const StartList = resolve => require.ensure([], () => { resolve(require('@/pages/contractStart/start-list')) }, 'contractStart')
const AddCar = resolve => require.ensure([], () => { resolve(require('@/pages/contractStart/add-car')) }, 'contractStart')
// 合同签订
import ConfirmDetail from '@/pages/carConfirm/confirm-detail'
import ConfirmList from '@/pages/carConfirm/confirm-list'
const ConfirmDetail = resolve => require.ensure([], () => { resolve(require('@/pages/carConfirm/confirm-detail')) }, 'carConfirm')
const ConfirmList = resolve => require.ensure([], () => { resolve(require('@/pages/carConfirm/confirm-list')) }, 'carConfirm')
// 合同查询
import ContractRecords from '@/pages/contractInquire/contract-records'
import RepayDetail from '@/pages/contractInquire/repay-detail'
import RepayPlans from '@/pages/contractInquire/repay-plans'
const ContractRecords = resolve => require.ensure([], () => { resolve(require('@/pages/contractInquire/contract-records')) }, 'contractInquire')
const RepayDetail = resolve => require.ensure([], () => { resolve(require('@/pages/contractInquire/repay-detail')) }, 'contractInquire')
const RepayPlans = resolve => require.ensure([], () => { resolve(require('@/pages/contractInquire/repay-plans')) }, 'contractInquire')
// 业务退款
import DrawbackList from '@/pages/drawback/drawback-list'
import DrawbackDetail from '@/pages/drawback/drawback-detail'
const DrawbackList = resolve => require.ensure([], () => { resolve(require('@/pages/drawback/drawback-list')) }, 'drawback')
const DrawbackDetail = resolve => require.ensure([], () => { resolve(require('@/pages/drawback/drawback-detail')) }, 'drawback')
// 视屏面签
import VideoSign from '@/pages/videoSign/video-list'
// 新版用户绑定
import NPBaseInfo from '@/pages/userBindNew/np/base-info'
import NPInvoiceInfo from '@/pages/userBindNew/np/invoice-info'
import NPBankInfo from '@/pages/userBindNew/np/bank-info'
import AccessoryInfo from '@/pages/userBindNew/np/accessory-info'
const VideoSign = resolve => require.ensure([], () => { resolve(require('@/pages/videoSign/video-list')) }, 'videoSign')
// 合同创建
import MyContract from '@/pages/contractCreate/my-contract'
import ContractCreateList from '@/pages/contractCreate/contract-create-list'
import SalesInfo from '@/pages/contractCreate/sales-info'
import PickLessee from '@/pages/contractCreate/pick-lessee'
import CreateBaseInfo from '@/pages/contractCreate/create-base-info'
import CreateRentInfo from '@/pages/contractCreate/creat-rent-info'
import CreateEnclosureInfo from '@/pages/contractCreate/create-enclosure-info'
import previewPdf from '@/pages/contractSigning/previewPdf'
import Addundertake from '@/pages/contractCreate/add-undertake'
const MyContract = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/my-contract')) }, 'contractCreate')
const ContractCreateList = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/contract-create-list')) }, 'contractCreate')
const SalesInfo = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/sales-info')) }, 'contractCreate')
const PickLessee = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/pick-lessee')) }, 'contractCreate')
const CreateBaseInfo = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/create-base-info')) }, 'contractCreate')
const CreateRentInfo = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/creat-rent-info')) }, 'contractCreate')
const CreateEnclosureInfo = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/create-enclosure-info')) }, 'contractCreate')
const previewPdf = resolve => require.ensure([], () => { resolve(require('@/pages/contractSigning/previewPdf')) }, 'contractSigning')
const Addundertake = resolve => require.ensure([], () => { resolve(require('@/pages/contractCreate/add-undertake')) }, 'contractCreate')
import About from '@/pages/myInfo/About'
import ContactUs from '@/pages/myInfo/ContactUs'
import Setting from '@/pages/myInfo/setting'
import UserAgree from '@/pages/myInfo/UserAgreement'
import PrivacyPolicy from '@/pages/myInfo/PrivacyPolicy'
const About = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/About')) }, 'myInfo')
const ContactUs = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/ContactUs')) }, 'myInfo')
const Setting = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/setting')) }, 'myInfo')
const UserAgree = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/UserAgreement')) }, 'myInfo')
const PrivacyPolicy = resolve => require.ensure([], () => { resolve(require('@/pages/myInfo/PrivacyPolicy')) }, 'myInfo')
// 业务办理
import FunctionCenter from '@/pages/functionCenter/function-list'
const FunctionCenter = resolve => require.ensure([], () => { resolve(require('@/pages/functionCenter/function-list')) }, 'functionCenter')
// 待办审批
import ToDoList from '@/pages/functionCenter/to-do-list'
import approvalInfo from '@/pages/functionCenter/approval-info'
const ToDoList = resolve => require.ensure([], () => { resolve(require('@/pages/functionCenter/to-do-list')) }, 'functionCenter')
const approvalInfo = resolve => require.ensure([], () => { resolve(require('@/pages/functionCenter/approval-info')) }, 'functionCenter')
// 我的发票
import MyInvoice from '@/pages/invoice/invoice'
import NewsList from '@/pages/news/newslist'
import NewsInfo from '@/pages/news/NewsInfo'
const MyInvoice = resolve => require.ensure([], () => { resolve(require('@/pages/invoice/invoice')) }, 'invoice')
const NewsList = resolve => require.ensure([], () => { resolve(require('@/pages/news/newslist')) }, 'news')
const NewsInfo = resolve => require.ensure([], () => { resolve(require('@/pages/news/NewsInfo')) }, 'news')
Vue.use(Router)
export default new Router({
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=./cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.d55afc4cf38a1bfcc3980120b9df06f9.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.7191c48e0b160a3ab672.js></script><script type=text/javascript src=./static/js/app.ca0eb597f109f5c572c3.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=./cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.639b6df732adf63dae328f1593b59570.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.218b13cb8652090c3877.js></script><script type=text/javascript src=./static/js/vendor.cf2df294c770beff4ed8.js></script><script type=text/javascript src=./static/js/app.65c453c4bb4f8e7f93fe.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment