Browse Source

11.21

master
lichong 5 months ago
parent
commit
c5345b0b34
  1. 6
      front/src/renderer/src/components/tablecomponent.vue

6
front/src/renderer/src/components/tablecomponent.vue

@ -5,6 +5,10 @@
@checkbox-change="selectChange" ref="tableRef" border :column-config="{ resizable: true }">
<vxe-column type="seq" width="70" v-if="hiddenXuhao"></vxe-column>
<vxe-column type="checkbox" width="70" fixed="left"></vxe-column>
<vxe-column field="totalScore" title="总分" width="70" fixed="left" class-name="red"
header-class-name="red"></vxe-column>
<vxe-column field="level" title="等级" width="70" fixed="left" class-name="blue"
header-class-name="blue"></vxe-column>
<template v-for="(headerItem, headerIndex) in tableHeader" :key="headerIndex">
<vxe-column :field="headerItem.prop" :title="headerItem.label" :width="`${headerItem.label.length * 23 + 24}`"
:class-name="colorList[headerItem.label] || ''" :header-class-name="colorList[headerItem.label] || ''"
@ -27,8 +31,6 @@
</template>
</vxe-column>
</template>
<vxe-column field="totalScore" title="总分" width="70" fixed="right"></vxe-column>
<vxe-column field="totalScore" title="等级" width="70" fixed="right"></vxe-column>
<vxe-column fixed="right" title="操作" width="145">
<template #default="{ row }">
<el-button type="primary" circle @click="optClick(row, 'edit')">

Loading…
Cancel
Save