卡口登记
This commit is contained in:
@@ -311,6 +311,7 @@
|
||||
<script>
|
||||
import { mapState, mapActions } from 'vuex'
|
||||
import NamePhone from './components/namePhone.vue'
|
||||
import dayjs from 'dayjs'
|
||||
export default {
|
||||
appName: "添加卡口记录",
|
||||
data() {
|
||||
@@ -335,11 +336,11 @@ export default {
|
||||
arriveAreaId: '',
|
||||
arriveAreaName: '',
|
||||
arriveAddress: '',
|
||||
fromHighRiskArea: '',
|
||||
fromHighRiskArea: '0',
|
||||
highRiskAreaId: '',
|
||||
highRiskAreaName: '',
|
||||
contactPatients: '',
|
||||
abnormalHealth: '',
|
||||
contactPatients: '0',
|
||||
abnormalHealth: '0',
|
||||
abnormalType: '',
|
||||
companionCount: '', // 同行人数量
|
||||
companionList: [], // 同行人集合
|
||||
@@ -388,6 +389,8 @@ export default {
|
||||
if(decodeURIComponent(o.scene) != 'undefined') {
|
||||
this.scene = decodeURIComponent(o.scene)
|
||||
}
|
||||
let timeNow = dayjs(new Date()).format("YYYY-MM-DD HH:mm:ss");
|
||||
this.form.arriveTime = timeNow.substr(0,timeNow.length - 3)
|
||||
},
|
||||
onShow() {
|
||||
this.$dict.load(['EP_travelType']).then(()=> {
|
||||
@@ -422,9 +425,7 @@ export default {
|
||||
...mapActions(['getUserInfo']),
|
||||
// 授权登录
|
||||
getAuth() {
|
||||
|
||||
this.$nextTick(() => {
|
||||
// if(this.token) {
|
||||
this.token && this.getUserInfo()
|
||||
this.form.gatewayId = this.scene
|
||||
this.getewayList()
|
||||
@@ -434,7 +435,6 @@ export default {
|
||||
this.form.gatewayName = item?.[0].label
|
||||
},400)
|
||||
this.pageShow = true
|
||||
// }
|
||||
})
|
||||
},
|
||||
|
||||
@@ -475,7 +475,7 @@ export default {
|
||||
this.form.startTime = res.data.startTime.substr(0, res.data.startTime.length - 3)
|
||||
this.form.arriveTime = res.data.arriveTime.substr(0, res.data.arriveTime.length - 3)
|
||||
this.startAreaId = res.data.startAreaId
|
||||
this.arriveAreaName = res.data.startAreaName
|
||||
this.startAreaName = res.data.startAreaName
|
||||
}
|
||||
this.$hideLoading()
|
||||
})
|
||||
@@ -523,6 +523,11 @@ export default {
|
||||
if(res?.data) {
|
||||
this.form.name = res.data.name || ''
|
||||
this.form.phone = res.data.phone || ''
|
||||
this.startAreaId = res.data.startAreaId
|
||||
this.startAreaName = res.data.startAreaName
|
||||
this.form.description = res.data.description || ''
|
||||
this.form.arriveAreaId = res.data.arriveAreaId
|
||||
this.form.arriveAreaName = res.data.arriveAreaName
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -49,12 +49,11 @@
|
||||
<span style="color: #4181FF">{{ info.phone }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail-info__item">
|
||||
<!-- <div class="detail-info__item">
|
||||
<div class="left">
|
||||
<label>人员类别</label>
|
||||
</div>
|
||||
<div class="right">
|
||||
<!-- :style="{color: /[03]/.test(info.type) ? '#42D784' : '#FF4466'}" -->
|
||||
<span>{{ $dict.getLabel('EP_registerPersonType', info.type) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,7 +64,7 @@
|
||||
<div class="right">
|
||||
<span>{{ $dict.getLabel('EP_highRiskIndustries', info.highRiskIndustries) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="detail-info">
|
||||
|
||||
Reference in New Issue
Block a user