Przeglądaj źródła

活跃度和工作完成积分优化

GaoYuPeng 4 lat temu
rodzic
commit
5a0ca3a9b7

+ 51 - 48
shanXiPlatform/src/views/home/branchOffice.vue

@@ -1125,56 +1125,57 @@ export default {
1125 1125
     drawtrt() {
1126 1126
       gethyd(this.midprovinceid, this.homeType).then(res => {
1127 1127
         var chartDataone = [
1128
-          100,
1129
-          100,
1130
-          100,
1131
-          100,
1132
-          100,
1133
-          100,
1134
-          100,
1135
-          100,
1136
-          100,
1137
-          100,
1138
-          100,
1139
-          100,
1140
-          100,
1141
-          100,
1142
-          100,
1143
-          100,
1144
-          100,
1145
-          100,
1146
-          100,
1147
-          100,
1148
-          100,
1149
-          100,
1150
-          100,
1151
-          100,
1152
-          100,
1153
-          100,
1154
-          100,
1155
-          100,
1156
-          100,
1157
-          100,
1158
-          100,
1159
-          100,
1160
-          100,
1161
-          100,
1162
-          100,
1163
-          100,
1164
-          100,
1165
-          100,
1166
-          100,
1167
-          100,
1168
-          100,
1169
-          100,
1170
-          100,
1171
-          100,
1172
-          100,
1173
-          100
1128
+          // 66
1129
+          100,
1130
+          // 100,
1131
+          // 100,
1132
+          // 100,
1133
+          // 100,
1134
+          // 100,
1135
+          // 100,
1136
+          // 100,
1137
+          // 100,
1138
+          // 100,
1139
+          // 100,
1140
+          // 100,
1141
+          // 100,
1142
+          // 100,
1143
+          // 100,
1144
+          // 100,
1145
+          // 100,
1146
+          // 100,
1147
+          // 100,
1148
+          // 100,
1149
+          // 100,
1150
+          // 100,
1151
+          // 100,
1152
+          // 100,
1153
+          // 100,
1154
+          // 100,
1155
+          // 100,
1156
+          // 100,
1157
+          // 100,
1158
+          // 100,
1159
+          // 100,
1160
+          // 100,
1161
+          // 100,
1162
+          // 100,
1163
+          // 100,
1164
+          // 100,
1165
+          // 100,
1166
+          // 100,
1167
+          // 100,
1168
+          // 100,
1169
+          // 100,
1170
+          // 100,
1171
+          // 100,
1172
+          // 100,
1173
+          // 100,
1174
+          // 100
1174 1175
         ] // 数据
1175 1176
         var chartName = res.data.depotName
1176 1177
         var chartData = res.data.series
1177
-        console.log(res,'chartData')
1178
+        // console.log(res,'chartData')
1178 1179
         const myChartrt = this.$echarts.init(
1179 1180
           document.getElementById("myChartrt")
1180 1181
         )
@@ -1308,10 +1309,11 @@ export default {
1308 1309
               label: {
1309 1310
                 normal: {
1310 1311
                   show: true,
1311
-                  position: [-180, 10],
1312
+                  position: [-180, 22],
1312 1313
                   textStyle: {
1313 1314
                     fontSize: 12,
1314 1315
                     color: "#666",
1316
+                    // color: "red",
1315 1317
                     fontWeight: 700
1316 1318
                   },
1317 1319
                   formatter: function(data) {
@@ -1320,6 +1322,7 @@ export default {
1320 1322
                 }
1321 1323
               },
1322 1324
               data: chartDataone
1325
+              // data: chartName
1323 1326
             }
1324 1327
           ]
1325 1328
         })

+ 2 - 1
shanXiPlatform/src/views/home/gzjftable.vue

@@ -32,7 +32,7 @@
32 32
                         {{scope.row.sscore}} 分
33 33
                       </template>
34 34
                     </el-table-column>
35
-                    <el-table-column property="operation" label="操作" align="center">
35
+                    <el-table-column property="operation" label="操作" align="center" width='250'>
36 36
                         <template slot-scope="scope">
37 37
                           <div v-show="depotChild.includes(scope.row.depotId)">
38 38
                             <el-button size="mini" type="detailbtn" @click="detailbtn(scope.$index, scope.row)">查看库内工作情况排名</el-button>
@@ -155,6 +155,7 @@ export default {
155 155
                 // depotId: this.$store.state.depotId,
156 156
                 depotId: this.$route.query.depotId,
157 157
                 sTime: this.checkYear,
158
+                groupBy:1,
158 159
                 type:''
159 160
             }
160 161
             condition = JSON.stringify(condition)

+ 1 - 0
shanXiPlatform/src/views/home/hydmoretable.vue

@@ -72,6 +72,7 @@ export default {
72 72
                 // depotId: this.$store.state.depotId,
73 73
                 depotId: this.$route.query.depotId,
74 74
                 sTime: this.checkYear,
75
+                groupBy:2,
75 76
                 type:'1'
76 77
             }
77 78
             condition = JSON.stringify(condition)

+ 1 - 0
shanXiPlatform/src/views/home/hydtable.vue

@@ -149,6 +149,7 @@ export default {
149 149
                 // depotId: this.$store.state.depotId,
150 150
                 depotId: this.$route.query.depotId,
151 151
                 sTime: this.checkYear,
152
+                groupBy:1,
152 153
                 type: ""
153 154
             }
154 155
             condition = JSON.stringify(condition)

+ 1 - 0
shanXiPlatform/src/views/home/kngzjftable.vue

@@ -75,6 +75,7 @@ export default {
75 75
                 // depotId: this.$store.state.depotId,
76 76
                 depotId: this.$route.query.depotId,
77 77
                 sTime: this.checkYear,
78
+                groupBy:2,
78 79
                 type:'1'
79 80
             }
80 81
             condition = JSON.stringify(condition)

+ 3 - 3
shanXiPlatform/vue.config.js

@@ -39,8 +39,8 @@ module.exports = {
39 39
 
40 40
     proxy: {  //配置跨域
41 41
       '/': {
42
-         //target: 'http://101.36.160.140:21061',  //这里后台的地址模拟的;应该填写你们真实的后台接口
43
-         target: 'http://101.36.160.140:21021',  //这里后台的地址模拟的;应该填写你们真实的后台接口
42
+         target: 'http://101.36.160.140:21061',  //这里后台的地址模拟的;应该填写你们真实的后台接口
43
+        //  target: 'http://101.36.160.140:21021',  //这里后台的地址模拟的;应该填写你们真实的后台接口
44 44
         // target:'http://172.16.0.02:9601',
45 45
         changOrigin: true,  //允许跨域
46 46
 
@@ -54,7 +54,7 @@ module.exports = {
54 54
       '/apk': {
55 55
         // ws: true,
56 56
          target: 'http://101.36.160.140:21021',
57
-         //target: 'http://101.36.160.140:21061',
57
+        //  target: 'http://101.36.160.140:21061',
58 58
         changOrigin: true,
59 59
         pathRewrite: {
60 60
             '^/apk': ''