Commit 688b4aaa authored by 李苏's avatar 李苏 💬

定制excel导出

parent 6ba77480
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
<div class="min_full" style="width: calc(100% - 380px);border-top: 0px;height: 140vh;border-left: 0px;"> <div class="min_full" style="width: calc(100% - 380px);border-top: 0px;height: 140vh;border-left: 0px;">
<div style="height:477px;width: 100%;"> <div style="height:477px;width: 100%;">
<BasePage @getRow='getRow' :power='power' class="min_full" <BasePage :changeExcelParams='changeExcelParams' @getRow='getRow' :power='power' class="min_full"
style="height: 477px;border: 0px;border-bottom: 5px solid #eee;" @delSuccess='delSuccess' :autoQuery='false' style="height: 477px;border: 0px;border-bottom: 5px solid #eee;" @delSuccess='delSuccess' :autoQuery='false'
ref="basePage" :config="config"> ref="basePage" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
...@@ -187,6 +187,9 @@ ...@@ -187,6 +187,9 @@
}, },
methods: { methods: {
changeExcelParams(params){
params.condition=JSON.stringify({})
},
getRow(row) { getRow(row) {
// this.$refs.sbbg.$refs.basePage.queryParams.sbxxCode = row.code||'null' // this.$refs.sbbg.$refs.basePage.queryParams.sbxxCode = row.code||'null'
// this.$refs.sbbg.$refs.basePage.refresh() // this.$refs.sbbg.$refs.basePage.refresh()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment