Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_sys_web
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_sys_web
Commits
56d196f5
Commit
56d196f5
authored
Jun 08, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分页问题
parent
72e455f0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
23 deletions
+31
-23
type.js
src/api/system/dict/type.js
+8
-0
data.vue
src/views/system/dict/data.vue
+8
-8
index.vue
src/views/system/dict/index.vue
+5
-5
index.vue
src/views/system/role/index.vue
+5
-5
index.vue
src/views/system/user/index.vue
+4
-4
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/system/dict/type.js
View file @
56d196f5
...
...
@@ -9,6 +9,14 @@ export function listType(query) {
})
}
export
function
listTypeAll
(
query
)
{
return
request
({
url
:
'/system/dict/type/selectAllDictionaryType'
,
method
:
'get'
,
params
:
query
})
}
// 查询字典类型详细
export
function
getType
(
dictId
)
{
return
request
({
...
...
src/views/system/dict/data.vue
View file @
56d196f5
...
...
@@ -160,8 +160,8 @@
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.page
Num
"
:limit
.
sync=
"queryParams.
pageSize
"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.
rows
"
@
pagination=
"getList"
/>
...
...
@@ -203,7 +203,7 @@
<
script
>
import
{
listData
,
getData
,
delData
,
addData
,
updateData
,
exportData
,
checkDictLabelUnique
}
from
'@/api/system/dict/data'
import
{
listType
,
getType
,
updateType
}
from
'@/api/system/dict/type'
import
{
listType
,
listTypeAll
,
getType
,
updateType
}
from
'@/api/system/dict/type'
import
dictCons
from
'@/utils/dictCons'
export
default
{
...
...
@@ -262,8 +262,8 @@ export default {
typeOptions
:
[],
// 查询参数
queryParams
:
{
page
Num
:
1
,
pageSize
:
10
,
page
:
1
,
rows
:
10
,
dictName
:
undefined
,
dictType
:
undefined
,
status
:
''
,
...
...
@@ -324,8 +324,8 @@ export default {
},
/** 查询字典类型列表 */
getTypeList
()
{
listType
().
then
(
response
=>
{
this
.
typeOptions
=
response
.
rows
listType
All
().
then
(
response
=>
{
this
.
typeOptions
=
response
.
data
})
},
/** 查询字典数据列表 */
...
...
@@ -362,7 +362,7 @@ export default {
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
Num
=
1
this
.
queryParams
.
page
=
1
this
.
getList
()
},
/** 重置按钮操作 */
...
...
src/views/system/dict/index.vue
View file @
56d196f5
...
...
@@ -167,8 +167,8 @@
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.page
Num
"
:limit
.
sync=
"queryParams.
pageSize
"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.
rows
"
@
pagination=
"getList"
/>
<!-- 添加或修改参数配置对话框 -->
...
...
@@ -325,8 +325,8 @@ export default {
dateRange
:
[],
// 查询参数
queryParams
:
{
page
Num
:
1
,
pageSize
:
10
,
page
:
1
,
rows
:
10
,
dictName
:
undefined
,
dictType
:
undefined
,
flag
:
undefined
...
...
@@ -448,7 +448,7 @@ export default {
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
Num
=
1
this
.
queryParams
.
page
=
1
this
.
getList
()
},
/** 重置按钮操作 */
...
...
src/views/system/role/index.vue
View file @
56d196f5
...
...
@@ -129,8 +129,8 @@
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.page
Num
"
:limit
.
sync=
"queryParams.
pageSize
"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.
rows
"
@
pagination=
"getList"
/>
...
...
@@ -334,8 +334,8 @@ export default {
tOptions
:
[],
// 查询参数
queryParams
:
{
page
Num
:
1
,
pageSize
:
10
,
page
:
1
,
rows
:
10
,
roleName
:
undefined
,
roleKey
:
undefined
,
flag
:
undefined
...
...
@@ -502,7 +502,7 @@ export default {
},
/** 查询按钮操作 */
handleQuery
()
{
this
.
queryParams
.
page
Num
=
1
this
.
queryParams
.
page
=
1
this
.
getList
()
},
/** 重置按钮操作 */
...
...
src/views/system/user/index.vue
View file @
56d196f5
...
...
@@ -189,8 +189,8 @@
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.page
Num
"
:limit
.
sync=
"queryParams.
pageSize
"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.
rows
"
@
pagination=
"getList"
/>
</el-col>
...
...
@@ -520,8 +520,8 @@ export default {
},
// 查询参数
queryParams
:
{
page
Num
:
1
,
pageSize
:
10
,
page
:
1
,
rows
:
10
,
username
:
undefined
,
email
:
undefined
,
phone
:
undefined
,
...
...
vue.config.js
View file @
56d196f5
...
...
@@ -81,7 +81,7 @@ module.exports = {
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.1.17:10010/internal`,
// target: `http://10.5.87.231:10010/internal`,
target
:
`http://117.122.212.91:3
2
012/`
,
target
:
`http://117.122.212.91:3
3
012/`
,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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