Commit 9733d728 by caoyanzhi

调整

parent fee2c61e
......@@ -35,9 +35,9 @@ export const routes = [
component: () => import('@/views/permission/permission-list.vue')
},
{
path: '/action-list',
path: '/operation-list',
name: '操作项列表',
component: () => import('@/views/permission/action-list.vue')
component: () => import('@/views/permission/operation-list.vue')
}
]
},
......
......@@ -126,7 +126,6 @@ const { getMenuList, addMenu, editMenu, delMenu } = api;
// 新建权限项跳转 done
// 查看权限项跳转 done
// 删除 done
// 排序
// 好办版本、应用版本接口联调
export default {
......
......@@ -2,25 +2,25 @@
<el-tabs v-model="activeName">
<!-- 1好办后台2应用后台3好办小程序4小程序应用 -->
<el-tab-pane label="好办后台" name="first" lazy>
<action-table app-type="1"></action-table>
<operation-table app-type="1"></operation-table>
</el-tab-pane>
<el-tab-pane label="应用后台" name="second" lazy>
<action-table app-type="2"></action-table>
<operation-table app-type="2"></operation-table>
</el-tab-pane>
<el-tab-pane label="好办小程序" name="third" lazy>
<action-table app-type="3"></action-table>
<operation-table app-type="3"></operation-table>
</el-tab-pane>
<el-tab-pane label="好办小程序应用" name="fourth" lazy>
<action-table app-type="4"></action-table>
<operation-table app-type="4"></operation-table>
</el-tab-pane>
</el-tabs>
</template>
<script>
import ActionTable from './action-list/action-table.vue';
import OperationTable from './operation-list/operation-table.vue';
export default {
name: 'action-list',
components: { ActionTable },
name: 'operation-list',
components: { OperationTable },
data() {
return {
activeName: 'first'
......
......@@ -96,7 +96,7 @@ const { getOperationItemList, addOperationItem, editOperationItem, delOperationI
// 新建、编辑操作项 done
// 删除操作项 done
export default {
name: 'action-table',
name: 'operation-table',
props: {
appType: [String, Number]
},
......
......@@ -29,7 +29,7 @@
<el-select v-model="editAuth.operationItemIds" collapse-tags multiple clearable style="width:332px">
<el-option v-for="el in operationList" :key="el.operationItemId" :value="el.operationItemId" :label="el.operationItemName"></el-option>
</el-select>
<el-button type="text" style="margin-left: 24px" @click="toActionList">添加操作项</el-button>
<el-button type="text" style="margin-left: 24px" @click="toOperationList">添加操作项</el-button>
</el-form-item>
</el-form>
<template slot="footer">
......@@ -154,8 +154,8 @@ export default {
})
},
// 去操作项列表页
toActionList() {
this.$router.push('/action-list');
toOperationList() {
this.$router.push('/operation-list');
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment