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