mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
[银保app]保全列表搜索判断条件完善
This commit is contained in:
committed by
liu.xiaofeng@ebiz-digits.com
parent
96e4fea30f
commit
fc88b0eeb0
@@ -141,36 +141,40 @@ export default {
|
||||
},
|
||||
created() {},
|
||||
mounted() {
|
||||
this.getSaveAllList()
|
||||
this.ybSaveManyList()
|
||||
// this.getSaveAllList()
|
||||
// this.ybSaveManyList()
|
||||
console.log(this.active,'我是active');
|
||||
},
|
||||
methods: {
|
||||
getSaveAllList() {
|
||||
let that = this
|
||||
console.log('我是log123')
|
||||
console.log('我是log123第一个接口的',)
|
||||
// 保全申请列表
|
||||
getSaveAllList(that.params).then((res) => {
|
||||
console.log(res, '我是res')
|
||||
if (res.result == 0) {
|
||||
that.policyListDTOList = res.content
|
||||
that.policyListDTOListTwo = ''
|
||||
console.log(this.policyListDTOList, 'data里的policyListDTOList')
|
||||
} else {
|
||||
that.policyListDTOList = ''
|
||||
that.policyListDTOListTwo = ''
|
||||
}
|
||||
})
|
||||
},
|
||||
ybSaveManyList() {
|
||||
let that = this
|
||||
console.log('我是log123')
|
||||
console.log('我是log123第二个接口的')
|
||||
// 现金价值
|
||||
ybSaveManyList(that.params).then((res) => {
|
||||
console.log(res, '我是res')
|
||||
if (res.result == 0) {
|
||||
that.policyListDTOListTwo = res.content
|
||||
that.policyListDTOList = ''
|
||||
console.log(this.policyListDTOListTwo, 'data里的policyListDTOListTwo')
|
||||
} else {
|
||||
that.policyListDTOListTwo = ''
|
||||
that.policyListDTOList = ''
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -179,7 +183,11 @@ export default {
|
||||
console.log('点击搜索了')
|
||||
// this.params.idNo = value
|
||||
this.params.otherNo = value
|
||||
this.getSaveAllList()
|
||||
if(this.active == 0 ){
|
||||
this.getSaveAllList()
|
||||
}else if(this.active == 1){
|
||||
this.ybSaveManyList()
|
||||
}
|
||||
},
|
||||
// (查看详情)按钮跳转
|
||||
goPolicyDetail(data) {
|
||||
@@ -207,22 +215,6 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
active: {
|
||||
deep: true,
|
||||
handler(newvalue) {
|
||||
if(this.newvalue == 0){
|
||||
console.log(this.newvalue);
|
||||
this.getSaveAllList()
|
||||
console.log();
|
||||
}else if(newvalue == 1){
|
||||
this.ybSaveManyList()
|
||||
}else{
|
||||
this.params.state = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@@ -358,7 +350,7 @@ export default {
|
||||
overflow: hidden;
|
||||
white-space:nowrap;
|
||||
// background-color: blueviolet;
|
||||
// color: #373737;
|
||||
color: #3E3C3D;
|
||||
}
|
||||
.textList > p > span:nth-of-type(2) {
|
||||
// width: 5vh;
|
||||
|
||||
Reference in New Issue
Block a user