Commit f742bf9e authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents b4995a8e 0c43cafe
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 19:58:14 * @LastEditTime: 2019-10-25 11:06:38
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<item> <item>
<div slot="name" >银行卡卡号</div> <div slot="name" >银行卡卡号</div>
<input <input
slot="content" v-model="bank_lists[0].bank_account_num" type="text" readonly slot="content" v-model="bank_lists[0].bank_account_num" type="text"
placeholder="上传银行卡自动填充" placeholder="上传银行卡自动填充"
> >
</item> </item>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<item> <item>
<div slot="name" >银行名称</div> <div slot="name" >银行名称</div>
<input <input
slot="content" v-model="bank_lists[0].bank_full_name" readonly type="text" slot="content" v-model="bank_lists[0].bank_full_name" type="text"
placeholder="请输入银行名称"> placeholder="请输入银行名称">
</item> </item>
<item> <item>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: 合同详情 * @Description: 合同详情
* @Author: your name * @Author: your name
* @Date: 2019-09-25 15:38:21 * @Date: 2019-09-25 15:38:21
* @LastEditTime: 2019-10-25 10:00:25 * @LastEditTime: 2019-10-25 11:41:16
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -315,32 +315,38 @@ export default { ...@@ -315,32 +315,38 @@ export default {
onConfirm: (data) => { onConfirm: (data) => {
console.log(data) console.log(data)
if (data) { if (data) {
let vm = this this.issure('APPROVED')
let url = process.env.basePath + 'do_confrim_bp' } else {
let param = { this.issure('REJECTED')
'master': {
confirm_id: vm.$route.params.confirm_id,
confirm_status: status,
confirm_note: vm.confirm_note,
},
}
vm.hlsPopup.showLoading('提交数据中!')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.showSuccess('签约成功')
vm.$router.push({
name: 'ContractList',
})
} else {
vm.hlsPopup.showSuccess(res.message)
}
})
} }
}, },
}) })
}, },
issure (status) {
let vm = this
let url = process.env.basePath + 'do_confrim_bp'
let param = {
'master': {
confirm_id: vm.$route.params.confirm_id,
confirm_status: status,
confirm_note: vm.confirm_note,
},
}
vm.hlsPopup.showLoading('提交数据中!')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.showSuccess('签约成功')
vm.$router.push({
name: 'ContractList',
})
} else {
vm.hlsPopup.showSuccess(res.message)
}
})
},
// 基本信息 // 基本信息
getBseMsg () { getBseMsg () {
let vm = this let vm = this
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip: 产品明细 * @Descrip: 产品明细
* @Author: your name * @Author: your name
* @Date: 2019-10-15 14:30:00 * @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-23 20:06:47 * @LastEditTime: 2019-10-25 10:49:37
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -139,6 +139,7 @@ export default { ...@@ -139,6 +139,7 @@ export default {
next(vm => { next(vm => {
vm.tabNum = 0 vm.tabNum = 0
vm.product_id = vm.$route.params.product_id vm.product_id = vm.$route.params.product_id
vm.bp_id = vm.$route.params.bp_id
vm.baseMsg() vm.baseMsg()
vm.detailMsg() vm.detailMsg()
vm.confgMsg() vm.confgMsg()
...@@ -167,7 +168,7 @@ export default { ...@@ -167,7 +168,7 @@ export default {
}, },
// 收藏 // 收藏
collect () { collect () {
console.log('collect', window.sessionStorage.getItem('collect_status')) console.log('collect', window.sessionStorage.getItem('collect_status'), window.sessionStorage.bp_id)
if (window.sessionStorage.getItem('collect_status') === 'Y') { if (window.sessionStorage.getItem('collect_status') === 'Y') {
let vm = this let vm = this
// this.hlsPopup.showConfirm({ // this.hlsPopup.showConfirm({
...@@ -181,6 +182,7 @@ export default { ...@@ -181,6 +182,7 @@ export default {
master: { master: {
product_id: vm.product_id, product_id: vm.product_id,
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
bp_id: vm.bp_id,
}, },
} }
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -209,6 +211,7 @@ export default { ...@@ -209,6 +211,7 @@ export default {
master: { master: {
product_id: vm.product_id, product_id: vm.product_id,
user_phone: window.localStorage.user_phone, user_phone: window.localStorage.user_phone,
bp_id: vm.bp_id,
}, },
} }
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</div> </div>
</div> </div>
<list-item v-for="item in lists" :key="item.product_id"> <list-item v-for="item in lists" :key="item.product_id">
<item :proportion="[1,4]" @click.native="goDetailed(item.product_id,item.collect_status)"> <item :proportion="[1,4]" @click.native="goDetailed(item.product_id,item.collect_status,item.bp_id)">
<div slot="name" class="item-pic"> <div slot="name" class="item-pic">
<img src="@/assets/homePage/WechatIMG2 Copy@2x.png" alt=""> <img src="@/assets/homePage/WechatIMG2 Copy@2x.png" alt="">
</div> </div>
...@@ -88,12 +88,13 @@ export default { ...@@ -88,12 +88,13 @@ export default {
}) })
}, },
// val:产品id, status: 收藏状态 // val:产品id, status: 收藏状态
goDetailed (val, status) { goDetailed (val, status, bp_id) {
window.sessionStorage.setItem('collect_status', status) window.sessionStorage.setItem('collect_status', status)
this.$router.push({ this.$router.push({
name: 'ProDetailed', name: 'ProDetailed',
params: { params: {
product_id: val, product_id: val,
bp_id: bp_id,
// collect_status: status, // collect_status: status,
}, },
}) })
......
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