From b9072c719e545c8527be5f9378d73af6f3614a8c Mon Sep 17 00:00:00 2001
From: douzhuo <17611323298@163.com>
Date: Wed, 23 Feb 2022 17:51:56 +0800
Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=9C=AA=E5=BC=80=E5=8F=91?=
=?UTF-8?q?=E5=AE=8C=E5=8A=9F=E8=83=BD=EF=BC=8Cbug=E5=9F=BA=E6=9C=AC?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/page/index/top/index.vue | 6 ++--
src/page/wel.vue | 12 ++++----
src/views/Customer/SalesStage.vue | 4 +--
src/views/Equipment/equipmentDetailList.vue | 5 ++--
src/views/ReceivingRecords/index.vue | 4 +--
src/views/Statistics/BuildingContrast.vue | 4 +--
src/views/Statistics/index.js | 31 ---------------------
vue.config.js | 4 +--
8 files changed, 21 insertions(+), 49 deletions(-)
delete mode 100644 src/views/Statistics/index.js
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 53e5899..e0d5eab 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -87,8 +87,8 @@
-
-
+
+
>
+ >
@@ -1299,18 +1299,19 @@ export default {
chooseCompanyRank(keys, index) {
this[keys] = index
console.log(keys)
+ console.log(this.role, '123891273892178937129837')
if (this.role != 2) {
if (keys == 'classatec1') {
if (index == 0) {
- this.companyRank = this.allCompanyRank.avgFraction
- } else {
this.companyRank = this.allCompanyRank.receptionCount
+ } else {
+ this.companyRank = this.allCompanyRank.avgFraction
}
} else {
if (index == 0) {
- this.houseRank = this.allHouseRank.avgFraction
- } else {
this.houseRank = this.allHouseRank.receptionCount
+ } else {
+ this.houseRank = this.allHouseRank.avgFraction
}
}
} else {
@@ -1462,6 +1463,7 @@ export default {
this.statDateEnd = "";
this.customtime = [];
this.TimetoAhoose = i;
+ console.log(this.role)
if (this.role == 3) {
this.getgicd();
this.getindexZxllist();
diff --git a/src/views/Customer/SalesStage.vue b/src/views/Customer/SalesStage.vue
index 6b6ecc3..6f29416 100644
--- a/src/views/Customer/SalesStage.vue
+++ b/src/views/Customer/SalesStage.vue
@@ -181,11 +181,11 @@ computed: {
if (res.code == 0) {
this.$message({
type: "success",
- message: "删除成功!",
+ message: res.msg,
});
this.findbypage();
} else {
- this.$message.error(res.message);
+ this.$message.error(res.msg);
}
});
})
diff --git a/src/views/Equipment/equipmentDetailList.vue b/src/views/Equipment/equipmentDetailList.vue
index e76f508..8577de2 100644
--- a/src/views/Equipment/equipmentDetailList.vue
+++ b/src/views/Equipment/equipmentDetailList.vue
@@ -887,11 +887,11 @@ export default {
mounted() {
// return;
let theRequest = this.$route.query;
- // console.log(theRequest,'123') //此时的theRequest就是我们需要的参数;
+ console.log(theRequest,'123') //此时的theRequest就是我们需要的参数;
if (theRequest.houseId) {
this.flag = true;
this.houseId = theRequest.houseId;
- this.timeType = theRequest.timeType;
+ this.timeType = theRequest.timeType || -1;
this.selValue="2"
} else {
this.flag = false;
@@ -1117,6 +1117,7 @@ export default {
if (this.timeType == 6) {
num = 24 * 3600 * 1000 * 30;
}
+ console.log('ashjdklasjkldasjdlks')
if (i != -1) {
this.customtime = [
this.timestampToTime(new Date().getTime() - num),
diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue
index 479eb08..be0abcd 100644
--- a/src/views/ReceivingRecords/index.vue
+++ b/src/views/ReceivingRecords/index.vue
@@ -344,8 +344,8 @@
@click="Receivedetailsabout(row)"
>查看
-
- 删除
+
+
diff --git a/src/views/Statistics/BuildingContrast.vue b/src/views/Statistics/BuildingContrast.vue
index 55b1e38..35a83d9 100644
--- a/src/views/Statistics/BuildingContrast.vue
+++ b/src/views/Statistics/BuildingContrast.vue
@@ -183,11 +183,11 @@
{{ objList3.sum }}次
-
顾问
+
楼盘总数
{{ objList3.num }}个
-
人均接待量
+
平均违规
{{ objList3.avg }}次
diff --git a/src/views/Statistics/index.js b/src/views/Statistics/index.js
deleted file mode 100644
index 46c381d..0000000
--- a/src/views/Statistics/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
-var IframeOnClick = {
- resolution: 200,
- iframes: [],
- interval: null,
- Iframe: function () {
- this.element = arguments[0];
- this.cb = arguments[1];
- },
- track: function (element, cb) {
- this.iframes.push(new this.Iframe(element, cb));
- var _this = this;
- this.interval = setInterval(function () {
- _this.checkClick();
- }, this.resolution);
- },
- checkClick: function () {
- if (document.activeElement) {
- var activeElement = document.activeElement;
- for (var i in this.iframes) {
- if (activeElement === this.iframes[i].element) { // user is in this Iframe
- this.iframes[i].cb.apply(window, []);
- var btn = document.getElementById("btn")
- btn.focus()
- }
- }
- }
- }
-};
-IframeOnClick.track(document.getElementById("iFrame"), function () {
- console.log(11111);
-});
\ No newline at end of file
diff --git a/vue.config.js b/vue.config.js
index 41846be..0646ad8 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -4,10 +4,10 @@
*/
// const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
-const url = 'http://192.168.31.167:9999' //长龙
+// const url = 'http://192.168.31.167:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
-// const url = 'http://62.234.122.43:9999' //正式
+const url = 'http://62.234.122.43:9999' //正式
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']