气象站监测页面重置按钮

This commit is contained in:
jiangzhongzhi 2023-07-05 14:15:35 +08:00
parent 2940fc66fc
commit 8e8d1f31db

View File

@ -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 = [
{