同比页
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
<a-tab-pane tab="噪声信息" key="noise">
|
||||
<noise-bill ref="noise"></noise-bill>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane tab="其他信息" key="place">
|
||||
<!-- <a-tab-pane tab="其他信息" key="place">
|
||||
<place-bill ref="place"></place-bill>
|
||||
</a-tab-pane>
|
||||
</a-tab-pane> -->
|
||||
</a-tabs>
|
||||
</a-card>
|
||||
</div>
|
||||
@@ -24,7 +24,7 @@
|
||||
import XLSX from 'xlsx';
|
||||
import utils from "./utils";
|
||||
import NoiseBill from "./noise-bill.vue";
|
||||
import PlaceBill from "./place-bill.vue";
|
||||
// import PlaceBill from "./place-bill.vue";
|
||||
|
||||
import {
|
||||
saveZoneNoiseBill,
|
||||
@@ -34,7 +34,7 @@
|
||||
name: "ZoneCollectIndex",
|
||||
components: {
|
||||
NoiseBill,
|
||||
PlaceBill
|
||||
// PlaceBill
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
billName: sheetNames[0] + reportDate,
|
||||
zoneNoiseList: billData
|
||||
}).then(res=>{
|
||||
if(res.data.code === 1){
|
||||
if(res.data.code != 0){
|
||||
this.$message.error("表格格式有误,请检查后重新上传!");
|
||||
}
|
||||
}))
|
||||
@@ -91,7 +91,7 @@
|
||||
billName: sheetNames[1] + reportDate2,
|
||||
zoneNoiseList: billData2
|
||||
}).then(res=>{
|
||||
if(res.data.code === 1){
|
||||
if(res.data.code != 0){
|
||||
this.$message.error("表格格式有误,请检查后重新上传!");
|
||||
}
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user