|
@@ -121,8 +121,8 @@
|
121
|
121
|
pipeline_connection_desc: '',
|
122
|
122
|
collator: '',
|
123
|
123
|
|
124
|
|
- creater: 0,
|
125
|
|
- modifier: 0,
|
|
124
|
+ creater: this.$store.getters.xt_user.user.id,
|
|
125
|
+ modifier: '',
|
126
|
126
|
created_time: 0,
|
127
|
127
|
updated_time: 0,
|
128
|
128
|
check_time: 0,
|
|
@@ -133,27 +133,51 @@
|
133
|
133
|
}
|
134
|
134
|
}, methods: {
|
135
|
135
|
show() {
|
|
136
|
+ console.log(this.double_check)
|
136
|
137
|
|
137
|
138
|
this.isVisibility = true
|
138
|
139
|
if (this.double_check.id > 0) {
|
139
|
140
|
|
140
|
141
|
this.first_check_time = uParseTime(
|
141
|
142
|
this.double_check.first_check_time,
|
142
|
|
- '{y}-{m}-{d} {h}:{i}'
|
|
143
|
+ '{y}-{m}-{d} {h}:{i}'
|
143
|
144
|
).split(' ')[1]
|
144
|
145
|
|
145
|
|
- this.check_time = uParseTime(
|
146
|
|
- this.double_check.check_time,
|
147
|
|
- '{y}-{m}-{d} {h}:{i}'
|
148
|
|
- ).split(' ')[1]
|
|
146
|
+
|
|
147
|
+ if(this.$store.getters.xt_user.user.id == this.double_check.creater || this.double_check.modifier > 0){
|
|
148
|
+ if(this.double_check.modifier > 0){
|
|
149
|
+ this.check_time = uParseTime(
|
|
150
|
+ this.doubleReview.check_time,
|
|
151
|
+ '{y}-{m}-{d} {h}:{i}'
|
|
152
|
+ ).split(' ')[1]
|
|
153
|
+
|
|
154
|
+ console.log('真性感')
|
|
155
|
+ }
|
|
156
|
+
|
|
157
|
+ }else if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
|
|
158
|
+ this.check_time = uParseTime(
|
|
159
|
+ new Date(),
|
|
160
|
+ '{y}-{m}-{d} {h}:{i}'
|
|
161
|
+ ).split(' ')[1]
|
|
162
|
+ this.doubleReview.modifier = this.$store.getters.xt_user.user.id
|
|
163
|
+ }
|
|
164
|
+ if(this.doubleReview.modifier == 0){
|
|
165
|
+ this.doubleReview.modifier = ""
|
|
166
|
+ }
|
|
167
|
+ console.log( this.first_check_time )
|
|
168
|
+ console.log( this.check_time )
|
|
169
|
+
|
149
|
170
|
|
150
|
171
|
} else {
|
151
|
172
|
var nowDate = new Date()
|
152
|
173
|
var nowHours = nowDate.getHours()
|
153
|
174
|
var nowMinutes = nowDate.getMinutes()
|
154
|
|
- this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
|
175
|
+ if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
|
|
176
|
+ this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
|
177
|
+ }
|
155
|
178
|
this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
156
|
|
-
|
|
179
|
+ console.log( this.first_check_time )
|
|
180
|
+ console.log( this.check_time )
|
157
|
181
|
|
158
|
182
|
}
|
159
|
183
|
},
|
|
@@ -175,8 +199,8 @@
|
175
|
199
|
var first_time = new Date(first_check_time).getTime()
|
176
|
200
|
var second_time = new Date(check_time).getTime()
|
177
|
201
|
|
178
|
|
- this.doubleReview.creater = 400
|
179
|
|
- this.doubleReview.modifier = 448
|
|
202
|
+
|
|
203
|
+
|
180
|
204
|
|
181
|
205
|
if (first_time >= second_time) {
|
182
|
206
|
this.$message.error('第一次核对时间不能大于或者等于第二次核对时间')
|
|
@@ -193,10 +217,9 @@
|
193
|
217
|
ParamsQuery['record_date'] = this.record_date
|
194
|
218
|
ParamsQuery['check_time'] = this.record_date + ' ' + this.check_time
|
195
|
219
|
ParamsQuery['first_check_time'] = this.record_date + ' ' + this.first_check_time
|
196
|
|
- ParamsQuery['creater'] = 400
|
197
|
|
- ParamsQuery['modifier'] = 448
|
|
220
|
+ ParamsQuery['creater'] = this.doubleReview.creater
|
|
221
|
+ ParamsQuery['modifier'] = this.doubleReview.modifier
|
198
|
222
|
|
199
|
|
- console.log(ParamsQuery)
|
200
|
223
|
|
201
|
224
|
postDoubleCheck(ParamsQuery).then(response => {
|
202
|
225
|
if (response.data.state == 0) {
|
|
@@ -222,10 +245,12 @@
|
222
|
245
|
'{y}-{m}-{d} {h}:{i}'
|
223
|
246
|
).split(' ')[1]
|
224
|
247
|
|
225
|
|
- this.check_time = uParseTime(
|
226
|
|
- this.doubleReview.check_time,
|
227
|
|
- '{y}-{m}-{d} {h}:{i}'
|
228
|
|
- ).split(' ')[1]
|
|
248
|
+ // if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
|
|
249
|
+ // this.check_time = uParseTime(
|
|
250
|
+ // this.doubleReview.check_time,
|
|
251
|
+ // '{y}-{m}-{d} {h}:{i}'
|
|
252
|
+ // ).split(' ')[1]
|
|
253
|
+ // }
|
229
|
254
|
|
230
|
255
|
let doublecheck_resp = response.data.data.doubleCheck
|
231
|
256
|
var doubleCheck = this.double_check
|
|
@@ -238,196 +263,201 @@
|
238
|
263
|
})
|
239
|
264
|
|
240
|
265
|
},
|
241
|
|
- getFirstCheckDesc: function() {
|
242
|
|
- if (
|
243
|
|
- this.doubleReview.first_check_time > 0 &&
|
244
|
|
- this.doubleReview.check_time > 0
|
245
|
|
- ) {
|
246
|
|
- if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
|
247
|
|
- let time = uParseTime(
|
248
|
|
- this.doubleReview.first_check_time,
|
249
|
|
- '{y}-{m}-{d} {h}:{i}'
|
250
|
|
- )
|
251
|
|
- if (this.doubleReview.creater <= 0) {
|
252
|
|
- return ''
|
253
|
|
- }
|
|
266
|
+ getFirstCheckDesc: function () {
|
|
267
|
+ if(this.double_check.creater > 0){
|
|
268
|
+ if (
|
|
269
|
+ this.doubleReview.first_check_time > 0 &&
|
|
270
|
+ this.doubleReview.check_time > 0
|
|
271
|
+ ) {
|
|
272
|
+ if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
|
|
273
|
+ let time = uParseTime(
|
|
274
|
+ this.doubleReview.first_check_time,
|
|
275
|
+ "{y}-{m}-{d} {h}:{i}:{s}"
|
|
276
|
+ );
|
|
277
|
+ if (this.doubleReview.creater <= 0) {
|
|
278
|
+ return "";
|
|
279
|
+ }
|
254
|
280
|
|
255
|
|
- var desc = ''
|
256
|
|
- if (
|
257
|
|
- this.admin_users == null ||
|
258
|
|
- typeof this.admin_users.length == 'undefined'
|
259
|
|
- ) {
|
260
|
|
- return ''
|
261
|
|
- }
|
|
281
|
+ var desc = "";
|
|
282
|
+ if (
|
|
283
|
+ this.admin_users == null ||
|
|
284
|
+ typeof this.admin_users.length == "undefined"
|
|
285
|
+ ) {
|
|
286
|
+ return "";
|
|
287
|
+ }
|
262
|
288
|
|
263
|
|
- var leng = this.admin_users.length
|
264
|
|
- if (leng == 0) {
|
265
|
|
- return ''
|
266
|
|
- }
|
|
289
|
+ var leng = this.admin_users.length;
|
|
290
|
+ if (leng == 0) {
|
|
291
|
+ return "";
|
|
292
|
+ }
|
267
|
293
|
|
268
|
|
- for (let index = 0; index < leng; index++) {
|
269
|
|
- if (this.admin_users[index].id == this.doubleReview.creater) {
|
270
|
|
- let name = this.admin_users[index].name
|
271
|
|
- desc = '第一核对人员:' + name + ' 第一核对时间:' + time
|
|
294
|
+ for (let index = 0; index < leng; index++) {
|
|
295
|
+ if (this.admin_users[index].id == this.doubleReview.creater) {
|
|
296
|
+ let name = this.admin_users[index].name;
|
|
297
|
+ desc = "第一核对人员:" + name + " 第一核对时间:" + time;
|
|
298
|
+
|
|
299
|
+ break;
|
|
300
|
+ }
|
|
301
|
+ }
|
|
302
|
+ return desc;
|
|
303
|
+ } else {
|
|
304
|
+ let time = uParseTime(
|
|
305
|
+ this.doubleReview.check_time,
|
|
306
|
+ "{y}-{m}-{d} {h}:{i}:{s}"
|
|
307
|
+ );
|
|
308
|
+ if (this.doubleReview.modifier <= 0) {
|
|
309
|
+ return "";
|
|
310
|
+ }
|
272
|
311
|
|
273
|
|
- break
|
|
312
|
+ var desc = "";
|
|
313
|
+ if (
|
|
314
|
+ this.admin_users == null ||
|
|
315
|
+ typeof this.admin_users.length == "undefined"
|
|
316
|
+ ) {
|
|
317
|
+ return "";
|
274
|
318
|
}
|
|
319
|
+
|
|
320
|
+ var leng = this.admin_users.length;
|
|
321
|
+ if (leng == 0) {
|
|
322
|
+ return "";
|
|
323
|
+ }
|
|
324
|
+
|
|
325
|
+ for (let index = 0; index < leng; index++) {
|
|
326
|
+ if (this.admin_users[index].id == this.doubleReview.modifier) {
|
|
327
|
+ let name = this.admin_users[index].name;
|
|
328
|
+ desc = "第一核对人员:" + name + " 第一核对时间:" + time;
|
|
329
|
+
|
|
330
|
+ break;
|
|
331
|
+ }
|
|
332
|
+ }
|
|
333
|
+ return desc;
|
275
|
334
|
}
|
276
|
|
- return desc
|
277
|
335
|
} else {
|
278
|
336
|
let time = uParseTime(
|
279
|
|
- this.doubleReview.check_time,
|
280
|
|
- '{y}-{m}-{d} {h}:{i}'
|
281
|
|
- )
|
282
|
|
- if (this.doubleReview.modifier <= 0) {
|
283
|
|
- return ''
|
|
337
|
+ this.doubleReview.first_check_time,
|
|
338
|
+ "{y}-{m}-{d} {h}:{i}:{s}"
|
|
339
|
+ );
|
|
340
|
+ if (this.doubleReview.creater <= 0) {
|
|
341
|
+ return "";
|
284
|
342
|
}
|
285
|
343
|
|
286
|
|
- var desc = ''
|
|
344
|
+ var desc = "";
|
287
|
345
|
if (
|
288
|
346
|
this.admin_users == null ||
|
289
|
|
- typeof this.admin_users.length == 'undefined'
|
|
347
|
+ typeof this.admin_users.length == "undefined"
|
290
|
348
|
) {
|
291
|
|
- return ''
|
|
349
|
+ return "";
|
292
|
350
|
}
|
293
|
351
|
|
294
|
|
- var leng = this.admin_users.length
|
|
352
|
+ var leng = this.admin_users.length;
|
295
|
353
|
if (leng == 0) {
|
296
|
|
- return ''
|
|
354
|
+ return "";
|
297
|
355
|
}
|
298
|
356
|
|
299
|
357
|
for (let index = 0; index < leng; index++) {
|
300
|
|
- if (this.admin_users[index].id == this.doubleReview.modifier) {
|
301
|
|
- let name = this.admin_users[index].name
|
302
|
|
- desc = '第一核对人员:' + name + ' 第一核对时间:' + time
|
|
358
|
+ if (this.admin_users[index].id == this.doubleReview.creater) {
|
|
359
|
+ let name = this.admin_users[index].name;
|
|
360
|
+ desc = "第一核对人员:" + name + " 第一核对时间:" + time;
|
303
|
361
|
|
304
|
|
- break
|
|
362
|
+ break;
|
305
|
363
|
}
|
306
|
364
|
}
|
307
|
|
- return desc
|
308
|
|
- }
|
309
|
|
- } else {
|
310
|
|
- let time = uParseTime(
|
311
|
|
- this.doubleReview.first_check_time,
|
312
|
|
- '{y}-{m}-{d} {h}:{i}'
|
313
|
|
- )
|
314
|
|
- if (this.doubleReview.creater <= 0) {
|
315
|
|
- return ''
|
|
365
|
+ return desc;
|
316
|
366
|
}
|
|
367
|
+ }
|
|
368
|
+ },
|
|
369
|
+ getScondCheckDesc: function () {
|
|
370
|
+ if(this.double_check.modifier > 0){
|
317
|
371
|
|
318
|
|
- var desc = ''
|
319
|
372
|
if (
|
320
|
|
- this.admin_users == null ||
|
321
|
|
- typeof this.admin_users.length == 'undefined'
|
|
373
|
+ this.doubleReview.first_check_time > 0 &&
|
|
374
|
+ this.doubleReview.check_time > 0
|
322
|
375
|
) {
|
323
|
|
- return ''
|
324
|
|
- }
|
325
|
|
-
|
326
|
|
- var leng = this.admin_users.length
|
327
|
|
- if (leng == 0) {
|
328
|
|
- return ''
|
329
|
|
- }
|
330
|
|
-
|
331
|
|
- for (let index = 0; index < leng; index++) {
|
332
|
|
- if (this.admin_users[index].id == this.doubleReview.creater) {
|
333
|
|
- let name = this.admin_users[index].name
|
334
|
|
- desc = '第一核对人员:' + name + ' 第一核对时间:' + time
|
335
|
|
-
|
336
|
|
- break
|
|
376
|
+ if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
|
|
377
|
+ let time = uParseTime(
|
|
378
|
+ this.doubleReview.check_time,
|
|
379
|
+ "{y}-{m}-{d} {h}:{i}:{s}"
|
|
380
|
+ );
|
|
381
|
+ if (this.doubleReview.modifier <= 0) {
|
|
382
|
+ return "";
|
|
383
|
+ }
|
|
384
|
+ var desc = "";
|
|
385
|
+ if (
|
|
386
|
+ this.admin_users == null ||
|
|
387
|
+ typeof this.admin_users.length == "undefined"
|
|
388
|
+ ) {
|
|
389
|
+ return desc;
|
|
390
|
+ }
|
|
391
|
+ var leng = this.admin_users.length;
|
|
392
|
+ if (leng == 0) {
|
|
393
|
+ return desc;
|
|
394
|
+ }
|
|
395
|
+ for (let index = 0; index < leng; index++) {
|
|
396
|
+ if (this.admin_users[index].id == this.doubleReview.modifier ) {
|
|
397
|
+ let name = this.admin_users[index].name;
|
|
398
|
+ desc = "第二核对人员:" + name + " 第二核对时间:" + time;
|
|
399
|
+ break;
|
|
400
|
+ }
|
|
401
|
+ }
|
|
402
|
+ return desc;
|
|
403
|
+ } else {
|
|
404
|
+ let time = uParseTime(
|
|
405
|
+ this.doubleReview.first_check_time,
|
|
406
|
+ "{y}-{m}-{d} {h}:{i}:{s}"
|
|
407
|
+ );
|
|
408
|
+ if (this.doubleReview.creater <= 0) {
|
|
409
|
+ return "";
|
|
410
|
+ }
|
|
411
|
+ var desc = "";
|
|
412
|
+ if (
|
|
413
|
+ this.admin_users == null ||
|
|
414
|
+ typeof this.admin_users.length == "undefined"
|
|
415
|
+ ) {
|
|
416
|
+ return desc;
|
|
417
|
+ }
|
|
418
|
+ var leng = this.admin_users.length;
|
|
419
|
+ if (leng == 0) {
|
|
420
|
+ return desc;
|
|
421
|
+ }
|
|
422
|
+ for (let index = 0; index < leng; index++) {
|
|
423
|
+ if (this.admin_users[index].id == this.doubleReview.creater) {
|
|
424
|
+ let name = this.admin_users[index].name;
|
|
425
|
+ desc = "第二核对人员:" + name + " 第二核对时间:" + time;
|
|
426
|
+ break;
|
|
427
|
+ }
|
|
428
|
+ }
|
|
429
|
+ return desc;
|
337
|
430
|
}
|
338
|
|
- }
|
339
|
|
- return desc
|
340
|
|
- }
|
341
|
|
- },
|
342
|
|
- getScondCheckDesc: function() {
|
343
|
|
- if (
|
344
|
|
- this.doubleReview.first_check_time > 0 &&
|
345
|
|
- this.doubleReview.check_time > 0
|
346
|
|
- ) {
|
347
|
|
- if (this.doubleReview.first_check_time < this.doubleReview.check_time) {
|
|
431
|
+ } else {
|
348
|
432
|
let time = uParseTime(
|
349
|
433
|
this.doubleReview.check_time,
|
350
|
|
- '{y}-{m}-{d} {h}:{i}'
|
351
|
|
- )
|
|
434
|
+ "{y}-{m}-{d} {h}:{i}:{s}"
|
|
435
|
+ );
|
352
|
436
|
if (this.doubleReview.modifier <= 0) {
|
353
|
|
- return ''
|
|
437
|
+ return "";
|
354
|
438
|
}
|
355
|
|
- var desc = ''
|
|
439
|
+ var desc = "";
|
356
|
440
|
if (
|
357
|
441
|
this.admin_users == null ||
|
358
|
|
- typeof this.admin_users.length == 'undefined'
|
|
442
|
+ typeof this.admin_users.length == "undefined"
|
359
|
443
|
) {
|
360
|
|
- return desc
|
|
444
|
+ return desc;
|
361
|
445
|
}
|
362
|
|
- var leng = this.admin_users.length
|
|
446
|
+ var leng = this.admin_users.length;
|
363
|
447
|
if (leng == 0) {
|
364
|
|
- return desc
|
|
448
|
+ return desc;
|
365
|
449
|
}
|
366
|
450
|
for (let index = 0; index < leng; index++) {
|
367
|
451
|
if (this.admin_users[index].id == this.doubleReview.modifier) {
|
368
|
|
- let name = this.admin_users[index].name
|
369
|
|
- desc = '第二核对人员:' + name + ' 第二核对时间:' + time
|
370
|
|
- break
|
371
|
|
- }
|
372
|
|
- }
|
373
|
|
- return desc
|
374
|
|
- } else {
|
375
|
|
- let time = uParseTime(
|
376
|
|
- this.doubleReview.first_check_time,
|
377
|
|
- '{y}-{m}-{d} {h}:{i}'
|
378
|
|
- )
|
379
|
|
- if (this.doubleReview.creater <= 0) {
|
380
|
|
- return ''
|
381
|
|
- }
|
382
|
|
- var desc = ''
|
383
|
|
- if (
|
384
|
|
- this.admin_users == null ||
|
385
|
|
- typeof this.admin_users.length == 'undefined'
|
386
|
|
- ) {
|
387
|
|
- return desc
|
388
|
|
- }
|
389
|
|
- var leng = this.admin_users.length
|
390
|
|
- if (leng == 0) {
|
391
|
|
- return desc
|
392
|
|
- }
|
393
|
|
- for (let index = 0; index < leng; index++) {
|
394
|
|
- if (this.admin_users[index].id == this.doubleReview.creater) {
|
395
|
|
- let name = this.admin_users[index].name
|
396
|
|
- desc = '第二核对人员:' + name + ' 第二核对时间:' + time
|
397
|
|
- break
|
|
452
|
+ let name = this.admin_users[index].name;
|
|
453
|
+ desc = "第二核对人员:" + name + " 第二核对时间:" + time;
|
|
454
|
+ break;
|
398
|
455
|
}
|
399
|
456
|
}
|
400
|
|
- return desc
|
401
|
|
- }
|
402
|
|
- } else {
|
403
|
|
- let time = uParseTime(
|
404
|
|
- this.doubleReview.check_time,
|
405
|
|
- '{y}-{m}-{d} {h}:{i}'
|
406
|
|
- )
|
407
|
|
- if (this.doubleReview.modifier <= 0) {
|
408
|
|
- return ''
|
409
|
|
- }
|
410
|
|
- var desc = ''
|
411
|
|
- if (
|
412
|
|
- this.admin_users == null ||
|
413
|
|
- typeof this.admin_users.length == 'undefined'
|
414
|
|
- ) {
|
415
|
|
- return desc
|
416
|
|
- }
|
417
|
|
- var leng = this.admin_users.length
|
418
|
|
- if (leng == 0) {
|
419
|
|
- return desc
|
420
|
|
- }
|
421
|
|
- for (let index = 0; index < leng; index++) {
|
422
|
|
- if (this.admin_users[index].id == this.doubleReview.modifier) {
|
423
|
|
- let name = this.admin_users[index].name
|
424
|
|
- desc = '第二核对人员:' + name + ' 第二核对时间:' + time
|
425
|
|
- break
|
426
|
|
- }
|
|
457
|
+ return desc;
|
427
|
458
|
}
|
428
|
|
- return desc
|
429
|
459
|
}
|
430
|
|
- }
|
|
460
|
+ },
|
431
|
461
|
},
|
432
|
462
|
|
433
|
463
|
props: {
|
|
@@ -482,10 +512,18 @@
|
482
|
512
|
'{y}-{m}-{d} {h}:{i}'
|
483
|
513
|
).split(' ')[1]
|
484
|
514
|
|
485
|
|
- this.check_time = uParseTime(
|
486
|
|
- this.doubleReview.check_time,
|
487
|
|
- '{y}-{m}-{d} {h}:{i}'
|
488
|
|
- ).split(' ')[1]
|
|
515
|
+ if(this.$store.getters.xt_user.user.id == this.double_check.creater || this.double_check.modifier > 0){
|
|
516
|
+ this.check_time = uParseTime(
|
|
517
|
+ this.doubleReview.check_time,
|
|
518
|
+ '{y}-{m}-{d} {h}:{i}'
|
|
519
|
+ ).split(' ')[1]
|
|
520
|
+ }else if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
|
|
521
|
+ this.check_time = uParseTime(
|
|
522
|
+ new Date(),
|
|
523
|
+ '{y}-{m}-{d} {h}:{i}'
|
|
524
|
+ ).split(' ')[1]
|
|
525
|
+ this.doubleReview.modifier = this.$store.getters.xt_user.user.id
|
|
526
|
+ }
|
489
|
527
|
|
490
|
528
|
} else {
|
491
|
529
|
this.dialysis_item_check = '1'
|
|
@@ -504,7 +542,9 @@
|
504
|
542
|
var nowDay = nowDate.getDate()
|
505
|
543
|
var nowHours = nowDate.getHours()
|
506
|
544
|
var nowMinutes = nowDate.getMinutes()
|
507
|
|
- this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
|
545
|
+ if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
|
|
546
|
+ this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
|
547
|
+ }
|
508
|
548
|
this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
509
|
549
|
|
510
|
550
|
}
|
|
@@ -521,7 +561,9 @@
|
521
|
561
|
var nowDay = nowDate.getDate()
|
522
|
562
|
var nowHours = nowDate.getHours()
|
523
|
563
|
var nowMinutes = nowDate.getMinutes()
|
524
|
|
- this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
|
564
|
+ if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
|
|
565
|
+ this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
|
566
|
+ }
|
525
|
567
|
this.first_check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
|
526
|
568
|
|
527
|
569
|
}
|