删除多余字段

This commit is contained in:
shijingjing
2022-09-29 15:39:08 +08:00
parent 110695c03d
commit 26f3de888d

View File

@@ -345,11 +345,8 @@ export default {
companionList: [], // 同行人集合 companionList: [], // 同行人集合
riskLevel: '', riskLevel: '',
}, },
isShowType: false,
isShowEndTime: false, isShowEndTime: false,
isShowStartTime: false, isShowStartTime: false,
isShowDate: false,
params: { params: {
year: true, year: true,
month: true, month: true,
@@ -357,8 +354,6 @@ export default {
hour: true, hour: true,
minute: true minute: true
}, },
dictList: [],
arr: [],
$areaId: '', $areaId: '',
people: [{ people: [{
name: '', name: '',
@@ -388,16 +383,17 @@ export default {
this.form.id = o?.id this.form.id = o?.id
this.getInfo(o.id) this.getInfo(o.id)
} }
this.form.gatewayId = decodeURIComponent(o.scene) || ''
}, },
onShow() { onShow() {
this.$areaId = this.user.$areaId
this.$dict.load(['EP_travelType']).then(()=> { this.$dict.load(['EP_travelType']).then(()=> {
this.travelTypeDict = this.$dict.getDict('EP_travelType') this.travelTypeDict = this.$dict.getDict('EP_travelType')
}) this.$areaId = this.user.$areaId
this.getewayList() this.getewayList()
if(!this.token) { if(!this.token) {
this.$refs.login.show() this.$refs.login.show()
} }
})
}, },
watch: { watch: {
@@ -416,7 +412,6 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.token && this.getUserInfo() this.token && this.getUserInfo()
this.pageShow = true this.pageShow = true
this.form.gatewayId = decodeURIComponent(o.scene) || ''
}) })
}, },