Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
赵啸非
sample-form-platform
Commits
9650ccf9
Commit
9650ccf9
authored
Jun 09, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改翻页
parent
ae8b3dda
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
179 additions
and
222 deletions
+179
-222
sample-form-manager-ui/admin/src/components/Pagination.vue
sample-form-manager-ui/admin/src/components/Pagination.vue
+55
-0
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
...manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
+9
-15
sample-form-manager-ui/admin/src/pages/hardware/modal/AddMatter.vue
...m-manager-ui/admin/src/pages/hardware/modal/AddMatter.vue
+14
-17
sample-form-manager-ui/admin/src/pages/software/librarymanage/LibraryManage.vue
.../admin/src/pages/software/librarymanage/LibraryManage.vue
+16
-18
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/AddMaterals.vue
...in/src/pages/software/librarymanage/modal/AddMaterals.vue
+10
-35
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
...ui/admin/src/pages/software/materials/MaterialsManage.vue
+18
-29
sample-form-manager-ui/admin/src/pages/software/materials/modal/CommonLib.vue
...ui/admin/src/pages/software/materials/modal/CommonLib.vue
+10
-15
sample-form-manager-ui/admin/src/pages/software/matter/MatterManage.vue
...nager-ui/admin/src/pages/software/matter/MatterManage.vue
+20
-47
sample-form-manager-ui/admin/src/pages/system/parameter/Parameter.vue
...manager-ui/admin/src/pages/system/parameter/Parameter.vue
+9
-15
sample-form-manager-ui/admin/src/pages/system/systemlogs/SystemLogs.vue
...nager-ui/admin/src/pages/system/systemlogs/SystemLogs.vue
+9
-15
sample-form-manager-ui/admin/src/pages/system/task/TaskSet.vue
...e-form-manager-ui/admin/src/pages/system/task/TaskSet.vue
+9
-16
No files found.
sample-form-manager-ui/admin/src/components/Pagination.vue
0 → 100644
View file @
9650ccf9
<
template
>
<div
class=
"pagination"
v-if=
"total"
>
<el-pagination
background
layout=
"total,prev,pager,next,sizes,jumper"
:pager-count=
"5"
:total=
"total"
:current-page=
"current"
:page-size=
"size"
:page-sizes=
"pageSizes"
@
current-change=
"changePagination"
@
size-change=
"changeSize"
>
</el-pagination>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
total
:
{
required
:
true
,
type
:
Number
,
default
:
0
,
},
size
:
{
required
:
true
,
type
:
Number
,
default
:
10
,
},
current
:
{
required
:
true
,
type
:
Number
,
default
:
1
,
},
},
data
()
{
return
{
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
};
},
computed
:
{},
methods
:
{
changePagination
(
cur
)
{
this
.
$emit
(
"
currentChange
"
,
cur
);
},
changeSize
(
size
)
{
this
.
$emit
(
"
sizeChange
"
,
size
);
},
},
};
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
\ No newline at end of file
sample-form-manager-ui/admin/src/pages/hardware/NumberWriteDevice.vue
View file @
9650ccf9
...
@@ -152,20 +152,13 @@
...
@@ -152,20 +152,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
background
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
total
"
:
total
=
"
total
"
:
current
-
page
=
"
current
"
:
current
=
"
current
"
:
page
-
size
=
"
size
"
:
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
currentChange
=
"
changePagination
"
@
current
-
change
=
"
changePagination
"
@
sizeChange
=
"
changeSize
"
@
size
-
change
=
"
changeSize
"
><
/Pagination
>
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<!--
新增设备
-->
<!--
新增设备
-->
<
AddDevice
<
AddDevice
...
@@ -180,6 +173,7 @@
...
@@ -180,6 +173,7 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
AddDevice
from
"
./modal/AddDevice.vue
"
;
import
AddDevice
from
"
./modal/AddDevice.vue
"
;
import
{
getDeviceList
}
from
"
@/api/device
"
;
import
{
getDeviceList
}
from
"
@/api/device
"
;
...
@@ -189,6 +183,7 @@ export default {
...
@@ -189,6 +183,7 @@ export default {
TableHeader
,
TableHeader
,
AddDevice
,
AddDevice
,
AddMatter
,
AddMatter
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -197,7 +192,6 @@ export default {
...
@@ -197,7 +192,6 @@ export default {
?
local
.
getLocal
(
"
sampleSiteId
"
)
?
local
.
getLocal
(
"
sampleSiteId
"
)
:
""
,
:
""
,
tableData
:
[],
tableData
:
[],
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
total
:
0
,
total
:
0
,
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
...
...
sample-form-manager-ui/admin/src/pages/hardware/modal/AddMatter.vue
View file @
9650ccf9
...
@@ -146,20 +146,13 @@
...
@@ -146,20 +146,13 @@
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
background
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
total
"
:
total
=
"
total
"
:
current
-
page
=
"
current
"
:
current
=
"
current
"
:
page
-
size
=
"
size
"
:
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
currentChange
=
"
changePagination
"
@
current
-
change
=
"
changePagination
"
@
sizeChange
=
"
changeSize
"
@
size
-
change
=
"
changeSize
"
><
/Pagination
>
>
<
/el-pagination
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
footer
"
>
<
div
class
=
"
footer
"
>
...
@@ -175,6 +168,7 @@
...
@@ -175,6 +168,7 @@
<
script
>
<
script
>
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
import
{
getDeviceMatterList
,
getDeviceMatterList
,
...
@@ -185,6 +179,7 @@ import local from "@/utils/local";
...
@@ -185,6 +179,7 @@ import local from "@/utils/local";
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
}
,
}
,
props
:
{
props
:
{
matterDrawer
:
{
matterDrawer
:
{
...
@@ -196,8 +191,8 @@ export default {
...
@@ -196,8 +191,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
siteId
:
local
.
getLocal
(
"
writ
eSiteId
"
)
siteId
:
local
.
getLocal
(
"
sampl
eSiteId
"
)
?
local
.
getLocal
(
"
writ
eSiteId
"
)
?
local
.
getLocal
(
"
sampl
eSiteId
"
)
:
""
,
:
""
,
department
:
""
,
department
:
""
,
searchVal
:
""
,
searchVal
:
""
,
...
@@ -206,7 +201,6 @@ export default {
...
@@ -206,7 +201,6 @@ export default {
total
:
0
,
total
:
0
,
tableData
:
[],
tableData
:
[],
devMatterList
:
[],
// 设备事项列表
devMatterList
:
[],
// 设备事项列表
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
selectionKeys
:
[],
selectionKeys
:
[],
devInfo
:
{
}
,
devInfo
:
{
}
,
}
;
}
;
...
@@ -263,6 +257,7 @@ export default {
...
@@ -263,6 +257,7 @@ export default {
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
curTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 重置
// 重置
...
@@ -270,6 +265,7 @@ export default {
...
@@ -270,6 +265,7 @@ export default {
this
.
department
=
""
;
this
.
department
=
""
;
this
.
searchVal
=
""
;
this
.
searchVal
=
""
;
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
curTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 翻页
// 翻页
...
@@ -319,6 +315,7 @@ export default {
...
@@ -319,6 +315,7 @@ export default {
let
{
code
,
msg
}
=
res
.
data
;
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
==
1
)
{
if
(
code
==
1
)
{
this
.
$message
.
success
(
msg
);
this
.
$message
.
success
(
msg
);
this
.
$refs
.
curTable
.
clearSelection
();
this
.
getDeviceMatterList
(
this
.
devInfo
.
id
);
this
.
getDeviceMatterList
(
this
.
devInfo
.
id
);
}
}
}
,
}
,
...
...
sample-form-manager-ui/admin/src/pages/software/librarymanage/LibraryManage.vue
View file @
9650ccf9
...
@@ -52,7 +52,6 @@
...
@@ -52,7 +52,6 @@
<
div
class
=
"
table-content
"
>
<
div
class
=
"
table-content
"
>
<
el
-
table
<
el
-
table
ref
=
"
multipleTable
"
ref
=
"
multipleTable
"
size
=
"
small
"
v
-
loading
=
"
loading
"
v
-
loading
=
"
loading
"
:
data
=
"
tableData
"
:
data
=
"
tableData
"
border
border
...
@@ -107,20 +106,13 @@
...
@@ -107,20 +106,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
background
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
total
"
:
total
=
"
total
"
:
current
-
page
=
"
current
"
:
current
=
"
current
"
:
page
-
size
=
"
size
"
:
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
currentChange
=
"
changePagination
"
@
current
-
change
=
"
changePagination
"
@
sizeChange
=
"
changeSize
"
@
size
-
change
=
"
changeSize
"
><
/Pagination
>
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<!--
添加材料
-->
<!--
添加材料
-->
<!--
<
AddMaterals
<!--
<
AddMaterals
...
@@ -139,12 +131,14 @@
...
@@ -139,12 +131,14 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
PreviewMaterals
from
"
./modal/PreviewMaterals.vue
"
;
import
PreviewMaterals
from
"
./modal/PreviewMaterals.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getPubdatumList
,
delPubdatum
}
from
"
@/api/libray
"
;
import
{
getPubdatumList
,
delPubdatum
}
from
"
@/api/libray
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
PreviewMaterals
,
PreviewMaterals
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -154,7 +148,6 @@ export default {
...
@@ -154,7 +148,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
depList
:
[],
depList
:
[],
...
@@ -170,7 +163,7 @@ export default {
...
@@ -170,7 +163,7 @@ export default {
...
mapGetters
([
"
deptList
"
]),
...
mapGetters
([
"
deptList
"
]),
}
,
}
,
methods
:
{
methods
:
{
//
系统事项列表
//
获取公共库材料
async
getPbuList
()
{
async
getPbuList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
res
=
await
getPubdatumList
({
let
res
=
await
getPubdatumList
({
...
@@ -182,6 +175,10 @@ export default {
...
@@ -182,6 +175,10 @@ export default {
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
code
===
1
)
{
if
(
res
.
data
.
code
===
1
)
{
let
{
data
,
total
}
=
res
.
data
.
data
;
let
{
data
,
total
}
=
res
.
data
.
data
;
if
(
!
data
.
length
&&
this
.
current
>
1
)
{
this
.
current
-=
1
;
this
.
getPbuList
();
}
this
.
tableData
=
data
;
this
.
tableData
=
data
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
...
@@ -205,12 +202,14 @@ export default {
...
@@ -205,12 +202,14 @@ export default {
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
current
=
1
;
this
.
current
=
1
;
this
.
$refs
.
multipleTable
.
clearSelection
();
this
.
getPbuList
();
this
.
getPbuList
();
}
,
}
,
// 重置
// 重置
handleReset
()
{
handleReset
()
{
this
.
department
=
""
;
this
.
department
=
""
;
this
.
searchVal
=
""
;
this
.
searchVal
=
""
;
this
.
$refs
.
multipleTable
.
clearSelection
();
this
.
getPbuList
();
this
.
getPbuList
();
}
,
}
,
// 选中
// 选中
...
@@ -246,7 +245,6 @@ export default {
...
@@ -246,7 +245,6 @@ export default {
}
}
)
)
.
then
(
async
()
=>
{
.
then
(
async
()
=>
{
console
.
log
(
id
);
let
res
=
await
delPubdatum
({
id
}
);
let
res
=
await
delPubdatum
({
id
}
);
let
{
code
,
msg
}
=
res
.
data
;
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
===
1
)
{
if
(
code
===
1
)
{
...
...
sample-form-manager-ui/admin/src/pages/software/librarymanage/modal/AddMaterals.vue
View file @
9650ccf9
...
@@ -76,20 +76,13 @@
...
@@ -76,20 +76,13 @@
>
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
div
class
=
"
pagination
"
v
-
if
=
"
total
"
>
<
Pagination
<
el
-
pagination
background
layout
=
"
total,sizes,prev,pager,next,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
total
"
:
total
=
"
total
"
:
current
-
page
=
"
current
"
:
current
=
"
current
"
:
page
-
size
=
"
size
"
:
size
=
"
size
"
:
page
-
sizes
=
"
pageSizes
"
@
currentChange
=
"
changePagination
"
@
current
-
change
=
"
changePagination
"
@
sizeChange
=
"
changeSize
"
@
size
-
change
=
"
changeSize
"
><
/Pagination
>
>
<
/el-pagination
>
<
/div
>
<
span
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
span
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleOk
"
<
el
-
button
size
=
"
small
"
type
=
"
primary
"
@
click
=
"
handleOk
"
>
加
入
<
/el-butto
n
>
加
入
<
/el-butto
n
...
@@ -102,10 +95,12 @@
...
@@ -102,10 +95,12 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
}
,
}
,
props
:
{
props
:
{
libVisible
:
{
libVisible
:
{
...
@@ -125,27 +120,7 @@ export default {
...
@@ -125,27 +120,7 @@ export default {
return
{
return
{
department
:
""
,
department
:
""
,
searchVal
:
""
,
searchVal
:
""
,
tableData
:
[
tableData
:
[],
{
id
:
1
,
department
:
"
县公安局
"
,
name
:
"
机动车登记证、行使证核发
"
,
name2
:
"
机动车登记证、行驶证审查、办理、核发
"
,
count
:
50
,
top
:
1
,
time
:
"
2022-12-12 12:00:00
"
,
}
,
{
id
:
2
,
department
:
"
县公安局
"
,
name
:
"
机动车登记证、行使证核发
"
,
name2
:
"
机动车登记证、行驶证审查、办理、核发
"
,
count
:
50
,
top
:
0
,
time
:
"
2022-12-12 12:00:00
"
,
}
,
],
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
current
:
1
,
current
:
1
,
total
:
10
,
total
:
10
,
size
:
10
,
size
:
10
,
...
...
sample-form-manager-ui/admin/src/pages/software/materials/MaterialsManage.vue
View file @
9650ccf9
...
@@ -101,20 +101,13 @@
...
@@ -101,20 +101,13 @@
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
leftTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
leftCurrent
"
background
:
size
=
"
leftSize
"
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
leftTotal
"
:
total
=
"
leftTotal
"
:
current
-
page
=
"
leftCurrent
"
@
currentChange
=
"
leftChangePagination
"
:
page
-
size
=
"
leftSize
"
@
sizeChange
=
"
leftChangeSize
"
:
page
-
sizes
=
"
pageSizes
"
><
/Pagination
>
@
current
-
change
=
"
leftChangePagination
"
@
size
-
change
=
"
leftChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<
div
class
=
"
right
"
>
<
div
class
=
"
right
"
>
...
@@ -253,20 +246,13 @@
...
@@ -253,20 +246,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
rightTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
rightCurrent
"
background
:
size
=
"
rightSize
"
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
rightTotal
"
:
total
=
"
rightTotal
"
:
current
-
page
=
"
rightCurrent
"
@
currentChange
=
"
rightChangePagination
"
:
page
-
size
=
"
rightSize
"
@
sizeChange
=
"
rightChangeSize
"
:
page
-
sizes
=
"
pageSizes
"
><
/Pagination
>
@
current
-
change
=
"
rightChangePagination
"
@
size
-
change
=
"
rightChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<!--
新增材料
-->
<!--
新增材料
-->
...
@@ -297,6 +283,7 @@ import TableHeader from "@/components/TableHeader.vue";
...
@@ -297,6 +283,7 @@ import TableHeader from "@/components/TableHeader.vue";
import
AddMaterials
from
"
./modal/AddMaterials.vue
"
;
import
AddMaterials
from
"
./modal/AddMaterials.vue
"
;
import
PreviewMaterials
from
"
./modal/PreviewMaterials.vue
"
;
import
PreviewMaterials
from
"
./modal/PreviewMaterials.vue
"
;
import
CommonLib
from
"
./modal/CommonLib.vue
"
;
import
CommonLib
from
"
./modal/CommonLib.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
getWriteMatterList
}
from
"
@/api/matter
"
;
import
{
import
{
getMaterialsList
,
getMaterialsList
,
...
@@ -311,6 +298,7 @@ export default {
...
@@ -311,6 +298,7 @@ export default {
AddMaterials
,
AddMaterials
,
PreviewMaterials
,
PreviewMaterials
,
CommonLib
,
CommonLib
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -323,7 +311,6 @@ export default {
...
@@ -323,7 +311,6 @@ export default {
rightSearch
:
""
,
rightSearch
:
""
,
loadingLeft
:
false
,
loadingLeft
:
false
,
loadingRight
:
false
,
loadingRight
:
false
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
LeftTableData
:
[],
LeftTableData
:
[],
leftCurrent
:
1
,
leftCurrent
:
1
,
leftSize
:
10
,
leftSize
:
10
,
...
@@ -467,6 +454,7 @@ export default {
...
@@ -467,6 +454,7 @@ export default {
// 右边搜索
// 右边搜索
handleSearchRight
()
{
handleSearchRight
()
{
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMaterialsList
();
this
.
getMaterialsList
();
}
,
}
,
// 右边重置
// 右边重置
...
@@ -474,6 +462,7 @@ export default {
...
@@ -474,6 +462,7 @@ export default {
this
.
departmentRight
=
""
;
this
.
departmentRight
=
""
;
this
.
rightSearch
=
""
;
this
.
rightSearch
=
""
;
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMaterialsList
();
this
.
getMaterialsList
();
}
,
}
,
// 推荐
// 推荐
...
...
sample-form-manager-ui/admin/src/pages/software/materials/modal/CommonLib.vue
View file @
9650ccf9
...
@@ -67,20 +67,14 @@
...
@@ -67,20 +67,14 @@
>
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
background
layout=
"total,sizes,prev,pager,next,jumper"
:pager-count=
"5"
:total=
"total"
:total=
"total"
:current-page=
"current"
:current=
"current"
:page-size=
"size"
:size=
"size"
:page-sizes=
"pageSizes"
@
currentChange=
"changePagination"
@
current-change=
"changePagination"
@
sizeChange=
"changeSize"
@
size-change=
"changeSize"
></Pagination>
>
</el-pagination>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"Visible = false"
>
取 消
</el-button>
<el-button
size=
"small"
@
click=
"Visible = false"
>
取 消
</el-button>
<el-button
<el-button
...
@@ -97,6 +91,7 @@
...
@@ -97,6 +91,7 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getPubdatumList
}
from
"
@/api/libray
"
;
import
{
getPubdatumList
}
from
"
@/api/libray
"
;
import
{
addPubdatum
}
from
"
@/api/materials
"
;
import
{
addPubdatum
}
from
"
@/api/materials
"
;
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
...
@@ -105,6 +100,7 @@ import { mapGetters } from "vuex";
...
@@ -105,6 +100,7 @@ import { mapGetters } from "vuex";
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
},
},
props
:
{
props
:
{
libVisible
:
{
libVisible
:
{
...
@@ -126,7 +122,6 @@ export default {
...
@@ -126,7 +122,6 @@ export default {
department
:
""
,
department
:
""
,
searchVal
:
""
,
searchVal
:
""
,
tableData
:
[],
tableData
:
[],
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
current
:
1
,
current
:
1
,
total
:
10
,
total
:
10
,
size
:
10
,
size
:
10
,
...
...
sample-form-manager-ui/admin/src/pages/software/matter/MatterManage.vue
View file @
9650ccf9
...
@@ -140,20 +140,13 @@
...
@@ -140,20 +140,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
leftTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
leftCurrent
"
background
:
size
=
"
leftSize
"
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
leftTotal
"
:
total
=
"
leftTotal
"
:
current
-
page
=
"
leftCurrent
"
@
currentChange
=
"
leftChangePagination
"
:
page
-
size
=
"
leftSize
"
@
sizeChange
=
"
leftChangeSize
"
:
page
-
sizes
=
"
pageSizes
"
><
/Pagination
>
@
current
-
change
=
"
leftChangePagination
"
@
size
-
change
=
"
leftChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<!--
右
-->
<!--
右
-->
...
@@ -256,20 +249,13 @@
...
@@ -256,20 +249,13 @@
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
/div
>
<
/div
>
<
div
class
=
"
pagination
"
v
-
if
=
"
rightTotal
"
>
<
Pagination
<
el
-
pagination
:
current
=
"
rightCurrent
"
background
:
size
=
"
rightSize
"
layout
=
"
total,prev,pager,next,sizes,jumper
"
:
pager
-
count
=
"
5
"
:
total
=
"
rightTotal
"
:
total
=
"
rightTotal
"
:
current
-
page
=
"
rightCurrent
"
@
currentChange
=
"
rightChangePagination
"
:
page
-
size
=
"
rightSize
"
@
sizeChange
=
"
rightChangeSize
"
:
page
-
sizes
=
"
pageSizes
"
><
/Pagination
>
@
current
-
change
=
"
rightChangePagination
"
@
size
-
change
=
"
rightChangeSize
"
>
<
/el-pagination
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
/div
>
<
/div
>
<!--
新增事项
-->
<!--
新增事项
-->
...
@@ -286,6 +272,7 @@
...
@@ -286,6 +272,7 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
AddMatter
from
"
./modal/AddMatter.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
import
{
// getMatterList,
// getMatterList,
...
@@ -300,6 +287,7 @@ export default {
...
@@ -300,6 +287,7 @@ export default {
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddMatter
,
AddMatter
,
Pagination
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -311,7 +299,6 @@ export default {
...
@@ -311,7 +299,6 @@ export default {
loadingLeft
:
false
,
loadingLeft
:
false
,
leftSearch
:
""
,
leftSearch
:
""
,
rightSearch
:
""
,
rightSearch
:
""
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
LeftTableData
:
[],
LeftTableData
:
[],
leftSelectedRowKeys
:
[],
leftSelectedRowKeys
:
[],
leftCurrent
:
1
,
leftCurrent
:
1
,
...
@@ -354,24 +341,6 @@ export default {
...
@@ -354,24 +341,6 @@ export default {
this
.
$refs
.
rightTable
.
bodyWrapper
.
scrollTop
=
0
;
this
.
$refs
.
rightTable
.
bodyWrapper
.
scrollTop
=
0
;
}
}
}
,
}
,
// 获取一体化事项列表
// async getMatterList()
{
// this.loadingRight = true;
// let res = await getMatterList(
{
// page: this.rightCurrent,
// size: this.rightSize,
// matterName: this.rightSearch,
// deptCode: this.departmentRight,
// siteId: this.siteId,
//
}
);
// this.loadingRight = false;
// if (res.data.code === 1)
{
// let
{
total
,
data
}
=
res
.
data
.
data
;
// this.rightTableData = data;
// this.rightTotal = total;
// this.$refs.rightTable.bodyWrapper.scrollTop = 0;
//
}
//
}
,
// 获取样表系统事项列表
// 获取样表系统事项列表
async
getWriteMatterList
()
{
async
getWriteMatterList
()
{
...
@@ -433,6 +402,7 @@ export default {
...
@@ -433,6 +402,7 @@ export default {
// 左边搜索
// 左边搜索
searchLeft
()
{
searchLeft
()
{
this
.
leftCurrent
=
1
;
this
.
leftCurrent
=
1
;
this
.
$refs
.
leftTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 左边重置
// 左边重置
...
@@ -440,6 +410,7 @@ export default {
...
@@ -440,6 +410,7 @@ export default {
this
.
departmentLeft
=
""
;
this
.
departmentLeft
=
""
;
this
.
leftSearch
=
""
;
this
.
leftSearch
=
""
;
this
.
leftCurrent
=
1
;
this
.
leftCurrent
=
1
;
this
.
$refs
.
leftTable
.
clearSelection
();
this
.
getWriteMatterList
();
this
.
getWriteMatterList
();
}
,
}
,
// 左边勾选
// 左边勾选
...
@@ -486,6 +457,7 @@ export default {
...
@@ -486,6 +457,7 @@ export default {
// 右边搜索
// 右边搜索
handleSearchRight
()
{
handleSearchRight
()
{
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMatterSubList
();
this
.
getMatterSubList
();
}
,
}
,
// 右边重置
// 右边重置
...
@@ -493,6 +465,7 @@ export default {
...
@@ -493,6 +465,7 @@ export default {
this
.
rightSearch
=
""
;
this
.
rightSearch
=
""
;
this
.
departmentRight
=
""
;
this
.
departmentRight
=
""
;
this
.
rightCurrent
=
1
;
this
.
rightCurrent
=
1
;
this
.
$refs
.
rightTable
.
clearSelection
();
this
.
getMatterSubList
();
this
.
getMatterSubList
();
}
,
}
,
// 右边勾选
// 右边勾选
...
...
sample-form-manager-ui/admin/src/pages/system/parameter/Parameter.vue
View file @
9650ccf9
...
@@ -89,20 +89,13 @@
...
@@ -89,20 +89,13 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
background
layout=
"total,prev,pager,next,sizes,jumper"
:pager-count=
"5"
:total=
"total"
:total=
"total"
:current-page=
"current"
:current=
"current"
:page-size=
"size"
:size=
"size"
:page-sizes=
"pageSizes"
@
currentChange=
"changePagination"
@
current-change=
"changePagination"
@
sizeChange=
"changeSize"
@
size-change=
"changeSize"
></Pagination>
>
</el-pagination>
</div>
<!-- 新增参数 -->
<!-- 新增参数 -->
<AddParameter
<AddParameter
ref=
"AddParameter"
ref=
"AddParameter"
...
@@ -116,12 +109,14 @@
...
@@ -116,12 +109,14 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
AddParameter
from
"
./modal/AddParameter.vue
"
;
import
AddParameter
from
"
./modal/AddParameter.vue
"
;
import
{
getParamList
,
delParam
}
from
"
@/api/system
"
;
import
{
getParamList
,
delParam
}
from
"
@/api/system
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddParameter
,
AddParameter
,
Pagination
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -130,7 +125,6 @@ export default {
...
@@ -130,7 +125,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
addVisible
:
false
,
addVisible
:
false
,
...
...
sample-form-manager-ui/admin/src/pages/system/systemlogs/SystemLogs.vue
View file @
9650ccf9
...
@@ -58,29 +58,24 @@
...
@@ -58,29 +58,24 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
background
layout=
"total,prev,pager,next,sizes,jumper"
:pager-count=
"5"
:total=
"total"
:total=
"total"
:current-page=
"current"
:current=
"current"
:page-size=
"size"
:size=
"size"
:page-sizes=
"pageSizes"
@
currentChange=
"changePagination"
@
current-change=
"changePagination"
@
sizeChange=
"changeSize"
@
size-change=
"changeSize"
></Pagination>
>
</el-pagination>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
{
getlogsList
}
from
"
@/api/system
"
;
import
{
getlogsList
}
from
"
@/api/system
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
Pagination
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -89,7 +84,6 @@ export default {
...
@@ -89,7 +84,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
dict
:
{},
// 字典
dict
:
{},
// 字典
...
...
sample-form-manager-ui/admin/src/pages/system/task/TaskSet.vue
View file @
9650ccf9
...
@@ -99,20 +99,13 @@
...
@@ -99,20 +99,13 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"pagination"
v-if=
"total"
>
<Pagination
<el-pagination
background
layout=
"total,prev,pager,next,sizes,jumper"
:pager-count=
"5"
:total=
"total"
:total=
"total"
:current-page=
"current"
:current=
"current"
:page-size=
"size"
:size=
"size"
:page-sizes=
"pageSizes"
@
currentChange=
"changePagination"
@
current-change=
"changePagination"
@
sizeChange=
"changeSize"
@
size-change=
"changeSize"
></Pagination>
>
</el-pagination>
</div>
<!-- 新增参数 -->
<!-- 新增参数 -->
<AddTask
<AddTask
ref=
"AddTask"
ref=
"AddTask"
...
@@ -126,12 +119,14 @@
...
@@ -126,12 +119,14 @@
<
script
>
<
script
>
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
TableHeader
from
"
@/components/TableHeader.vue
"
;
import
Pagination
from
"
@/components/Pagination.vue
"
;
import
AddTask
from
"
./modal/AddTask.vue
"
;
import
AddTask
from
"
./modal/AddTask.vue
"
;
import
{
getTaskList
,
delTask
}
from
"
@/api/system
"
;
import
{
getTaskList
,
delTask
}
from
"
@/api/system
"
;
export
default
{
export
default
{
components
:
{
components
:
{
TableHeader
,
TableHeader
,
AddTask
,
AddTask
,
Pagination
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -140,7 +135,6 @@ export default {
...
@@ -140,7 +135,6 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
total
:
10
,
total
:
10
,
pageSizes
:
[
10
,
20
,
30
,
40
,
50
,
100
,
200
],
loading
:
false
,
loading
:
false
,
selectKeys
:
[],
selectKeys
:
[],
addVisible
:
false
,
addVisible
:
false
,
...
@@ -171,7 +165,6 @@ export default {
...
@@ -171,7 +165,6 @@ export default {
this
.
tableData
=
data
;
this
.
tableData
=
data
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
this
.
$refs
.
multipleTable
.
bodyWrapper
.
scrollTop
=
0
;
console
.
log
(
dict
);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
},
},
...
...
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