This commit is contained in:
helloDy
2024-06-18 08:47:53 +08:00
parent e1e39681ce
commit e990680159
4 changed files with 79 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-06-05 16:19:04
* @LastEditTime: 2024-06-17 09:49:15
* @LastEditors: DY
* @Description:
-->
@@ -24,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item label="时间维度" prop="date">
<el-select size="small" clearable v-model="listQuery.date" placeholder="请选择">
<el-select size="small" clearable v-model="listQuery.date" placeholder="请选择" @change="clearTime">
<el-option v-for="item in timeList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
@@ -458,6 +458,13 @@ export default {
this.changeTime()
},
methods: {
clearTime() {
this.listQuery.beginTime = undefined
this.listQuery.endTime = undefined
this.listQuery.reportTime = []
this.start = undefined
this.end = undefined
},
handleImport() {
this.upload.title = "生产目标导入";
this.upload.open = true;