Commit 4919e022 authored by 李晓兵's avatar 李晓兵

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

parents 583f160c bde8fe52
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-23 17:25:35 * @LastEditTime: 2019-10-23 18:37:15
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -172,6 +172,7 @@ export default { ...@@ -172,6 +172,7 @@ export default {
isshow: false, // 提示框的显示与隐藏 isshow: false, // 提示框的显示与隐藏
num: 0, num: 0,
project_id: '', project_id: '',
confirm_id: '',
conditionInfo: {}, conditionInfo: {},
check1: Check1, check1: Check1,
check2: Check2, check2: Check2,
...@@ -187,6 +188,7 @@ export default { ...@@ -187,6 +188,7 @@ export default {
if (from.name === 'ContractSigning') { if (from.name === 'ContractSigning') {
next(vm => { next(vm => {
vm.project_id = vm.$route.params.project_id vm.project_id = vm.$route.params.project_id
vm.confirm_id = vm.$route.params.confirm_id
vm.confirm_status = vm.$route.params.confirm_status vm.confirm_status = vm.$route.params.confirm_status
vm.conditionQuery() vm.conditionQuery()
}) })
...@@ -250,19 +252,22 @@ export default { ...@@ -250,19 +252,22 @@ export default {
console.log(typeof window.sessionStorage.getItem('add_status')) console.log(typeof window.sessionStorage.getItem('add_status'))
if (window.sessionStorage.getItem('add_status') === 'true') { if (window.sessionStorage.getItem('add_status') === 'true') {
// this.entry_info_flag = true // this.entry_info_flag = true
// let vm = this let vm = this
// let url = $config.basePath + 'con_bp_confirm' let url = $config.basePath + 'con_bp_confirm'
// let param = { let param = {
// project_id: this.$route.params.project_id, master: {
// } confirm_id: vm.confirm_id,
// vm.hlsHttp.post(url, param).then(function (res) { con_confirm_status: vm.confirm_status,
// console.log('商务条件', res) },
}
vm.hlsHttp.post(url, param).then(function (res) {
console.log('商务条件', res)
// if (res.result === 'S') { // if (res.result === 'S') {
// vm.conditionInfo = res.info // vm.conditionInfo = res.info
// } else { // } else {
// hlsPopup.showLongCenter(res.message) // hlsPopup.showLongCenter(res.message)
// } // }
// }) })
} else { } else {
this.isshow = true this.isshow = true
// this.entry_info_flag = false // this.entry_info_flag = false
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-23 16:59:58 * @LastEditTime: 2019-10-23 18:36:01
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<p class="incoming-num">进件号</p> <p class="incoming-num">进件号</p>
<p class="code">{{ item.project_number }}</p> <p class="code">{{ item.project_number }}</p>
</div> </div>
<div class="details" @click="goDetails(item.project_id,item.con_confirm_status)"> <div class="details" @click="goDetails(item.project_id,item.con_confirm_status,item.confirm_id)">
<div class="option"> <div class="option">
<p class="name">承租人</p> <p class="name">承租人</p>
<p class="full-name normal">{{ item.bp_name }}</p> <p class="full-name normal">{{ item.bp_name }}</p>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<p class="incoming-num">进件号</p> <p class="incoming-num">进件号</p>
<p class="code">{{ item.project_number }}</p> <p class="code">{{ item.project_number }}</p>
</div> </div>
<div class="details" @click="goDetails(item.project_id,item.con_confirm_status)"> <div class="details" @click="goDetails(item.project_id,item.con_confirm_status,item.confirm_id)">
<div class="option"> <div class="option">
<p class="name">承租人</p> <p class="name">承租人</p>
<p class="full-name normal">{{ item.bp_name }}</p> <p class="full-name normal">{{ item.bp_name }}</p>
...@@ -126,13 +126,14 @@ export default { ...@@ -126,13 +126,14 @@ export default {
}) })
}, },
// val: project_id, status: confirm_status // val: project_id, status: confirm_status
goDetails (val, status) { // 银行卡录入页面keep alive为true,根据project_id和add_status重置页面 goDetails (val, status, id) { // 银行卡录入页面keep alive为true,根据project_id和add_status重置页面
window.sessionStorage.setItem('add_status', false) window.sessionStorage.setItem('add_status', false)
this.$router.push({ this.$router.push({
name: 'ContractDetail', name: 'ContractDetail',
params: { params: {
project_id: val, project_id: val,
confirm_status: status, confirm_status: status,
confirm_id: id,
}, },
}) })
}, },
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-23 17:33:47 * @LastEditTime: 2019-10-24 09:24:21
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -99,6 +99,7 @@ export default { ...@@ -99,6 +99,7 @@ export default {
watch: {}, watch: {},
activated () { activated () {
this.name = this.$route.params.name this.name = this.$route.params.name
this.bankCardQuery()
if (this.project_id !== this.$route.params.project_id || !this.$route.params.entry_info_flag) { if (this.project_id !== this.$route.params.project_id || !this.$route.params.entry_info_flag) {
this.project_id = this.$route.params.project_id this.project_id = this.$route.params.project_id
this.bankImg = '' this.bankImg = ''
...@@ -224,6 +225,16 @@ export default { ...@@ -224,6 +225,16 @@ export default {
}) })
} }
}, },
bankCardQuery () {
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)
})
},
}, },
} }
</script> </script>
......
...@@ -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-21 18:48:53 * @LastEditTime: 2019-10-24 09:10:29
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -198,7 +198,8 @@ ...@@ -198,7 +198,8 @@
</h-content> </h-content>
<bottom-tab v-if="confirm_status!=='APPROVED'&& (this.$route.params.hasButtom || hasButtomStorage)" class="footer-button"> <bottom-tab v-if="confirm_status!=='APPROVED'&& (this.$route.params.hasButtom || hasButtomStorage)" class="footer-button">
<tab-button class="approve" @click.native="showModalValue=true"> <tab-button class="approve" @click.native="showModalValue=true">
<img src="@/assets/intoApproval/approve.png" >审批 <!-- <img src="@/assets/intoApproval/approve.png" > -->
确认签约
</tab-button> </tab-button>
</bottom-tab> </bottom-tab>
<h-modal <h-modal
...@@ -385,7 +386,7 @@ export default { ...@@ -385,7 +386,7 @@ export default {
params: { params: {
project_id: window.sessionStorage.getItem('project_id'), project_id: window.sessionStorage.getItem('project_id'),
confirm_status: this.confirm_status, confirm_status: this.confirm_status,
product_num: this.info.product_num product_num: this.info.product_num,
}, },
}) })
}, },
......
...@@ -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-22 16:31:22 * @LastEditTime: 2019-10-23 20:06:47
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -97,7 +97,8 @@ ...@@ -97,7 +97,8 @@
</list-item> </list-item>
</h-content> </h-content>
<bottom-tab class="footer-button"> <bottom-tab class="footer-button">
<tab-button :class="{bgcolor: bgc_flag}" class="butt" <tab-button
:class="{bgcolor: bgc_flag}" class="butt"
@click.native="goTrial(baseInfo.plan_price,baseInfo.price_date_to)"><img @click.native="goTrial(baseInfo.plan_price,baseInfo.price_date_to)"><img
src="@/assets/productQuery/trial.png" alt=""> 试算 src="@/assets/productQuery/trial.png" alt=""> 试算
</tab-button> </tab-button>
...@@ -111,14 +112,14 @@ ...@@ -111,14 +112,14 @@
</template> </template>
<script> <script>
import Tab from './tab' import Tab from './tab'
export default { export default {
name: 'ProDetailed', name: 'ProDetailed',
components: { components: {
Tab, Tab,
}, },
data() { data () {
return { return {
text: '', text: '',
tabNum: 0, tabNum: 0,
...@@ -133,7 +134,7 @@ ...@@ -133,7 +134,7 @@
}, },
computed: {}, computed: {},
watch: {}, watch: {},
beforeRouteEnter(to, from, next) { beforeRouteEnter (to, from, next) {
if (from.name === 'ProductList' || from.name === 'MyProductList') { if (from.name === 'ProductList' || from.name === 'MyProductList') {
next(vm => { next(vm => {
vm.tabNum = 0 vm.tabNum = 0
...@@ -145,10 +146,10 @@ ...@@ -145,10 +146,10 @@
} }
next() next()
}, },
created() { created () {
}, },
activated() { activated () {
console.log('collect........', window.sessionStorage.getItem('collect_status')) console.log('collect........', window.sessionStorage.getItem('collect_status'))
if (window.sessionStorage.getItem('collect_status') === 'Y') { if (window.sessionStorage.getItem('collect_status') === 'Y') {
this.src = require('@/assets/productQuery/coll-success.png') this.src = require('@/assets/productQuery/coll-success.png')
...@@ -160,21 +161,21 @@ ...@@ -160,21 +161,21 @@
}, },
methods: methods:
{ {
getTabNum(i) { getTabNum (i) {
console.log(i) console.log(i)
this.tabNum = i this.tabNum = i
}, },
// 收藏 // 收藏
collect() { collect () {
console.log('collect', window.sessionStorage.getItem('collect_status')) console.log('collect', window.sessionStorage.getItem('collect_status'))
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({
title: '提示', // title: '提示',
content: '您确认取消收藏吗?', // content: '您确认取消收藏吗?',
onConfirm: data => { // onConfirm: data => {
console.log(data) // console.log(data)
if (data) { // if (data) {
let url = $config.basePath + 'delete_collection' let url = $config.basePath + 'delete_collection'
let param = { let param = {
master: { master: {
...@@ -193,11 +194,11 @@ ...@@ -193,11 +194,11 @@
vm.text = '收藏' vm.text = '收藏'
vm.collect_flag = false vm.collect_flag = false
}, 1500) }, 1500)
// }
// })
// }
} }
}) })
}
},
})
} else { } else {
this.show_text = '收藏成功' this.show_text = '收藏成功'
this.collect_flag = true this.collect_flag = true
...@@ -226,7 +227,7 @@ ...@@ -226,7 +227,7 @@
} }
}, },
// 基本信息查询 // 基本信息查询
baseMsg() { baseMsg () {
let vm = this let vm = this
let url = $config.basePath + 'prd_product_info' let url = $config.basePath + 'prd_product_info'
let param = { let param = {
...@@ -242,7 +243,7 @@ ...@@ -242,7 +243,7 @@
}) })
}, },
// 详情查询 // 详情查询
detailMsg() { detailMsg () {
let vm = this let vm = this
let url = $config.basePath + 'prd_product_detial' let url = $config.basePath + 'prd_product_detial'
let param = { let param = {
...@@ -264,7 +265,7 @@ ...@@ -264,7 +265,7 @@
}) })
}, },
// 配置查询 // 配置查询
confgMsg() { confgMsg () {
let vm = this let vm = this
let url = $config.basePath + 'prd_product_conf' let url = $config.basePath + 'prd_product_conf'
let param = { let param = {
...@@ -280,7 +281,7 @@ ...@@ -280,7 +281,7 @@
}) })
}, },
// 试算price:产品参考价,date:有效日期 // 试算price:产品参考价,date:有效日期
goTrial(price, date) { goTrial (price, date) {
this.$router.push({ this.$router.push({
name: 'FinancingTrial', name: 'FinancingTrial',
params: { params: {
...@@ -290,7 +291,7 @@ ...@@ -290,7 +291,7 @@
}) })
}, },
}, },
} }
</script> </script>
<style lang='less'> <style lang='less'>
#detailed { #detailed {
......
...@@ -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-22 15:14:27 * @LastEditTime: 2019-10-23 20:09:16
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<div class="box" @click="goLists(item.division)"> <div class="box" @click="goLists(item.division)">
<div class="first"> <div class="first">
<img src="@/assets/productQuery/product-query.png" alt=""> <img src="@/assets/productQuery/product-query.png" alt="">
<p class="product-class">产品类别</p> <p class="product-class">主机厂</p>
<p class="product">{{ item.factory_bp_name }}</p> <p class="product">{{ item.factory_bp_name }}</p>
</div> </div>
<div class="second"> <div class="second">
......
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