特殊人群
This commit is contained in:
@@ -405,7 +405,7 @@ export default {
|
||||
})
|
||||
this.formData[items.fieldDbName] = list?.toString()
|
||||
}
|
||||
if (items.type == 'upload' && this.formData[items.fieldDbName].length) { //附件 只传id
|
||||
if (items.type == 'upload' && this.formData[items.fieldDbName]?.length) { //附件 只传id
|
||||
var files = []
|
||||
this.formData[items.fieldDbName].map((item) => {
|
||||
files.push(item.id)
|
||||
|
||||
@@ -125,7 +125,6 @@ export default {
|
||||
getStatistic() {
|
||||
this.statisticsList = []
|
||||
this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0&range=0`).then((res) => {
|
||||
console.log(res);
|
||||
if (res.code == 0) {
|
||||
for (let i in res.data) {
|
||||
var obj = {
|
||||
@@ -140,7 +139,6 @@ export default {
|
||||
getStatisticMon() {
|
||||
this.statisticsListMon = []
|
||||
this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0&range=1`).then((res) => {
|
||||
console.log(res);
|
||||
if (res.code == 0) {
|
||||
for (let i in res.data) {
|
||||
var obj = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="DetailPeople">
|
||||
<div class="DetailPeople" v-if="data.resident">
|
||||
|
||||
<div class="top">
|
||||
<div class="photos">
|
||||
@@ -24,13 +24,22 @@
|
||||
|
||||
<div class="tab-list">
|
||||
<div v-for="(item, index) in tabList" :key="index" :class="tabIndex == index ? 'tab-item active' : 'tab-item' " @click="tabIndex=index">
|
||||
<img :src="tabIndex == index ? item.activeIcon : item.icon" alt="" v-if="tabIndex==0">
|
||||
<img :src="tabIndex == index ? './components/img/tsrq@2x.png' : './components/img/tsrq备份@2x.png'" alt="" v-else>
|
||||
<p v-if="tabIndex==0">{{item.name}}</p>
|
||||
<div v-if="index == 0">
|
||||
<img :src="item.activeIcon" alt="" v-if="tabIndex==0">
|
||||
<img :src=" item.icon" alt="" v-if="tabIndex!=0">
|
||||
</div>
|
||||
<div v-if="index != 0">
|
||||
<img src="./components/img/tsrq备份@2x.png" alt="" v-if="tabIndex==index && index != 0">
|
||||
<img src="./components/img/tsrq@2x.png" alt="" v-if="tabIndex!=index && index != 0">
|
||||
</div>
|
||||
<!-- <img :src="tabIndex == index ? './components/img/tsrq@2x.png' : './components/img/tsrq备份@2x.png'" alt="" v-else> -->
|
||||
|
||||
<p v-if="index==0">{{item.name}}</p>
|
||||
<p v-else>{{item.applicationName}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 基本信息 -->
|
||||
<div v-if="tabIndex == 0">
|
||||
<div class="middle">
|
||||
<div class="hint">个人基本信息</div>
|
||||
|
||||
@@ -124,6 +133,19 @@
|
||||
<div class="item">{{data.resident.auditOpinion || ''}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 特殊人群 -->
|
||||
<div v-if="tabIndex != 0 && data.resident.tsrqInfos && data.resident.tsrqInfos.length">
|
||||
<!-- -->
|
||||
<div v-for="(item,index) in data.resident.tsrqInfos" :key="index" class="spacial">
|
||||
<div class="specialList" v-for="(t,indexs) in item.tableInfos" :key="indexs" v-if="item.tableInfos && item.tableInfos.length">
|
||||
<div class="spacial-row">
|
||||
<div>{{ t.fieldName }}</div>
|
||||
<div>{{ t.fieldValue }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pad-b112" v-if="data.resident.auditStatus == 0 && type == 1"></div>
|
||||
<div class="footer" v-if="data.resident.auditStatus == 0 && type == 1">
|
||||
@@ -264,7 +286,7 @@ export default {
|
||||
.tab-list{
|
||||
padding-top: 32px;
|
||||
.tab-item{
|
||||
display: inline-block;
|
||||
display: inline-table;
|
||||
width: 148px;
|
||||
height: 136px;
|
||||
background-color: #F8F9FB;
|
||||
@@ -332,6 +354,18 @@ export default {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.spacial {
|
||||
margin-top: 30px;
|
||||
.specialList {
|
||||
padding: 14px 32px;
|
||||
.spacial-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.pad-b112{
|
||||
padding-bottom: 112px;
|
||||
background-color: #f5f5f5;
|
||||
|
||||
Reference in New Issue
Block a user