liuhj 1 月之前
父節點
當前提交
e46cfde95e
共有 2 個文件被更改,包括 4 次插入5 次删除
  1. 3 4
      src/components/Crm/DeleClient.vue
  2. 1 1
      src/components/statistics/Statistically.vue

+ 3 - 4
src/components/Crm/DeleClient.vue

@@ -134,11 +134,10 @@ export default {
             if (this.input == "") {
                 newarr = this.tableData;
             } else {
-
-                for (var i = 0; i < this.tableData.length; i++) {
-                    if (this.tableData[i].clientName.indexOf(this.input) != -1) {
+                for (var i = 0; i < this.tableData.length; i++) { 
+                    if ((this.tableData[i].clientName).indexOf(this.input) != -1) {
                         newarr.push(this.tableData[i]);
-                    } else if (this.tableData[i].companyName.indexOf(this.input) != -1) {
+                    } else if ((this.tableData[i].companyFullName).indexOf(this.input) != -1) {
                         newarr.push(this.tableData[i]);
                     }
                 }

+ 1 - 1
src/components/statistics/Statistically.vue

@@ -169,7 +169,7 @@
                         <div v-else-if="value==2" style="width: 100%;">
                             <div id="hoteltopten" style="width: 100%;height:400px;"></div>
                             <div id="hotelPredeterminedPlatform" style="width: 100%;height:400px;"></div>
-                            <div id="hotelcountry" style="width: 100%;height:400px;"></div>
+                            <!-- <div id="hotelcountry" style="width: 100%;height:400px;"></div> -->
                         </div>
                         <div v-else-if="value==5" style="width: 100%;">
                             <div id="invitationtopten" style="width: 100%;height:400px;"></div>