Commit 3e4bc47f authored by 李苏's avatar 李苏 💬

导入修改,动态列头初次加载概率异常bug

parent 59998b94
......@@ -620,6 +620,7 @@
})
},
initsltdo3(apidata) {
/* 预算执行分析-标准成本-8月(单位).xlsx图例生成*/
let colorList = ['#f18c6e', '#d5f69b', '#22f2e5', '#2ca4fb']
const charts = this.$echarts.init(this.$refs["slt3"]);
......
......@@ -10,8 +10,8 @@
<!-- right-->
<el-row class="tool-bar">
<!-- <ToolButton :app='app'></ToolButton> -->
<ImportTempButton @success='success' url="hafms/yszhcxlog//excel/import" :params="{
lx:'B'
<ImportTempButton @success='success' url="hafms/yszxfxlog//excel/import" :params="{
}" />
<!-- 导入-->
<el-button @click="del" size="mini" type="danger">删除当前报表</el-button>
......@@ -148,7 +148,6 @@
methods: {
/* 切换新表头*/
transXbt(lx) {
console.log(this.$refs.TablePager.newGridList)
if (lx == 'BZDW') {
this.$refs.TablePager.newGridList = [
{
......@@ -553,7 +552,10 @@
if (res.data && res.data.records && res.data.records.length != 0) {
this.paneList = res.data.records || []
if (this.paneList[0]) {
this.transXbt(this.paneList[0].lx)
setTimeout(()=>{
this.transXbt(this.paneList[0].lx)
},100)
this.activeName = this.paneList[0].id
this.showTabData(this.paneList[0].id)
/* 查询第一个list*/
......
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