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" > - 考评组设置 - 权限设置 + 考评组设置 + 指标库 + 权限设置 - +
+
+ +
+ diff --git a/src/views/kpi/set/target/index.vue b/src/views/kpi/set/target/index.vue new file mode 100644 index 0000000..d3679f5 --- /dev/null +++ b/src/views/kpi/set/target/index.vue @@ -0,0 +1,208 @@ +// 指标 + + + diff --git a/src/views/kpi/workbench/home/index.vue b/src/views/kpi/workbench/home/index.vue index 81cbd6f..9791881 100644 --- a/src/views/kpi/workbench/home/index.vue +++ b/src/views/kpi/workbench/home/index.vue @@ -21,7 +21,7 @@
考核管理
发起考核
考评组
-
指标库
+
指标库