src/components/Table/ETable.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/basicInformation/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/inspectionManagement/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/inspectionUpload/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/procureMent/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/production/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/salesOutbound/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/warehouseManagement/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/Table/ETable.vue
@@ -2,7 +2,7 @@ v-loading="loading" :data="tableData" :border="border" :show-selection="showSelection" :show-selection="showSelection" :max-height="maxHeight" :header-cell-style="{ background: '#EBEEF5', color: '#3D3D3D' }" @selection-change="handleSelectionChange" @@ -15,7 +15,7 @@ :show-overflow-tooltip="showOverflowTooltip" ref="tableRef" :row-key="rowKey" style="width: 100%" style="width: 100%;" > <el-table-column v-if="showSelection" type="selection" width="55" align="center" /> <el-table-column v-if="showIndex" label="序号" width="60" align="center" fixed="left"> src/views/basicInformation/index.vue
@@ -1,5 +1,5 @@ <template> <div> <div class="app-container"> <el-form :inline="true" :model="queryParams" class="search-form"> <el-form-item v-if="shouldShowSearch" label="搜索"> <el-input v-model="queryParams.searchAll" :placeholder="searchPlaceholder" clearable/> @@ -23,7 +23,7 @@ <el-button v-show="canExport" :icon="Download" type="info" @click="handleExport">导出</el-button> </el-row> <!-- 表格组件 --> <div> <data-table :border="true" :columns="columns" :loading="loading" <data-table :border="true" :columns="columns" :loading="loading" style="width: 100%;height: calc(100vh - 29em)" :show-selection="true" :table-data="tableData" @edit="handleEdit" @selection-change="handleSelectionChange"> <!-- 字段名称列的自定义插槽 - 显示为标签 --> <template v-if="tabName === 'coalQualityMaintenance'" #fieldIds="{ row }"> src/views/inspectionManagement/index.vue
@@ -50,14 +50,14 @@ @selection-change="handleSelectionChange" :show-selection="true" :border="true" :maxHeight="480" style="width: 100%;height: calc(100vh - 30em)" operationsWidth="130" :operations="operationsArr" @edit="handleAdd" @viewFile="viewFile" v-if="tabName !== 'qrCodeScanRecord'" ></ETable> <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-else> <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" border v-else style="width: 100%;height: calc(100vh - 27em)"> <el-table-column label="序号" type="index" width="60" align="center" /> <el-table-column prop="deviceName" label="设备名称" :show-overflow-tooltip="true"> <template #default="scope"> src/views/inspectionUpload/index.vue
@@ -54,7 +54,7 @@ </div> </div> <div> <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab !== 'qrCode'"> <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab !== 'qrCode'" border style="width: 100%;height: calc(100vh - 23em)"> <el-table-column label="序号" type="index" width="60" align="center" /> <el-table-column prop="taskName" label="巡检任务名称" :show-overflow-tooltip="true"></el-table-column> <el-table-column prop="port" label="地点" :show-overflow-tooltip="true"></el-table-column> @@ -66,7 +66,7 @@ </template> </el-table-column> </el-table> <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab === 'qrCode'"> <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab === 'qrCode'"border style="width: 100%;height: calc(100vh - 23em)"> <el-table-column label="序号" type="index" width="60" align="center" /> <el-table-column prop="deviceName" label="设备名称" :show-overflow-tooltip="true"> <template #default="scope"> src/views/procureMent/index.vue
@@ -35,7 +35,7 @@ @delete="handleDeleteSuccess" :show-selection="true" :border="true" :maxHeight="440" style="width: 100%;height: calc(100vh - 26em)" /> <pagination v-if="total > 0" src/views/production/index.vue
@@ -1,5 +1,5 @@ <template> <div class="production-container"> <div class="app-container"> <!-- 搜索表单 --> <el-form :inline="true" :model="queryParams" class="search-form"> <el-form-item label="搜索"> @@ -37,7 +37,7 @@ @edit="row => openDialog('edit', row)" :show-selection="true" :border="true" :maxHeight="480" style="width: 100%;height: calc(100vh - 26em)" > <template #coal="{ row }"> <div class="coal-tags"> src/views/salesOutbound/index.vue
@@ -56,7 +56,7 @@ @selection-change="handleSelectionChange" :show-selection="true" :border="true" :maxHeight="480" style="width: 100%;height: calc(100vh - 28em)" @edit="openDia"></ETable> </div> <pagination src/views/warehouseManagement/index.vue
@@ -43,7 +43,7 @@ <el-button type="success" plain :icon="Refresh" v-if="activeTab=== 'officialInventory'" @click="mergeRows('merge')">合并</el-button> </el-space> <div> <el-table :data="tableData" border @selection-change="selectionChange" style="width: 100%" show-summary :summary-method="summarizeChildrenTable"> <el-table :data="tableData" border @selection-change="selectionChange" style="width: 100%;height: calc(100vh - 30em)" show-summary :summary-method="summarizeChildrenTable"> <el-table-column type="selection" width="55" align="center" /> <el-table-column label="序号" type="index" width="60" align="center" /> <el-table-column prop="supplierName" label="供货商名称" width="180" sortable/>