新增种类

This commit is contained in:
Yuanjianghong 2021-08-30 09:22:20 +08:00
parent c0056a2764
commit 43260db924
3 changed files with 50 additions and 6 deletions

View File

@ -90,6 +90,12 @@ export const asyncRouterMap = [
component: () => import('@/views/project/ProjectForm'),
meta: { title: '新增项目', keepAlive: true, permission: ['form'], show: false }
},
{
path: '/project/addClass',
name: 'addClass',
component: () => import('@/views/project/AddClass'),
meta: { title: '新增种类', keepAlive: true, permission: ['form'] }
},
{
path: '/project/unitSelect',
name: 'unitSelect',

View File

@ -0,0 +1,36 @@
<template>
<div></div>
</template>
<script>
//jsjsjson
//import from ''
export default {
//import使
components: {},
props: {},
data() {
//
return {};
},
// data
computed: {},
//data
watch: {},
//
methods: {},
created() {}, // - 访this
mounted() {}, // - 访DOM
beforeCreate() {}, // -
beforeMount() {}, // -
beforeUpdate() {}, // -
updated() {}, // -
beforeDestroy() {}, // -
destroyed() {}, // -
activated() {} //keep-alive
};
</script>
<style scoped>
</style>

View File

@ -1,8 +1,14 @@
<template>
<page-header-wrapper title="请选择受训单位">
<!-- showSearch -->
<!-- height: '500px',overflowY: 'auto' -->
<a-form-model :model="form">
<a-form-model-item :wrapper-col="{ span: 14, offset: 4,}" >
<a-button type="primary" @click="toNext"> 下一步 </a-button>
<a-button style="margin-left: 10px"> 取消 </a-button>
</a-form-model-item>
<!-- showSearch -->
<!-- height: '500px',overflowY: 'auto' -->
<a-transfer
class="tree-transfer"
:data-source="dataSource"
@ -36,10 +42,6 @@
/>
</template>
</a-transfer>
<a-form-model-item :wrapper-col="{ span: 14, offset: 4 }">
<a-button type="primary" @click="toNext"> 下一步 </a-button>
<a-button style="margin-left: 10px"> 取消 </a-button>
</a-form-model-item>
</a-form-model>
</page-header-wrapper>
</template>