Commit 43e77420 authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents 1a375898 bdce7ad3
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-23 18:37:15 * @LastEditTime: 2019-10-24 10:21:55
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<img src="@/assets/constractSigning/read.png" alt="" class="read"> <img src="@/assets/constractSigning/read.png" alt="" class="read">
</div> </div>
<div slot="content" class="in-all"> <div slot="content" class="in-all">
<div v-show="confirm_status === 'SUBMIT'" @click="entryInfo"><img src="@/assets/constractSigning/scan.png" alt=""></div> <div @click="entryInfo"><img src="@/assets/constractSigning/scan.png" alt=""></div>
<div @click="goContractContent('农行代扣授权书')"><img src="@/assets/constractSigning/detail.png" alt=""></div> <div @click="goContractContent('农行代扣授权书')"><img src="@/assets/constractSigning/detail.png" alt=""></div>
</div> </div>
...@@ -197,11 +197,11 @@ export default { ...@@ -197,11 +197,11 @@ export default {
}, },
activated () { activated () {
// console.log('...........', this.$route.params.confirm_status) // console.log('...........', this.$route.params.confirm_status)
if (window.sessionStorage.getItem('add_status') === 'true') { // 根据add_status值改变entry_info_flag,传入银行卡录入页面,负责重置数据与否 // if (window.sessionStorage.getItem('add_status') === 'true') { // 根据add_status值改变entry_info_flag,传入银行卡录入页面,负责重置数据与否
this.entry_info_flag = true // this.entry_info_flag = true
} else { // } else {
this.entry_info_flag = false // this.entry_info_flag = false
} // }
}, },
methods: { methods: {
// 合同商务条件查询 // 合同商务条件查询
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-24 09:24:21 * @LastEditTime: 2019-10-24 10:32:12
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -100,7 +100,8 @@ export default { ...@@ -100,7 +100,8 @@ export default {
activated () { activated () {
this.name = this.$route.params.name this.name = this.$route.params.name
this.bankCardQuery() this.bankCardQuery()
if (this.project_id !== this.$route.params.project_id || !this.$route.params.entry_info_flag) { // || !this.$route.params.entry_info_flag
if (this.project_id !== this.$route.params.project_id) {
this.project_id = this.$route.params.project_id this.project_id = this.$route.params.project_id
this.bankImg = '' this.bankImg = ''
this.bank_lists = [ this.bank_lists = [
...@@ -233,6 +234,9 @@ export default { ...@@ -233,6 +234,9 @@ export default {
} }
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
console.log('bankcardinfo。。。。。。。。。。。。', res) console.log('bankcardinfo。。。。。。。。。。。。', res)
if (!(JSON.stringify(res.info) === '{}')) {
vm.bank_lists[0] = res.info
}
}) })
}, },
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip 融资试算 * @Descrip 融资试算
* @Author: your name * @Author: your name
* @Date: 2019-09-29 17:09:49 * @Date: 2019-09-29 17:09:49
* @LastEditTime: 2019-10-18 10:11:01 * @LastEditTime: 2019-10-24 10:52:13
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -70,6 +70,19 @@ export default { ...@@ -70,6 +70,19 @@ export default {
} }
next() next()
}, },
activated () {
// let vm = this
// let url = $config.basePath + 'con_bank_query'
// let param = {
// project_id: vm.$route.params.project_id,
// }
// vm.hlsHttp.post(url, param).then(function (res) {
// console.log('bankcardinfo。。。。。。。。。。。。', res)
// if (!(JSON.stringify(res.info) === '{}')) {
// vm.bank_lists[0] = res.info
// }
// })
},
created () { created () {
}, },
......
<!--
* @Author: your name
* @Date: 2019-10-22 20:26:28
* @LastEditTime: 2019-10-24 12:28:54
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \hls-xcmg-vue-app\src\pages\myProductCollection\my-product-list.Vue
-->
/** /**
* @Author Sean * @Author Sean
* @Date 2019/10/22 * @Date 2019/10/22
*/ */
<template> <template>
<h-view class="public-style" style="height: 100%"> <h-view class="public-style" style="height: 100%">
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()"> <img src="@/assets/userBind/arrow.png" @click="$routeGo()">
<span>我的收藏</span> <span>我的收藏</span>
</div>
</h-header>
<h-content>
<div class="hinput">
<div class="search-box">
<input type="text" placeholder="请输入经销商/产品名称/参数项">
<img src="@/assets/distributorSign/search.png" alt="">
</div> </div>
</h-header> </div>
<h-content> <list-item v-for="item in productList" :key="item.product_id">
<div class="hinput"> <item :proportion="[1,4]" @click.native="goDetailed(item.product_id,item.collect_status)">
<div class="search-box"> <div slot="name" class="item-pic">
<input type="text" placeholder="请输入经销商/产品名称/参数项"> <img src="@/assets/homePage/WechatIMG2 Copy@2x.png" alt="">
<img src="@/assets/distributorSign/search.png" alt=""> </div>
<div slot="content" class="item-content">
<div class="centers">
<p class="firsts1">经销商</p>
<p class="seconds1">{{ item.bp_name }}</p>
</div>
<div class="centers">
<p class="firsts1">参数项</p>
<p class="seconds1">{{ item.product_code }}</p>
</div>
<div class="centers">
<p class="firsts1">产品名称</p>
<p class="seconds1">{{ item.product_name }}</p>
</div> </div>
</div> </div>
<list-item v-for="item in productList" :key="item.product_id"> <div slot="right-icon">
<item :proportion="[1,4]" @click.native="goDetailed(item.product_id,item.collect_status)"> <img class="arrow" src="@/assets/productQuery/getIn.png" alt="" >
<div slot="name" class="item-pic"> </div>
<img src="@/assets/homePage/WechatIMG2 Copy@2x.png" alt=""> </item>
</div> </list-item>
<div slot="content" class="item-content"> </h-content>
<div class="centers"> </h-view>
<p class="firsts1">经销商</p>
<p class="seconds1">{{ item.bp_name }}</p>
</div>
<div class="centers">
<p class="firsts1">参数项</p>
<p class="seconds1">{{ item.product_code }}</p>
</div>
<div class="centers">
<p class="firsts1">产品名称</p>
<p class="seconds1">{{ item.product_name }}</p>
</div>
</div>
<div slot="right-icon">
<img class="arrow" src="@/assets/productQuery/getIn.png" alt="" >
</div>
</item>
</list-item>
</h-content>
</h-view>
</template> </template>
<script> <script>
export default { export default {
data() { data () {
return { return {
productList: [], productList: [],
}
},
created: function () {
},
mounted: function () {
},
updated: function () {
},
destroyed: function () {
},
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'MyInfo') {
vm.getList()
}
})
},
methods: {
getList(){
let vm = this
let url = $config.basePath + 'my_collection_query'
let param = {
user_phone: window.localStorage.getItem('user_phone'),
}
vm.$post(url, param).then(function (res) {
if (res.result === 'S') {
vm.productList = res.lists
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// val:产品id, status: 收藏状态
goDetailed (val, status) { // 进入产品查询功能明细页面
window.sessionStorage.setItem('collect_status', status)
this.$router.push({
name: 'ProDetailed',
params: {
product_id: val,
// collect_status: status,
},
})
},
}
} }
},
created: function () {
},
mounted: function () {
},
updated: function () {
},
destroyed: function () {
},
beforeRouteEnter (to, from, next) {
next(vm => {
if (from.name === 'MyInfo') {
vm.getList()
}
})
},
methods: {
getList () {
let vm = this
let url = $config.basePath + 'my_collection_query'
let param = {
user_phone: window.localStorage.getItem('user_phone'),
}
vm.$post(url, param).then(function (res) {
if (res.result === 'S') {
vm.productList = res.lists
} else {
hlsPopup.showLongCenter(res.message)
}
})
},
// val:产品id, status: 收藏状态
goDetailed (val, status) { // 进入产品查询功能明细页面
window.sessionStorage.setItem('collect_status', status)
this.$router.push({
name: 'ProDetailed',
params: {
product_id: val,
// collect_status: status,
},
})
},
},
}
</script> </script>
<style scoped lang="less" rel="stylesheet"> <style scoped lang="less" rel="stylesheet">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-19 09:31:19 * @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-10-23 14:04:33 * @LastEditTime: 2019-10-24 10:00:33
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -781,6 +781,9 @@ export default { ...@@ -781,6 +781,9 @@ export default {
case 'bp_type': case 'bp_type':
vm.hlsPopup.showLongCenter('客户类型未填写') vm.hlsPopup.showLongCenter('客户类型未填写')
break break
case 'agent_username':
vm.hlsPopup.showLongCenter('业务经办员工代码未填写')
break
case 'bp_name': case 'bp_name':
vm.hlsPopup.showLongCenter('公司名称未填写') vm.hlsPopup.showLongCenter('公司名称未填写')
break break
......
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