Commit dd2b8f67 by lsk

任务列表添加自定义列按钮功能

parent 7b80b160
......@@ -287,9 +287,6 @@
line-height: 16px;
font-size: 12px;
}
.el-table--border td.lastColumn{
border-right: 0!important;
}
.el-table__fixed,
.el-table__fixed-right {
height: 100% !important;
......
......@@ -351,7 +351,7 @@ export default {
background: #f0f9eb;
}
.selectColumnClass .el-checkbox__label {
width: 60px;
width: 67px;
font-size: 13px;
}
.selectAllClass .el-checkbox__label {
......
......@@ -81,11 +81,11 @@
</c-list-search> -->
<el-row>
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="120px">
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
......
......@@ -200,11 +200,11 @@
</c-row>
<el-row>
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
......
......@@ -250,7 +250,7 @@
<el-row>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column
fixed="right"
prop="display"
......@@ -259,7 +259,7 @@
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template>
<c-button style="margin-left: 0" size="small">
......
......@@ -298,7 +298,7 @@
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="165px" class-name="lastColumn">
<el-table-column fixed="right" prop="op" label="操作" width="165px">
<template slot="header">
<c-col style="text-align: left"
><span>操作</span>
......
......@@ -280,11 +280,11 @@
</c-button>
</c-col> -->
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<c-button
......
......@@ -396,16 +396,16 @@
> -->
<el-row>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%">
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%" :showButtonFlg="true">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="150px"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<!-- <a :href="`/#/display/${scope.row['10'].toLowerCase()}?trn=${scope.row['1']}`" target="_blank" >显示快照</a>-->
......
......@@ -385,16 +385,16 @@
> -->
<el-row>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%">
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%" :showButtonFlg="true">
<el-table-column
fixed="right"
prop="display"
label="操作"
width="150px"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<c-button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment