26645
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<span>{{info.unusual}}</span>
|
<span>{{info.unusual}}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="info">
|
<div class="info" v-if="list.length">
|
||||||
<div class="title">异常情况记录</div>
|
<div class="title">异常情况记录</div>
|
||||||
<div class="error-list">
|
<div class="error-list">
|
||||||
<div class="item" v-for="(item, index) in list" :key="index">
|
<div class="item" v-for="(item, index) in list" :key="index">
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
<!-- <span>网格员: {{item.createUserName}}</span> -->
|
<!-- <span>网格员: {{item.createUserName}}</span> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<AiEmpty v-if="!list.length"></AiEmpty>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-line"></div>
|
<div class="bg-line"></div>
|
||||||
|
|||||||
@@ -101,6 +101,27 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="line-bg"></div>
|
||||||
|
<div class="info" v-if="list.length">
|
||||||
|
<div class="title">异常处理情况</div>
|
||||||
|
<div class="error-list">
|
||||||
|
<div class="item" v-for="(item, index) in list" :key="index">
|
||||||
|
<p>{{item.content}}</p>
|
||||||
|
<div>{{item.createTime}}
|
||||||
|
<!-- <span>网格员: {{item.createUserName}}</span> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item-flex" v-if="info.releaseName">
|
||||||
|
<div class="label">异常解除人</div>
|
||||||
|
<div class="value">{{info.releaseName}}</div>
|
||||||
|
</div>
|
||||||
|
<div class="item-flex" v-if="info.releaseName">
|
||||||
|
<div class="label">异常解除时间</div>
|
||||||
|
<div class="value">{{info.releaseTime}}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="line-bg" style="padding-bottom: 56px;"></div>
|
<div class="line-bg" style="padding-bottom: 56px;"></div>
|
||||||
<div class="footer" @click="toError" v-if="info.status != 1">异常情况处理</div>
|
<div class="footer" @click="toError" v-if="info.status != 1">异常情况处理</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -113,7 +134,8 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
info: {}
|
info: {},
|
||||||
|
list: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: { ...mapState(['user']) },
|
computed: { ...mapState(['user']) },
|
||||||
@@ -124,12 +146,20 @@ export default {
|
|||||||
this.$dict.load('epidemicMemberType', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicRecentTestResult', 'epidemicRecentHealth').then(() => {
|
this.$dict.load('epidemicMemberType', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicRecentTestResult', 'epidemicRecentHealth').then(() => {
|
||||||
this.id = option.id
|
this.id = option.id
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
|
this.getList()
|
||||||
})
|
})
|
||||||
uni.$on('updateDetail', () => {
|
uni.$on('updateDetail', () => {
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getList() {
|
||||||
|
this.$http.post(`/app/appepidemicunusuallog/list?recordId=${this.id}`).then((res) => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.list = res.data.records
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getDetail() {
|
getDetail() {
|
||||||
this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => {
|
this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
@@ -254,6 +284,39 @@ export default {
|
|||||||
.item-flex:nth-last-of-type(1){
|
.item-flex:nth-last-of-type(1){
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
.error-list {
|
||||||
|
.item {
|
||||||
|
width: 100%;
|
||||||
|
background: #f4f7fe;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 24px 24px 18px 24px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
p {
|
||||||
|
font-size: 28px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
color: #343d65;
|
||||||
|
line-height: 40px;
|
||||||
|
word-break: break-all;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
div {
|
||||||
|
font-size: 24px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
color: #666;
|
||||||
|
line-height: 34px;
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.text-p{
|
||||||
|
line-height: 44px;
|
||||||
|
color: #333;
|
||||||
|
padding-bottom: 16px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.line-bg{
|
.line-bg{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user