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