Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
web-template
Commits
78a3a205
Commit
78a3a205
authored
Jan 04, 2021
by
shen_yan_pu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
98b4034e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
127 deletions
+62
-127
banner.js
src/api/banner.js
+1
-1
config.js
src/api/system/config.js
+7
-7
user.js
src/api/system/user.js
+6
-2
index.vue
src/views/system/user/index.vue
+47
-117
add.vue
src/views/workflow/formTemplateHtml/add.vue
+1
-0
No files found.
src/api/banner.js
View file @
78a3a205
...
@@ -37,7 +37,7 @@ export function editBanner(data) {
...
@@ -37,7 +37,7 @@ export function editBanner(data) {
// 查询角色列表
// 查询角色列表
export
function
listRole
(
query
)
{
export
function
listRole
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/role/list'
,
url
:
'/system/role/list'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
...
src/api/system/config.js
View file @
78a3a205
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询参数列表
// 查询参数列表
export
function
listConfig
(
query
)
{
export
function
listConfig
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/config/list'
,
url
:
'/system/config/list'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
@@ -20,7 +20,7 @@ export function getConfig(configId) {
...
@@ -20,7 +20,7 @@ export function getConfig(configId) {
// 根据参数键名查询参数值
// 根据参数键名查询参数值
export
function
getConfigKey
(
configKey
)
{
export
function
getConfigKey
(
configKey
)
{
return
request
({
return
request
({
url
:
'/authority
/system/config/configKey/'
+
configKey
,
// url: '
/system/config/configKey/' + configKey,
method
:
'get'
method
:
'get'
})
})
}
}
...
@@ -28,7 +28,7 @@ export function getConfigKey(configKey) {
...
@@ -28,7 +28,7 @@ export function getConfigKey(configKey) {
// 新增参数配置
// 新增参数配置
export
function
addConfig
(
data
)
{
export
function
addConfig
(
data
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/config'
,
url
:
'/system/config'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
@@ -37,7 +37,7 @@ export function addConfig(data) {
...
@@ -37,7 +37,7 @@ export function addConfig(data) {
// 修改参数配置
// 修改参数配置
export
function
updateConfig
(
data
)
{
export
function
updateConfig
(
data
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/config'
,
url
:
'/system/config'
,
method
:
'put'
,
method
:
'put'
,
data
:
data
data
:
data
})
})
...
@@ -46,7 +46,7 @@ export function updateConfig(data) {
...
@@ -46,7 +46,7 @@ export function updateConfig(data) {
// 删除参数配置
// 删除参数配置
export
function
delConfig
(
configId
)
{
export
function
delConfig
(
configId
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/config/'
+
configId
,
url
:
'/system/config/'
+
configId
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -54,7 +54,7 @@ export function delConfig(configId) {
...
@@ -54,7 +54,7 @@ export function delConfig(configId) {
// 清理参数缓存
// 清理参数缓存
export
function
clearCache
()
{
export
function
clearCache
()
{
return
request
({
return
request
({
url
:
'/
authority/
system/config/clearCache'
,
url
:
'/system/config/clearCache'
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -62,7 +62,7 @@ export function clearCache() {
...
@@ -62,7 +62,7 @@ export function clearCache() {
// 导出参数
// 导出参数
export
function
exportConfig
(
query
)
{
export
function
exportConfig
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/config/export'
,
url
:
'/system/config/export'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
...
src/api/system/user.js
View file @
78a3a205
...
@@ -31,17 +31,21 @@ export function addUser(data) {
...
@@ -31,17 +31,21 @@ export function addUser(data) {
return
request
({
return
request
({
url
:
'/system/user/add'
,
url
:
'/system/user/add'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
})
})
}
}
// 修改用户
// 修改用户
export
function
updateUser
(
data
)
{
export
function
updateUser
(
data
)
{
const
businessId
=
data
.
businessId
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
return
request
({
url
:
'/system/user/update/'
+
businessId
,
url
:
'/system/user/update/'
+
businessId
,
method
:
'put'
,
method
:
'put'
,
data
:
data
data
:
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
})
})
}
}
...
...
src/views/system/user/index.vue
View file @
78a3a205
This diff is collapsed.
Click to expand it.
src/views/workflow/formTemplateHtml/add.vue
View file @
78a3a205
...
@@ -58,6 +58,7 @@ export default {
...
@@ -58,6 +58,7 @@ export default {
return
{
return
{
form
:
{
form
:
{
name
:
''
,
name
:
''
,
idNumber
:
''
,
groupId
:
''
,
groupId
:
''
,
type
:
''
,
type
:
''
,
level
:
''
,
level
:
''
,
...
...
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