From de8b198b3c7752bd95d0912589117fe72768e489 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 21 Sep 2023 17:13:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E6=80=BB=E9=83=A8=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=97=A5=E5=B8=B8=E7=9B=91=E7=9D=A3=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=9B=BEecharts=E6=9C=80=E5=B0=8F=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/index.html | 2 +- client/package.json | 2 +- client/src/router/index.js | 6 + client/src/views/consulting/deptFile.vue | 314 ++++++++++++++++++ .../views/supervisionNew/statisticsGroup.vue | 26 +- 5 files changed, 341 insertions(+), 9 deletions(-) create mode 100644 client/src/views/consulting/deptFile.vue diff --git a/client/dist/index.html b/client/dist/index.html index 84ad2be..b34300f 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -1 +1 @@ -vue Admin Template
\ No newline at end of file +vue Admin Template
\ No newline at end of file diff --git a/client/package.json b/client/package.json index 2cb862a..09754e1 100644 --- a/client/package.json +++ b/client/package.json @@ -26,7 +26,7 @@ "normalize.css": "7.0.0", "nprogress": "0.2.0", "path-to-regexp": "2.4.0", - "vod-js-sdk-v6": "^1.4.12", + "vod-js-sdk-v6": "^1.4.12", "vue": "2.6.10", "vue-pdf": "^4.2.0", "vue-router": "3.0.6", diff --git a/client/src/router/index.js b/client/src/router/index.js index 69d86d1..6c3acb9 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -175,6 +175,12 @@ export const asyncRoutes = [ meta: { title: '资讯资料分享', icon: 'guide', perms: ['consulting_views'] }, alwaysShow: true, children: [ + { + path: 'deptFile', + name: 'deptFile', + component: () => import('@/views/consulting/deptFile.vue'), + meta: { title: '总部文件', perms: ['test'] } + }, { path: 'rule', name: 'rule', diff --git a/client/src/views/consulting/deptFile.vue b/client/src/views/consulting/deptFile.vue new file mode 100644 index 0000000..a162377 --- /dev/null +++ b/client/src/views/consulting/deptFile.vue @@ -0,0 +1,314 @@ + + diff --git a/client/src/views/supervisionNew/statisticsGroup.vue b/client/src/views/supervisionNew/statisticsGroup.vue index 4948b41..adb90ed 100644 --- a/client/src/views/supervisionNew/statisticsGroup.vue +++ b/client/src/views/supervisionNew/statisticsGroup.vue @@ -100,7 +100,7 @@ top:'3%' }, grid: { - left: '2%', + left: '1%', right: '2%', bottom: '25%', top: '12%', @@ -341,13 +341,25 @@ data42.push(item4.客户投诉处理满意率设定值) }) minNumber1 =Math.min(...data1) - minNumber1 = Math.floor(minNumber1) + minNumber1 = Math.floor(minNumber1); + if(minNumber1>0){ + minNumber1 = minNumber1-1; + } minNumber2 =Math.min(...data2) minNumber2 = Math.floor(minNumber2) + if(minNumber2>0){ + minNumber2 = minNumber2-1; + } minNumber3 =Math.min(...data3) minNumber3 = Math.floor(minNumber3) + if(minNumber3>0){ + minNumber3 = minNumber3-1; + } minNumber4 =Math.min(...data4) minNumber4 = Math.floor(minNumber4) + if(minNumber4>0){ + minNumber4 = minNumber4-1; + } markLine4 = sortedArr4[0].客户投诉处理满意率基础值; function tofixed1(item){ @@ -525,14 +537,14 @@ } }; -