diff --git a/src/router/kpi_route.js b/src/router/kpi_route.js
index 44e68b6..64df0f9 100644
--- a/src/router/kpi_route.js
+++ b/src/router/kpi_route.js
@@ -60,7 +60,25 @@ export default [{
isNav: false,
hidden: true
}
- }]
+ }, {
+ path: 'target',
+ name: 'workbench-target',
+ component: () => import('@/views/kpi/set/target/index.vue'),
+ meta: {
+ title: '指标库',
+ isNav: false,
+ hidden: true
+ }
+ }, {
+ path: 'add',
+ name: 'workbench-target-add',
+ component: () => import('@/views/kpi/set/target/add/index.vue'),
+ meta: {
+ title: '新增指标',
+ pop: true,
+ isNav: false,
+ hidden: true
+ }}]
}, {
path: 'assessment',
name: 'assessment',
diff --git a/src/utils/elementConfig.js b/src/utils/elementConfig.js
index 3746f2c..887d20d 100644
--- a/src/utils/elementConfig.js
+++ b/src/utils/elementConfig.js
@@ -40,12 +40,14 @@ import {
Progress,
Drawer,
Slider,
- ButtonGroup, Notification
+ ButtonGroup,
+ Notification
} from 'element-ui'
Vue.prototype.$notify = Notification
Vue.prototype.$loading = Loading
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
+Vue.prototype.$prompt = MessageBox.prompt
Vue.prototype.$alert = MessageBox.alert
Vue.use(ButtonGroup)
Vue.use(Slider)
diff --git a/src/views/kpi/set/index.vue b/src/views/kpi/set/index.vue
index 0248bf2..f7f8671 100644
--- a/src/views/kpi/set/index.vue
+++ b/src/views/kpi/set/index.vue
@@ -8,19 +8,34 @@
text-color="#52575b"
active-text-color="#3ba1ff"
>
-