江河水统计数据代码提交
This commit is contained in:
@@ -27,23 +27,6 @@
|
||||
<DownOutlined />
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
|
||||
<!-- <a-modal v-model:visible="visibleWater" title="水站导入" :footer="null">
|
||||
<a-select allowClear placeholder="请选择站名" @change="currentSel" style="width:150px">
|
||||
<a-select-option
|
||||
v-for="item in form"
|
||||
:key="item.waterStationPointId"
|
||||
:label="item.stationName" :value="item"
|
||||
>{{item.stationName}}</a-select-option
|
||||
>
|
||||
</a-select>
|
||||
<a-upload
|
||||
:before-upload="importFileStation"
|
||||
:showUploadList="false"
|
||||
accept=".xls,.xlsx,.csv">
|
||||
<a-button key="submit" type="primary" :loading="loading">导入</a-button>
|
||||
</a-upload>
|
||||
</a-modal> -->
|
||||
<a-dropdown>
|
||||
<template #overlay>
|
||||
<a-menu @click="handleMenuClick">
|
||||
@@ -147,15 +130,6 @@
|
||||
if (res.data.code == 0) {
|
||||
console.log(res.data.data)
|
||||
this.visibleWater = true;
|
||||
// this.form = res.data.data.map(item => {
|
||||
// return {
|
||||
// riverName: item.riverName,
|
||||
// stationName: item.stationName,
|
||||
// system:item.system,
|
||||
// waterStationPointId:item.waterStationPointId,
|
||||
// waterTarget:item.waterTarget
|
||||
// }
|
||||
// })
|
||||
res.data.data.forEach(e => {
|
||||
this.form.push(e);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user