Browse Source

11

dev-新版ui
jiangyy 3 years ago
parent
commit
71b9c1f6be
  1. 10
      src/assets/scss/modules/visual/issue-info.scss
  2. 9
      src/views/modules/base/epidemic/travelPanshi/travelPanshiDetail.vue
  3. 4
      src/views/modules/base/epidemic/travelPanshi/travelPanshiForm.vue
  4. 110
      src/views/modules/visual/communityGovern/zhongdianxingcheng/detail.vue

10
src/assets/scss/modules/visual/issue-info.scss

@ -90,11 +90,21 @@
flex: 0 0 1;
font-size: 14px;
}
.info-title-3 {
// width: 140px;
flex: 0 0 140px;
font-size: 14px;
}
> span,
> div {
display: block;
max-width: 300px;
}
.info-content{
flex: 0 0 500px;
max-width: 500px;
}
&::before {
content: "";

9
src/views/modules/base/epidemic/travelPanshi/travelPanshiDetail.vue

@ -32,14 +32,15 @@
<span class="info-title-3">来源地</span>
<span>{{ formData.sourceAddress||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">7天内到达或途经</span>
<span>{{ formData.passBy||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">详细地址</span>
<span>{{ formData.sourceDetailAddress||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">7天内到达或途经</span>
<span>{{ formData.passBy||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">来曹事由</span>
<span>{{ formData.describeContent||'--' }}</span>

4
src/views/modules/base/epidemic/travelPanshi/travelPanshiForm.vue

@ -270,7 +270,7 @@
label="0"></el-radio>
</el-form-item>
<el-form-item label="上报时间"
<!-- <el-form-item label="上报时间"
style="display: block"
prop="reportingTime">
<el-date-picker class="item_width_4"
@ -281,7 +281,7 @@
clearable
placeholder="选择时间">
</el-date-picker>
</el-form-item>
</el-form-item> -->
<el-form-item label="管控措施"
prop="controlMeasures"

110
src/views/modules/visual/communityGovern/zhongdianxingcheng/detail.vue

@ -19,44 +19,104 @@
</div>
<div class="m-content">
<div class="m-info">
<div class="info-prop">
<span class="info-title-3">姓名</span>
<span class="info-content">{{ formData.name||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">手机号</span>
<span class="info-content">{{ formData.showMobile||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">姓名</span>
<span>{{ info.name||'--' }}</span>
<span class="info-title-3">证件号</span>
<span class="info-content">{{ formData.showIdCard||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">户籍地</span>
<span class="info-content">{{ formData.registeredResidence||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">手机</span>
<span>{{ info.mobile||'--' }}</span>
<span class="info-title-3">来源地</span>
<span class="info-content">{{ formData.sourceAddress||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">证件号</span>
<span>{{ info.idCard||'--' }}</span>
<span class="info-title-3">详细地址</span>
<span class="info-content">{{ formData.sourceDetailAddress||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">来源地</span>
<span>{{ info.sourceAddress||'--' }}</span>
<span class="info-title-3">7天内到达或途经</span>
<span class="info-content">{{ formData.passBy||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">来曹事由</span>
<span class="info-content">{{ formData.describeContent||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">48小时核酸</span>
<span class="info-content">{{ formData.natOutcomeName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">来曹事由</span>
<span>{{ info.describeContent||'--' }}</span>
<span class="info-title-3">来到本地时间</span>
<span class="info-content">{{ formData.arriveDate||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">在曹居住地点</span>
<span class="info-content">{{ formData.presentAddress||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">详细地址</span>
<span class="info-content">{{ formData.detailAddress||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">返回方式</span>
<span class="info-content">{{ formData.trafficTypeName||'--' }}</span>
</div>
<div v-if="formData.trafficTypeExplain"
class="info-prop">
<span class="info-title-3">具体方式</span>
<span class="info-content">{{ formData.trafficTypeExplain||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">7天内旅居史情况</span>
<span class="info-content">{{ formData.sojournHistoryName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">隔离状态</span>
<span class="info-content">{{ formData.isolateTypeName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">48小时核酸</span>
<span>{{ info.natOutComeName||'--' }}</span>
<span class="info-title-3">备注</span>
<span class="info-content">{{ formData.remark||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">是否落实"落地检"</span>
<span class="info-content">{{ formData.isArriveCheckName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">是否到达曹县</span>
<span class="info-content">{{ formData.isArriveName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-3">上报时间</span>
<span class="info-content">{{ formData.reportingTime||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">7天旅居史</span>
<span>{{ info.sojournHistoryName||'--' }}</span>
<span class="info-title-3">管控措施</span>
<span class="info-content">{{ formData.controlMeasures||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">隔离状态</span>
<span>{{ info.isolateTypeName||'--' }}</span>
<span class="info-title-3">类型</span>
<span class="info-content">{{ formData.tripDataTypeName||'--' }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">来曹时间</span>
<span>{{ info.arriveDate||'--' }}</span>
<span class="info-title-3">上报人</span>
<span class="info-content">{{ formData.createdByName||'--' }}</span>
</div>
</div>
@ -92,7 +152,7 @@ export default {
data () {
return {
info: {
formData: {
name: "",
mobile: "",
idCard: "",
@ -132,8 +192,8 @@ export default {
});
if (code === 0) {
this.$set(this.info, 'mobile', data.mobile)
this.$set(this.info, 'idCard', data.idCard)
this.$set(this.formData, 'mobile', data.mobile)
this.$set(this.formData, 'idCard', data.idCard)
} else {
this.$message.error(msg);
}
@ -151,7 +211,7 @@ export default {
//
async getInfo () {
const url = "/epmetuser/tripreport/emphasisTripDetail";
const url = "/epmetuser/tripreport/detail";
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icTripReportRecord/emphasisTripDetail";
let params = {
id: this.detailId,
@ -160,10 +220,10 @@ export default {
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.info = data
this.formData = data
if (this.info.topicInfo && this.info.topicInfo.publishedTime) {
this.info.topicInfo.publishedTimeShow = dateFormat(new Date(this.info.topicInfo.publishedTime * 1000), "yyyy-MM-dd")
if (this.formData.topicInfo && this.formData.topicInfo.publishedTime) {
this.formData.topicInfo.publishedTimeShow = dateFormat(new Date(this.formData.topicInfo.publishedTime * 1000), "yyyy-MM-dd")
}
} else {

Loading…
Cancel
Save