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
b665f9e1
Commit
b665f9e1
authored
Aug 07, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托单管理的页码和查询
parent
ad142f26
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
41 deletions
+55
-41
VerificationModal.vue
pages/meter-contract/contract-register/VerificationModal.vue
+13
-12
EditModal.vue
pages/meter-entrust/client-online/EditModal.vue
+16
-7
ContractModal.vue
pages/meter-entrust/go-out-test/ContractModal.vue
+3
-0
VerificationModal.vue
pages/meter-entrust/go-out-test/VerificationModal.vue
+10
-11
ContractModal.vue
pages/meter-entrust/send-test/ContractModal.vue
+3
-0
VerificationModal.vue
pages/meter-entrust/send-test/VerificationModal.vue
+10
-11
No files found.
pages/meter-contract/contract-register/VerificationModal.vue
View file @
b665f9e1
...
...
@@ -9,14 +9,6 @@
<Col
span=
"24"
>
<Form
id=
"test-item-form"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
/>
<Form-item
:label-width=
"70"
label=
"授权资质仪器名称"
>
<Input
v-model=
"code"
@
on-enter=
"_pageChange(1)"
placeholder=
"授权资质仪器名称"
style=
"width: 100%"
/>
</Form-item>
<Form-item
label=
"检测依据名称"
>
<Input
v-model=
"name"
...
...
@@ -56,8 +48,8 @@
</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"
...
...
@@ -93,6 +85,8 @@ export default {
},
loading
:
true
,
pageParams
:
{
rows
:
20
},
total
:
0
,
size
:
0
,
pageColumns
:
[
{
title
:
'检定依据'
,
key
:
'verification'
,
width
:
120
},
{
title
:
'检定依据名称'
,
key
:
'name'
,
width
:
140
}
...
...
@@ -110,7 +104,8 @@ export default {
modalTitle
:
''
,
currentRowData
:
{},
name
:
''
,
code
:
''
code
:
''
,
verification
:
''
}
},
methods
:
{
...
...
@@ -118,6 +113,7 @@ export default {
this
.
modalTitle
=
'选择检测依据'
this
.
name
=
''
this
.
code
=
''
this
.
verification
=
''
this
.
_judge
()
},
_judge
()
{
...
...
@@ -126,7 +122,7 @@ export default {
this
.
_page
()
},
_page
:
async
function
()
{
const
result
=
await
meterAptitude
.
page
(
this
.
formObj
)
const
result
=
await
meterAptitude
.
page
(
this
.
_searchParams
()
)
if
(
result
)
{
this
.
getPage
=
result
.
records
console
.
log
(
this
.
getPage
)
...
...
@@ -134,6 +130,8 @@ export default {
this
.
getPage
[
i
].
verification
=
this
.
getPage
[
i
].
code
+
this
.
getPage
[
i
].
name
}
this
.
total
=
result
.
total
this
.
size
=
result
.
size
this
.
loading
=
false
}
},
...
...
@@ -153,6 +151,9 @@ export default {
if
(
this
.
code
)
{
data
.
code
=
this
.
code
}
if
(
this
.
verification
)
{
data
.
verification
=
this
.
verification
}
return
this
.
$extend
(
data
,
this
.
pageParams
)
},
_search
()
{
...
...
pages/meter-entrust/client-online/EditModal.vue
View file @
b665f9e1
...
...
@@ -9,17 +9,17 @@
<Col
span=
"24"
>
<Form
id=
"test-item-form"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
/>
<Form-item
:label-width=
"70"
label=
"
授权资质仪器
名称"
>
<Form-item
:label-width=
"70"
label=
"
样品
名称"
>
<Input
v-model=
"
cod
e"
placeholder=
"
授权资质仪器
名称"
v-model=
"
nam
e"
placeholder=
"
请输入样品
名称"
style=
"width: 100%"
@
on-enter=
"_pageChange(1)"
/>
</Form-item>
<Form-item
label=
"检测依据名称"
>
<Input
v-model=
"
name
"
v-model=
"
basis
"
placeholder=
"请输入检测依据名称"
style=
"width: 100%"
@
on-enter=
"_pageChange(1)"
...
...
@@ -57,8 +57,8 @@
</Col>
<Col
span=
"24"
>
<Page
:total=
"
getPage.
total"
:page-size=
"
getPage.
size"
:total=
"total"
:page-size=
"size"
placement=
"top"
show-total
show-elevator
...
...
@@ -90,6 +90,8 @@ export default {
return
{
loading
:
true
,
pageParams
:
{
rows
:
20
},
total
:
0
,
size
:
0
,
pageColumns
:
[
{
title
:
'样品名称'
,
key
:
'name'
},
{
title
:
'检定依据'
,
key
:
'code'
},
...
...
@@ -100,7 +102,8 @@ export default {
modalTitle
:
''
,
currentRowData
:
{},
name
:
''
,
code
:
''
code
:
''
,
basis
:
''
}
},
methods
:
{
...
...
@@ -108,6 +111,7 @@ export default {
this
.
modalTitle
=
'选择检测依据'
this
.
name
=
''
this
.
code
=
''
this
.
basis
=
''
this
.
_judge
()
},
_judge
()
{
...
...
@@ -121,6 +125,8 @@ export default {
console
.
log
(
'查询结果'
)
console
.
log
(
result
)
this
.
getPage
=
result
.
records
this
.
total
=
result
.
total
this
.
size
=
result
.
size
this
.
loading
=
false
console
.
log
(
this
.
getPage
)
}
...
...
@@ -141,6 +147,9 @@ export default {
if
(
this
.
code
)
{
data
.
code
=
this
.
code
}
if
(
this
.
basis
)
{
data
.
basis
=
this
.
basis
}
return
this
.
$extend
(
data
,
this
.
pageParams
)
},
_search
()
{
...
...
pages/meter-entrust/go-out-test/ContractModal.vue
View file @
b665f9e1
...
...
@@ -25,6 +25,9 @@
style=
"width: 100%"
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_pageChange(1)"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form>
</Col>
<Col
span=
"24"
style=
"margin-bottom: 10px"
>
...
...
pages/meter-entrust/go-out-test/VerificationModal.vue
View file @
b665f9e1
...
...
@@ -9,14 +9,6 @@
<Col
span=
"24"
>
<Form
id=
"test-item-form"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
/>
<Form-item
:label-width=
"70"
label=
"授权资质仪器名称"
>
<Input
v-model=
"code"
@
on-enter=
"_pageChange(1)"
placeholder=
"授权资质仪器名称"
style=
"width: 100%"
/>
</Form-item>
<Form-item
label=
"检测依据名称"
>
<Input
v-model=
"name"
...
...
@@ -25,6 +17,9 @@
style=
"width: 100%"
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_pageChange(1)"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form>
</Col>
<Col
span=
"24"
style=
"margin-bottom: 10px"
>
...
...
@@ -56,8 +51,8 @@
</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"
...
...
@@ -93,6 +88,8 @@ export default {
},
loading
:
true
,
pageParams
:
{
rows
:
20
},
total
:
0
,
size
:
0
,
pageColumns
:
[
{
title
:
'检定依据'
,
key
:
'verification'
,
width
:
120
},
{
title
:
'检定依据名称'
,
key
:
'name'
,
width
:
140
}
...
...
@@ -126,9 +123,11 @@ export default {
this
.
_page
()
},
_page
:
async
function
()
{
const
result
=
await
meterAptitude
.
page
(
this
.
formObj
)
const
result
=
await
meterAptitude
.
page
(
this
.
_searchParams
()
)
if
(
result
)
{
this
.
getPage
=
result
.
records
this
.
total
=
result
.
total
this
.
size
=
result
.
size
console
.
log
(
this
.
getPage
)
for
(
let
i
=
0
;
i
<
this
.
getPage
.
length
;
i
++
)
{
this
.
getPage
[
i
].
verification
=
...
...
pages/meter-entrust/send-test/ContractModal.vue
View file @
b665f9e1
...
...
@@ -25,6 +25,9 @@
style=
"width: 100%"
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_pageChange(1)"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form>
</Col>
<Col
span=
"24"
style=
"margin-bottom: 10px"
>
...
...
pages/meter-entrust/send-test/VerificationModal.vue
View file @
b665f9e1
...
...
@@ -9,14 +9,6 @@
<Col
span=
"24"
>
<Form
id=
"test-item-form"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
/>
<Form-item
:label-width=
"70"
label=
"授权资质仪器名称"
>
<Input
v-model=
"code"
@
on-enter=
"_pageChange(1)"
placeholder=
"授权资质仪器名称"
style=
"width: 100%"
/>
</Form-item>
<Form-item
label=
"检测依据名称"
>
<Input
v-model=
"name"
...
...
@@ -25,6 +17,9 @@
style=
"width: 100%"
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_pageChange(1)"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form>
</Col>
<Col
span=
"24"
style=
"margin-bottom: 10px"
>
...
...
@@ -56,8 +51,8 @@
</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"
...
...
@@ -93,6 +88,8 @@ export default {
},
loading
:
true
,
pageParams
:
{
rows
:
20
},
total
:
0
,
size
:
0
,
pageColumns
:
[
{
title
:
'检定依据'
,
key
:
'verification'
,
width
:
120
},
{
title
:
'检定依据名称'
,
key
:
'name'
,
width
:
140
}
...
...
@@ -126,9 +123,11 @@ export default {
this
.
_page
()
},
_page
:
async
function
()
{
const
result
=
await
meterAptitude
.
page
(
this
.
formObj
)
const
result
=
await
meterAptitude
.
page
(
this
.
_searchParams
()
)
if
(
result
)
{
this
.
getPage
=
result
.
records
this
.
total
=
result
.
total
this
.
size
=
result
.
size
console
.
log
(
this
.
getPage
)
for
(
let
i
=
0
;
i
<
this
.
getPage
.
length
;
i
++
)
{
this
.
getPage
[
i
].
verification
=
...
...
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