Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
a8ad5e4b
Commit
a8ad5e4b
authored
Dec 30, 2022
by
赵伟庚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix](首页配置): 输入框去除首尾空格,全平台新建替换为新增
parent
867796aa
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
40 additions
and
40 deletions
+40
-40
src/page/main/config/dict/index.vue
src/page/main/config/dict/index.vue
+5
-5
src/page/main/develop/account/add/contact-form.vue
src/page/main/develop/account/add/contact-form.vue
+1
-1
src/page/main/develop/account/add/index.vue
src/page/main/develop/account/add/index.vue
+3
-3
src/page/main/develop/account/add/system-form.vue
src/page/main/develop/account/add/system-form.vue
+1
-1
src/page/main/develop/account/index.vue
src/page/main/develop/account/index.vue
+1
-1
src/page/main/develop/menu/index.vue
src/page/main/develop/menu/index.vue
+6
-6
src/page/main/home-config/banner/edit/banner-form.vue
src/page/main/home-config/banner/edit/banner-form.vue
+2
-2
src/page/main/home-config/foot-info/index.vue
src/page/main/home-config/foot-info/index.vue
+3
-3
src/page/main/system/organization/directory-form.vue
src/page/main/system/organization/directory-form.vue
+1
-1
src/page/main/system/organization/org-form.vue
src/page/main/system/organization/org-form.vue
+1
-1
src/page/main/system/organization/org-user/org-account-form.vue
...ge/main/system/organization/org-user/org-account-form.vue
+1
-1
src/page/main/system/organization/platform-user/platform-account-form.vue
...stem/organization/platform-user/platform-account-form.vue
+1
-1
src/page/main/system/organization/tree.vue
src/page/main/system/organization/tree.vue
+7
-7
src/page/main/system/role/add/role_form.vue
src/page/main/system/role/add/role_form.vue
+1
-1
src/page/main/system/role/index.vue
src/page/main/system/role/index.vue
+3
-3
src/router/function.js
src/router/function.js
+1
-1
src/router/index.js
src/router/index.js
+1
-1
src/router/recorder.js
src/router/recorder.js
+1
-1
No files found.
src/page/main/config/dict/index.vue
View file @
a8ad5e4b
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"apaas_button"
>
<div
class=
"apaas_button"
>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"register"
>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"register"
>
<bg-icon
style=
"font-size: 12px; color: #fff; margin-right: 8px"
icon=
"#bg-ic-add"
></bg-icon>
<bg-icon
style=
"font-size: 12px; color: #fff; margin-right: 8px"
icon=
"#bg-ic-add"
></bg-icon>
新
建
新
增
</el-button>
</el-button>
</div>
</div>
</
template
>
</
template
>
...
@@ -100,8 +100,8 @@
...
@@ -100,8 +100,8 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 新
建
/编辑弹窗 -->
<!-- 新
增
/编辑弹窗 -->
<el-dialog
class=
"dialog_box"
:title=
"addType == 1 ? '新
建
' : '编辑'"
v-model=
"addDialog"
width=
"758px"
>
<el-dialog
class=
"dialog_box"
:title=
"addType == 1 ? '新
增
' : '编辑'"
v-model=
"addDialog"
width=
"758px"
>
<el-form
ref=
"bgForm"
:model=
"formData"
:rules=
"rules"
label-width=
"80px"
class=
"bg_form"
>
<el-form
ref=
"bgForm"
:model=
"formData"
:rules=
"rules"
label-width=
"80px"
class=
"bg_form"
>
<el-form-item
label=
"名称"
prop=
"name"
>
<el-form-item
label=
"名称"
prop=
"name"
>
<el-input
<el-input
...
@@ -179,7 +179,7 @@ const state = reactive({
...
@@ -179,7 +179,7 @@ const state = reactive({
bgForm
,
bgForm
,
typeList
:
[],
// 分类数据
typeList
:
[],
// 分类数据
typeKeyword
:
""
,
// 分类删选关键词
typeKeyword
:
""
,
// 分类删选关键词
nodeClassifyId
:
null
,
// 当前选中分类的uuid 用于新
建
字典
nodeClassifyId
:
null
,
// 当前选中分类的uuid 用于新
增
字典
nodeId
:
null
,
// 当前选中分类的id 用于请求列表
nodeId
:
null
,
// 当前选中分类的id 用于请求列表
timer
:
null
,
// 定时器
timer
:
null
,
// 定时器
headers
:
[
headers
:
[
...
@@ -376,7 +376,7 @@ const register = () => {
...
@@ -376,7 +376,7 @@ const register = () => {
}
}
state
.
addType
=
1
;
state
.
addType
=
1
;
state
.
addDialog
=
true
;
state
.
addDialog
=
true
;
};
// 新
建
字典按钮
};
// 新
增
字典按钮
const
edit_row
=
(
row
)
=>
{
const
edit_row
=
(
row
)
=>
{
axios
axios
...
...
src/page/main/develop/account/add/contact-form.vue
View file @
a8ad5e4b
...
@@ -32,7 +32,7 @@ const contactForm = reactive({
...
@@ -32,7 +32,7 @@ const contactForm = reactive({
const
props
=
defineProps
({
const
props
=
defineProps
({
formType
:
{
formType
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
//false 新
建
true 编辑
default
:
false
,
//false 新
增
true 编辑
},
},
id
:
{
id
:
{
type
:
String
,
type
:
String
,
...
...
src/page/main/develop/account/add/index.vue
View file @
a8ad5e4b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item>
开发管理
</el-breadcrumb-item>
<el-breadcrumb-item>
开发管理
</el-breadcrumb-item>
<el-breadcrumb-item
:to=
"
{ path: '/develop/account' }"> 系统账号管理
</el-breadcrumb-item>
<el-breadcrumb-item
:to=
"
{ path: '/develop/account' }"> 系统账号管理
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
route
.
query
.
id
?
"
编辑
"
:
"
新
建
"
}}
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
route
.
query
.
id
?
"
编辑
"
:
"
新
增
"
}}
</el-breadcrumb-item>
</el-breadcrumb>
</el-breadcrumb>
</div>
</div>
<div
class=
"page_content flex_cloumn"
>
<div
class=
"page_content flex_cloumn"
>
...
@@ -73,8 +73,8 @@
...
@@ -73,8 +73,8 @@
? "业务系统编辑成功"
? "业务系统编辑成功"
: "业务系统编辑失败"
: "业务系统编辑失败"
: successFlag
: successFlag
? "业务系统新
建
成功"
? "业务系统新
增
成功"
: "业务系统新
建
失败"
: "业务系统新
增
失败"
}}
}}
</div>
</div>
<el-button
@
click=
"cancel"
>
返回列表
</el-button>
<el-button
@
click=
"cancel"
>
返回列表
</el-button>
...
...
src/page/main/develop/account/add/system-form.vue
View file @
a8ad5e4b
...
@@ -87,7 +87,7 @@ import { ElMessage } from "element-plus";
...
@@ -87,7 +87,7 @@ import { ElMessage } from "element-plus";
const
props
=
defineProps
({
const
props
=
defineProps
({
formType
:
{
formType
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
//false 新
建
true 编辑
default
:
false
,
//false 新
增
true 编辑
},
},
id
:
{
id
:
{
type
:
String
,
type
:
String
,
...
...
src/page/main/develop/account/index.vue
View file @
a8ad5e4b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<div
class=
"apaas_button"
>
<div
class=
"apaas_button"
>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"addAccount"
>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"addAccount"
>
<bg-icon
style=
"font-size: 12px; color: #fff; margin-right: 8px"
icon=
"#bg-ic-add"
></bg-icon>
<bg-icon
style=
"font-size: 12px; color: #fff; margin-right: 8px"
icon=
"#bg-ic-add"
></bg-icon>
新
建
新
增
</el-button>
</el-button>
<el-button
class=
"register_btn"
@
click=
"deleteBatch"
>
批量删除
</el-button>
<el-button
class=
"register_btn"
@
click=
"deleteBatch"
>
批量删除
</el-button>
<el-button
class=
"register_btn"
@
click=
"resetPsd"
>
重置密码
</el-button>
<el-button
class=
"register_btn"
@
click=
"resetPsd"
>
重置密码
</el-button>
...
...
src/page/main/develop/menu/index.vue
View file @
a8ad5e4b
...
@@ -42,8 +42,8 @@
...
@@ -42,8 +42,8 @@
ref=
"treeAction"
ref=
"treeAction"
v-show=
"actionFlag"
v-show=
"actionFlag"
:style=
"{ top: acTop, left: acLeft, bottom: acBottom }"
>
:style=
"{ top: acTop, left: acLeft, bottom: acBottom }"
>
<div
class=
"action"
@
click=
"fileAction(1, selectData, selectParentData)"
>
新
建
本级
</div>
<div
class=
"action"
@
click=
"fileAction(1, selectData, selectParentData)"
>
新
增
本级
</div>
<div
class=
"action"
@
click=
"fileAction(2, selectData, selectParentData)"
>
新
建
下级
</div>
<div
class=
"action"
@
click=
"fileAction(2, selectData, selectParentData)"
>
新
增
下级
</div>
<div
class=
"action"
@
click=
"fileAction(3, selectData, selectParentData)"
>
删除
</div>
<div
class=
"action"
@
click=
"fileAction(3, selectData, selectParentData)"
>
删除
</div>
<div
<div
class=
"action"
class=
"action"
...
@@ -176,7 +176,7 @@ const getMenuTree = (type, id) => {
...
@@ -176,7 +176,7 @@ const getMenuTree = (type, id) => {
handleNodeClick
(
state
.
data
[
0
]);
handleNodeClick
(
state
.
data
[
0
]);
}
}
}
else
{
}
else
{
// 上下移,初始化时默认选中节点 新
建
选中新增的节点
// 上下移,初始化时默认选中节点 新
增
选中新增的节点
if
(
id
)
{
if
(
id
)
{
findData
(
state
.
data
,
id
);
findData
(
state
.
data
,
id
);
}
}
...
@@ -298,7 +298,7 @@ const filterNode = (val, data) => {
...
@@ -298,7 +298,7 @@ const filterNode = (val, data) => {
const
fileAction
=
(
val
,
data
,
parent
,
disabled
=
false
)
=>
{
const
fileAction
=
(
val
,
data
,
parent
,
disabled
=
false
)
=>
{
if
(
val
==
1
)
{
if
(
val
==
1
)
{
// 新
建
本级菜单
// 新
增
本级菜单
state
.
addType
=
1
;
state
.
addType
=
1
;
let
newChild
=
{
let
newChild
=
{
menu_name
:
"
新菜单
"
,
// 菜单名称
menu_name
:
"
新菜单
"
,
// 菜单名称
...
@@ -323,7 +323,7 @@ const fileAction = (val, data, parent, disabled = false) => {
...
@@ -323,7 +323,7 @@ const fileAction = (val, data, parent, disabled = false) => {
handleNodeClick
(
newChild
);
handleNodeClick
(
newChild
);
state
.
newMenuId
++
;
state
.
newMenuId
++
;
}
else
if
(
val
==
2
)
{
}
else
if
(
val
==
2
)
{
// 新
建
下级菜单
// 新
增
下级菜单
if
(
disabled
)
{
if
(
disabled
)
{
return
;
return
;
}
}
...
@@ -493,7 +493,7 @@ const saveMenu = (el, type) => {
...
@@ -493,7 +493,7 @@ const saveMenu = (el, type) => {
// 新增
// 新增
if
(
state
.
selectParentData
)
{
if
(
state
.
selectParentData
)
{
if
(
state
.
selectParentData
.
menu_type
==
1
&&
el
.
menuForm
.
menu_type
==
0
)
{
if
(
state
.
selectParentData
.
menu_type
==
1
&&
el
.
menuForm
.
menu_type
==
0
)
{
ElMessage
.
error
(
"
菜单之下不可以新
建
目录
"
);
ElMessage
.
error
(
"
菜单之下不可以新
增
目录
"
);
return
;
return
;
}
}
}
}
...
...
src/page/main/home-config/banner/edit/banner-form.vue
View file @
a8ad5e4b
<
template
>
<
template
>
<el-form
:model=
"formData"
:rules=
"formRules"
ref=
"form"
style=
"max-width: 1048px"
class=
"form"
>
<el-form
:model=
"formData"
:rules=
"formRules"
ref=
"form"
style=
"max-width: 1048px"
class=
"form"
>
<el-form-item
label=
"banner名称"
prop=
"banner_name"
>
<el-form-item
label=
"banner名称"
prop=
"banner_name"
>
<el-input
v-model=
"formData.banner_name"
/>
<el-input
v-model
.trim
=
"formData.banner_name"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"链接地址(选填)"
prop=
"link_address"
>
<el-form-item
label=
"链接地址(选填)"
prop=
"link_address"
>
<el-input
v-model=
"formData.link_address"
/>
<el-input
v-model
.trim
=
"formData.link_address"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"上传banner图片"
prop=
"banner_image"
>
<el-form-item
label=
"上传banner图片"
prop=
"banner_image"
>
<bg-upload-image
<bg-upload-image
...
...
src/page/main/home-config/foot-info/index.vue
View file @
a8ad5e4b
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<div
class=
"content_top"
>
<div
class=
"content_top"
>
<el-form
:model=
"formData"
:rules=
"formRules"
ref=
"formRef"
style=
"max-width: 1048px"
class=
"form"
>
<el-form
:model=
"formData"
:rules=
"formRules"
ref=
"formRef"
style=
"max-width: 1048px"
class=
"form"
>
<el-form-item
label=
"公司名称"
prop=
"company_name"
>
<el-form-item
label=
"公司名称"
prop=
"company_name"
>
<el-input
v-model=
"formData.company_name"
placeholder=
"请输入公司名称"
show-word-limit
maxlength=
"50"
/>
<el-input
v-model
.trim
=
"formData.company_name"
placeholder=
"请输入公司名称"
show-word-limit
maxlength=
"50"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"公司地址"
prop=
"company_address"
>
<el-form-item
label=
"公司地址"
prop=
"company_address"
>
<el-input
v-model=
"formData.company_address"
placeholder=
"请输入公司地址"
show-word-limit
maxlength=
"100"
/>
<el-input
v-model
.trim
=
"formData.company_address"
placeholder=
"请输入公司地址"
show-word-limit
maxlength=
"100"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"公司logo"
prop=
"logo"
>
<el-form-item
label=
"公司logo"
prop=
"logo"
>
<bg-upload-image
<bg-upload-image
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
:accept=
"['.jpg', '.jpeg', '.png']"
></bg-upload-image>
:accept=
"['.jpg', '.jpeg', '.png']"
></bg-upload-image>
</el-form-item>
</el-form-item>
<el-form-item
label=
"公司电话"
prop=
"contact_phone"
>
<el-form-item
label=
"公司电话"
prop=
"contact_phone"
>
<el-input
v-model=
"formData.contact_phone"
placeholder=
"请输入公司电话"
show-word-limit
maxlength=
"20"
/>
<el-input
v-model
.trim
=
"formData.contact_phone"
placeholder=
"请输入公司电话"
show-word-limit
maxlength=
"20"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
...
src/page/main/system/organization/directory-form.vue
View file @
a8ad5e4b
...
@@ -33,7 +33,7 @@ import { ElMessage } from "element-plus";
...
@@ -33,7 +33,7 @@ import { ElMessage } from "element-plus";
const
props
=
defineProps
({
const
props
=
defineProps
({
formType
:
{
formType
:
{
type
:
String
,
type
:
String
,
default
:
"
create
"
,
//false 新
建
true 编辑
default
:
"
create
"
,
//false 新
增
true 编辑
},
},
});
});
...
...
src/page/main/system/organization/org-form.vue
View file @
a8ad5e4b
...
@@ -42,7 +42,7 @@ import { ElMessage } from "element-plus";
...
@@ -42,7 +42,7 @@ import { ElMessage } from "element-plus";
const
props
=
defineProps
({
const
props
=
defineProps
({
formType
:
{
formType
:
{
type
:
String
,
type
:
String
,
default
:
"
create
"
,
//false 新
建
true 编辑
default
:
"
create
"
,
//false 新
增
true 编辑
},
},
});
});
const
orgForm
=
reactive
({
const
orgForm
=
reactive
({
...
...
src/page/main/system/organization/org-user/org-account-form.vue
View file @
a8ad5e4b
...
@@ -65,7 +65,7 @@ const route = useRoute();
...
@@ -65,7 +65,7 @@ const route = useRoute();
const
props
=
defineProps
({
const
props
=
defineProps
({
formType
:
{
formType
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
//false 新
建
true 编辑
default
:
false
,
//false 新
增
true 编辑
},
},
id
:
{
id
:
{
type
:
String
,
type
:
String
,
...
...
src/page/main/system/organization/platform-user/platform-account-form.vue
View file @
a8ad5e4b
...
@@ -55,7 +55,7 @@ import axios from "@/request/http.js";
...
@@ -55,7 +55,7 @@ import axios from "@/request/http.js";
const
props
=
defineProps
({
const
props
=
defineProps
({
formType
:
{
formType
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
//false 新
建
true 编辑
default
:
false
,
//false 新
增
true 编辑
},
},
id
:
{
id
:
{
type
:
String
,
type
:
String
,
...
...
src/page/main/system/organization/tree.vue
View file @
a8ad5e4b
...
@@ -41,38 +41,38 @@
...
@@ -41,38 +41,38 @@
v-if=
"selectData && selectData.data_type === 2"
v-if=
"selectData && selectData.data_type === 2"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'directory', action: 'create', target: null })"
>
@
click=
"treeAction({ type: 'directory', action: 'create', target: null })"
>
新
建
目录
新
增
目录
</div>
</div>
<div
<div
v-if=
"selectData && selectData.data_type === 2"
v-if=
"selectData && selectData.data_type === 2"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'org', action: 'create', target: null })"
>
@
click=
"treeAction({ type: 'org', action: 'create', target: null })"
>
新
建
组织
新
增
组织
</div>
</div>
<!-- 目录 -->
<!-- 目录 -->
<div
<div
v-if=
"selectData && selectData.data_type === 0"
v-if=
"selectData && selectData.data_type === 0"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'directory', action: 'create', target: 'local' })"
>
@
click=
"treeAction({ type: 'directory', action: 'create', target: 'local' })"
>
新
建
本级目录
新
增
本级目录
</div>
</div>
<div
<div
v-if=
"selectData && selectData.data_type === 0"
v-if=
"selectData && selectData.data_type === 0"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'directory', action: 'create', target: 'child' })"
>
@
click=
"treeAction({ type: 'directory', action: 'create', target: 'child' })"
>
新
建
下级目录
新
增
下级目录
</div>
</div>
<div
<div
v-if=
"selectData && selectData.data_type === 0 && selectData.level !== 1"
v-if=
"selectData && selectData.data_type === 0 && selectData.level !== 1"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'org', action: 'create', target: 'local' })"
>
@
click=
"treeAction({ type: 'org', action: 'create', target: 'local' })"
>
新
建
本级组织
新
增
本级组织
</div>
</div>
<div
<div
v-if=
"selectData && selectData.data_type === 0"
v-if=
"selectData && selectData.data_type === 0"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'org', action: 'create', target: 'child' })"
>
@
click=
"treeAction({ type: 'org', action: 'create', target: 'child' })"
>
新
建
下级组织
新
增
下级组织
</div>
</div>
<div
<div
v-if=
"selectData && selectData.data_type === 0"
v-if=
"selectData && selectData.data_type === 0"
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
v-if=
"selectData && selectData.data_type === 1"
v-if=
"selectData && selectData.data_type === 1"
class=
"action"
class=
"action"
@
click=
"treeAction({ type: 'org', action: 'create', target: 'local' })"
>
@
click=
"treeAction({ type: 'org', action: 'create', target: 'local' })"
>
新
建
本级组织
新
增
本级组织
</div>
</div>
<div
<div
v-if=
"selectData && selectData.data_type === 1"
v-if=
"selectData && selectData.data_type === 1"
...
...
src/page/main/system/role/add/role_form.vue
View file @
a8ad5e4b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item>
系统管理
</el-breadcrumb-item>
<el-breadcrumb-item>
系统管理
</el-breadcrumb-item>
<el-breadcrumb-item
to=
"/system/role"
>
角色管理
</el-breadcrumb-item>
<el-breadcrumb-item
to=
"/system/role"
>
角色管理
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
route
.
query
.
id
?
"
编辑
"
:
"
新
建
"
}}
</el-breadcrumb-item>
<el-breadcrumb-item>
{{
route
.
query
.
id
?
"
编辑
"
:
"
新
增
"
}}
</el-breadcrumb-item>
</el-breadcrumb>
</el-breadcrumb>
</div>
</div>
<div
class=
"main_container"
>
<div
class=
"main_container"
>
...
...
src/page/main/system/role/index.vue
View file @
a8ad5e4b
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<div
class=
"apaas_button"
>
<div
class=
"apaas_button"
>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"register"
>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"register"
>
<bg-icon
style=
"font-size: 12px; color: #fff; margin-right: 8px"
icon=
"#bg-ic-add"
></bg-icon>
<bg-icon
style=
"font-size: 12px; color: #fff; margin-right: 8px"
icon=
"#bg-ic-add"
></bg-icon>
新
建
新
增
</el-button>
</el-button>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"deleteRows"
>
批量删除
</el-button>
<el-button
class=
"register_btn"
type=
"primary"
@
click=
"deleteRows"
>
批量删除
</el-button>
<div
class=
"select_text"
>
<div
class=
"select_text"
>
...
@@ -346,9 +346,9 @@ const clearRoleSelection = () => {
...
@@ -346,9 +346,9 @@ const clearRoleSelection = () => {
};
};
const
register
=
()
=>
{
const
register
=
()
=>
{
console
.
log
(
"
新
建
角色
"
);
console
.
log
(
"
新
增
角色
"
);
router
.
push
(
"
/system/role/add
"
);
router
.
push
(
"
/system/role/add
"
);
};
// 新
建
角色
};
// 新
增
角色
const
edit_row
=
(
row
)
=>
{
const
edit_row
=
(
row
)
=>
{
console
.
log
(
row
,
"
编辑角色
"
);
console
.
log
(
row
,
"
编辑角色
"
);
...
...
src/router/function.js
View file @
a8ad5e4b
...
@@ -136,7 +136,7 @@ var adminMenu = [
...
@@ -136,7 +136,7 @@ var adminMenu = [
path
:
"
/develop/account
"
,
path
:
"
/develop/account
"
,
children
:
[
children
:
[
{
{
menuName
:
"
新
建
账号
"
,
menuName
:
"
新
增
账号
"
,
dict_group_id
:
"
09938937-3db9-47de-b967-7777ea4ebb2d
"
,
dict_group_id
:
"
09938937-3db9-47de-b967-7777ea4ebb2d
"
,
menuType
:
2
,
//system:64c156e0-bfff-4bfc-a63a-56effe130a25:apaas后管,能力注册页等 font:2cb4f767-fad7-44f2-afa3-f055e15dd2b6:apaas前台页 manager:09938937-3db9-47de-b967-7777ea4ebb2d:apaas管理中心 知识中心:26d3903a-863e-4efc-b53e-0fb8772ddaa4
menuType
:
2
,
//system:64c156e0-bfff-4bfc-a63a-56effe130a25:apaas后管,能力注册页等 font:2cb4f767-fad7-44f2-afa3-f055e15dd2b6:apaas前台页 manager:09938937-3db9-47de-b967-7777ea4ebb2d:apaas管理中心 知识中心:26d3903a-863e-4efc-b53e-0fb8772ddaa4
path
:
"
/develop/account/add
"
,
path
:
"
/develop/account/add
"
,
...
...
src/router/index.js
View file @
a8ad5e4b
//路由前端原则可以不写,但是需要在recorder中记录,防止以后忘记
//路由前端原则可以不写,但是需要在recorder中记录,防止以后忘记
//不用新
建
父路由的文件,父路由全部由parent/parent.vue来支撑
//不用新
增
父路由的文件,父路由全部由parent/parent.vue来支撑
import
{
createRouter
,
createWebHashHistory
}
from
"
vue-router
"
;
import
{
createRouter
,
createWebHashHistory
}
from
"
vue-router
"
;
import
store
from
'
../store
'
import
store
from
'
../store
'
...
...
src/router/recorder.js
View file @
a8ad5e4b
...
@@ -135,7 +135,7 @@ var router = [
...
@@ -135,7 +135,7 @@ var router = [
path
:
"
/develop/account
"
,
path
:
"
/develop/account
"
,
children
:
[
children
:
[
{
{
menuName
:
"
新
建
账号
"
,
menuName
:
"
新
增
账号
"
,
dict_group_id
:
"
09938937-3db9-47de-b967-7777ea4ebb2d
"
,
dict_group_id
:
"
09938937-3db9-47de-b967-7777ea4ebb2d
"
,
menuType
:
2
,
//system:64c156e0-bfff-4bfc-a63a-56effe130a25:apaas后管,能力注册页等 font:2cb4f767-fad7-44f2-afa3-f055e15dd2b6:apaas前台页 manager:09938937-3db9-47de-b967-7777ea4ebb2d:apaas管理中心 知识中心:26d3903a-863e-4efc-b53e-0fb8772ddaa4
menuType
:
2
,
//system:64c156e0-bfff-4bfc-a63a-56effe130a25:apaas后管,能力注册页等 font:2cb4f767-fad7-44f2-afa3-f055e15dd2b6:apaas前台页 manager:09938937-3db9-47de-b967-7777ea4ebb2d:apaas管理中心 知识中心:26d3903a-863e-4efc-b53e-0fb8772ddaa4
path
:
"
/develop/account/add
"
,
path
:
"
/develop/account/add
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment