Commit 532cef14 authored by 张俊's avatar 张俊

新增组织

parent 86b042cd
......@@ -2,7 +2,7 @@
<div class="detail_contain">
<p class="now_page_title">
权限管理 / 组织管理 /
<span>组织编辑</span>
<span>组织{{$route.params.id?'编辑':'新增'}}</span>
</p>
<div class="info_contain">
<el-form ref="form" :rules="rules" :model="form" label-width="0px">
......@@ -148,6 +148,7 @@ export default {
this.$store.commit('rolefun',data)
this.getOriginArr()
});
console.log(this.$route.params.id);
},
mounted() {},
methods: {
......
......@@ -234,7 +234,12 @@ export default new Router({
component: () => import("@/pages/authority/organizationdetail"),
},
{
path: "/authority/organizationedit", // 组织管理组织编辑
path: "/authority/organizationedit", // 组织管理组织新增
name: "organizationedit",
component: () => import("@/pages/authority/organizationedit"),
},
{
path: "/authority/organizationedit/:id", // 组织管理组织编辑
name: "organizationedit",
component: () => import("@/pages/authority/organizationedit"),
},
......
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