增加专家库页面,初步设计会议系统 专家库系统
This commit is contained in:
parent
6dfbfb127b
commit
813bc0d2e4
|
@ -22,6 +22,7 @@
|
|||
"js-base64": "^3.7.3",
|
||||
"js-cookie": "2.2.0",
|
||||
"js-md5": "^0.7.3",
|
||||
"mavon-editor": "^2.10.4",
|
||||
"moment": "^2.29.4",
|
||||
"normalize.css": "7.0.0",
|
||||
"nprogress": "0.2.0",
|
||||
|
|
|
@ -94,7 +94,7 @@ export default {
|
|||
// 导航栏页面更改
|
||||
handleSelect(key, keyPath) {
|
||||
|
||||
if (key!=="/userManage" && key!=="/fileList" && key !== "/platformData" && key !== "/OSD"){
|
||||
if (key!=="/userManage" && key!=="/fileList" && key !== "/platformData" && key !== "/OSD" && key !== "/expert/form" && key !== "/expert/add"){
|
||||
console.log(key)
|
||||
pageUtils.openPage(this.$router,"/fileListV2/"+ key)
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@ export const constantRoutes = [
|
|||
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path:'/',
|
||||
component: Layout,
|
||||
|
@ -125,6 +126,27 @@ export const constantRoutes = [
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path:'/expert',
|
||||
redirect: '/expert/form',
|
||||
component: Layout,
|
||||
meta: {title: '专家库',icon: 'el-icon-s-data'},
|
||||
children: [
|
||||
{
|
||||
path: "add",
|
||||
name: 'AddExpert',
|
||||
component:() => import("@/views/expertSystem/AddExpert"),
|
||||
meta: {title: '添加专家',icon: 'el-icon-s-data'},
|
||||
},
|
||||
{
|
||||
path: "form",
|
||||
name: 'expertForm',
|
||||
component:() => import("@/views/expertSystem/expertForm"),
|
||||
meta: {title: '专家库列表',icon: 'el-icon-s-data'},
|
||||
},
|
||||
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/example',
|
||||
// component: Layout,
|
||||
|
|
|
@ -0,0 +1,117 @@
|
|||
<template>
|
||||
|
||||
<div class="app-container">
|
||||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>添加专家</span>
|
||||
</div>
|
||||
<el-col :span="24">
|
||||
<el-form label-position="left" ref="form" :model="form" label-width="80px" >
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="专家姓名:" >
|
||||
<el-input v-model="form.expertName" style="width: 300px"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="专家职称:" >
|
||||
<el-select v-model="form.expertRank" placeholder="请选择职称" style="width: 300px">
|
||||
<el-option label="区域一" value="shanghai"></el-option>
|
||||
<el-option label="区域二" value="beijing"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="专家单位:" >
|
||||
<el-input v-model="form.expertUnit" style="width: 300px"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="银行卡号:" >
|
||||
<el-input v-model="form.expertCardNum" style="width: 300px"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="开户行:" >
|
||||
<el-input v-model="form.expertBankName" style="width: 300px"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="身份证:" >
|
||||
<el-input v-model="form.expertIdCard" style="width: 300px"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item label="开支标准">
|
||||
<el-input v-model="form.expertStandard" placeholder="开支标注说明:高级职称2400,中级职称1600"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit">立即添加</el-button>
|
||||
<el-button>取消</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-col>
|
||||
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'AddExpert',
|
||||
data(){
|
||||
return{
|
||||
form: {
|
||||
expertId:'',
|
||||
expertName:'',
|
||||
expertRank:'',
|
||||
expertUnit:'',
|
||||
expertCardNum:'',
|
||||
expertBankName:'',
|
||||
expertIdCard:'',
|
||||
expertStandard:'',
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onSubmit() {
|
||||
console.log('submit!');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.item {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.clearfix:after {
|
||||
clear: both
|
||||
}
|
||||
|
||||
.box-card {
|
||||
|
||||
|
||||
margin-bottom: 30px;
|
||||
border-radius: 10px;
|
||||
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,13 @@
|
|||
<template>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'expertForm'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
|
@ -14,6 +14,46 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div style="display:inline-block">
|
||||
<h2>知识库</h2>
|
||||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>我的知识库</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
|
||||
</div>
|
||||
<div v-for="o in 4" :key="o" class="text item">
|
||||
{{'列表内容 ' + o }}
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>我的知识库</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
|
||||
</div>
|
||||
<div v-for="o in 4" :key="o" class="text item">
|
||||
{{'列表内容 ' + o }}
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>我的知识库</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
|
||||
</div>
|
||||
<div v-for="o in 4" :key="o" class="text item">
|
||||
{{'列表内容 ' + o }}
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>我的知识库</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
|
||||
</div>
|
||||
<div v-for="o in 4" :key="o" class="text item">
|
||||
{{'列表内容 ' + o }}
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>文档</h2>
|
||||
<el-collapse v-model="activeNames" @change="handleChange" class="collapse" style=" margin-top: 40px;">
|
||||
|
@ -78,11 +118,45 @@ export default {
|
|||
justify-content: center;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.newBase:hover{
|
||||
background: #fafafa;
|
||||
}
|
||||
.baseWord{
|
||||
text-align: center;
|
||||
|
||||
user-select:none;
|
||||
color: #3D3D3D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//card
|
||||
.text {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.item {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.clearfix:after {
|
||||
clear: both
|
||||
}
|
||||
|
||||
.box-card {
|
||||
width: 460px;
|
||||
margin-right: 30px;
|
||||
margin-bottom: 30px;
|
||||
border-radius: 10px;
|
||||
float: left;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue