|
|
@@ -4,22 +4,22 @@
|
|
|
<app-table class="sell" :data="sellList" v-model:columns="sellColumns" :row-key="rowKey"
|
|
|
:expand-row-keys="expandKeys" @row-click="rowClick" showIndex>
|
|
|
<!-- 展开行 -->
|
|
|
- <template #expand="{ row, index }">
|
|
|
+ <!-- <template #expand="{ row, index }">
|
|
|
<div class="buttonbar" v-if="index === 0">
|
|
|
<el-button type="primary" size="small" :disabled="row.userid === loginStore.userId"
|
|
|
@click="showComponent('delisting', row)">摘牌</el-button>
|
|
|
</div>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</app-table>
|
|
|
<app-table class="buy" :data="buyList" v-model:columns="buyColumns" :row-key="rowKey" :expand-row-keys="expandKeys"
|
|
|
@row-click="rowClick" showIndex>
|
|
|
<!-- 展开行 -->
|
|
|
- <template #expand="{ row, index }">
|
|
|
+ <!-- <template #expand="{ row, index }">
|
|
|
<div class="buttonbar" v-if="index === 0">
|
|
|
<el-button type="primary" size="small" :disabled="row.userid === loginStore.userId"
|
|
|
@click="showComponent('delisting', row)">摘牌</el-button>
|
|
|
</div>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</app-table>
|
|
|
<component ref="componentRef" v-bind="{ selectedRow }" :is="componentMap.get(componentId)" @closed="closeComponent"
|
|
|
v-if="componentId" />
|