diff --git a/vue.config.js b/vue.config.js
index db6248b..f361a46 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -3,8 +3,8 @@
* https://cli.vuejs.org/zh/config/
*/
// const url = 'http://pigx-gateway'
-const url = 'http://39.97.167.65:9999' //测试
-// const url = 'http://192.168.31.169:9999' //长龙
+// const url = 'http://39.97.167.65:9999' //测试
+const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
// const url = 'http://nitu5e.natappfree.cc' //王笑
From c7b2cd694ba8e3a8ffe87667d9c6651a3b2099dc Mon Sep 17 00:00:00 2001
From: lancer <1905818361@qq.com>
Date: Tue, 14 Dec 2021 16:49:11 +0800
Subject: [PATCH 2/3] init
---
src/views/Equipment/equipmentDetailList.vue | 20 +++++++++++++-------
src/views/Equipment/state.vue | 2 +-
vue.config.js | 4 ++--
3 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/src/views/Equipment/equipmentDetailList.vue b/src/views/Equipment/equipmentDetailList.vue
index e7cb784..ebd7188 100644
--- a/src/views/Equipment/equipmentDetailList.vue
+++ b/src/views/Equipment/equipmentDetailList.vue
@@ -979,13 +979,13 @@ export default {
},
screening() {
this.page.pageNum = 1;
- this.page.pageSize = 6;
+ this.page.pageSize = 10;
this.getTableList();
},
empty() {
this.page = {
pageNum: 1,
- pageSize: 6,
+ pageSize: 10,
openTime: "",
closeTime: "",
houseName: "",
@@ -1170,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");
diff --git a/src/views/Equipment/state.vue b/src/views/Equipment/state.vue
index b0b11ea..7fbc212 100644
--- a/src/views/Equipment/state.vue
+++ b/src/views/Equipment/state.vue
@@ -1006,7 +1006,7 @@ export default {
.then((res) => {
this.$message({
type: "success",
- message: "操作成功!",
+ message: res.msg,
});
this.getTableList();
});
diff --git a/vue.config.js b/vue.config.js
index f361a46..db6248b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -3,8 +3,8 @@
* https://cli.vuejs.org/zh/config/
*/
// const url = 'http://pigx-gateway'
-// const url = 'http://39.97.167.65:9999' //测试
-const url = 'http://192.168.31.169:9999' //长龙
+const url = 'http://39.97.167.65:9999' //测试
+// const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
// const url = 'http://nitu5e.natappfree.cc' //王笑
From 423826418d9bb0879dbe9547e3b6e0874cecf47c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=97=B6=E4=BD=B3=E8=B1=AA?= <2044682269@qq.com>
Date: Tue, 14 Dec 2021 16:51:12 +0800
Subject: [PATCH 3/3] bug
---
src/page/check/chose.vue | 2 +-
src/views/Customer/AgentManagement.vue | 3 ++-
src/views/Customer/CompanyRecord.vue | 3 ++-
src/views/Customer/Companymanagement.vue | 3 ++-
src/views/building/index.vue | 3 ++-
5 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/page/check/chose.vue b/src/page/check/chose.vue
index df02e4b..4b22b56 100644
--- a/src/page/check/chose.vue
+++ b/src/page/check/chose.vue
@@ -113,7 +113,7 @@
- 区域:
+ 片区:
+ {{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}}