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
4507a217
Commit
4507a217
authored
Jul 01, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计查询修改
parent
d7badcf1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
13 deletions
+19
-13
meter-sample.js
api/meter/meter-sample.js
+4
-0
MeterCertificateRate.vue
...eter-statistics/certificate-rate/MeterCertificateRate.vue
+4
-1
ReportTimelyTable.vue
...s/meter-statistics/certificate-rate/ReportTimelyTable.vue
+11
-12
No files found.
api/meter/meter-sample.js
View file @
4507a217
...
...
@@ -215,5 +215,9 @@ export default {
pageCertificateRateStatistics
:
data
=>
http
.
post
(
'meter/v1/sample/page_certificate_rate_statistics'
,
data
)
.
then
(
res
=>
res
),
pageCertificateRateSample
:
data
=>
http
.
post
(
'meter/v1/sample/page_certificate_rate_sample'
,
data
)
.
then
(
res
=>
res
)
}
pages/meter-statistics/certificate-rate/MeterCertificateRate.vue
View file @
4507a217
...
...
@@ -67,7 +67,10 @@ export default {
data
()
{
const
date
=
this
.
$dateformat
(
new
Date
(),
'yyyy-mm'
)
return
{
forObject
:
{},
forObject
:
{
edateBegin
:
undefined
,
edateEnd
:
undefined
},
tempData
:
{
beginDate
:
date
,
endDate
:
date
...
...
pages/meter-statistics/certificate-rate/ReportTimelyTable.vue
View file @
4507a217
...
...
@@ -6,15 +6,15 @@
<input
name=
"warningDate"
type=
"hidden"
>
<input
name=
"type"
type=
"hidden"
>
</Form>
<PTVXETable
id=
"reportTimelyTable"
ref=
"pageTable"
:page
C
olumns=
"pageColumns"
:table
Height=
"tableHeight"
@
on-result-change=
"_tableResultChange"
:getPage=
"getPage"
select-data
>
<PTVXETable
id=
"reportTimelyTable"
ref=
"pageTable"
:page
-c
olumns=
"pageColumns"
:table
-height=
"tableHeight"
:get-page=
"getPage"
select-data
@
on-result-change=
"_tableResultChange"
>
<vxe-table-column
v-for=
"item in pageColumns"
:key=
"item.key"
:field=
"item.key"
:title=
"item.title"
:min-width=
"item.width?item.width:200"
:fixed=
"item.fixed?item.fixed:undefined"
v-for=
"item in pageColumns"
:key=
"item.key"
sortable
>
:fixed=
"item.fixed?item.fixed:undefined"
sortable
>
<template
slot-scope=
"scope"
>
<span
v-if=
"item.date"
>
{{
scope
.
row
[
item
.
key
]?
$dateformat
(
scope
.
row
[
item
.
key
],
'yyyy-mm-dd'
):
''
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</span>
...
...
@@ -25,7 +25,7 @@
</template>
<
script
>
import
{
meter
Contract
}
from
'../../../api'
import
{
meter
Sample
}
from
'../../../api'
export
default
{
data
()
{
return
{
...
...
@@ -34,12 +34,11 @@ export default {
client
:
undefined
},
pageColumns
:
[
{
title
:
'样品编号'
,
key
:
'
sampleNum
'
,
width
:
180
},
{
title
:
'样品编号'
,
key
:
'
code
'
,
width
:
180
},
{
title
:
'委托单位'
,
key
:
'client'
},
{
title
:
'委托编号'
,
key
:
'contractCode'
,
width
:
180
},
{
title
:
'应出报告日期'
,
key
:
'dueDate'
,
width
:
120
,
date
:
true
},
{
title
:
'签发日期'
,
key
:
'issueDate'
,
width
:
120
,
date
:
true
},
{
title
:
'报告超期原因'
,
key
:
'reason'
}
{
title
:
'委托编号'
,
key
:
'entrustCode'
,
width
:
180
},
{
title
:
'应出证书日期'
,
key
:
'odate'
,
width
:
120
,
date
:
true
},
{
title
:
'签发日期'
,
key
:
'reportIssueTime'
,
width
:
120
,
date
:
true
}
],
getPage
:
{},
selectData
:
[]
...
...
@@ -83,7 +82,7 @@ export default {
// },
_page
:
async
function
()
{
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
const
result
=
await
meter
Contract
.
pag
e
(
this
.
formObj
)
const
result
=
await
meter
Sample
.
pageCertificateRateSampl
e
(
this
.
formObj
)
if
(
result
)
{
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
getPage
=
result
...
...
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