|
@@ -1,8 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<div class="hc-table-ref-box" :class="ui">
|
|
<div class="hc-table-ref-box" :class="ui">
|
|
<el-table ref="tableRef" hc :data="tableData" height="100%" v-loading="isLoading" stripe :row-key="rowKey" :border="isBorder" @selection-change="tableSelectionChange"
|
|
<el-table ref="tableRef" hc :data="tableData" height="100%" v-loading="isLoading" stripe :row-key="rowKey" :border="isBorder" @selection-change="tableSelectionChange"
|
|
- @row-click="tableRowClick" @row-dblclick="tableRowDblClick" @row-contextmenu="tableRowContextmenu"
|
|
|
|
- @cell-click="tableCellClick" @cell-dblclick="tableCellDblClick" @cell-contextmenu="tableCellContextmenu">
|
|
|
|
|
|
+ @row-click="tableRowClick" @row-dblclick="tableRowDblClick" @row-contextmenu="tableRowContextmenu" @cell-click="tableCellClick" @cell-dblclick="tableCellDblClick"
|
|
|
|
+ @cell-contextmenu="tableCellContextmenu" style="width: 100%;">
|
|
<el-table-column type="selection" width="50" v-if="isCheck"/>
|
|
<el-table-column type="selection" width="50" v-if="isCheck"/>
|
|
<el-table-column type="index" prop="num" label="序号" width="80" v-if="isIndex"/>
|
|
<el-table-column type="index" prop="num" label="序号" width="80" v-if="isIndex"/>
|
|
<template v-for="item in columns">
|
|
<template v-for="item in columns">
|