diff --git a/src/views/ebiz/cardList/CardTotreasure.vue b/src/views/ebiz/cardList/CardTotreasure.vue
index 55db7312e..d0a46c590 100644
--- a/src/views/ebiz/cardList/CardTotreasure.vue
+++ b/src/views/ebiz/cardList/CardTotreasure.vue
@@ -272,8 +272,6 @@ export default {
},
computed: {
NewItems() {
- let _this = this
- // console.log(_this)
var NewItems = []
this.orderList.map(function(orderItem) {
let currentTime = '',
diff --git a/src/views/ebiz/cardList/Pay.vue b/src/views/ebiz/cardList/Pay.vue
index 0c0268bac..6c039e9f2 100644
--- a/src/views/ebiz/cardList/Pay.vue
+++ b/src/views/ebiz/cardList/Pay.vue
@@ -23,7 +23,6 @@
name="姓名"
:readonly="orderStatus != '56'"
placeholder="请输入"
- readonly
v-validate="'required|name'"
maxlength="6"
clearable
@@ -320,7 +319,7 @@ export default {
},
// 获取银行列表的focus
focus() {
- if(this.orderStatus == '56'){
+ if (this.orderStatus == '56') {
this.show = true
}
},
@@ -418,12 +417,12 @@ export default {
},
async pay() {
let valid = await this.$validator.validate()
- console.log(valid);
- if(true !== valid){
- console.log(this.$validator);
+ console.log(valid)
+ if (true !== valid) {
+ console.log(this.$validator)
return this.$toast(this.$validator.errors.all()[0])
}
-
+
switch (this.orderStatus) {
case '56':
this.payMent()
@@ -527,15 +526,15 @@ export default {
})
let rs = await this.underWrite()
-
+
if (rs.result != '0') {
this.$toast.clear()
return this.$toast(rs.resultMessage)
}
-
- if(rs.uwResult != '02'){
+
+ if (rs.uwResult != '02') {
return this.$toast(rs.resultMessage)
- }else{
+ } else {
this.acceptInsurance()
}
} else {
diff --git a/src/views/ebiz/cardList/PaySuccess.vue b/src/views/ebiz/cardList/PaySuccess.vue
index fb297144b..90194d543 100644
--- a/src/views/ebiz/cardList/PaySuccess.vue
+++ b/src/views/ebiz/cardList/PaySuccess.vue
@@ -31,7 +31,7 @@ Vue.use(Field)
export default {
name: 'paySuccess',
components: {
- [CellGroup.name]: CellGroup,
+ [CellGroup.name]: CellGroup
},
data() {
return {
@@ -56,7 +56,7 @@ export default {
}
},
created() {
- this.payInfo = JSON.parse( window.localStorage.getItem('payInfo'))
+ this.payInfo = JSON.parse(window.localStorage.getItem('payInfo'))
},
methods: {
goHome() {
@@ -70,7 +70,7 @@ export default {
}
})
}
- },
+ }
}
diff --git a/src/views/ebiz/cardList/information.vue b/src/views/ebiz/cardList/information.vue
index 566b18267..6ff472aa2 100644
--- a/src/views/ebiz/cardList/information.vue
+++ b/src/views/ebiz/cardList/information.vue
@@ -105,19 +105,6 @@
@nameChange="nameChanges"
@on-click="selectClick('1', '1')"
>
-
-
证件扫描
+
+
被保人信息
@@ -151,8 +151,6 @@
-
-
-
-
+
本人已仔细阅读并了解
- 《投保须知》
- 《投保声明》
+ 《投保须知》
+ 《投保声明》
和
《国富人寿综合交通工具意外伤害保险(2020版)条款》 75){
+
+ if (insuredAge > 75) {
return this.$toast('被保险人的年龄不可以超过75周岁')
}
- if(insuredAge < 0){
+ if (insuredAge < 0) {
return this.$toast('被保险人的年龄需要大于28天')
}
-
+
//如果证件类型是身份证
if (this.insuredInfo.idType == '1') {
console.log('证件类型是身份证')
@@ -903,15 +896,11 @@ export default {
}
}
-
//投保人需大于等于 18 周岁
// if (age < 18) {
// return this.$toast('投保人必须是具有民事行为能力且有固定职业和收入的自然人,请确定')
// }
-
-
-
this.infoUpdate()
// console.log('success')
} else {
@@ -953,7 +942,7 @@ export default {
// }
this.save()
},
- async save(str = '') {
+ async save() {
// console.log('this.riskDTOLst', this.riskDTOLst)
let params = {
orderDTO: {
@@ -1137,7 +1126,7 @@ export default {
// },
watch: {
'userInfo.relationToInsured': {
- handler(newV, oldV) {
+ handler(newV) {
// 如果关系为本人,将投保人信息带入到被保人信息上
if (newV == 1) {
Object.assign(this.insuredInfo, this.userInfo)
diff --git a/src/views/ebiz/cardList/productDetails.vue b/src/views/ebiz/cardList/productDetails.vue
index fce9d7a17..c5533919a 100644
--- a/src/views/ebiz/cardList/productDetails.vue
+++ b/src/views/ebiz/cardList/productDetails.vue
@@ -20,10 +20,6 @@