|
@@ -103,7 +103,7 @@
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 操作列 -->
|
|
<!-- 操作列 -->
|
|
|
- <template v-slot:action="{ row }">
|
|
|
|
|
|
|
+ <template v-slot:action="{ row }" >
|
|
|
<el-link
|
|
<el-link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
:underline="false"
|
|
:underline="false"
|
|
@@ -147,6 +147,7 @@
|
|
|
|
|
|
|
|
<el-link
|
|
<el-link
|
|
|
type="danger"
|
|
type="danger"
|
|
|
|
|
+ v-if="activeName == 'first'"
|
|
|
:underline="false"
|
|
:underline="false"
|
|
|
@click="handleDelete(row)"
|
|
@click="handleDelete(row)"
|
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
@@ -486,17 +487,7 @@
|
|
|
return obj && obj.label;
|
|
return obj && obj.label;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // ...(this.activeName === 'second'
|
|
|
|
|
- // ? [
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'releaseTime',
|
|
|
|
|
- // label: '发布时间',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true,
|
|
|
|
|
- // minWidth: 110
|
|
|
|
|
- // }
|
|
|
|
|
- // ]
|
|
|
|
|
- // : []),
|
|
|
|
|
|
|
+
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -581,7 +572,7 @@
|
|
|
privateColumn.push({
|
|
privateColumn.push({
|
|
|
columnKey: 'action',
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
label: '操作',
|
|
|
- width: 250,
|
|
|
|
|
|
|
+ width: 220,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
resizable: false,
|
|
resizable: false,
|
|
|
fixed: 'right',
|
|
fixed: 'right',
|