社区管理-处置状态
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="type-select" v-if="haveHomeQuarantineBtn == 1">
|
<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>
|
||||||
<div class="type-select" v-else>
|
<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>
|
</div>
|
||||||
<div class="info mar-b16" v-if="form.handleType == 2">
|
<div class="info mar-b16" v-if="form.handleType == 2">
|
||||||
@@ -316,17 +316,6 @@ export default {
|
|||||||
border: none;
|
border: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.type-item-1,
|
|
||||||
.type-item-5{
|
|
||||||
color: #42D784;
|
|
||||||
}
|
|
||||||
.type-item-2,
|
|
||||||
.type-item-3{
|
|
||||||
color: #f46;
|
|
||||||
}
|
|
||||||
.type-item-4{
|
|
||||||
color: #FFA938;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.item {
|
.item {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p> {{item.idNumberText}}</p>
|
<p> {{item.idNumberText}}</p>
|
||||||
<p> {{item.phone}}</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>
|
<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>
|
<img src="./components/img/status-img.png" alt="" class="status-img" v-else>
|
||||||
</div>
|
</div>
|
||||||
@@ -99,7 +99,7 @@ export default {
|
|||||||
onLoad() {
|
onLoad() {
|
||||||
// this.areaId = this.user.areaId
|
// this.areaId = this.user.areaId
|
||||||
// this.areaName = this.user.areaName
|
// 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 = this.$dict.getDict('EP_registerInfoType')
|
||||||
this.registerTypeList.unshift({dictValue: '', dictName: '全部'})
|
this.registerTypeList.unshift({dictValue: '', dictName: '全部'})
|
||||||
this.getListInit()
|
this.getListInit()
|
||||||
@@ -263,6 +263,17 @@ export default {
|
|||||||
color: #666;
|
color: #666;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
.type-1,
|
||||||
|
.type-5{
|
||||||
|
color: #42D784;
|
||||||
|
}
|
||||||
|
.type-2,
|
||||||
|
.type-3{
|
||||||
|
color: #f46;
|
||||||
|
}
|
||||||
|
.type-4{
|
||||||
|
color: #FFA938;
|
||||||
|
}
|
||||||
.btn {
|
.btn {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
|
|||||||
Reference in New Issue
Block a user