浏览代码

修复bug

hwy 1 周之前
父节点
当前提交
62c8711930
共有 2 个文件被更改,包括 10 次插入2 次删除
  1. 8 1
      component/statistics/GxbTurnup/index.html
  2. 2 1
      component/statistics/GxbTurnup/index.js

+ 8 - 1
component/statistics/GxbTurnup/index.html

@ -52,7 +52,14 @@
      <span class="eliminate" @click="eliminateClick">清除筛选条件</span>
    </div>
  </div>
  <el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="code" lazy :load="load" :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
  <el-table
    :data="tableData"
    style="width: 100%"
    v-loading="loading"
    :row-key="(record) => `${record.code}-${record.name}`"
    lazy
    :load="load"
    :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
    <el-table-column :label="item.label" v-for="item in tableHeader" :min-width="item.width" :key="item.prop" :prop="item.prop">
      <template slot="header" slot-scope="scope">
        {{scope.column.label}}

+ 2 - 1
component/statistics/GxbTurnup/index.js

@ -79,7 +79,8 @@ Vue.component('gxb-turnup', {
      messageVisible: false,
      messInfo: null,
      remind: '',
      dialogExportLoading: false
      dialogExportLoading: false,
      dialogLoading: false
    }
  },
  methods: {