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

+ 2 - 4
src/views/againAssign.vue

@@ -137,6 +137,7 @@ import LoadIng from "./../views/loading.vue";
137
 import PrompTing from "./../views/prompting.vue";
137
 import PrompTing from "./../views/prompting.vue";
138
 import EventInformation from './../components/EventInformation/index.vue'
138
 import EventInformation from './../components/EventInformation/index.vue'
139
 import ShowPicture from './../custom/ShowPicture.vue'
139
 import ShowPicture from './../custom/ShowPicture.vue'
140
+import { formatDate } from "./../components/js/date.js";
140
 export default {
141
 export default {
141
   data() {
142
   data() {
142
     return {
143
     return {
@@ -204,7 +205,7 @@ export default {
204
               that.progressInfo.push({
205
               that.progressInfo.push({
205
                 startTime: v.opTime,
206
                 startTime: v.opTime,
206
                 endTime: 1,
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
                 userName: v.userName,
209
                 userName: v.userName,
209
                 activityName: "事件处理",
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
               .text2 {
547
               .text2 {
550
                 color: #666;
548
                 color: #666;
551
                 word-break: break-all;
549
                 word-break: break-all;

+ 2 - 4
src/views/closed.vue

@@ -169,6 +169,7 @@
169
 import LoadIng from "./../views/loading.vue";
169
 import LoadIng from "./../views/loading.vue";
170
 import EventInformation from './../components/EventInformation/index.vue'
170
 import EventInformation from './../components/EventInformation/index.vue'
171
 import ShowPicture from './../custom/ShowPicture.vue'
171
 import ShowPicture from './../custom/ShowPicture.vue'
172
+import { formatDate } from "./../components/js/date.js";
172
 export default {
173
 export default {
173
   data() {
174
   data() {
174
     return {
175
     return {
@@ -256,7 +257,7 @@ export default {
256
               that.progressInfo.push({
257
               that.progressInfo.push({
257
                 startTime: v.opTime,
258
                 startTime: v.opTime,
258
                 endTime: 1,
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
                 userName: v.userName,
261
                 userName: v.userName,
261
                 activityName: "事件处理",
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
               .text2 {
522
               .text2 {
525
                 color: #666;
523
                 color: #666;
526
                 word-break: break-all;
524
                 word-break: break-all;

+ 2 - 4
src/views/grabSheet.vue

@@ -85,6 +85,7 @@
85
 import LoadIng from "./../views/loading.vue";
85
 import LoadIng from "./../views/loading.vue";
86
 import EventInformation from './../components/EventInformation/index.vue'
86
 import EventInformation from './../components/EventInformation/index.vue'
87
 import ShowPicture from './../custom/ShowPicture.vue'
87
 import ShowPicture from './../custom/ShowPicture.vue'
88
+import { formatDate } from "./../components/js/date.js";
88
 export default {
89
 export default {
89
   data() {
90
   data() {
90
     return {
91
     return {
@@ -165,7 +166,7 @@ export default {
165
               that.progressInfo.push({
166
               that.progressInfo.push({
166
                 startTime: v.opTime,
167
                 startTime: v.opTime,
167
                 endTime: 1,
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
                 userName: v.userName,
170
                 userName: v.userName,
170
                 activityName: "事件处理",
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
               .text2 {
484
               .text2 {
487
                 color: #666;
485
                 color: #666;
488
                 word-break: break-all;
486
                 word-break: break-all;

+ 2 - 4
src/views/order.vue

@@ -135,6 +135,7 @@ import LoadIng from "./../views/loading.vue";
135
 import PrompTing from "./../views/prompting.vue";
135
 import PrompTing from "./../views/prompting.vue";
136
 import EventInformation from './../components/EventInformation/index.vue'
136
 import EventInformation from './../components/EventInformation/index.vue'
137
 import ShowPicture from './../custom/ShowPicture.vue'
137
 import ShowPicture from './../custom/ShowPicture.vue'
138
+import { formatDate } from "./../components/js/date.js";
138
 export default {
139
 export default {
139
   data() {
140
   data() {
140
     return {
141
     return {
@@ -210,7 +211,7 @@ export default {
210
               that.progressInfo.push({
211
               that.progressInfo.push({
211
                 startTime: v.opTime,
212
                 startTime: v.opTime,
212
                 endTime: 1,
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
                 userName: v.userName,
215
                 userName: v.userName,
215
                 activityName: "事件处理",
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
               .text2 {
524
               .text2 {
527
                 color: #666;
525
                 color: #666;
528
                 word-break: break-all;
526
                 word-break: break-all;

+ 2 - 4
src/views/processing.vue

@@ -315,6 +315,7 @@ import LoadIng from "./../views/loading.vue";
315
 import PrompTing from "./../views/prompting.vue";
315
 import PrompTing from "./../views/prompting.vue";
316
 import EventInformation from "./../components/EventInformation/index.vue";
316
 import EventInformation from "./../components/EventInformation/index.vue";
317
 import ShowPicture from './../custom/ShowPicture.vue'
317
 import ShowPicture from './../custom/ShowPicture.vue'
318
+import { formatDate } from "./../components/js/date.js";
318
 // import HandlerLog from "./../views/handlerLog.vue";
319
 // import HandlerLog from "./../views/handlerLog.vue";
319
 // import host from '../request/host'
320
 // import host from '../request/host'
320
 
321
 
@@ -1072,7 +1073,7 @@ export default {
1072
               that.progressInfo.push({
1073
               that.progressInfo.push({
1073
                 startTime: v.opTime,
1074
                 startTime: v.opTime,
1074
                 endTime: 1,
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
                 userName: v.userName,
1077
                 userName: v.userName,
1077
                 activityName: "事件处理"
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
               .text2 {
2386
               .text2 {
2389
                 color: #666;
2387
                 color: #666;
2390
                 word-break: break-all;
2388
                 word-break: break-all;

+ 2 - 4
src/views/solved.vue

@@ -194,6 +194,7 @@
194
 import LoadIng from "./../views/loading.vue";
194
 import LoadIng from "./../views/loading.vue";
195
 import EventInformation from './../components/EventInformation/index.vue'
195
 import EventInformation from './../components/EventInformation/index.vue'
196
 import ShowPicture from './../custom/ShowPicture.vue'
196
 import ShowPicture from './../custom/ShowPicture.vue'
197
+import { formatDate } from "./../components/js/date.js";
197
 // import HandlerLog from "./../views/handlerLog.vue";
198
 // import HandlerLog from "./../views/handlerLog.vue";
198
 export default {
199
 export default {
199
   data() {
200
   data() {
@@ -289,7 +290,7 @@ export default {
289
               that.progressInfo.push({
290
               that.progressInfo.push({
290
                 startTime: v.opTime,
291
                 startTime: v.opTime,
291
                 endTime: 1,
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
                 userName: v.userName,
294
                 userName: v.userName,
294
                 activityName: "事件处理",
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
               .text2 {
673
               .text2 {
676
                 color: #666;
674
                 color: #666;
677
                 word-break: break-all;
675
                 word-break: break-all;