+
{{ field.label }}:
- {{
+ ">{{
!allInfo[group.tableName] ||
allInfo[group.tableName][0][field.columnName] == null
? "--"
@@ -201,8 +170,7 @@
allInfo[group.tableName][0][field.columnName],
field.itemType
)
- }}
+ }}
{{
!allInfo[group.tableName] ||
@@ -241,7 +209,7 @@ export default {
cptTb,
},
- data() {
+ data () {
return {
fieldList: [],
groupList: [],
@@ -349,7 +317,7 @@ export default {
},
computed: {
- xiaoquName() {
+ xiaoquName () {
const {
xiaoquList,
info: { VILLAGE_ID },
@@ -362,7 +330,7 @@ export default {
}
return "";
},
- louName() {
+ louName () {
const {
louList,
info: { BUILD_ID },
@@ -375,7 +343,7 @@ export default {
}
return "";
},
- danyuanName() {
+ danyuanName () {
const {
danyuanList,
info: { UNIT_ID },
@@ -388,7 +356,7 @@ export default {
}
return "";
},
- danyuanName() {
+ danyuanName () {
const {
danyuanList,
info: { UNIT_ID },
@@ -401,7 +369,7 @@ export default {
}
return "";
},
- homeName() {
+ homeName () {
const {
homeList,
info: { HOME_ID },
@@ -417,17 +385,17 @@ export default {
},
watch: {
- userId() {
+ userId () {
this.getApiData();
},
},
- mounted() {
+ mounted () {
this.getApiData();
},
methods: {
- addStartGroupIndex() {
+ addStartGroupIndex () {
const { startGroupIndex, groupList } = this;
if (startGroupIndex < groupList.length - 9) {
this.startGroupIndex = startGroupIndex + 1;
@@ -435,7 +403,7 @@ export default {
this.startGroupIndex = groupList.length - 9;
}
},
- subStartGroupIndex() {
+ subStartGroupIndex () {
const { startGroupIndex, groupList } = this;
if (startGroupIndex > 0) {
this.startGroupIndex = startGroupIndex - 1;
@@ -443,11 +411,11 @@ export default {
this.startGroupIndex = 0;
}
},
- handleClose() {
+ handleClose () {
this.$emit("close");
},
- async getApiData() {
+ async getApiData () {
await this.getField();
await this.getInfo();
this.getDetailList();
@@ -457,7 +425,7 @@ export default {
this.getHomeList();
},
- getOptionLabel(options, value, type = "") {
+ getOptionLabel (options, value, type = "") {
if (Array.isArray(options)) {
let valueArr = value.split(",");
if (type == "cascader") {
@@ -491,7 +459,7 @@ export default {
},
//加载组织数据
- async getField() {
+ async getField () {
const url = "/oper/customize/icform/getcustomerform";
const { data, code, msg } = await requestPost(url, {
@@ -531,7 +499,7 @@ export default {
},
//加载组织数据
- async getInfo() {
+ async getInfo () {
const url = "/epmetuser/icresiuser/detail";
const { data, code, msg } = await requestPost(url, {
@@ -597,7 +565,7 @@ export default {
}
},
- async getDetailList() {
+ async getDetailList () {
const url = "/epmetuser/epidemicPrevention/info";
let params = {
id: this.userId,
@@ -643,7 +611,7 @@ export default {
},
//加载组织数据
- async getOptions(url) {
+ async getOptions (url) {
if (!url) return [];
const { data, code, msg } = await requestPost(url, {});
@@ -655,7 +623,7 @@ export default {
}
},
- async getXiaoquList() {
+ async getXiaoquList () {
const url = "/gov/org/icneighborhood/neighborhoodoption";
const { data, code, msg } = await requestPost(url, {
@@ -669,7 +637,7 @@ export default {
this.$message.error(msg);
}
},
- async getLouList() {
+ async getLouList () {
const url = "/gov/org/icbuilding/buildingoption";
const { data, code, msg } = await requestPost(url, {
@@ -682,7 +650,7 @@ export default {
this.$message.error(msg);
}
},
- async getDanyuanList() {
+ async getDanyuanList () {
const url = "/gov/org/icbuildingunit/unitoption";
const { data, code, msg } = await requestPost(url, {
@@ -695,7 +663,7 @@ export default {
this.$message.error(msg);
}
},
- async getHomeList() {
+ async getHomeList () {
const url = "/gov/org/ichouse/houseoption";
const { data, code, msg } = await requestPost(url, {
diff --git a/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue b/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue
index 370eed265..25c1f970d 100644
--- a/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue
+++ b/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue
@@ -291,14 +291,17 @@ export default {
this.housePieInitState = false
this.userPieInitState = false
- this.getHousechart()
- this.getUserchart()
+ await this.getHousechart()
+ await this.getUserchart()
+ await this.getSubuserhouselist()
+ this.dataLoading = false
+
+ await nextTick(500)
this.getHousePie()
this.getUserPie()
- await this.getSubuserhouselist()
- this.dataLoading = false
+
},
housePieInitOk (dom) {
@@ -610,7 +613,7 @@ export default {
this.runNum = this.runNum - cutNum
let orgData = this.runAgencyArray[index]
- console.log('----------------',orgData)
+ console.log('----------------', orgData)
for (let i = 0; i < cutNum; i++) {
this.runAgencyArray.pop()