筛选、导出、弹框优化

This commit is contained in:
weicw
2021-08-20 17:18:50 +08:00
parent a70ffbecae
commit bb7618242d
29 changed files with 37994 additions and 1874 deletions

View File

@@ -25,7 +25,7 @@
import utils from "./utils";
import NoiseBill from "./noise-bill.vue";
import PlaceBill from "./place-bill.vue";
import _ from "lodash";
import {
saveFunctionNoiseBill,
} from "@/api/ecology/function-sound";
@@ -47,7 +47,7 @@
methods: {
/* 导入本地excel文件 */
importFile(file) {
console.log(_._uniqueId("road_noise"));
let reader = new FileReader();
reader.onload = (e) => {
let data = new Uint8Array(e.target.result);
@@ -63,7 +63,7 @@
let aoa2 = XLSX.utils.sheet_to_json(workbook.Sheets[sheetNames[1]], {
header: 1,
});
const reportDate = aoa[1][0].replace(/[^\d]+/g, "-")
const reportDate2 = new Date();

View File

@@ -12,7 +12,7 @@
</a-col>
<a-col :lg="6" :md="12" :sm="24" :xs="24">
<a-form-item label="功能区类别:">
<a-select v-model:value="where.functionType" placeholder="选择功能区类">
<a-select v-model:value="where.functionType" placeholder="功能区类">
<a-select-option value="1">1</a-select-option>
<a-select-option value="2">2</a-select-option>
<a-select-option value="4">3</a-select-option>
@@ -177,27 +177,6 @@
dataIndex: 'functionType',
sorter: true
},
// {
// title: '月',
// dataIndex: 'monitorMonth',
// sorter: true
// },
// {
// title: '日',
// dataIndex: 'monitorDay',
// sorter: true
// },
// {
// title: '时',
// dataIndex: 'monitorHour',
// sorter: true
// },
// {
// title: '分',
// dataIndex: 'monitorMinute',
// sorter: true
// },
{
title: 'LeqdB(A)',
dataIndex: 'indexLeq',