From 936e962392b24640f23f2d7534c85d67e426602b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 29 Mar 2021 10:26:50 +0800
Subject: [PATCH] 去除打印信息

---
 src/views/util/store.vue                          |    1 -
 src/views/security/security.vue                   |    2 --
 src/views/system/user.vue                         |    1 -
 src/views/system/tenant.vue                       |    1 -
 src/views/clientManagement/clientManagement.vue   |   10 ++++++++++
 src/views/parcel/parcel.vue                       |    1 -
 src/page/index/logo.vue                           |   18 ++++++++++--------
 src/page/logs/index.vue                           |    1 -
 src/views/resource/sms.vue                        |    1 -
 src/views/realTimePolice/real.vue                 |    8 ++++----
 src/main.js                                       |    1 -
 src/views/equipment/equipment.vue                 |    1 -
 src/views/policeInformationDistribution/index.vue |    1 -
 src/views/resource/attach.vue                     |    1 -
 src/views/attendance/attendance.vue               |    1 -
 src/views/base/region.vue                         |    1 -
 src/views/distribution/index.vue                  |    1 -
 17 files changed, 24 insertions(+), 27 deletions(-)

diff --git a/src/main.js b/src/main.js
index 9085075..a770281 100644
--- a/src/main.js
+++ b/src/main.js
@@ -51,7 +51,6 @@
 iconfontVersion.forEach(ele => {
   loadStyle(iconfontUrl.replace('$key', ele));
 });
