seimin 1 年之前
父节点
当前提交
b9a5178e02
共有 7 个文件被更改,包括 13 次插入25 次删除
  1. 1 1
      config/index.js
  2. 2 4
      src/views/againAssign.vue
  3. 2 4
      src/views/closed.vue
  4. 2 4
      src/views/grabSheet.vue
  5. 2 4
      src/views/order.vue
  6. 2 4
      src/views/processing.vue
  7. 2 4
      src/views/solved.vue

+ 1 - 1
config/index.js

@@ -14,7 +14,7 @@ module.exports = {
14 14
     proxyTable: {
15 15
       '/service': {//自定义名字,代表的是以下target中的内容
16 16
         // target: host.host+'/service/',//微信
17
-        target: 'http://192.168.4.240',//微信
17
+        target: 'http://192.168.3.111',//微信
18 18
         changeOrigin: true,//是否允许跨域
19 19
         // pathRewrite: {
20 20
         //   '^/service': ''

+ 2 - 4
src/views/againAssign.vue

@@ -137,6 +137,7 @@ import LoadIng from "./../views/loading.vue";
137 137
 import PrompTing from "./../views/prompting.vue";
138 138
 import EventInformation from './../components/EventInformation/index.vue'
139 139
 import ShowPicture from './../custom/ShowPicture.vue'
140
+import { formatDate } from "./../components/js/date.js";
140 141
 export default {
141 142
   data() {
142 143
     return {
@@ -204,7 +205,7 @@ export default {
204 205
               that.progressInfo.push({
205 206
                 startTime: v.opTime,
206 207
                 endTime: 1,
207
-                desc: v.opValue,
208
+                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(v.expectedDate, "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
208 209
                 userName: v.userName,
209 210
                 activityName: "事件处理",
210 211
               });
@@ -543,9 +544,6 @@ i.iconfont.blue {
543 544
                 }
544 545
               }
545 546
 
546
-              .text1 {
547
-                font-size: 0.15rem;
548
-              }
549 547
               .text2 {
550 548
                 color: #666;
551 549
                 word-break: break-all;

+ 2 - 4
src/views/closed.vue

@@ -169,6 +169,7 @@
169 169
 import LoadIng from "./../views/loading.vue";
170 170
 import EventInformation from './../components/EventInformation/index.vue'
171 171
 import ShowPicture from './../custom/ShowPicture.vue'
172
+import { formatDate } from "./../components/js/date.js";
172 173
 export default {
173 174
   data() {
174 175
     return {
@@ -256,7 +257,7 @@ export default {
256 257
               that.progressInfo.push({
257 258
                 startTime: v.opTime,
258 259
                 endTime: 1,
259
-                desc: v.opValue,
260
+                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(v.expectedDate, "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
260 261
                 userName: v.userName,
261 262
                 activityName: "事件处理",
262 263
               });
@@ -518,9 +519,6 @@ i.iconfont {
518 519
                 }
519 520
               }
520 521
 
521
-              .text1 {
522
-                font-size: 0.15rem;
523
-              }
524 522
               .text2 {
525 523
                 color: #666;
526 524
                 word-break: break-all;

+ 2 - 4
src/views/grabSheet.vue

@@ -85,6 +85,7 @@
85 85
 import LoadIng from "./../views/loading.vue";
86 86
 import EventInformation from './../components/EventInformation/index.vue'
87 87
 import ShowPicture from './../custom/ShowPicture.vue'
88
+import { formatDate } from "./../components/js/date.js";
88 89
 export default {
89 90
   data() {
90 91
     return {
@@ -165,7 +166,7 @@ export default {
165 166
               that.progressInfo.push({
166 167
                 startTime: v.opTime,
167 168
                 endTime: 1,
168
-                desc: v.opValue,
169
+                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(v.expectedDate, "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
169 170
                 userName: v.userName,
170 171
                 activityName: "事件处理",
171 172
               });
@@ -480,9 +481,6 @@ export default {
480 481
                 }
481 482
               }
482 483
 
483
-              .text1 {
484
-                font-size: 0.15rem;
485
-              }
486 484
               .text2 {
487 485
                 color: #666;
488 486
                 word-break: break-all;

+ 2 - 4
src/views/order.vue

@@ -135,6 +135,7 @@ import LoadIng from "./../views/loading.vue";
135 135
 import PrompTing from "./../views/prompting.vue";
136 136
 import EventInformation from './../components/EventInformation/index.vue'
137 137
 import ShowPicture from './../custom/ShowPicture.vue'
138
+import { formatDate } from "./../components/js/date.js";
138 139
 export default {
139 140
   data() {
140 141
     return {
@@ -210,7 +211,7 @@ export default {
210 211
               that.progressInfo.push({
211 212
                 startTime: v.opTime,
212 213
                 endTime: 1,
213
-                desc: v.opValue,
214
+                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(v.expectedDate, "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
214 215
                 userName: v.userName,
215 216
                 activityName: "事件处理",
216 217
               });
@@ -520,9 +521,6 @@ i.iconfont.blue {
520 521
                 }
521 522
               }
522 523
 
523
-              .text1 {
524
-                font-size: 0.15rem;
525
-              }
526 524
               .text2 {
527 525
                 color: #666;
528 526
                 word-break: break-all;

+ 2 - 4
src/views/processing.vue

@@ -315,6 +315,7 @@ import LoadIng from "./../views/loading.vue";
315 315
 import PrompTing from "./../views/prompting.vue";
316 316
 import EventInformation from "./../components/EventInformation/index.vue";
317 317
 import ShowPicture from './../custom/ShowPicture.vue'
318
+import { formatDate } from "./../components/js/date.js";
318 319
 // import HandlerLog from "./../views/handlerLog.vue";
319 320
 // import host from '../request/host'
320 321
 
@@ -1072,7 +1073,7 @@ export default {
1072 1073
               that.progressInfo.push({
1073 1074
                 startTime: v.opTime,
1074 1075
                 endTime: 1,
1075
-                desc: v.opValue,
1076
+                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
1076 1077
                 userName: v.userName,
1077 1078
                 activityName: "事件处理"
1078 1079
               });
@@ -2382,9 +2383,6 @@ i.iconfont.blue {
2382 2383
                 }
2383 2384
               }
2384 2385
 
2385
-              .text1 {
2386
-                font-size: 0.15rem;
2387
-              }
2388 2386
               .text2 {
2389 2387
                 color: #666;
2390 2388
                 word-break: break-all;

+ 2 - 4
src/views/solved.vue

@@ -194,6 +194,7 @@
194 194
 import LoadIng from "./../views/loading.vue";
195 195
 import EventInformation from './../components/EventInformation/index.vue'
196 196
 import ShowPicture from './../custom/ShowPicture.vue'
197
+import { formatDate } from "./../components/js/date.js";
197 198
 // import HandlerLog from "./../views/handlerLog.vue";
198 199
 export default {
199 200
   data() {
@@ -289,7 +290,7 @@ export default {
289 290
               that.progressInfo.push({
290 291
                 startTime: v.opTime,
291 292
                 endTime: 1,
292
-                desc: v.opValue,
293
+                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(v.expectedDate, "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
293 294
                 userName: v.userName,
294 295
                 activityName: "事件处理",
295 296
               });
@@ -669,9 +670,6 @@ i.iconfont {
669 670
                 }
670 671
               }
671 672
 
672
-              .text1 {
673
-                font-size: 0.15rem;
674
-              }
675 673
               .text2 {
676 674
                 color: #666;
677 675
                 word-break: break-all;