社区管理-处置状态

This commit is contained in:
liuye
2022-11-18 09:30:08 +08:00
parent 549e98fac5
commit 23bf504740
2 changed files with 15 additions and 15 deletions

View File

@@ -7,10 +7,10 @@
</div>
</div>
<div class="type-select" v-if="haveHomeQuarantineBtn == 1">
<div class="type-item" :class="form.handleType == index ? 'active' : 'type-item-'+item.dictValue" v-for="(item, index) in handlerTypeList" :key="index" @click="handleTypeClick(index)" v-if="index > 0">{{item.dictName}}</div>
<div class="type-item" :class="form.handleType == index ? 'active' : ''" v-for="(item, index) in handlerTypeList" :key="index" @click="handleTypeClick(index)" v-if="index > 0">{{item.dictName}}</div>
</div>
<div class="type-select" v-else>
<div class="type-item" :class="form.handleType == index ? 'active' : 'type-item-'+item.dictValue" v-for="(item, index) in handlerTypeList" :key="index" @click="handleTypeClick(index)" v-if="index != 0 && index != 3 && index != 4">{{item.dictName}}</div>
<div class="type-item" :class="form.handleType == index ? 'active' : ''" v-for="(item, index) in handlerTypeList" :key="index" @click="handleTypeClick(index)" v-if="index != 0 && index != 3 && index != 4">{{item.dictName}}</div>
</div>
</div>
<div class="info mar-b16" v-if="form.handleType == 2">
@@ -316,17 +316,6 @@ export default {
border: none;
color: #fff;
}
.type-item-1,
.type-item-5{
color: #42D784;
}
.type-item-2,
.type-item-3{
color: #f46;
}
.type-item-4{
color: #FFA938;
}
}
.item {
background-color: #fff;

View File

@@ -40,7 +40,7 @@
</div>
<p> {{item.idNumberText}}</p>
<p> {{item.phone}}</p>
<!-- <p> 处置意见{{item.idNumberText}}</p> -->
<p> 处置意见<span :class="'type-'+item.lastRiskDisposal.handleType">{{$dict.getLabel('EP_handleType', item.lastRiskDisposal.handleType)}}</span></p>
<div class="btn" v-if="item.status != 2" @click.stop="toEdit(item.id)">排查</div>
<img src="./components/img/status-img.png" alt="" class="status-img" v-else>
</div>
@@ -99,7 +99,7 @@ export default {
onLoad() {
// this.areaId = this.user.areaId
// this.areaName = this.user.areaName
this.$dict.load('EP_CM_status', 'EP_registerInfoType').then(() => {
this.$dict.load('EP_CM_status', 'EP_registerInfoType', 'EP_handleType').then(() => {
this.registerTypeList = this.$dict.getDict('EP_registerInfoType')
this.registerTypeList.unshift({dictValue: '', dictName: '全部'})
this.getListInit()
@@ -263,6 +263,17 @@ export default {
color: #666;
margin-bottom: 8px;
}
.type-1,
.type-5{
color: #42D784;
}
.type-2,
.type-3{
color: #f46;
}
.type-4{
color: #FFA938;
}
.btn {
width: 160px;
height: 56px;