Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_vue_manage
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
杨硕
91isoft_vue_manage
Commits
a013869e
Commit
a013869e
authored
Dec 31, 2020
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
岗位,字典前端功能更改接口调节
parent
99ee7450
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
364 additions
and
160 deletions
+364
-160
type.js
src/api/system/dict/type.js
+14
-10
post.js
src/api/system/post.js
+8
-7
role.js
src/api/system/role.js
+2
-2
index.vue
src/views/system/dict/index.vue
+121
-53
index.vue
src/views/system/post/index.vue
+218
-87
index.vue
src/views/workflow/group/index.vue
+1
-1
No files found.
src/api/system/dict/type.js
View file @
a013869e
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
import
Qs
from
'qs'
// 查询字典类型列表
// 查询字典类型列表
export
function
listType
(
query
)
{
export
function
listType
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/dict/type/list'
,
url
:
'/system/dict/type/list'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
@@ -12,7 +12,7 @@ export function listType(query) {
...
@@ -12,7 +12,7 @@ export function listType(query) {
// 查询字典类型详细
// 查询字典类型详细
export
function
getType
(
dictId
)
{
export
function
getType
(
dictId
)
{
return
request
({
return
request
({
url
:
'/
authority/system/dict/type
/'
+
dictId
,
url
:
'/
system/dict/type/detail
/'
+
dictId
,
method
:
'get'
method
:
'get'
})
})
}
}
...
@@ -42,8 +42,9 @@ export function checkDictNameUnique(dictType) {
...
@@ -42,8 +42,9 @@ export function checkDictNameUnique(dictType) {
// 新增字典类型
// 新增字典类型
export
function
addType
(
data
)
{
export
function
addType
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
return
request
({
url
:
'/
authority/system/dict/type
'
,
url
:
'/
system/dict/type/add
'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
@@ -51,8 +52,10 @@ export function addType(data) {
...
@@ -51,8 +52,10 @@ export function addType(data) {
// 修改字典类型
// 修改字典类型
export
function
updateType
(
data
)
{
export
function
updateType
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
return
request
({
url
:
'/
authority/system/dict/type
'
,
url
:
'/
system/dict/type/update/
'
,
method
:
'put'
,
method
:
'put'
,
data
:
data
data
:
data
})
})
...
@@ -61,7 +64,7 @@ export function updateType(data) {
...
@@ -61,7 +64,7 @@ export function updateType(data) {
// 删除字典类型
// 删除字典类型
export
function
delType
(
dictId
)
{
export
function
delType
(
dictId
)
{
return
request
({
return
request
({
url
:
'/
authority/system/dict/type
/'
+
dictId
,
url
:
'/
system/dict/type/deleteLogical
/'
+
dictId
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -69,7 +72,7 @@ export function delType(dictId) {
...
@@ -69,7 +72,7 @@ export function delType(dictId) {
// 清理参数缓存
// 清理参数缓存
export
function
clearCache
()
{
export
function
clearCache
()
{
return
request
({
return
request
({
url
:
'/
authority/
system/dict/type/clearCache'
,
url
:
'/system/dict/type/clearCache'
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -77,9 +80,10 @@ export function clearCache() {
...
@@ -77,9 +80,10 @@ export function clearCache() {
// 导出字典类型
// 导出字典类型
export
function
exportType
(
query
)
{
export
function
exportType
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/dict/type/export'
,
url
:
'/system/dict/type/export'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
,
responseType
:
'blob'
})
})
}
}
...
@@ -93,7 +97,7 @@ export function optionselect() {
...
@@ -93,7 +97,7 @@ export function optionselect() {
// 获取字典选择框列表
// 获取字典选择框列表
export
function
selectDictType
(
dictType
)
{
export
function
selectDictType
(
dictType
)
{
return
request
({
return
request
({
url
:
'/
authority/system/dict/data/type/
'
+
dictType
,
url
:
'/
system/dict/type/optionselect
'
+
dictType
,
method
:
'get'
method
:
'get'
})
})
}
}
src/api/system/post.js
View file @
a013869e
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询岗位列表
// 查询岗位列表
export
function
listPost
(
query
)
{
export
function
listPost
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/post/list'
,
url
:
'/system/post/list'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
@@ -12,7 +12,7 @@ export function listPost(query) {
...
@@ -12,7 +12,7 @@ export function listPost(query) {
// 查询岗位详细
// 查询岗位详细
export
function
getPost
(
postId
)
{
export
function
getPost
(
postId
)
{
return
request
({
return
request
({
url
:
'/
authority/system/post
/'
+
postId
,
url
:
'/
system/post/detail
/'
+
postId
,
method
:
'get'
method
:
'get'
})
})
}
}
...
@@ -20,7 +20,7 @@ export function getPost(postId) {
...
@@ -20,7 +20,7 @@ export function getPost(postId) {
// 新增岗位
// 新增岗位
export
function
addPost
(
data
)
{
export
function
addPost
(
data
)
{
return
request
({
return
request
({
url
:
'/
authority/system/post
'
,
url
:
'/
system/post/add
'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
@@ -29,7 +29,7 @@ export function addPost(data) {
...
@@ -29,7 +29,7 @@ export function addPost(data) {
// 修改岗位
// 修改岗位
export
function
updatePost
(
data
)
{
export
function
updatePost
(
data
)
{
return
request
({
return
request
({
url
:
'/
authority/system/post
'
,
url
:
'/
system/post/update/
'
,
method
:
'put'
,
method
:
'put'
,
data
:
data
data
:
data
})
})
...
@@ -38,7 +38,7 @@ export function updatePost(data) {
...
@@ -38,7 +38,7 @@ export function updatePost(data) {
// 删除岗位
// 删除岗位
export
function
delPost
(
postId
)
{
export
function
delPost
(
postId
)
{
return
request
({
return
request
({
url
:
'/
authority/system/post
/'
+
postId
,
url
:
'/
system/post/deleteLogical
/'
+
postId
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -60,8 +60,9 @@ export function checkpostNameUnique(postName) {
...
@@ -60,8 +60,9 @@ export function checkpostNameUnique(postName) {
// 导出岗位
// 导出岗位
export
function
exportPost
(
query
)
{
export
function
exportPost
(
query
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/post/export'
,
url
:
'/system/post/export'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
,
responseType
:
'blob'
})
})
}
}
src/api/system/role.js
View file @
a013869e
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询角色列表
// 查询角色列表
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
})
})
...
@@ -12,7 +12,7 @@ export function listRole(query) {
...
@@ -12,7 +12,7 @@ export function listRole(query) {
// 查询角色详细
// 查询角色详细
export
function
getRole
(
roleId
)
{
export
function
getRole
(
roleId
)
{
return
request
({
return
request
({
url
:
'/
authority/
system/role/'
+
roleId
,
url
:
'/system/role/'
+
roleId
,
method
:
'get'
method
:
'get'
})
})
}
}
...
...
src/views/system/dict/index.vue
View file @
a013869e
This diff is collapsed.
Click to expand it.
src/views/system/post/index.vue
View file @
a013869e
This diff is collapsed.
Click to expand it.
src/views/workflow/group/index.vue
View file @
a013869e
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
queryWfGroupByPagination
,
addWfGroup
,
updateWfGroup
,
delWfGroup
}
from
'@/api/workflow'
import
{
queryWfGroupByPagination
,
addWfGroup
,
updateWfGroup
,
delWfGroup
}
from
'@/api/workflow'
import
{
queryInAdhibitions
}
from
'@/api/banner.js'
import
{
selectAppInformation
}
from
'../../../api/mobileIntegrated/appManage'
import
{
selectAppInformation
}
from
'../../../api/mobileIntegrated/appManage'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
...
...
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