气象站监测页面重置按钮
This commit is contained in:
		| @@ -59,7 +59,7 @@ | ||||
|           </div> | ||||
|           <div class="btws"> | ||||
|             <el-button class="bt1" @click="query">查询</el-button> | ||||
|             <el-button class="bt2">重置</el-button> | ||||
|             <el-button class="bt2" @click="reset">重置</el-button> | ||||
|           </div> | ||||
|  | ||||
|           <el-table | ||||
| @@ -255,6 +255,14 @@ function query(){ | ||||
|   getmeteorology() | ||||
|  | ||||
|  | ||||
| } | ||||
| function  reset(){ | ||||
|   value.value = getYesterday().toJSON().substr(0, 10); | ||||
|   radio1.value=5000 | ||||
|   zdmcValue.value='' | ||||
|   warnValue.value='' | ||||
|   getmeteorology() | ||||
|  | ||||
| } | ||||
| const warnList = [ | ||||
|   { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user