Commit 4f42e08f authored by 李晓兵's avatar 李晓兵

Merge branch 'develop' of https://hel.hand-china.com/xugong/hls-xcmg-vue-app into develop

parents c88d8dc1 7aca929c
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
let url = process.env.basePath + 'do_car_confirm' let url = process.env.basePath + 'do_car_confirm'
let param = { let param = {
master: { master: {
contract_id: '123', project_id: this.$route.params.project_id,
confirm_status: 'APPROVED', confirm_status: 'APPROVED',
}, },
} }
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
:updateData="[showList]" :updateData="[showList]"
:pullUp="true" :pullUp="true"
> >
<div v-for="(item,index) in showList" :key="index" class="item" @click="changePage(item.project_id)"> <div v-for="(item,index) in showList" :key="index" class="item" @click="changePage(item)">
<div class="left"> <div class="left">
<span> <span>
<img src="@/assets/contractStart/icon.png" > <img src="@/assets/contractStart/icon.png" >
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
this.$router.push({ this.$router.push({
name: 'ConfirmDetail', name: 'ConfirmDetail',
params: { params: {
project_id: e, project_id: e.project_id,
}, },
}) })
}, },
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
<div><span>年利率</span><p>{{ item.int_rate_n }}</p></div> <div><span>年利率</span><p>{{ item.int_rate_n }}</p></div>
<div><span>期限</span><p>{{ item.lease_times }}</p></div> <div><span>期限</span><p>{{ item.lease_times }}</p></div>
<div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div> <div><span>融资金额</span><p class="bold">{{ item.finance_amount | currency }}</p></div>
<span class="red">逾期一周</span> <span class="red">逾期{{ item.due_times }}</span>
<section @click="toRepayDetail(item.project_id)"> <section @click="toRepayDetail(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="center"> <div class="center">
<div><span>合同金额</span><p>{{ item.total_price|currency }}</p></div> <div><span>合同金额</span><p>{{ item.total_price|currency }}</p></div>
<div><span>已还金额</span><p class="bold">{{ item.recivied_amount|currency }}</p></div> <div><span>已还金额</span><p class="bold">{{ item.recivied_amount|currency }}</p></div>
<span class="red">逾期{{ item.overdue_days }}</span> <span class="red">逾期{{ item.overdue_times }}</span>
<section @click="toRepayDetails(item.project_id)"> <section @click="toRepayDetails(item.project_id)">
<img src="@/assets/contractRepayment/view.png" alt=""> <img src="@/assets/contractRepayment/view.png" alt="">
<span>查看合同明细</span> <span>查看合同明细</span>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</item> </item>
<item> <item>
<div slot="name">经销商</div> <div slot="name">经销商</div>
<div slot="content">{{ detailInfo.agent_bp_name }}代理商</div> <div slot="content">{{ detailInfo.bp_agent_name }}代理商</div>
</item> </item>
<item> <item>
<div slot="name">承租人</div> <div slot="name">承租人</div>
......
This diff is collapsed.
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div class="top" style="margin-top:-1px;"> <div class="top" style="margin-top:-1px;">
<div class="card-top"> <div class="card-top">
<img src="@/assets/myInfo/1.png" @click="changePageHead" > <img src="@/assets/myInfo/1.png" @click="checkType" >
<div class="sign"> <div class="sign">
<span>{{ user_phone }}</span> <span>{{ user_phone }}</span>
<div> <div>
...@@ -195,8 +195,8 @@ export default { ...@@ -195,8 +195,8 @@ export default {
this.$router.push({ this.$router.push({
name: 'ContractSigning', name: 'ContractSigning',
params: { params: {
user_bp_type: this.user_bp_type, user_bp_type: this.user_bp_type,
}, },
}) })
} }
} else { } else {
...@@ -326,14 +326,6 @@ export default { ...@@ -326,14 +326,6 @@ export default {
}, },
}) })
}, },
showActionSheet () {
this.hlsPopup.showActionSheet({
buttonArray: ['查看头像', '选择头像'],
callback: (index) => {
console.log(index)
},
})
},
unBind () { unBind () {
let vm = this let vm = this
hlsPopup.showConfirm({ hlsPopup.showConfirm({
...@@ -373,6 +365,20 @@ export default { ...@@ -373,6 +365,20 @@ export default {
}, },
}) })
}, },
checkType () {
this.hlsPopup.showActionSheet({
buttonArray: this.bp_id === undefined ? ['修改头像'] : ['修改头像', '用户信息', '角色切换'],
callback: (index) => {
if (index === 0) {
hlsPopup.showLongCenter('修改头像功能敬请期待!')
} else if (index === 1) {
this.changePageHead()
} else if (index === 2) {
hlsPopup.showLongCenter('角色切换功能敬请期待!')
}
},
})
},
changePageHead () { changePageHead () {
let vm = this let vm = this
if (vm.bp_id) { if (vm.bp_id) {
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</template> </template>
<script> <script>
var CryptoJS = require('crypto-js') var CryptoJS = require('crypto-js')
export default { export default {
data () { data () {
return { return {
...@@ -167,7 +167,7 @@ export default { ...@@ -167,7 +167,7 @@ export default {
let md5passwprd = CryptoJS.MD5(vm.user_password).toString().toUpperCase() let md5passwprd = CryptoJS.MD5(vm.user_password).toString().toUpperCase()
let params = { let params = {
phone: vm.phone_number, phone: vm.phone_number,
password: md5passwprd password: md5passwprd,
} }
hlsHttp.post(url, params).then(function (res) { hlsHttp.post(url, params).then(function (res) {
if (res.result === 'S') { if (res.result === 'S') {
......
This diff is collapsed.
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
> >
<div class="card-info"> <div class="card-info">
<span class="name">{{ item.bank_full_name }}</span> <span class="name">{{ item.bank_full_name }}</span>
<span class="card-type">{{ item.bank_card_type }}</span> <span class="card-type">{{ selectType(item.bank_card_type) }}</span>
<span class="number">卡号</span> <span class="number">卡号</span>
<span class="card-number">**** **** **** {{ selectLast (item) }}</span> <span class="card-number">**** **** **** {{ selectLast (item) }}</span>
</div> </div>
...@@ -66,6 +66,15 @@ export default { ...@@ -66,6 +66,15 @@ export default {
} }
}, },
methods: { methods: {
selectType (e) {
if (e === '0') {
return '未知类型'
} else if (e === '1') {
return '信用卡'
} else if (e === '2') {
return '储蓄卡'
}
},
sendFlag (isClear) { sendFlag (isClear) {
this.showModalValue = true this.showModalValue = true
this.$emit('getInfo', this.showModalValue, isClear) this.$emit('getInfo', this.showModalValue, isClear)
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
> >
<div class="card-info" > <div class="card-info" >
<span class="name">{{ item.bank_full_name }}</span> <span class="name">{{ item.bank_full_name }}</span>
<span class="card-type">{{ item.bank_card_type }}</span> <span class="card-type">{{ selectType(item.bank_card_type) }}</span>
<span class="number">卡号</span> <span class="number">卡号</span>
<span class="card-number">**** **** **** {{ selectLast (item) }}</span> <span class="card-number">**** **** **** {{ selectLast (item) }}</span>
</div> </div>
...@@ -73,6 +73,15 @@ export default { ...@@ -73,6 +73,15 @@ export default {
} }
}, },
methods: { methods: {
selectType (e) {
if (e === '0') {
return '未知类型'
} else if (e === '1') {
return '信用卡'
} else if (e === '2') {
return '储蓄卡'
}
},
sendFlag (isClear) { sendFlag (isClear) {
this.showModalValue = true this.showModalValue = true
this.$emit('getInfo', this.showModalValue, isClear) this.$emit('getInfo', this.showModalValue, isClear)
......
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