File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
admin/src/views/permission Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 8
8
<el-col :span =" 14" />
9
9
</el-form-item >
10
10
11
+ <el-form-item label =" 路由" prop =" route" >
12
+ <el-col :span =" 10" >
13
+ <el-input v-model =" form.route" />
14
+ </el-col >
15
+ <el-col :span =" 14" />
16
+ </el-form-item >
17
+
11
18
<el-form-item label =" 新增权限赋值角色" prop =" roles" >
12
19
<template >
13
20
<el-checkbox-group v-model =" form.checkedRoles" @change =" handleCheckedRolesChange" >
@@ -33,6 +40,7 @@ export default {
33
40
return {
34
41
form: {
35
42
name: ' ' ,
43
+ route: ' ' ,
36
44
checkedRoles: [],
37
45
roles: [],
38
46
isIndeterminate: true ,
Original file line number Diff line number Diff line change 7
7
</el-col >
8
8
<el-col :span =" 14" />
9
9
</el-form-item >
10
+ <el-form-item label =" 路由" prop =" route" >
11
+ <el-col :span =" 10" >
12
+ <el-input v-model =" form.route" />
13
+ </el-col >
14
+ <el-col :span =" 14" />
15
+ </el-form-item >
10
16
11
17
<el-form-item >
12
18
<el-button type =" primary" @click =" onSubmit('form')" >提交</el-button >
@@ -25,6 +31,7 @@ export default {
25
31
return {
26
32
form: {
27
33
name: ' ' ,
34
+ route: ' ' ,
28
35
loading: false
29
36
},
30
37
rules: {
You can’t perform that action at this time.
0 commit comments