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
8cf624ac
Commit
8cf624ac
authored
Jul 01, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了统计分析的表格
parent
a91c915c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
27 deletions
+70
-27
ElTableNoPage.vue
components/table/ElTableNoPage.vue
+1
-0
MeterPersonalTask.vue
pages/meter-statistics/personal-task/MeterPersonalTask.vue
+69
-27
No files found.
components/table/ElTableNoPage.vue
View file @
8cf624ac
...
...
@@ -4,6 +4,7 @@
:show-summary=
"showSummary !== undefined?true:false"
:data=
"getPage.records"
ref=
"moveTable"
:header-cell-style=
"
{background:'#F8F8F9'}"
:height="300"
v-loading="loading"
@select-all="_selectAll"
...
...
pages/meter-statistics/personal-task/MeterPersonalTask.vue
View file @
8cf624ac
...
...
@@ -9,8 +9,8 @@
<Form
id=
"search-form"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"人员:"
>
<AutoCompletes
:value=
"tester"
:blur=
"true"
:down-data=
"testerData"
show-key=
"realnam
e"
placeholder=
"请选择人员"
@
on-result-change=
"_testerChange
"
<AutoCompletes
:value=
"tester"
:blur=
"true"
:down-data=
"testerData"
@
on-result-change=
"_testerChang
e"
show-key=
"realname"
placeholder=
"请选择人员
"
></AutoCompletes>
</Form-item>
<!--
<Form-item
class=
"search-item"
label=
"服务类型:"
>
-->
...
...
@@ -21,22 +21,22 @@
<Form-item
label=
"委托日期:"
>
<el-date-picker
v-model=
"queryDate"
@
change=
"_dateChange"
type=
"monthrange"
range-separator=
"-"
start-placeholder=
"开始月份"
end-placeholder=
"结束月份"
size=
"small"
value-format=
"yyyy-MM"
@
change=
"_dateChange"
>
value-format=
"yyyy-MM"
>
</el-date-picker>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
type=
"primary"
class=
"width-80"
@
click=
"_search
"
>
搜索
</Button>
<Button
@
click=
"_search"
type=
"primary"
class=
"width-80
"
>
搜索
</Button>
</Form-item>
</Form>
</div>
<div
class=
"fr"
>
<Button
class=
"width-80"
@
click=
"_exportSampleForm
"
>
导出
</Button>
<Button
@
click=
"_exportSampleForm"
class=
"width-80
"
>
导出
</Button>
</div>
<div
class=
"clear"
></div>
</Col>
...
...
@@ -44,23 +44,24 @@
<Col
span=
"24"
>
<Row
:gutter=
"16"
>
<Col
span=
"14"
>
<PTVXETable
id=
"personalTestNum"
ref=
"pageTable"
:page-columns=
"pageColumns"
:table-height=
"tableHeight"
:get-page=
"getPage"
hide-checkbox
@
on-result-change=
"_tableResultChange"
>
<vxe-table-column
<ElTableNoPage
id=
"table-year"
ref=
"pageTable"
:tableHeight=
"tableHeight"
@
on-result-change=
"_tableResultChange"
:getPage=
"getPage"
hide-checkbox
>
<el-table-column
fixed
type=
"index"
label=
"序号"
width=
"100"
>
</el-table-column>
<el-table-column
:prop=
"item.key"
:label=
"item.title"
:width=
"item.width"
:min-width=
"200"
:fixed=
"item.fixed?item.fixed:undefined"
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"
sortable
>
:key=
"item.key"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"item.detail"
><a
@
click
.
stop=
"_detailModal(scope.row)"
>
{{
scope
.
row
[
item
.
key
]
}}
</a></span>
<div
v-if=
"item.detail"
><a
@
click
.
stop=
"_detailModal(scope.row)"
>
{{
scope
.
row
[
item
.
key
]
}}
</a></div>
<span
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</span>
</
template
>
</
vxe
-table-column>
</
PTVXETabl
e>
</
el
-table-column>
</
ElTableNoPag
e>
</Col>
<Col
span=
"10"
>
<!--pie-->
...
...
@@ -103,14 +104,54 @@ export default {
{
title
:
'样品总价'
,
key
:
'price'
,
width
:
205
}
],
groupData
:
[],
getPage
:
[
{
tester
:
'wwd'
,
total
:
'12'
,
ratio
:
'10%'
,
price
:
'3500'
}
],
// getPage: [
// {
// tester: 'wwd',
// total: '12',
// ratio: '10%',
// price: '3500'
// },
// {
// tester: 'wwd',
// total: '12',
// ratio: '10%',
// price: '3500'
// },
// {
// tester: 'wwd',
// total: '12',
// ratio: '10%',
// price: '3500'
// }
// ],
getPage
:
{
records
:
[
{
tester
:
'wwd'
,
total
:
'12'
,
ratio
:
'10%'
,
price
:
'3500'
},
{
tester
:
'wwd'
,
total
:
'12'
,
ratio
:
'10%'
,
price
:
'3500'
},
{
tester
:
'wwd'
,
total
:
'12'
,
ratio
:
'10%'
,
price
:
'3500'
},
{
tester
:
'wwd'
,
total
:
'12'
,
ratio
:
'10%'
,
price
:
'3500'
}
]
},
tempData
:
{
groupId
:
''
,
groupName
:
''
,
...
...
@@ -129,6 +170,7 @@ export default {
}
},
mounted
()
{
this
.
$refs
.
pageTable
.
_hideLoading
()
// this._contHide()
// this._getUserGroup()
// this._getUserList()
...
...
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