-
 Vue.config.productionTip = false;
 
 new Vue({
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index bfc0f6b..2a1b2a9 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -20,7 +20,7 @@
         :append-to-body="true"
         :close-on-press-escape="false"
         :close-on-click-modal="false"
-        @opened="videoConversationReal = true"
+        @opened="onDialogTableVisible"
         @close="closeDialog"
       >
         <el-form
@@ -401,7 +401,6 @@
                     `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${that.form.serialNumber}&chl=${that.form.channelNumber}`
                   )
                   .then((result) => {
-                    console.log(result);
                     axios({
                       method: "post",
                       url: `/api/blade-jfpts/rvideo/rVoid`,
@@ -427,10 +426,6 @@
               that.peopleName = that.form.oneContacts;
               that.peoplePhone = that.form.onePhone;
               that.dialogTableVisible = true;
-
-              console.log(Recorder)
-
-              if (Recorder) Recorder.getPermiRecorderssion().then(() => {});
 
               that.ofX = null;
               that.ofY = null;
@@ -710,6 +705,8 @@
     },
 
     aKeyToCall() {
+      this.isActive = true;
+
       var that = this;
       if (this.recorder == null) {
         this.recorder = new Recorder({
@@ -719,7 +716,6 @@
           // compiling: false,(0.x版本中生效,1.x增加中)  // 是否边录边转换,默认是false
         });
       }
-      this.isActive = true;
 
       // 一键呼叫相关函数
       that.recorder.start().then(
@@ -735,6 +731,8 @@
 
     // 序列号后期待修改
     aKeyStopCall() {
+      this.isActive = false;
+
       var newCallAxios = axios.create({
         baseURL: "https://web.byisf.com:18000",
         withCredentials: false,
@@ -743,7 +741,6 @@
         },
       });
       var that = this;
-      that.isActive = false;
 
       newCallAxios
         .post(
@@ -848,6 +845,11 @@
         }
       }, 3000);
     },
+
+    onDialogTableVisible() {
+      Recorder.getPermission().then(() => {});
+      this.videoConversationReal = true;
+    },
   },
 };
 </script>
diff --git a/src/page/logs/index.vue b/src/page/logs/index.vue
index 30c8cd6..43fa704 100644
--- a/src/page/logs/index.vue
+++ b/src/page/logs/index.vue
@@ -111,7 +111,6 @@
       })
         .then(() => {
           this.$store.commit("CLEAR_LOGS");
-          window.console.log(this);
           this.$parent.$parent.box = false;
           this.$message({
             type: "success",
diff --git a/src/views/attendance/attendance.vue b/src/views/attendance/attendance.vue
index d997850..d5a2383 100644
--- a/src/views/attendance/attendance.vue
+++ b/src/views/attendance/attendance.vue
@@ -413,7 +413,6 @@
           cancelButtonText: "取消",
           type: "warning"
         }).then(() => {
-          console.log(this.search)
           window.open(`/api/blade-jfpts/attendance/export-Attendance?name=${this.search.name}&beginTime=${this.search.releaseTimeRange[0]}
           &endTime=${this.search.releaseTimeRange[1]}&attendancetype=${this.search.attendancetype}`);
         });
diff --git a/src/views/base/region.vue b/src/views/base/region.vue
index 2027d70..294fe44 100644
--- a/src/views/base/region.vue
+++ b/src/views/base/region.vue
@@ -375,7 +375,6 @@
           });
       },
       uploadAfter(res, done, loading, column) {
-        window.console.log(column);
         this.excelBox = false;
         this.initTree();
         done();
diff --git a/src/views/clientManagement/clientManagement.vue b/src/views/clientManagement/clientManagement.vue
index ff176a4..0bb3a1d 100644
--- a/src/views/clientManagement/clientManagement.vue
+++ b/src/views/clientManagement/clientManagement.vue
@@ -445,6 +445,16 @@
               label: "权属",
               prop: "ownership",
               width: 150
+            },
+            {
+              label: "负责人",
+              prop: "oneContacts",
+              width: 72
+            },
+            {
+              label: "负责人联系方式",
+              prop: "onePhone",
+              width: 110
             }, {
               label: "街道",
               prop: "street",
diff --git a/src/views/distribution/index.vue b/src/views/distribution/index.vue
index 7b17b4e..d5355b9 100644
--- a/src/views/distribution/index.vue
+++ b/src/views/distribution/index.vue
@@ -217,7 +217,6 @@
     this.form = this.$route.query;
     this.form.handletype = 0;
 
-    console.log(this.form)
 
     if (this.form.type == 0) {
       this.form.handleP = "";
diff --git a/src/views/equipment/equipment.vue b/src/views/equipment/equipment.vue
index a75922c..66a4452 100644
--- a/src/views/equipment/equipment.vue
+++ b/src/views/equipment/equipment.vue
@@ -276,7 +276,6 @@
     watch: {
       text: {
         handler (val) {
-          console.log(val)
           this.address = val;
         },
         deep: true,
diff --git a/src/views/parcel/parcel.vue b/src/views/parcel/parcel.vue
index 6d30f8a..8bc2667 100644
--- a/src/views/parcel/parcel.vue
+++ b/src/views/parcel/parcel.vue
@@ -213,7 +213,6 @@
     },
     methods: {
       beforeOpen(done, type) {
-        console.log(type);
         if (["view"].includes(type)) {
           getDetail(this.form.imgUrl).then(res => {
             this.form = res.data.data;
diff --git a/src/views/policeInformationDistribution/index.vue b/src/views/policeInformationDistribution/index.vue
index 2d8ef0b..56b96d8 100644
--- a/src/views/policeInformationDistribution/index.vue
+++ b/src/views/policeInformationDistribution/index.vue
@@ -532,7 +532,6 @@
           }
         });
         this.$store.state.tags.tagList = arr;
-        console.log(data)
         this.$router.push({path: "/distribution/index", query: data});
       },
       handleMap(row) {
diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index 416d96c..7bd4746 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -2,7 +2,7 @@
  * @Author: Morpheus
  * @Date: 2021-03-17 15:21:33
  * @Last Modified by: Morpheus
- * @Last Modified time: 2021-03-26 14:56:01
+ * @Last Modified time: 2021-03-29 10:19:55
  */
 <template>
   <basic-container>
@@ -1252,6 +1252,7 @@
     },
 
     aKeyToCall() {
+      this.isActive = true;
       var that = this;
       if (this.recorder == null) {
         this.recorder = new Recorder({
@@ -1261,7 +1262,6 @@
           // compiling: false,(0.x版本中生效,1.x增加中)  // 是否边录边转换,默认是false
         });
       }
-      this.isActive = true;
 
       // 一键呼叫相关函数
       that.recorder.start().then(
@@ -1277,6 +1277,7 @@
 
     // 序列号后期待修改
     aKeyStopCall() {
+      this.isActive = false;
       var newCallAxios = axios.create({
         baseURL: "https://web.byisf.com:18000",
         withCredentials: false,
@@ -1285,7 +1286,6 @@
         },
       });
       var that = this;
-      that.isActive = false;
 
       newCallAxios
         .post(
@@ -1445,7 +1445,7 @@
 }
 
 .el-button.active {
-  background: #ff0000;
+  background: #ff0000 !important;
 }
 
 .el-button.btn-color {
diff --git a/src/views/resource/attach.vue b/src/views/resource/attach.vue
index fa180b6..88e80a6 100644
--- a/src/views/resource/attach.vue
+++ b/src/views/resource/attach.vue
@@ -189,7 +189,6 @@
         this.attachBox = true;
       },
       uploadAfter(res, done, loading, column) {
-        window.console.log(column);
         this.attachBox = false;
         this.refreshChange();
         done();
diff --git a/src/views/resource/sms.vue b/src/views/resource/sms.vue
index feca9f2..3f34af1 100644
--- a/src/views/resource/sms.vue
+++ b/src/views/resource/sms.vue
@@ -359,7 +359,6 @@
             message: "发送成功!"
           });
           done();
-          window.console.log(res);
           this.box = false;
         }, error => {
           window.console.log(error);
diff --git a/src/views/security/security.vue b/src/views/security/security.vue
index 54210a1..65accab 100644
--- a/src/views/security/security.vue
+++ b/src/views/security/security.vue
@@ -216,8 +216,6 @@
       },
       handleMap(row) {
         this.showMap = true;
-        console.log("row.id="+row.id);
-        console.log("row.wd="+row.wd);
         this.$nextTick(() => {
           this.$refs.mapDiv.onload = () => {
             window.frames[0].init("SecurityMap", {
diff --git a/src/views/system/tenant.vue b/src/views/system/tenant.vue
index a535ed6..702f8c4 100644
--- a/src/views/system/tenant.vue
+++ b/src/views/system/tenant.vue
@@ -148,7 +148,6 @@
             span: 24,
             component: "avueMap",
             clickChild: (obj) => {
-              console.log(123,obj)
               this.form.jd = obj.latitude
               this.form.wd = obj.longitude
             },
diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index fdb4cf2..1822253 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -877,7 +877,6 @@
         this.excelBox = true;
       },
       uploadAfter(res, done, loading, column) {
-        window.console.log(column);
         this.excelBox = false;
         this.refreshChange();
         done();
diff --git a/src/views/util/store.vue b/src/views/util/store.vue
index 51c76ad..931372f 100644
--- a/src/views/util/store.vue
+++ b/src/views/util/store.vue
@@ -104,7 +104,6 @@
       },
       getAll(params = {}) {
         const list = getAllStore(params);
-        window.console.log(list);
         this.$message(`结果已经打印到控制台`);
       }
     }

--
Gitblit v1.9.3