Commit 46ff296a by cwq0219

表格-固定操作栏

1 parent 0ead99fb
......@@ -76,8 +76,9 @@
<el-table-column
v-if="tableParams.tableOption"
label="操作"
fixed="right"
:align="tableParams.tableOption.align||'center'"
:width="tableParams.tableOption.width||'200'"
:width="tableParams.tableOption.width||'auto'"
>
<template slot-scope="scope">
<slot
......
......@@ -501,7 +501,6 @@ export const resources = {
authId: '9060301',
parentId: '90603',
label: '财务',
type: 'primary',
handle: 'handleDetail'
}],
component: _import('systemConfig/merchantManage')
......
......@@ -290,7 +290,8 @@
</el-table-column>
<el-table-column
align="center"
label="操作">
label="操作"
fixed="right">
<template slot-scope="scope">
<auth-button
:data="scope"
......
......@@ -73,7 +73,9 @@
style="margin-right: 10px;"
@click="handleCommodityDetail(scope.scope)"
>查看</el-button>
<auth-button :data="scope.scope"></auth-button>
<auth-button
:data="scope.scope"
></auth-button>
</template>
</d2-table>
</div>
......@@ -172,7 +174,9 @@ export default {
mutiSelectUniqueKey: 'uniqueVal',
btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'list',
tableOption: true,
tableOption: {
width: '170'
},
tableColumns: [{
label: '序号',
prop: 'index'
......
......@@ -138,7 +138,8 @@
</el-table-column>
<el-table-column
label="操作"
align="center">
align="center"
fixed="right">
<template slot-scope="scope">
<auth-button
:data="scope"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!