|
|
@@ -99,6 +99,9 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div style="margin-left: auto;margin-right:10px;" v-if="equ_ed_download"> |
|
|
|
<el-button @click="downLoad">导出</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
@@ -753,6 +756,7 @@ |
|
|
|
<script> |
|
|
|
import * as echarts from "echarts"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import { exportMethodPost} from "@/util/util"; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
@@ -874,6 +878,7 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.equ_ed_online = this.permissions["equ_ed_online"]; |
|
|
|
this.equ_ed_download = this.permissions["equ_ed_download"]; |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
// return; |
|
|
@@ -902,6 +907,22 @@ export default { |
|
|
|
// this.getTableList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
downLoad(){ |
|
|
|
// this.searchForm |
|
|
|
let obj = { |
|
|
|
startDate: this.page.openTime, |
|
|
|
endDate: this.page.closeTime, |
|
|
|
agentId: localStorage.getItem("orgType")==1?localStorage.getItem("agentId"):this.selValue == 0 ? this.houseId : null, |
|
|
|
orgCode: localStorage.getItem("orgType")==2?localStorage.getItem("orgCode"):this.selValue == 1 ? this.houseId : null, |
|
|
|
houseId: localStorage.getItem("orgType")==3?localStorage.getItem("houseId"):this.selValue == 2 ? this.houseId : null, |
|
|
|
timeType: this.timeType, |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
queryOrgType:this.selValue/1+1, |
|
|
|
houseTypes: this.houseTypes, |
|
|
|
}; |
|
|
|
obj.timeType == -1 ? (obj.timeType = "") : (obj.timeType = obj.timeType); |
|
|
|
exportMethodPost('autoSR/zk/equipment/detail/equipmentCountDetailExport','设备使用统计',obj) |
|
|
|
}, |
|
|
|
sysChange(){ |
|
|
|
this.selValue='0' |
|
|
|
this.choicValue = ""; |
|
|
|