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