Commit 0972e431 authored by 786817560's avatar 786817560

'合同签约逻辑修改'

parent 1f72c48f
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
repayedLists: [], // 已结清 repayedLists: [], // 已结清
pagenum: 1, pagenum: 1,
searchInput: '', searchInput: '',
contract_status_n: '全部', // 全部/待首付/首付还款中/还款中/已结清
} }
}, },
computed: {}, computed: {},
...@@ -132,6 +132,7 @@ export default { ...@@ -132,6 +132,7 @@ export default {
vm.selected = 'all' vm.selected = 'all'
vm.pagenum = 1 vm.pagenum = 1
vm.searchInput = '' vm.searchInput = ''
vm.contract_status_n = '全部'
vm.recordQuery() vm.recordQuery()
} }
}) })
...@@ -158,6 +159,7 @@ export default { ...@@ -158,6 +159,7 @@ export default {
searchInput: vm.searchInput, searchInput: vm.searchInput,
pagenum: vm.pagenum, pagenum: vm.pagenum,
pagesize: 10, pagesize: 10,
contract_status_n: vm.contract_status_n,
} }
vm.hlsPopup.showLoading('数据加载中') vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-19 09:07:15 * @LastEditTime: 2019-11-25 11:32:38
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -496,6 +496,9 @@ export default { ...@@ -496,6 +496,9 @@ export default {
vm.hlsPopup.showSuccess('审批成功') vm.hlsPopup.showSuccess('审批成功')
vm.$router.push({ vm.$router.push({
name: 'ContractSigning', name: 'ContractSigning',
param: {
backFlag: true,
},
}) })
} else { } else {
vm.hlsPopup.showSuccess(res.message) vm.hlsPopup.showSuccess(res.message)
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-22 15:39:10 * @LastEditTime: 2019-11-25 11:40:05
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -85,7 +85,7 @@ import unCheck2 from '@/assets/constractSigning/yes-undone.png' ...@@ -85,7 +85,7 @@ import unCheck2 from '@/assets/constractSigning/yes-undone.png'
export default { export default {
data () { data () {
return { return {
num: null, num: 1,
pagenum: 1, pagenum: 1,
submitPagenum: 1, submitPagenum: 1,
approvedPagenum: 1, approvedPagenum: 1,
...@@ -106,11 +106,7 @@ export default { ...@@ -106,11 +106,7 @@ export default {
watch: { watch: {
'num': { 'num': {
handler (newVal, oldVal) { handler (newVal, oldVal) {
if (newVal === 1) { if (newVal === 2) {
if (!this.submitFlag) {
this.contractList()
}
} else if (newVal === 2) {
if (!this.approvedFlag) { if (!this.approvedFlag) {
this.contractList() this.contractList()
} }
...@@ -143,10 +139,17 @@ export default { ...@@ -143,10 +139,17 @@ export default {
vm.approvedPagenum = 1 vm.approvedPagenum = 1
vm.searchInput = '' vm.searchInput = ''
vm.user_bp_type = vm.$route.params.user_bp_type vm.user_bp_type = vm.$route.params.user_bp_type
vm.contractList()
} else if (from.name === 'ContractDetail') {
if (vm.$route.params.backFlag) {
vm.searchInput = ''
vm.submitPagenum = 1
vm.approvedPagenum = 1
vm.approvedFlag = false
vm.contractList()
}
} }
// vm.contractList()
}) })
// next()
}, },
methods: { methods: {
dateConverse (date) { dateConverse (date) {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<input v-model="searchInput" type="text" placeholder="请输入合同号/承租人名称"> <input v-model="searchInput" type="text" placeholder="请输入合同号/承租人名称">
</div> </div>
<scroll <scroll
v-if="tabNum === 0" v-show="tabNum === 0"
ref="scroll" ref="scroll"
:updateData="[submitLists]" :updateData="[submitLists]"
:pullUp="true" :pullUp="true"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</div> </div>
</scroll> </scroll>
<scroll <scroll
v-if="tabNum === 1" v-show="tabNum === 1"
ref="scrolls" ref="scrolls"
:updateData="[approvedLists]" :updateData="[approvedLists]"
:pullUp="true" :pullUp="true"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit * @Descrip""/>User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-10-11 09:39:51 * @Date: 2019-10-11 09:39:51
* @LastEditTime: 2019-10-30 17:07:26 * @LastEditTime: 2019-11-25 10:01:44
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<section class="location-wrap"> <section class="location-wrap">
<div class="current-location"> <div class="current-location">
<div class="img-box"> <div class="img-box">
<img src="@/assets/homePage/location.png" alt=""> <img src="@/assets/homePage/locationImage.png" alt="">
</div> </div>
<p>当前位置</p> <p>当前位置</p>
...@@ -219,7 +219,6 @@ export default { ...@@ -219,7 +219,6 @@ export default {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-left: 17px; margin-left: 17px;
background: rgba(0, 70, 156, 0.1);
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
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