import('@/views/administration/I18n')
},
{
- path: '/detectionsNew',
+ path: '/detectionPolicy',
component: () => import('@/views/detectionsNew/Index')
},
{
- path: '/detection/policies',
- component: () => import('@/views/detectionsNew/Index')
- },
- {
- path: '/detection/policies/create',
+ path: '/detectionPolicy/create',
component: () => import('@/views/detectionsNew/DetectionForm')
},
{
- path: '/detection/policies/edit',
+ path: '/detectionPolicy/edit',
component: () => import('@/views/detectionsNew/DetectionForm')
}
]
diff --git a/src/views/detections/Index.vue b/src/views/detections/Index.vue
index 54abd608..3931a241 100644
--- a/src/views/detections/Index.vue
+++ b/src/views/detections/Index.vue
@@ -791,7 +791,7 @@ export default {
},
jumpNewDetetion () {
this.$router.push({
- path: '/detectionsNew',
+ path: '/detectionPolicy',
query: {
t: +new Date()
}
diff --git a/src/views/detectionsNew/DetectionForm.vue b/src/views/detectionsNew/DetectionForm.vue
index 320a7e37..05a47183 100644
--- a/src/views/detectionsNew/DetectionForm.vue
+++ b/src/views/detectionsNew/DetectionForm.vue
@@ -3,7 +3,7 @@
@@ -88,9 +88,9 @@
@@ -212,7 +212,7 @@ export default {
console.error(e)
this.$message.error(this.errorMsgHandler(e))
this.$router.push({
- path: '/detection/policies',
+ path: '/detectionPolicy',
query: {
pageNo: this.pageNoForTable ? Number(this.pageNoForTable) : 1,
t: +new Date()
@@ -276,7 +276,7 @@ export default {
})
this.$router.push({
- path: '/detectionsNew',
+ path: '/detectionPolicy',
query: {
t: +new Date()
}
@@ -301,7 +301,7 @@ export default {
})
this.$router.push({
- path: '/detectionsNew',
+ path: '/detectionPolicy',
query: {
pageNo: self.pageNoForTable ? Number(self.pageNoForTable) : 1,
t: +new Date()
diff --git a/src/views/detectionsNew/Index.vue b/src/views/detectionsNew/Index.vue
index 4febd749..8d93f8eb 100644
--- a/src/views/detectionsNew/Index.vue
+++ b/src/views/detectionsNew/Index.vue
@@ -140,7 +140,7 @@ export default {
},
onCreate () {
this.$router.push({
- path: '/detection/policies/create',
+ path: '/detectionPolicy/create',
query: {
t: +new Date()
}
@@ -149,7 +149,7 @@ export default {
onEdit () {
const pageNo = this.$router.currentRoute.value.query.pageNo
this.$router.push({
- path: '/detection/policies/edit',
+ path: '/detectionPolicy/edit',
query: {
t: +new Date(),
pageNoForTable: pageNo || 1,