diff --git a/package.json b/package.json index 7162274..896f3af 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,16 @@ "codemirror": "^5.53.2", "core-js": "^2.6.12", "crypto-js": "^3.1.9-1", + "docxtemplater": "^3.29.4", "echarts": "^4.2.1", "element-ui": "2.12.0", + "file-saver": "^2.0.5", "js-cookie": "^2.2.0", + "jszip": "^3.9.1", + "jszip-utils": "^0.1.0", "less-loader": "^6.0.0", "nprogress": "^0.2.0", + "pizzip": "^3.1.1", "quill": "^1.3.7", "script-loader": "^0.7.2", "sockjs-client": "1.0.0", diff --git a/public/model.docx b/public/model.docx new file mode 100644 index 0000000..75d8fa0 Binary files /dev/null and b/public/model.docx differ diff --git a/src/page/wel.vue b/src/page/wel.vue index c69bc25..7c320f9 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -241,8 +241,6 @@ style=" display: flex; flex-wrap: wrap; - height: 290px; - overflow-y: auto; width: 90%; margin: 0 auto; " @@ -311,8 +309,6 @@
> + > >
-
+
{{ userinformationlist.visitRecord == 1 @@ -21,7 +21,7 @@ }}
-
+
加精
{{ userinformationlist.validInvalidName }}
+ +
导出话术
@@ -160,7 +162,13 @@
-
标记
+
+ 标记 +
@@ -195,10 +203,17 @@ {{ item.bg | timestamp }}
-
- +
+
@@ -403,7 +418,11 @@ - +
{{ item.name }}
@@ -170,7 +170,7 @@
{{ item.name }}
@@ -206,7 +206,7 @@
{{ item.name }}
@@ -239,7 +239,7 @@
{{ item.name }}
@@ -669,7 +669,7 @@ export default { .app-box-san { width: 100%; - height: 400px; + min-height: 400px; display: flex; margin-top: 15px; .zuo { diff --git a/src/views/Statistics/ConsultantBrand.vue b/src/views/Statistics/ConsultantBrand.vue index 3cb0738..5513adb 100644 --- a/src/views/Statistics/ConsultantBrand.vue +++ b/src/views/Statistics/ConsultantBrand.vue @@ -98,7 +98,12 @@ - +
{{ item.name }}
@@ -235,7 +240,7 @@
{{ item.name }}
@@ -294,7 +299,7 @@
{{ item.name }}
@@ -354,7 +359,7 @@
{{ item.name }}
@@ -387,7 +392,7 @@ import * as echarts from "echarts"; import { mapGetters } from "vuex"; import { exportMethodPost } from "@/util/util"; export default { - name:"consultantBrand", + name: "consultantBrand", data() { return { houseId: "", @@ -459,6 +464,9 @@ export default { statDateEnd: this.statDateEnd, deptId: this.deptId, dateType: this.dateType == 7 ? null : this.dateType, + type: 1, + current: 1, + size: 1, }; // exportMethodPost() exportMethodPost( @@ -597,7 +605,7 @@ export default { this["num" + type] = res.data.num || 0; this["avg" + type] = res.data.avg || 0; let arr = []; - let max = 0 + let max = 0; let newarr = res.data.list || []; if (newarr.length != 0) { res.data.list.map((item) => { @@ -610,7 +618,7 @@ export default { obj.name = item.accountName; obj.zxl = Math.floor(item.sumDuration / 60); if (max < obj.zxl) { - max = obj.zxl + max = obj.zxl; } arr.push(obj); } else if (type == 3) { @@ -625,10 +633,10 @@ export default { }); } - if(type == 2) { + if (type == 2) { arr.forEach((item) => { - item.percentage = (item.zxl/max)*100 - }) + item.percentage = (item.zxl / max) * 100; + }); } if (type == 3) { @@ -636,7 +644,10 @@ export default { } if (type == 4) { - console.log(arr, 'arr4,ajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjaksl') + console.log( + arr, + "arr4,ajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjakslajdklsajkldjaskldjaksl" + ); arr = this.dealData(arr); } return arr; @@ -899,7 +910,7 @@ export default { .app-box-san { width: 100%; - height: 400px; + min-height: 400px; display: flex; margin-top: 15px; .zuo { diff --git a/src/views/Statistics/ReceptionOverview.vue b/src/views/Statistics/ReceptionOverview.vue index 1417065..09ba9b7 100644 --- a/src/views/Statistics/ReceptionOverview.vue +++ b/src/views/Statistics/ReceptionOverview.vue @@ -273,8 +273,7 @@
- {{ item.zxl }}{{ activeName | company }} + {{ item.zxl || 0 }}{{ activeName | company }}
@@ -336,8 +335,7 @@
diff --git a/src/views/Statistics/ReceptionStatistical.vue b/src/views/Statistics/ReceptionStatistical.vue index 0e5e7cb..da7b260 100644 --- a/src/views/Statistics/ReceptionStatistical.vue +++ b/src/views/Statistics/ReceptionStatistical.vue @@ -1,98 +1,108 @@