提交一波
This commit is contained in:
@@ -32,8 +32,9 @@
|
||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<div class="item">
|
||||
<span @click="showGateSelect=true">{{gatewayName || '卡口选择'}}</span>
|
||||
<div class="item" @click="showGateSelect=true">
|
||||
<span v-if="gatewayId">{{gatewayName || '卡口选择'}}</span>
|
||||
<span v-else>卡口选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -111,7 +112,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0¤t=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&startAreaId=${this.areaId}`)
|
||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0¤t=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&arriveAreaId=${this.areaId}`)
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
res.data.records.map((item) => {
|
||||
@@ -132,6 +133,7 @@ export default {
|
||||
this.$http.post(`/app/appepidemicpreventiongateway/list?size=300&status=0`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.gateList = res.data.records
|
||||
this.gateList.unshift({name: '全部', id: ''})
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -154,6 +156,11 @@ export default {
|
||||
toUser(row) {
|
||||
uni.navigateTo({url: `./UserInfo?id=${row.id}`})
|
||||
},
|
||||
clearGateway() {
|
||||
this.gatewayName = ''
|
||||
this.gatewayId = ''
|
||||
this.getListInit()
|
||||
}
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current ++
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<span class="tips">*</span>交接人姓名
|
||||
</div>
|
||||
<div class="value">
|
||||
<u-input placeholder="请输入" input-align="right" height="32" maxlength="6" v-model="form.handoverPersonName" />
|
||||
<u-input placeholder="请输入" input-align="right" height="32" maxlength="6" v-model="form.handoverPersonName" :custom-style="{'font-size': '17px'}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item solid">
|
||||
@@ -120,7 +120,7 @@
|
||||
<span class="tips"></span>手机号码
|
||||
</div>
|
||||
<div class="value">
|
||||
<u-input placeholder="请输入" type="number" input-align="right" height="32" maxlength="11" v-model="form.handoverPersonPhone" />
|
||||
<u-input placeholder="请输入" type="number" input-align="right" height="32" maxlength="11" v-model="form.handoverPersonPhone" :custom-style="{'font-size': '17px'}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
|
||||
@@ -114,6 +114,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
submit(status) {
|
||||
if(this.form.handleType == 6) {
|
||||
this.form.quarantineBeginTime = null
|
||||
this.form.quarantineEndTime = null
|
||||
}
|
||||
this.form.homeQuarantineOperation = status
|
||||
this.$http.post(`/app/appepidemicpreventionregisterinfo/riskDisposal?homeQuarantineOperation=${this.form.homeQuarantineOperation}`, this.form).then((res) => {
|
||||
if (res.code == 0) {
|
||||
|
||||
@@ -30,6 +30,10 @@
|
||||
<div class="label">人员类别</div>
|
||||
<div class="value">{{$dict.getLabel('EP_registerPersonType', info.type)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">高危行业</div>
|
||||
<div class="value">{{$dict.getLabel('EP_highRiskIndustries', info.highRiskIndustries)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
@@ -61,15 +65,15 @@
|
||||
<div class="value">{{info.description}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">抵达时间</div>
|
||||
<div class="label">抵平时间</div>
|
||||
<div class="value" v-if="info.arriveTime">{{info.arriveTime.substring(0, 16)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡地区</div>
|
||||
<div class="label">到达地区</div>
|
||||
<div class="value">{{info.arriveAreaName}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡地址</div>
|
||||
<div class="label">到达地址</div>
|
||||
<div class="value">{{info.arriveAddress}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -29,6 +29,10 @@
|
||||
<div class="label">人员类别</div>
|
||||
<div class="value">{{$dict.getLabel('EP_registerPersonType', info.type)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">高危行业</div>
|
||||
<div class="value">{{$dict.getLabel('EP_highRiskIndustries', info.highRiskIndustries)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
@@ -60,15 +64,15 @@
|
||||
<div class="value">{{info.description}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">抵达时间</div>
|
||||
<div class="label">抵平时间</div>
|
||||
<div class="value">{{info.arriveTime.substring(0, 16)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡地区</div>
|
||||
<div class="label">到达地区</div>
|
||||
<div class="value">{{info.arriveAreaName}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡地址</div>
|
||||
<div class="label">到达地址</div>
|
||||
<div class="value">{{info.arriveAddress}}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -77,7 +81,8 @@
|
||||
<div class="title">健康状况</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">是否有风险旅居史</div>
|
||||
<div class="value" :style="info.fromHighRiskArea == 1 ? 'color:#f46;' : ''">{{$dict.getLabel('yesOrNo', info.fromHighRiskArea)}}</div>
|
||||
<div class="value" v-if="info.fromHighRiskArea != 1">否</div>
|
||||
<div class="value" style="'color:#f46;" v-else>{{info.highRiskAreaName}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label" style="width:360px;">7天内是否接触新冠确诊或疑似患者</div>
|
||||
@@ -126,7 +131,7 @@ export default {
|
||||
document.title = '卡口登记详情'
|
||||
},
|
||||
onLoad(option) {
|
||||
this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType', 'epidemicTouchInFourteen').then(() => {
|
||||
this.$dict.load('yesOrNo', 'EP_registerPersonType', 'EP_travelType', 'EP_abnormalType', 'epidemicTouchInFourteen', 'EP_highRiskIndustries').then(() => {
|
||||
this.id = option.id
|
||||
// this.haveHomeQuarantineBtn = option.operation == 'reDisposal' ? true : false
|
||||
this.getDetail()
|
||||
|
||||
Reference in New Issue
Block a user