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
     drawtrt() {
1125
     drawtrt() {
1126
       gethyd(this.midprovinceid, this.homeType).then(res => {
1126
       gethyd(this.midprovinceid, this.homeType).then(res => {
1127
         var chartDataone = [
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
         var chartName = res.data.depotName
1176
         var chartName = res.data.depotName
1176
         var chartData = res.data.series
1177
         var chartData = res.data.series
1177
-        console.log(res,'chartData')
1178
+        // console.log(res,'chartData')
1178
         const myChartrt = this.$echarts.init(
1179
         const myChartrt = this.$echarts.init(
1179
           document.getElementById("myChartrt")
1180
           document.getElementById("myChartrt")
1180
         )
1181
         )
@@ -1308,10 +1309,11 @@ export default {
1308
               label: {
1309
               label: {
1309
                 normal: {
1310
                 normal: {
1310
                   show: true,
1311
                   show: true,
1311
-                  position: [-180, 10],
1312
+                  position: [-180, 22],
1312
                   textStyle: {
1313
                   textStyle: {
1313
                     fontSize: 12,
1314
                     fontSize: 12,
1314
                     color: "#666",
1315
                     color: "#666",
1316
+                    // color: "red",
1315
                     fontWeight: 700
1317
                     fontWeight: 700
1316
                   },
1318
                   },
1317
                   formatter: function(data) {
1319
                   formatter: function(data) {
@@ -1320,6 +1322,7 @@ export default {
1320
                 }
1322
                 }
1321
               },
1323
               },
1322
               data: chartDataone
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
                         {{scope.row.sscore}} 分
32
                         {{scope.row.sscore}} 分
33
                       </template>
33
                       </template>
34
                     </el-table-column>
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
                         <template slot-scope="scope">
36
                         <template slot-scope="scope">
37
                           <div v-show="depotChild.includes(scope.row.depotId)">
37
                           <div v-show="depotChild.includes(scope.row.depotId)">
38
                             <el-button size="mini" type="detailbtn" @click="detailbtn(scope.$index, scope.row)">查看库内工作情况排名</el-button>
38
                             <el-button size="mini" type="detailbtn" @click="detailbtn(scope.$index, scope.row)">查看库内工作情况排名</el-button>
@@ -155,6 +155,7 @@ export default {
155
                 // depotId: this.$store.state.depotId,
155
                 // depotId: this.$store.state.depotId,
156
                 depotId: this.$route.query.depotId,
156
                 depotId: this.$route.query.depotId,
157
                 sTime: this.checkYear,
157
                 sTime: this.checkYear,
158
+                groupBy:1,
158
                 type:''
159
                 type:''
159
             }
160
             }
160
             condition = JSON.stringify(condition)
161
             condition = JSON.stringify(condition)

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

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

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

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

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

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

+ 3 - 3
shanXiPlatform/vue.config.js

@@ -39,8 +39,8 @@ module.exports = {
39
 
39
 
40
     proxy: {  //配置跨域
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
         // target:'http://172.16.0.02:9601',
44
         // target:'http://172.16.0.02:9601',
45
         changOrigin: true,  //允许跨域
45
         changOrigin: true,  //允许跨域
46
 
46
 
@@ -54,7 +54,7 @@ module.exports = {
54
       '/apk': {
54
       '/apk': {
55
         // ws: true,
55
         // ws: true,
56
          target: 'http://101.36.160.140:21021',
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
         changOrigin: true,
58
         changOrigin: true,
59
         pathRewrite: {
59
         pathRewrite: {
60
             '^/apk': ''
60
             '^/apk': ''