Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Starter Web Vue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
product
kim3-web-vue
Starter Web Vue
Commits
3cea87e9
Commit
3cea87e9
authored
Jun 30, 2021
by
陈浩玮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数
parent
abb327f5
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
118 additions
and
34 deletions
+118
-34
src/pages/system/view/organization/OrgManagement.vue
src/pages/system/view/organization/OrgManagement.vue
+0
-4
src/pages/system/view/organization/index.js
src/pages/system/view/organization/index.js
+0
-3
src/pages/system/view/parameter/ParamManagement.vue
src/pages/system/view/parameter/ParamManagement.vue
+0
-4
src/pages/system/view/parameter/business/form.vue
src/pages/system/view/parameter/business/form.vue
+36
-0
src/pages/system/view/parameter/business/index.vue
src/pages/system/view/parameter/business/index.vue
+55
-0
src/pages/system/view/parameter/index.js
src/pages/system/view/parameter/index.js
+0
-3
src/router/async/router.map.js
src/router/async/router.map.js
+18
-19
src/router/config.js
src/router/config.js
+9
-1
No files found.
src/pages/system/view/organization/OrgManagement.vue
deleted
100644 → 0
View file @
abb327f5
<
template
>
<h1>
Menu Management
</h1>
</
template
>
\ No newline at end of file
src/pages/system/view/organization/index.js
deleted
100644 → 0
View file @
abb327f5
import
OrgManagement
from
'
./OrgManagement
'
;
export
default
OrgManagement
;
\ No newline at end of file
src/pages/system/view/parameter/ParamManagement.vue
deleted
100644 → 0
View file @
abb327f5
<
template
>
<h1>
Menu Management
</h1>
</
template
>
\ No newline at end of file
src/pages/system/view/parameter/business/form.vue
0 → 100644
View file @
3cea87e9
<
template
>
<a-form-model
layout=
"vertical"
:model=
"form"
:rules=
"rules"
ref=
"DrawerForm"
>
<a-form-model-item
label=
"名称"
prop=
"jobName"
>
<a-input
v-model=
"form.jobName"
:disabled=
"isView"
/>
</a-form-model-item>
<a-form-model-item
label=
"描述"
prop=
"jobDescription"
>
<a-textarea
v-model=
"form.jobDescription"
:disabled=
"isView"
:rows=
"4"
/>
</a-form-model-item>
</a-form-model>
</
template
>
<
script
>
import
JobsApi
from
'
@/api/organization
'
;
import
FormMixin
from
'
@/components/FormMixin
'
;
export
default
{
mixins
:
[
FormMixin
],
data
()
{
return
{
rules
:
{
jobName
:
[{
required
:
true
,
message
:
'
Please select Activity zone
'
,
trigger
:
'
change
'
}],
jobDescription
:
[
{
required
:
true
,
message
:
'
Please select Activity zone
'
,
trigger
:
'
change
'
},
],
},
};
},
methods
:
{
add
()
{
return
JobsApi
.
addJobs
({
...
this
.
form
});
},
edit
()
{
return
JobsApi
.
updateJobs
({
...
this
.
form
});
},
},
};
</
script
>
src/pages/system/view/parameter/business/index.vue
0 → 100644
View file @
3cea87e9
<
template
>
<my-table
url=
"/api/v1/parameters/business"
rowKey=
"paramId"
:addBtn=
"addBtn"
ref=
"table"
>
<template
#drawer
>
<Form
ref=
"form"
/>
</
template
>
<
template
#search=
"{ query }"
>
<MyFormModelItem
label=
"归属部门"
>
<a-input
v-model=
"query.jobName"
/>
</MyFormModelItem>
</
template
>
<a-table-column
title=
"语言"
data-index=
"paramLocale"
/>
<a-table-column
title=
"参数模块"
data-index=
"paramModule"
/>
<a-table-column
title=
"参数编码"
data-index=
"paramCode"
/>
<a-table-column
title=
"参数值"
data-index=
"paramValue"
/>
<a-table-column
title=
"参数名称"
data-index=
"paramName"
/>
<a-table-column
title=
"说明"
data-index=
"remark"
/>
<a-table-column
title=
"显示顺序"
data-index=
"paramIndex"
/>
<a-table-column
title=
"操作"
>
<
template
#default=
"row"
>
<a
@
click=
"() => view(row, 1)"
>
编辑
</a>
<a-divider
type=
"vertical"
/>
<PopconfirmDelete
:url=
"`/api/v1/jobs/$
{row.jobId}`" :cb="refreshTable" />
</
template
>
</a-table-column>
</my-table>
</template>
<
script
>
import
Form
from
'
./form.vue
'
;
import
PopconfirmDelete
from
'
@/components/popconfirm_delete/index.vue
'
;
import
MyFormModelItem
from
'
@/components/table/my_item.vue
'
;
import
{
globalConfig
}
from
'
@/config
'
;
export
default
{
components
:
{
Form
,
PopconfirmDelete
,
MyFormModelItem
},
data
()
{
return
{
addBtn
:
{
width
:
600
,
onOk
:
()
=>
this
.
$refs
[
'
form
'
]?.
submit
()
},
langList
:
globalConfig
.
langs
,
};
},
mounted
()
{
console
.
log
(
this
.
langList
);
},
methods
:
{
refreshTable
()
{
this
.
$refs
[
'
table
'
]?.
getData
();
},
view
(
data
,
type
)
{
this
.
$refs
[
'
table
'
]?.
show
({
type
});
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'
form
'
].
setData
({
...
data
},
type
);
});
},
},
};
</
script
>
\ No newline at end of file
src/pages/system/view/parameter/index.js
deleted
100644 → 0
View file @
abb327f5
import
ParamManagement
from
'
./ParamManagement
'
;
export
default
ParamManagement
;
\ No newline at end of file
src/router/async/router.map.js
View file @
3cea87e9
// 视图组件
// 视图组件
const
view
=
{
const
view
=
{
tabs
:
()
=>
import
(
'
@/pages/frame/view/template/TabsTemplateView
'
),
tabs
:
()
=>
import
(
'
@/pages/frame/view/template/TabsTemplateView
'
),
...
@@ -20,20 +19,20 @@ const routerMap = {
...
@@ -20,20 +19,20 @@ const routerMap = {
component
:
view
.
tabs
,
component
:
view
.
tabs
,
},
},
exp403
:
{
exp403
:
{
authority
:
"
*
"
,
authority
:
'
*
'
,
name
:
"
403错误
"
,
name
:
'
403错误
'
,
path
:
"
403
"
,
path
:
'
403
'
,
component
:
()
=>
import
(
"
@/pages/frame/view/exception/403
"
),
component
:
()
=>
import
(
'
@/pages/frame/view/exception/403
'
),
},
},
exp404
:
{
exp404
:
{
name
:
"
404错误
"
,
name
:
'
404错误
'
,
path
:
"
404
"
,
path
:
'
404
'
,
component
:
()
=>
import
(
"
@/pages/frame/view/exception/404
"
),
component
:
()
=>
import
(
'
@/pages/frame/view/exception/404
'
),
},
},
exp500
:
{
exp500
:
{
name
:
"
500错误
"
,
name
:
'
500错误
'
,
path
:
"
500
"
,
path
:
'
500
'
,
component
:
()
=>
import
(
"
@/pages/frame/view/exception/500
"
),
component
:
()
=>
import
(
'
@/pages/frame/view/exception/500
'
),
},
},
dashboard
:
{
dashboard
:
{
name
:
'
Dashboard
'
,
name
:
'
Dashboard
'
,
...
@@ -56,10 +55,10 @@ const routerMap = {
...
@@ -56,10 +55,10 @@ const routerMap = {
component
:
()
=>
import
(
'
@/pages/system/view/menu
'
),
component
:
()
=>
import
(
'
@/pages/system/view/menu
'
),
},
},
organization_management
:
{
//
organization_management: {
name
:
'
组织管理
'
,
//
name: '组织管理',
component
:
()
=>
import
(
'
@/pages/system/view/organization
'
),
//
component: () => import('@/pages/system/view/organization'),
},
//
},
user_management
:
{
user_management
:
{
name
:
'
用户管理
'
,
name
:
'
用户管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/user
'
),
component
:
()
=>
import
(
'
@/pages/system/view/user
'
),
...
@@ -68,10 +67,10 @@ const routerMap = {
...
@@ -68,10 +67,10 @@ const routerMap = {
name
:
'
角色管理
'
,
name
:
'
角色管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/role
'
),
component
:
()
=>
import
(
'
@/pages/system/view/role
'
),
},
},
parameter_management
:
{
//
parameter_management: {
name
:
'
参数管理
'
,
//
name: '参数管理',
component
:
()
=>
import
(
'
@/pages/system/view/parameter
'
),
//
component: () => import('@/pages/system/view/parameter'),
},
//
},
log_management
:
{
log_management
:
{
name
:
'
日志管理
'
,
name
:
'
日志管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/log
'
),
component
:
()
=>
import
(
'
@/pages/system/view/log
'
),
...
...
src/router/config.js
View file @
3cea87e9
...
@@ -110,7 +110,15 @@ const options = {
...
@@ -110,7 +110,15 @@ const options = {
{
{
path
:
'
parameter_management
'
,
path
:
'
parameter_management
'
,
name
:
'
参数管理
'
,
name
:
'
参数管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/parameter
'
),
component
:
BlankTemplateView
,
children
:
[
{
path
:
'
business_management
'
,
name
:
'
业务参数
'
,
component
:
()
=>
import
(
'
@/pages/system/view/parameter/business/index.vue
'
),
},
],
},
},
{
{
path
:
'
log_management
'
,
path
:
'
log_management
'
,
...
...
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