Browse Source

隐藏维修记录

seimin 1 year ago
parent
commit
fd558ca1a7
7 changed files with 84 additions and 84 deletions
  1. 12 12
      src/views/againAssign.vue
  2. 12 12
      src/views/closed.vue
  3. 12 12
      src/views/grabSheet.vue
  4. 12 12
      src/views/order.vue
  5. 12 12
      src/views/processing.vue
  6. 12 12
      src/views/solved.vue
  7. 12 12
      src/views/waitConfirm.vue

+ 12 - 12
src/views/againAssign.vue

@@ -205,18 +205,18 @@ export default {
205 205
           console.log(res.data);
206 206
           that.progressInfo = res.data.list || [];
207 207
           //维修记录startcaca
208
-          if (that.model.incident.handlerLogs) {
209
-            //添加日志
210
-            that.model.incident.handlerLogs.forEach(v => {
211
-              that.progressInfo.push({
212
-                startTime: v.opTime,
213
-                endTime: 1,
214
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
215
-                appointorName: v.userName,
216
-                logType: {name: "事件处理"}
217
-              });
218
-            });
219
-          }
208
+          // if (that.model.incident.handlerLogs) {
209
+          //   //添加日志
210
+          //   that.model.incident.handlerLogs.forEach(v => {
211
+          //     that.progressInfo.push({
212
+          //       startTime: v.opTime,
213
+          //       endTime: 1,
214
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
215
+          //       appointorName: v.userName,
216
+          //       logType: {name: "事件处理"}
217
+          //     });
218
+          //   });
219
+          // }
220 220
           //处理数据
221 221
           that.progressInfo.forEach(v => {
222 222
             if (!v.endTime) {

+ 12 - 12
src/views/closed.vue

@@ -257,18 +257,18 @@ export default {
257 257
           console.log(res.data);
258 258
           that.progressInfo = res.data.list || [];
259 259
           //维修记录startcaca
260
-          if (that.model.incident.handlerLogs) {
261
-            //添加日志
262
-            that.model.incident.handlerLogs.forEach(v => {
263
-              that.progressInfo.push({
264
-                startTime: v.opTime,
265
-                endTime: 1,
266
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
267
-                appointorName: v.userName,
268
-                logType: {name: "事件处理"}
269
-              });
270
-            });
271
-          }
260
+          // if (that.model.incident.handlerLogs) {
261
+          //   //添加日志
262
+          //   that.model.incident.handlerLogs.forEach(v => {
263
+          //     that.progressInfo.push({
264
+          //       startTime: v.opTime,
265
+          //       endTime: 1,
266
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
267
+          //       appointorName: v.userName,
268
+          //       logType: {name: "事件处理"}
269
+          //     });
270
+          //   });
271
+          // }
272 272
           //处理数据
273 273
           that.progressInfo.forEach(v => {
274 274
             if (!v.endTime) {

+ 12 - 12
src/views/grabSheet.vue

@@ -166,18 +166,18 @@ export default {
166 166
           console.log(res.data);
167 167
           that.progressInfo = res.data.list || [];
168 168
           //维修记录startcaca
169
-          if (that.model.incident.handlerLogs) {
170
-            //添加日志
171
-            that.model.incident.handlerLogs.forEach(v => {
172
-              that.progressInfo.push({
173
-                startTime: v.opTime,
174
-                endTime: 1,
175
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
176
-                appointorName: v.userName,
177
-                logType: {name: "事件处理"}
178
-              });
179
-            });
180
-          }
169
+          // if (that.model.incident.handlerLogs) {
170
+          //   //添加日志
171
+          //   that.model.incident.handlerLogs.forEach(v => {
172
+          //     that.progressInfo.push({
173
+          //       startTime: v.opTime,
174
+          //       endTime: 1,
175
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
176
+          //       appointorName: v.userName,
177
+          //       logType: {name: "事件处理"}
178
+          //     });
179
+          //   });
180
+          // }
181 181
           //处理数据
182 182
           that.progressInfo.forEach(v => {
183 183
             if (!v.endTime) {

+ 12 - 12
src/views/order.vue

@@ -211,18 +211,18 @@ export default {
211 211
           console.log(res.data);
212 212
           that.progressInfo = res.data.list || [];
213 213
           //维修记录startcaca
214
-          if (that.model.incident.handlerLogs) {
215
-            //添加日志
216
-            that.model.incident.handlerLogs.forEach(v => {
217
-              that.progressInfo.push({
218
-                startTime: v.opTime,
219
-                endTime: 1,
220
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
221
-                appointorName: v.userName,
222
-                logType: {name: "事件处理"}
223
-              });
224
-            });
225
-          }
214
+          // if (that.model.incident.handlerLogs) {
215
+          //   //添加日志
216
+          //   that.model.incident.handlerLogs.forEach(v => {
217
+          //     that.progressInfo.push({
218
+          //       startTime: v.opTime,
219
+          //       endTime: 1,
220
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
221
+          //       appointorName: v.userName,
222
+          //       logType: {name: "事件处理"}
223
+          //     });
224
+          //   });
225
+          // }
226 226
           //处理数据
227 227
           that.progressInfo.forEach(v => {
228 228
             if (!v.endTime) {

+ 12 - 12
src/views/processing.vue

@@ -1091,18 +1091,18 @@ export default {
1091 1091
           console.log(res.data);
1092 1092
           that.progressInfo = res.data.list || [];
1093 1093
           //维修记录startcaca
1094
-          if (that.modelData.incident.handlerLogs) {
1095
-            //添加日志
1096
-            that.modelData.incident.handlerLogs.forEach(v => {
1097
-              that.progressInfo.push({
1098
-                startTime: v.opTime,
1099
-                endTime: 1,
1100
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
1101
-                appointorName: v.userName,
1102
-                logType: {name: "事件处理"}
1103
-              });
1104
-            });
1105
-          }
1094
+          // if (that.modelData.incident.handlerLogs) {
1095
+          //   //添加日志
1096
+          //   that.modelData.incident.handlerLogs.forEach(v => {
1097
+          //     that.progressInfo.push({
1098
+          //       startTime: v.opTime,
1099
+          //       endTime: 1,
1100
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
1101
+          //       appointorName: v.userName,
1102
+          //       logType: {name: "事件处理"}
1103
+          //     });
1104
+          //   });
1105
+          // }
1106 1106
           //处理数据
1107 1107
           that.progressInfo.forEach(v => {
1108 1108
             if (!v.endTime) {

+ 12 - 12
src/views/solved.vue

@@ -290,18 +290,18 @@ export default {
290 290
           console.log(res.data);
291 291
           that.progressInfo = res.data.list || [];
292 292
           //维修记录startcaca
293
-          if (that.model.incident.handlerLogs) {
294
-            //添加日志
295
-            that.model.incident.handlerLogs.forEach(v => {
296
-              that.progressInfo.push({
297
-                startTime: v.opTime,
298
-                endTime: 1,
299
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
300
-                appointorName: v.userName,
301
-                logType: {name: "事件处理"}
302
-              });
303
-            });
304
-          }
293
+          // if (that.model.incident.handlerLogs) {
294
+          //   //添加日志
295
+          //   that.model.incident.handlerLogs.forEach(v => {
296
+          //     that.progressInfo.push({
297
+          //       startTime: v.opTime,
298
+          //       endTime: 1,
299
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
300
+          //       appointorName: v.userName,
301
+          //       logType: {name: "事件处理"}
302
+          //     });
303
+          //   });
304
+          // }
305 305
           //处理数据
306 306
           that.progressInfo.forEach(v => {
307 307
             if (!v.endTime) {

+ 12 - 12
src/views/waitConfirm.vue

@@ -297,18 +297,18 @@ export default {
297 297
           console.log(res.data);
298 298
           that.progressInfo = res.data.list || [];
299 299
           //维修记录startcaca
300
-          if (that.model.incident.handlerLogs) {
301
-            //添加日志
302
-            that.model.incident.handlerLogs.forEach(v => {
303
-              that.progressInfo.push({
304
-                startTime: v.opTime,
305
-                endTime: 1,
306
-                desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
307
-                appointorName: v.userName,
308
-                logType: {name: "事件处理"}
309
-              });
310
-            });
311
-          }
300
+          // if (that.model.incident.handlerLogs) {
301
+          //   //添加日志
302
+          //   that.model.incident.handlerLogs.forEach(v => {
303
+          //     that.progressInfo.push({
304
+          //       startTime: v.opTime,
305
+          //       endTime: 1,
306
+          //       desc: (v.repairType && v.expectedDate) ? `${v.repairType.name} ${formatDate(new Date(v.expectedDate), "MM月dd日前完成")}<br>${v.opValue}` : v.opValue,
307
+          //       appointorName: v.userName,
308
+          //       logType: {name: "事件处理"}
309
+          //     });
310
+          //   });
311
+          // }
312 312
           //处理数据
313 313
           that.progressInfo.forEach(v => {
314 314
             if (!v.endTime) {