Commit b2619254 by lichengming
parents 48efa051 2fed826f
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</el-date-picker> </el-date-picker>
</Form-item> </Form-item>
<Form-item class="search-btn"> <Form-item class="search-btn">
<Button type="primary" class="width-80" @click="_search">搜索</Button> <Button type="primary" class="width-80" @click="_getData">搜索</Button>
</Form-item> </Form-item>
</Form> </Form>
</div> </div>
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
methods: { methods: {
// 服务类型 // 服务类型
_getData: async function() { _getData: async function() {
const result = await meterSample.pagePersonalTaskStatistics() const result = await meterSample.pagePersonalTaskStatistics(this.formObj)
if (result) { if (result) {
this.getPage.records = result this.getPage.records = result
this.$refs.testPieModal._openPie(this.getPage.records) this.$refs.testPieModal._openPie(this.getPage.records)
...@@ -183,9 +183,13 @@ export default { ...@@ -183,9 +183,13 @@ export default {
if (data) { if (data) {
this.tempData.beginDate = data[0] this.tempData.beginDate = data[0]
this.tempData.endDate = data[1] this.tempData.endDate = data[1]
this.formObj.edateBegin = data[0]
this.formObj.edateEnd = data[1]
} else { } else {
this.tempData.beginDate = '' this.tempData.beginDate = ''
this.tempData.endDate = '' this.tempData.endDate = ''
this.formObj.edateBegin = undefined
this.formObj.edateEnd = undefined
} }
}, },
_contHide() { _contHide() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment