返乡登记
This commit is contained in:
@@ -280,6 +280,7 @@
|
||||
|
||||
<script>
|
||||
import {mapState} from 'vuex'
|
||||
import dayjs from 'dayjs'
|
||||
|
||||
export default {
|
||||
appName: "添加返乡记录",
|
||||
@@ -323,11 +324,11 @@ export default {
|
||||
arriveAreaId: '',
|
||||
arriveAreaName: '',
|
||||
arriveAddress: '',
|
||||
fromHighRiskArea: '',
|
||||
fromHighRiskArea: '0',
|
||||
highRiskAreaId: '',
|
||||
highRiskAreaName: '',
|
||||
contactPatients: '',
|
||||
abnormalHealth: '',
|
||||
contactPatients: '0',
|
||||
abnormalHealth: '0',
|
||||
abnormalType: '',
|
||||
companionList: [],
|
||||
},
|
||||
@@ -367,6 +368,8 @@ export default {
|
||||
this.travelTypeDict = this.$dict.getDict('EP_travelType')
|
||||
this.getewayList()
|
||||
})
|
||||
let timeNow = dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss");
|
||||
this.form.arriveTime = timeNow.substr(0,timeNow.length - 3)
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -428,6 +431,10 @@ export default {
|
||||
if(res?.data) {
|
||||
this.form.name = res.data.records?.[0]?.name || ''
|
||||
this.form.phone = res.data.records?.[0]?.phone || ''
|
||||
this.startAreaId = res.data.records?.[0]?.startAreaId
|
||||
this.startAreaName = res.data.records?.[0]?.startAreaName
|
||||
this.form.arriveAreaId = res.data.records?.[0]?.arriveAreaId
|
||||
this.form.arriveAreaName = res.data.records?.[0]?.arriveAreaName
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -710,7 +717,7 @@ export default {
|
||||
}
|
||||
|
||||
span {
|
||||
max-width: 400px;
|
||||
max-width: 336px;
|
||||
margin-right: 8px;
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user