-
-

-
{{ item.riskName }}
+
+
+

+
{{ item.riskName }}
+
+
+
+
+ 保单号{{ item.contNo }}
+
+
+ 被保人{{ item.insuredName }}
+
+
+ 被保险人{{ item.appntName }}
+
+
+ 转账银行{{ item.bankName }}
+
+
+ 转账帐号{{ item.accNo }}
+
+
+ 应交日{{ item.payToDate }}
+
+
+ 归属指标{{ item.rnewIndex }}
+
+
+ 所属渠道{{ item.policySource }}
+
+
+ 终止原因{{ item.state }}
+
+
+ 金额/元{{ item.money }}
+
+
+ 保单状态{{ item.contState }}
+
-
-
-
- 保单号{{ item.contNo }}
-
-
- 被保人{{ item.insuredName }}
-
-
- 被保险人{{ item.appntName }}
-
-
- 转账银行{{ item.bankName }}
-
-
- 转账帐号{{ item.accNo }}
-
-
- 应交日{{ item.payToDate }}
-
-
- 归属指标{{ item.rnewIndex }}
-
-
- 所属渠道{{ item.policySource }}
-
-
- 终止原因{{ item.contState }}
-
-
- 金额/元{{ item.money }}
-
-
-
-
-
+
+
+
@@ -119,38 +125,42 @@ export default {
findValue: '', // 上面搜索框的value
active: '', // 四个选项卡的v-model
policyListDTOList: [], // 卡片列表内容
- calendarValue:'',
- calendarShow:false,
- currentDate:new Date(),
+ calendarValue: '',
+ calendarShow: false,
+ currentDate: new Date(),
minDate: '',
maxDate: '',
params: {
- contNo: '', // 保单号
- idNo: '', // 身份证号
- payToDate: '', // 时间
- state: '' // 状态
+ payDate: '', // 必传扣款日
+ // contNo: '', // 保单号
+ // idNo: '', // 身份证号
+ // payToDate: '', // 时间
+ state: '', // 状态
+ otherNo: '' ,// 搜索条件
+ // userModel: {
+ // id: 'Y0000001'
+ // }
}
}
},
created() {},
mounted() {
- let aaa = new Date().getMonth()+1
+ let aaa = new Date().getMonth() + 1
let bbb = aaa - 3
let ccc = aaa + 1
- this.minDate = new Date(2022,bbb,0)
- this.maxDate = new Date(2022,ccc,0)
- console.log(this.minDate,1111)
+ this.minDate = new Date(2022, bbb, 0)
+ this.maxDate = new Date(2022, ccc, 0)
+ console.log(this.minDate, 1111)
let yearNum = new Date().getFullYear()
- let monthNum = new Date().getMonth()+1
- this.calendarValue = yearNum+'-'+monthNum
+ let monthNum = new Date().getMonth() + 1
+ this.calendarValue = yearNum + '-' + monthNum
this.getYBRenewalsList()
},
methods: {
// 上方关键词搜索按钮
keywordSearch(value) {
console.log('点击搜索了')
- this.params.idNo = value
- this.params.contNo = value
+ this.params.otherNo = value
this.getYBRenewalsList()
},
getYBRenewalsList() {
@@ -167,32 +177,33 @@ export default {
},
// (查看详情)按钮跳转
goPolicyDetail(data) {
- console.log(data)
+ console.log(data, '我是date')
+
this.$jump({
flag: 'h5',
extra: {
- url: location.origin + '/#/YB_APP/renewalDetail?policyNo=' + data
+ url: location.origin + '/#/YB_APP/renewalDetail?policyNo='+data.contNo+'&payFlag='+data.payFlag+'&payToDate='+data.payToDate
},
routerInfo: {
- path: '/YB_APP/renewalDetail?policyNo=' + data
+ path: `/YB_APP/renewalDetail?contNo=${data.contNo}&payFlag=${data.payFlag}+&payToDate=${data.payToDate}`
}
})
},
- clickCalendar(){
- this.calendarShow = true
- },
+ clickCalendar() {
+ this.calendarShow = true
+ },
handleCurrentDateCancel() {
- this.calendarShow = false
- },
+ this.calendarShow = false
+ },
handleCurrentDateConfirm(e) {
- this.calendarShow = false
- // let titleTime = utils.formatDate(e, 'yyyy-MM')
- // this.calendarValue = utils.formatDate(e, 'MM-dd')
- let yearNum = utils.formatDate(e, 'yyyy')
- let monthNum = utils.formatDate(e, 'MM')
- this.calendarValue = yearNum+'-'+monthNum
- // this.getYBRenewalsList()
- },
+ this.calendarShow = false
+ // let titleTime = utils.formatDate(e, 'yyyy-MM')
+ // this.calendarValue = utils.formatDate(e, 'MM-dd')
+ let yearNum = utils.formatDate(e, 'yyyy')
+ let monthNum = utils.formatDate(e, 'MM')
+ this.calendarValue = yearNum + '-' + monthNum
+ // this.getYBRenewalsList()
+ }
},
watch: {
active: {
@@ -205,7 +216,7 @@ export default {
calendarValue: {
deep: true,
handler(newvalue) {
- this.params.payToDate = newvalue
+ this.params.payDate = newvalue
this.getYBRenewalsList()
}
}
@@ -263,8 +274,7 @@ export default {
padding: 2px 5px;
margin-top: 12px;
line-height: 24px;
- white-space:nowrap;
-
+ white-space: nowrap;
}
.beMonthRightSpan {
margin-right: 5px;
@@ -295,7 +305,7 @@ export default {
}
.cardList2 {
// height: 244px;
- height: 300px;
+ // height: 300px;
width: 96%;
border-radius: 12px;
background-color: white;
@@ -330,8 +340,7 @@ export default {
// margin-top: 113px;
margin-left: 4px;
font-size: 12px;
- align-self:flex-end;
-
+ align-self: flex-end;
}
.rightStateButton2 {
height: 30px;
@@ -341,11 +350,10 @@ export default {
border-radius: 30px;
background-color: white;
// margin-top: 57px;
- margin-bottom:14px;
+ margin-bottom: 14px;
margin-left: 4px;
font-size: 12px;
- align-self:flex-end;
-
+ align-self: flex-end;
}
.cardListText {
line-height: 34px;
@@ -375,6 +383,8 @@ export default {
display: block;
// float:left;
width: 50px;
+ overflow: hidden;
+ white-space: nowrap;
// background-color: blueviolet;
color: #373737;
}