diff --git a/src/api/project/project.js b/src/api/project/project.js index 6edb944..5dcef94 100644 --- a/src/api/project/project.js +++ b/src/api/project/project.js @@ -2,6 +2,7 @@ import request from '@/utils/request' const projectApi = { add: 'project/add', + getDict:'projecct/getDict', // get: 'sys/menu/get', // update: 'sys/menu/update', // del: 'sys/menu/delete', @@ -16,6 +17,13 @@ export function projectAdd (params) { data: params }) } +export function dictGet (params) { + return request({ + url: projectApi.getDict, + method: 'get', + params: params + }) +} // export function menuGet (params) { // return request({ // url: menuApi.get, diff --git a/src/config/router.config.js b/src/config/router.config.js index bbb8161..5681c28 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -90,6 +90,12 @@ export const asyncRouterMap = [ component: () => import('@/views/project/ProjectForm'), meta: { title: '新增项目', keepAlive: true, permission: ['form'] } }, + { + path: '/project/unitSelect', + name: 'unitSelect', + component: () => import('@/views/project/ProjectUnitSelect'), + meta: { title: '部门选择', keepAlive: true, permission: ['form'] } + }, { path: '/form/step-form', name: 'StepForm', diff --git a/src/views/project/ProjectForm.vue b/src/views/project/ProjectForm.vue index 726162d..12eaf19 100644 --- a/src/views/project/ProjectForm.vue +++ b/src/views/project/ProjectForm.vue @@ -2,10 +2,15 @@ - + - + Zone one Zone two @@ -26,90 +31,100 @@ - Zone one - Zone two + {{ item.name }} - + - - + - + - + - - + - + - + - - + - - - - - - - - - Online - Promotion - Offline - - - - - Sponsor - Venue + + + + + + 补考次数: + + + + + 随机补考 + + + + + + 允许 + 不允许 - - + + - 提交 + 下一步 取消 + diff --git a/src/views/project/ProjectUnitSelect.vue b/src/views/project/ProjectUnitSelect.vue new file mode 100644 index 0000000..0b04684 --- /dev/null +++ b/src/views/project/ProjectUnitSelect.vue @@ -0,0 +1,38 @@ + + + + \ No newline at end of file