Compare commits

..

No commits in common. "ed746c51dda27c9d599b1893affd6ceab55b7899" and "eb69eb426bd9a43529c1a36e77e00a2897d04c16" have entirely different histories.

2 changed files with 0 additions and 23 deletions

View File

@ -90,12 +90,6 @@ export default {
this.dateRange = [start, end]
},
dataInit() {
this.loading = this.$loading({
lock: true,
text: '加载中',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
if (this.active == 0) {
this.timeInit()
} else if (this.active == 1) {
@ -135,7 +129,6 @@ export default {
isEquipment: store.equipmentList[index - 1].deviceName == 30 ? 1 : 0
}
this.api.selFsTime(data).then(res => {
this.loading.close()
if (res.data.code == 200) {
var chartsData = res.data.data.data.map(item => {
return {

View File

@ -59,7 +59,6 @@
</div>
</template>
<script>
import { Loading } from 'element-ui';
export default {
data() {
return {
@ -70,7 +69,6 @@ export default {
pageSize: 10,
tableList: [],
total: 0,
loading:null,
}
},
watch: {
@ -104,12 +102,6 @@ export default {
return formattedTime
},
dataInit() {
this.loading = this.$loading({
lock: true,
text: '加载中',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
if (this.active == 0) {
this.timeInit()
} else if (this.active == 1) {
@ -122,12 +114,6 @@ export default {
}, 0);
},
download() {
this.loading = this.$loading({
lock: true,
text: '加载中',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
});
var store = this.$store.state
var index = store.equipmentIndex;
var data = {
@ -140,7 +126,6 @@ export default {
}
this.api.loadHistorydata(data).then(res => {
// blob
this.loading.close()
const blob = new Blob([res.data], { type: 'text/csv' });
// a
@ -172,7 +157,6 @@ export default {
isEquipment: store.equipmentList[index - 1].deviceName == 30 ? 1 : 0
}
this.api.selFsTime(data).then(res => {
this.loading.close()
if (res.data.code == 200) {
this.tableList = []
this.tableData = []