瀏覽代碼

bug+优化

GaoYuPeng 5 年之前
父節點
當前提交
6f6a0404d6

+ 2 - 2
shanXiPlatform/src/views/basicInformation/personnelStructure.vue

@@ -757,11 +757,11 @@ aside {
757 757
   padding-right: 10px;
758 758
   .img-aside {
759 759
     width: 500px;
760
-    margin: auto;
760
+    // margin: auto;
761 761
     img {
762 762
       // width: 500px;
763 763
       width:85%;
764
-      margin: 11px;
764
+      margin: 0 auto;
765 765
     }
766 766
   }
767 767
   .text {

+ 6 - 4
shanXiPlatform/src/views/home/branchOffice.vue

@@ -229,7 +229,7 @@
229 229
                             <div class="rtoprt">
230 230
                                 <p class="lsp">
231 231
                                     <img src="../../assets/images/rightarrow.png" alt />
232
-                                    上月在线活跃度排名
232
+                                    在线活跃度排名
233 233
                                     <span v-if="crumbs.length != 2" class="echartSpan" @click="hyd()">更多>></span>
234 234
                                 </p>
235 235
                                 <div id="myChartrt" class="rtoprto"></div>
@@ -238,7 +238,7 @@
238 238
                             <div class="rtoprb">
239 239
                                 <p class="lsp">
240 240
                                     <img src="../../assets/images/rightarrow.png" alt />
241
-                                    上月工作积分情况
241
+                                    工作完成积分排名
242 242
                                     <span v-if="crumbs.length != 2" class="echartSpan" @click="gzjf()">更多>></span>
243 243
                                 </p>
244 244
                                 <div id="myChartrb" class="rtoprbo"></div>
@@ -1222,9 +1222,9 @@ export default {
1222 1222
                     },
1223 1223
                     grid: {
1224 1224
                         top: "3%",
1225
-                        left: "3%",
1225
+                        left: "18%",
1226 1226
                         bottom: "3%",
1227
-                        right: "6%",
1227
+                        right: "7%",
1228 1228
                         containLabel: true
1229 1229
                     },
1230 1230
                     tooltip: {
@@ -1245,6 +1245,8 @@ export default {
1245 1245
                         {
1246 1246
                             data: res.data.series,
1247 1247
                             type: "bar",
1248
+                            // barWidth: res.data.series.length>3?10:35,
1249
+
1248 1250
                             itemStyle: {
1249 1251
                                 normal: {
1250 1252
                                     label: {

+ 6 - 1
shanXiPlatform/src/views/home/yclqtable.vue

@@ -45,6 +45,7 @@ export default {
45 45
     data() {
46 46
         return {
47 47
             datetime: "",
48
+            datestr:'',
48 49
             // 列表数据
49 50
             tableList: [],
50 51
             // 分页
@@ -68,7 +69,11 @@ export default {
68 69
         this.getList()
69 70
         this.depotDic = JSON.parse(localStorage.getItem("deportDic"))
70 71
     },
72
+    mounted() {
73
+      this.datetime = Date.now()-(7*24*60*60*1000)
74
+    },
71 75
     methods: {
76
+
72 77
         timechange() {
73 78
             this.$nextTick(() => {
74 79
                 let week = document.querySelector("#getWeek").value
@@ -160,4 +165,4 @@ export default {
160 165
     display: inline-block;
161 166
     border-radius: 5px;
162 167
 }
163
-</style>
168
+</style>