diff --git a/.env.production b/.env.production index 07d391e..888638c 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/api' +VUE_APP_BASE_API = 'http://ginadmin.hxgk.group/api' diff --git a/src/api/duty/duty.js b/src/api/duty/duty.js index b6ba020..dd2d03b 100644 --- a/src/api/duty/duty.js +++ b/src/api/duty/duty.js @@ -112,4 +112,36 @@ export const eitequalevalcont = (data) => { data: data }) } +//添加指标权重(批量 +export const addqubatch = (data) => { + return request({ + url: '/duty/addqubatch', + method: 'post', + data: data + }) +} +//部门考核列表 +export const bumenList = (data) => { + return request({ + url: '/duty/departmentlist', + method: 'post', + data: data + }) +} +//部门考核列表新 +export const departmentlistnew = (data) => { + return request({ + url: '/duty/departmentlistnew', + method: 'post', + data: data + }) +} +//部门新增考核列表 +export const adddepartmentdutyinfo = (data) => { + return request({ + url: '/duty/adddepartmentdutyinfo', + method: 'post', + data: data + }) +} diff --git a/src/api/group.js b/src/api/group.js index 633ce2c..0cf2821 100644 --- a/src/api/group.js +++ b/src/api/group.js @@ -21,4 +21,12 @@ export const departmentassess = (data) => { method: 'post', data: data }) + } + //定量考核打分 + export const addflowrationlog = (data) => { + return request({ + url: '/eval/addflowrationlog', + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/src/assets/404_images/dashbord.png b/src/assets/404_images/dashbord.png new file mode 100644 index 0000000..64981d0 Binary files /dev/null and b/src/assets/404_images/dashbord.png differ diff --git a/src/router/index.js b/src/router/index.js index e891a9f..77fd59e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -56,17 +56,17 @@ export const constantRoutes = [ component: () => import('@/views/404'), hidden: true }, - // { - // path: '/', - // component: Layout, - // redirect: '/dashboard', - // children: [{ - // path: 'dashboard', - // name: 'Dashboard', - // component: () => import('@/views/dashboard/index'), - // meta: { title: '考核项目'} - // }] - // }, + { + path: '/', + component: Layout, + redirect: '/frontPage', + children: [{ + path: 'frontPage', + name: 'frontPage', + component: () => import('@/views/frontPage/index'), + meta: { title: '首页'} + }] + }, // { // path: '/', // component: Layout, @@ -163,12 +163,12 @@ export const constantRoutes = [ component: () => import('@/views/assessmentProgram/qualitativeIndicators'), meta: { title: '定性考核', icon: 'tree' } }, - { - path: 'quantitativeIndicators', - name: 'quantitativeIndicators', - component: () => import('@/views/assessmentProgram/quantitativeIndicators'), - meta: { title: '定量考核', icon: 'tree' } - }, + // { + // path: 'quantitativeIndicators', + // name: 'quantitativeIndicators', + // component: () => import('@/views/assessmentProgram/quantitativeIndicators'), + // meta: { title: '定量考核', icon: 'tree' } + // }, // { // path: 'subSection', // name: 'subSection', diff --git a/src/views/assessmentProgram/departmentalAssessment.vue b/src/views/assessmentProgram/departmentalAssessment.vue index 94c192b..d7e5b02 100644 --- a/src/views/assessmentProgram/departmentalAssessment.vue +++ b/src/views/assessmentProgram/departmentalAssessment.vue @@ -29,10 +29,10 @@ -->
- +
+ + 组合 +
@@ -221,8 +221,119 @@ + + + + + + + + + + + + + + + + + + + + + + 纬度合计分:{{weiduFraction}} + + + + + + + + + + 考核纬度:{{item.name}} + + + + 1 + 2 + 3 + 4 + 5 + 6 + + + + 指标合计分:{{item.zhiFraction}} + + + + + + + + + + + + + + + + + + + + + + - + @@ -267,7 +378,7 @@ + +