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
7d528119
Commit
7d528119
authored
Jun 30, 2021
by
陈浩玮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/chw' into 'master'
参数 See merge request product/kim3-web-vue/starter-web-vue!14
parents
f2ddf640
9b58ab4c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
108 additions
and
24 deletions
+108
-24
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/pages/user/components/todo.vue
src/pages/user/components/todo.vue
+3
-0
src/router/async/router.map.js
src/router/async/router.map.js
+5
-9
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 @
f2ddf640
<
template
>
<h1>
Menu Management
</h1>
</
template
>
\ No newline at end of file
src/pages/system/view/organization/index.js
deleted
100644 → 0
View file @
f2ddf640
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 @
f2ddf640
<
template
>
<h1>
Menu Management
</h1>
</
template
>
\ No newline at end of file
src/pages/system/view/parameter/business/form.vue
0 → 100644
View file @
7d528119
<
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 @
7d528119
<
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 @
f2ddf640
import
ParamManagement
from
'
./ParamManagement
'
;
export
default
ParamManagement
;
\ No newline at end of file
src/pages/user/components/todo.vue
View file @
7d528119
<
template
>
<h1>
TODO
</h1>
</
template
>
src/router/async/router.map.js
View file @
7d528119
...
...
@@ -54,11 +54,6 @@ const routerMap = {
name
:
'
菜单管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/menu
'
),
},
organization_management
:
{
name
:
'
组织管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/organization
'
),
},
user_management
:
{
name
:
'
用户管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/user
'
),
...
...
@@ -67,9 +62,10 @@ const routerMap = {
name
:
'
角色管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/role
'
),
},
parameter_management
:
{
name
:
'
参数管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/parameter
'
),
},
// log_management: {
// name: '日志管理',
// component: () => import('@/pages/system/view/log'),
// },
};
export
default
routerMap
;
src/router/config.js
View file @
7d528119
...
...
@@ -110,7 +110,15 @@ const options = {
{
path
:
'
parameter_management
'
,
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
'
,
...
...
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