Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
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
wangweidong
patzn-cloud-web-back-soil
Commits
74a0a7e8
Commit
74a0a7e8
authored
Aug 07, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了合同管理的页码
parent
757cd5dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
EditModal.vue
pages/meter-contract/contract-register/EditModal.vue
+14
-10
No files found.
pages/meter-contract/contract-register/EditModal.vue
View file @
74a0a7e8
...
...
@@ -12,17 +12,17 @@
<Form-item
:label-width=
"70"
label=
"授权资质仪器名称"
>
<Input
v-model=
"code"
@
on-enter=
"_pageChange(1)"
placeholder=
"授权资质仪器名称"
style=
"width: 100%"
@
on-enter=
"_pageChange(1)"
/>
</Form-item>
<Form-item
label=
"检测依据名称"
>
<Input
v-model=
"name"
@
on-enter=
"_pageChange(1)"
placeholder=
"请输入检测依据名称"
style=
"width: 100%"
@
on-enter=
"_pageChange(1)"
/>
</Form-item>
</Form>
...
...
@@ -31,12 +31,12 @@
<el-table
:height=
"300"
:data=
"getPage"
@
row-click=
"_rowChange"
@
row-dblclick=
"_dbClick"
border
size=
"small"
highlight-current-row
style=
"width: 100%"
@
row-click=
"_rowChange"
@
row-dblclick=
"_dbClick"
>
<el-table-column
v-for=
"item in pageColumns"
...
...
@@ -57,23 +57,23 @@
</Col>
<Col
span=
"24"
>
<Page
:total=
"getPage.total"
:page-size=
"getPage.size"
:total=
"total"
:page-size=
"size"
@
on-change=
"_pageChange"
@
on-page-size-change=
"_pageRows"
placement=
"top"
show-total
show-elevator
show-sizer
@
on-change=
"_pageChange"
@
on-page-size-change=
"_pageRows"
/>
<div
style=
"clear: both"
/>
</Col>
</Row>
<div
slot=
"footer"
class=
"btn-width"
>
<Button
style=
"margin-left: 8px"
@
click=
"_cancel
"
>
<Button
@
click=
"_cancel"
style=
"margin-left: 8px
"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"_ok
"
>
<Button
@
click=
"_ok"
type=
"primary
"
>
确定
</Button>
</div>
...
...
@@ -90,6 +90,8 @@ export default {
return
{
loading
:
true
,
pageParams
:
{
rows
:
20
},
total
:
0
,
size
:
0
,
pageColumns
:
[
{
title
:
'样品名称'
,
key
:
'name'
},
{
title
:
'检定依据'
,
key
:
'code'
},
...
...
@@ -121,6 +123,8 @@ export default {
console
.
log
(
'查询结果'
)
console
.
log
(
result
)
this
.
getPage
=
result
.
records
this
.
size
=
result
.
size
this
.
total
=
result
.
total
this
.
loading
=
false
console
.
log
(
this
.
getPage
)
}
...
...
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