cuijian
3 天以前 ba15d76ff0ec80ee759913511158d4333f6e6c59
src/views/tms/modules/toolsClassify/ToolsClassifyListRight.vue
@@ -54,10 +54,10 @@
      >
          <a-button @click="handleAdd(nodeSelected)" type="primary" icon="plus" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '1'">新增</a-button>
      </Tooltip>
      <a-button type="primary" icon="download" @click="handleExportXls('工具分类信息')">导出</a-button>
      <!-- <a-button type="primary" icon="download" @click="handleExportXls('工具分类信息')">导出</a-button>
      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
        <a-button type="primary" icon="import">导入</a-button>
      </a-upload>
      </a-upload> -->
    </div>
    <!-- table区域-begin -->
@@ -167,6 +167,18 @@
    data () {
      return {
        description: '工具分类管理页面',
         /* 分页参数 */
      ipagination:{
        current: 1,
        pageSize: 10,
        pageSizeOptions: ['10', '20', '50'],
        showTotal: (total, range) => {
          return range[0] + "-" + range[1] + " 共" + total + "条"
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      },
        // 表头
        columns: [
          {
@@ -366,8 +378,10 @@
          .then((res) => {
            if (res.success) {
              this.dataSource = res.result.records; // 更新表格数据
              this.ipagination.total = res.result.total
            } else {
              this.$message.warning(res.message);
              this.ipagination.total = 0
            }
          })
          .finally(() => {