- 区域:
+ 片区:
@@ -149,7 +149,7 @@
>
{
console.log(res);
- this.options = res.data.records;
+ this.options = res.data;
});
},
zkhousePage() {
@@ -342,7 +342,7 @@ export default {
if (this.info.selectHouseType == 2) {
this.$api.api
.findHouseByArea({
- id: this.area,
+ provinceItem: this.area,
...obj
})
.then((res) => {
diff --git a/src/views/Customer/AgentManagement.vue b/src/views/Customer/AgentManagement.vue
index 6d5a386..dad83d8 100644
--- a/src/views/Customer/AgentManagement.vue
+++ b/src/views/Customer/AgentManagement.vue
@@ -89,10 +89,11 @@
+ {{scope.row.provinceName}}{{scope.row.cityName}}
+ {{scope.row.provinceName}}{{scope.row.cityName}}
diff --git a/src/views/Customer/Companymanagement.vue b/src/views/Customer/Companymanagement.vue
index 03c93d4..92a37b8 100644
--- a/src/views/Customer/Companymanagement.vue
+++ b/src/views/Customer/Companymanagement.vue
@@ -83,7 +83,8 @@
align="center"
>
-
+
+ {{scope.row.provinceName}}{{scope.row.cityName}}
{
console.log(res,'获取数据')
this.allCompare = res;
- this.total = res.data.first.totalRecord;
+ this.total = res.data.firstPage.total;
// 数据处理
let arr = [];
if (this.pageNum == 1) {
@@ -1070,15 +1091,15 @@ export default {
};
arr.push(obj1);
}
- res.data.first.records.map((item, index) => {
+ res.data.firstPage.records.map((item, index) => {
let obj = {};
//当他为0的时候
obj.name =
- res.data.first.records[index].createTime.substring(5, 10) +
+ res.data.firstPage.records[index].createTime.substring(5, 10) +
"VS" +
- res.data.second.records[index].createTime.substring(5, 10);
- obj.first = res.data.first.records[index];
- obj.second = res.data.second.records[index];
+ res.data.secondPage.records[index].createTime.substring(5, 10);
+ obj.first = res.data.firstPage.records[index];
+ obj.second = res.data.secondPage.records[index];
obj.contrast = res.data.contrast[index];
// obj.time=''
// obj.time1=''
@@ -1149,12 +1170,18 @@ export default {
item.time = item.first[str];
item.time1 = item.second[str];
item.time2 = item.contrast[str] + "";
- if (index > 0) {
- timeDate.push(item.name);
- arr1.push(item.first[str]);
- arr2.push(item.second[str]);
- }
+
+ // if (index > 0) {
+ // timeDate.push(item.name);
+ // arr1.push(item.first[str]);
+ // arr2.push(item.second[str]);
+ // }
});
+ this.allCompare.data.first.map((item,idx)=>{
+ timeDate.push(item.createTime.substring(5)+'VS'+this.allCompare.data.second[idx].createTime.substring(5))
+ arr1.push(item[str])
+ arr2.push(this.allCompare.data.second[idx][str])
+ })
this.compareList = Object.assign([], this.compareList);
this.$forceUpdate();
var chartDom = document.getElementById("compare");
@@ -1264,7 +1291,7 @@ export default {
// console.log(this.allCompare,"第一种");
let timeDate = [];
let arr1 = [];
- this.allCompare.data.first.records.map(item=>{
+ this.allCompare.data.first.map(item=>{
timeDate.push(item.createTime.substring(5))
arr1.push(item[str])
})
diff --git a/src/views/Equipment/index.vue b/src/views/Equipment/index.vue
index 614b65a..82cb345 100644
--- a/src/views/Equipment/index.vue
+++ b/src/views/Equipment/index.vue
@@ -1200,6 +1200,7 @@ export default {
this.$api.api
.findHouseByUser({
orgType: localStorage.getItem("orgType"),
+ houseTypes:'0,1,2,3'
})
.then((res) => {
// console.log(res)
diff --git a/src/views/Equipment/state.vue b/src/views/Equipment/state.vue
index db2c931..7fbc212 100644
--- a/src/views/Equipment/state.vue
+++ b/src/views/Equipment/state.vue
@@ -2,7 +2,7 @@
-
+
{
this.$message({
type: "success",
- message: "操作成功!",
+ message: res.msg,
});
this.getTableList();
});
diff --git a/src/views/building/Count.vue b/src/views/building/Count.vue
index 251a2f1..05632ac 100644
--- a/src/views/building/Count.vue
+++ b/src/views/building/Count.vue
@@ -158,14 +158,14 @@
clearable
>
-
+
-
+
系统运营:
diff --git a/src/views/building/index.vue b/src/views/building/index.vue
index ebffcee..dec08cc 100644
--- a/src/views/building/index.vue
+++ b/src/views/building/index.vue
@@ -240,10 +240,11 @@
+ {{scope.row.provinceName}}{{scope.row.cityName}}