|
|
@ -35,8 +35,13 @@
|
|
|
|
<el-table ref="tables" v-loading="loading" :data="list"
|
|
|
|
<el-table ref="tables" v-loading="loading" :data="list"
|
|
|
|
border>
|
|
|
|
border>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="组件路径" align="center" prop="menuKey"/>
|
|
|
|
<el-table-column label="组件标识" align="center" prop="menuKey"/>
|
|
|
|
<el-table-column label="菜单名称" align="center" prop="menuName"/>
|
|
|
|
<el-table-column label="组件类型" align="center" prop="status" width="130">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-tag type="success" effect="plain">{{ helpTypeMap[scope.row.helpType==null?0:scope.row.helpType] }}</el-tag>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="组件名称" align="center" prop="menuName"/>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="状态" align="center" prop="status" width="130">
|
|
|
|
<el-table-column label="状态" align="center" prop="status" width="130">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
@ -48,8 +53,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column label="修改日期" align="center" prop="updateTime">
|
|
|
|
<el-table-column label="修改日期" align="center" prop="updateTime">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope" >
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@click="handleView(scope.row,scope.index)"
|
|
|
|
@click="handleView(scope.row,scope.index)"
|
|
|
@ -109,6 +114,10 @@
|
|
|
|
0: "禁用",
|
|
|
|
0: "禁用",
|
|
|
|
1: "启用"
|
|
|
|
1: "启用"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
helpTypeMap: {
|
|
|
|
|
|
|
|
0: "文件",
|
|
|
|
|
|
|
|
1: "URL"
|
|
|
|
|
|
|
|
},
|
|
|
|
formName: 1,
|
|
|
|
formName: 1,
|
|
|
|
formMap: {
|
|
|
|
formMap: {
|
|
|
|
1: "新增菜单",
|
|
|
|
1: "新增菜单",
|
|
|
@ -196,6 +205,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
addMenu(){
|
|
|
|
addMenu(){
|
|
|
|
|
|
|
|
this.formName=1;
|
|
|
|
this.addMenuVisible=true;
|
|
|
|
this.addMenuVisible=true;
|
|
|
|
this.form={};
|
|
|
|
this.form={};
|
|
|
|
},
|
|
|
|
},
|
|
|
|