mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 17:55:49 +08:00
[fix] 修复格式 eslint --fix
This commit is contained in:
@@ -79,7 +79,7 @@
|
|||||||
import { getCardList, getOrderList } from '@/api/ebiz/cardList/cardList.js'
|
import { getCardList, getOrderList } from '@/api/ebiz/cardList/cardList.js'
|
||||||
import { Tab, Tabs, List, Sticky } from 'vant'
|
import { Tab, Tabs, List, Sticky } from 'vant'
|
||||||
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到订单状态
|
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到订单状态
|
||||||
import formatDate from '@/assets/js/utils/date-utils'
|
// import formatDate from '@/assets/js/utils/date-utils'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'kadantoubao.vue',
|
name: 'kadantoubao.vue',
|
||||||
@@ -292,7 +292,7 @@ export default {
|
|||||||
dateToday.setMinutes(0)
|
dateToday.setMinutes(0)
|
||||||
dateToday.setSeconds(0)
|
dateToday.setSeconds(0)
|
||||||
currentTime = dateToday.getTime()
|
currentTime = dateToday.getTime()
|
||||||
compareTime = new Date(orderItem.orderInfoDTO.appntDateStr.replace(/-/g, "/")).getTime()
|
compareTime = new Date(orderItem.orderInfoDTO.appntDateStr.replace(/-/g, '/')).getTime()
|
||||||
let tmpSub = compareTime - currentTime
|
let tmpSub = compareTime - currentTime
|
||||||
if (tmpSub > 0 && tmpSub < 24 * 60 * 60 * 1000) {
|
if (tmpSub > 0 && tmpSub < 24 * 60 * 60 * 1000) {
|
||||||
orderObj.isCanPay = true
|
orderObj.isCanPay = true
|
||||||
|
|||||||
@@ -384,8 +384,9 @@ export default {
|
|||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.noEdit = res.content.flag != 'false'
|
this.noEdit = res.content.flag != 'false'
|
||||||
}
|
}
|
||||||
}).catch( e=>{
|
})
|
||||||
console.error(e);
|
.catch(e => {
|
||||||
|
console.error(e)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 再次支付
|
// 再次支付
|
||||||
@@ -476,7 +477,7 @@ export default {
|
|||||||
default:
|
default:
|
||||||
if (!this.noEdit) {
|
if (!this.noEdit) {
|
||||||
this.payMent(true)
|
this.payMent(true)
|
||||||
return true;
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.acceptInsurance()
|
this.acceptInsurance()
|
||||||
return this.$toast('当前不可支付')
|
return this.$toast('当前不可支付')
|
||||||
@@ -588,7 +589,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.acceptInsurance()
|
this.acceptInsurance()
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,9 +73,7 @@ export default {
|
|||||||
prtNo: '', // 投保单号
|
prtNo: '', // 投保单号
|
||||||
amnt: '' // 支付金额
|
amnt: '' // 支付金额
|
||||||
},
|
},
|
||||||
card:{
|
card: {},
|
||||||
|
|
||||||
},
|
|
||||||
// 图片
|
// 图片
|
||||||
srcSuccess: this.$assetsUrl + 'images/success.png',
|
srcSuccess: this.$assetsUrl + 'images/success.png',
|
||||||
srcPending: this.$assetsUrl + 'images/pending.png',
|
srcPending: this.$assetsUrl + 'images/pending.png',
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ export default {
|
|||||||
// homeArea: '1', //家庭区
|
// homeArea: '1', //家庭区
|
||||||
// homeAddress: '1', //详细地址
|
// homeAddress: '1', //详细地址
|
||||||
mobile: '', //移动电话
|
mobile: '', //移动电话
|
||||||
email: '', //电子邮箱
|
email: '' //电子邮箱
|
||||||
// effectiveDate: '' //指定生效日期
|
// effectiveDate: '' //指定生效日期
|
||||||
},
|
},
|
||||||
//被保人信息
|
//被保人信息
|
||||||
|
|||||||
Reference in New Issue
Block a user