|
@@ -296,157 +296,157 @@ export default {
|
|
|
switch (patrolType) {
|
|
|
case '1':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/annihilator',
|
|
|
+ path: '/patrol/record/fire/annihilator',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '2':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/cannon',
|
|
|
+ path: '/patrol/record/fire/cannon',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '3':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/postFire',
|
|
|
+ path: '/patrol/record/fire/postFire',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '4':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/hoseBox',
|
|
|
+ path: '/patrol/record/fire/hoseBox',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '5':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/standpipe',
|
|
|
+ path: '/patrol/record/fire/standpipe',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '6':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/sprinkler',
|
|
|
+ path: '/patrol/record/fire/sprinkler',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '7':
|
|
|
this.$router.push({
|
|
|
- path: '/record/emergency/cabinet',
|
|
|
+ path: '/patrol/record/emergency/cabinet',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '8':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/alarm',
|
|
|
+ path: '/patrol/record/fire/alarm',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '9':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/shield',
|
|
|
+ path: '/patrol/record/fire/shield',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '10':
|
|
|
this.$router.push({
|
|
|
- path: '/record/emergency/paga',
|
|
|
+ path: '/patrol/record/emergency/paga',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '11':
|
|
|
this.$router.push({
|
|
|
- path: '/record/emergency/cctv',
|
|
|
+ path: '/patrol/record/emergency/cctv',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '12':
|
|
|
this.$router.push({
|
|
|
- path: '/record/emergency/eyewash',
|
|
|
+ path: '/patrol/record/emergency/eyewash',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '13':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/sandbox',
|
|
|
+ path: '/patrol/record/fire/sandbox',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '14':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/door',
|
|
|
+ path: '/patrol/record/fire/door',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '15':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/weathervane',
|
|
|
+ path: '/patrol/record/fire/weathervane',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '16':
|
|
|
this.$router.push({
|
|
|
- path: '/record/fire/curtain',
|
|
|
+ path: '/patrol/record/fire/curtain',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '17':
|
|
|
this.$router.push({
|
|
|
- path: '/record/emergency/cofferdam',
|
|
|
+ path: '/patrol/record/emergency/cofferdam',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '18':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/tester',
|
|
|
+ path: '/patrol/record/commonuse/tester',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '19':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/earplug',
|
|
|
+ path: '/patrol/record/commonuse/earplug',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '20':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/movement',
|
|
|
+ path: '/patrol/record/commonuse/movement',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '21':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/bicycle',
|
|
|
+ path: '/patrol/record/commonuse/bicycle',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '22':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/cover',
|
|
|
+ path: '/patrol/record/commonuse/cover',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '23':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/walkitTalkie',
|
|
|
+ path: '/patrol/record/commonuse/walkitTalkie',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '24':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/safetyBelt',
|
|
|
+ path: '/patrol/record/commonuse/safetyBelt',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '25':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/downspout',
|
|
|
+ path: '/patrol/record/commonuse/downspout',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|
|
|
case '26':
|
|
|
this.$router.push({
|
|
|
- path: '/record/commonuse/pump',
|
|
|
+ path: '/patrol/record/commonuse/pump',
|
|
|
query: {month: this.month.getMonth(), year: this.year.getFullYear(), planId: id}
|
|
|
});
|
|
|
break;
|