From 73cb3ec2b1660610e3621d7614ad308f2c19331d Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 16 十一月 2023 17:19:38 +0800 Subject: [PATCH] 1.修改了综合风险模型表格数据的获取 2.修改了时间选择器 --- src/views/data_management/HistoryData.vue | 18 +++++------------- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/views/data_management/HistoryData.vue b/src/views/data_management/HistoryData.vue index 86454df..f6fcc1a 100644 --- a/src/views/data_management/HistoryData.vue +++ b/src/views/data_management/HistoryData.vue @@ -32,6 +32,8 @@ // 缁撴潫鏃堕棿 endTime: '' }, + // 鎼滅储妗嗕紶閫掍笂鏉ョ殑璁惧缂栧彿 + tempMnCode :'', // 杩斿洖鐨勬暟鎹� tableData: [], // 琛ㄦ牸鏁版嵁 @@ -141,10 +143,7 @@ // 鏌ヨ鏁版嵁 handleSubmit() { - // if (this.isExceedOneMonth(this.form.beginTime, this.form.endTime)) { - // alert('鏃堕棿璺ㄥ害涓嶈兘瓒呰繃涓�涓湀'); - // return; - // } + this.loading = true; this.queryButton = true let params = {}; @@ -161,7 +160,6 @@ if (this.scenarioType.length != 0) { params['scenarioType'] = this.scenarioType.join(); } - this.$http.get('/dust/history1', { params: params }).then((response) => { // 淇濆瓨杩斿洖鐨� this.tableData = response.data.data.rows; @@ -220,8 +218,9 @@ <el-form-item> <AreaAndmonitorType></AreaAndmonitorType> </el-form-item> + <el-form-item> - <InputSearch isNeedDefaultSite="1" @submit-value="(n) => (form.name = n)"> + <InputSearch isNeedDefaultSite="1" @submit-value="(n) => (form.name = n) "> </InputSearch> </el-form-item> <el-form-item> @@ -249,13 +248,6 @@ </div> <div class="button-and-export"> <el-form-item> - <!-- <el-button - type="primary" - @click="handleSubmit" - style="margin-left: 10px" - ><el-icon style="margin-right: 6px;font-size: 1.2em;"><i-ep-Search/></el-icon>鏌ヨ</el-button - > - <el-button type="success" @click="exportDom" round><el-icon style="margin-right: 6px;margin-bottom:2px;font-size: 1.2em;"><i-ep-Download ></i-ep-Download></el-icon>瀵煎嚭鏁版嵁</el-button> --> <ButtonClick style="margin-right: 12px;" content="鎼滅储" type="primary" :loading="queryButton" @do-search="handleSubmit"></ButtonClick> <ButtonExportExcel content="瀵煎嚭鏁版嵁" type="success" :loading="exportButton" @do-export="exportDom"></ButtonExportExcel> </el-form-item> -- Gitblit v1.9.3