|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
- <div>
|
|
|
|
- <a-table :scroll="{x: 1, y: BaseTool.Constant.scrollY }" :columns="dataColumns" :data-source="dataSource" bordered>
|
|
|
|
|
|
+ <div class="batchSelect">
|
|
|
|
+ <a-table :scroll="{x: 1, y: BaseTool.Constant.scrollY }" :columns="dataColumns" :data-source="dataSource">
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
<a-popconfirm title="确定删除该组件?" ok-text="确定" cancel-text="取消" @confirm="remove(record)">
|
|
<a-popconfirm title="确定删除该组件?" ok-text="确定" cancel-text="取消" @confirm="remove(record)">
|
|
<a>删除</a>
|
|
<a>删除</a>
|
|
@@ -62,7 +62,7 @@ export default {
|
|
{
|
|
{
|
|
title: '操作',
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
dataIndex: 'action',
|
|
- width: 100,
|
|
|
|
|
|
+ width: '120px',
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
align: 'center',
|
|
align: 'center',
|
|
key: 'action',
|
|
key: 'action',
|
|
@@ -127,6 +127,11 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
|
+.batchSelect {
|
|
|
|
+ border: 1px solid #d9d9d9;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ padding: 5px;
|
|
|
|
+}
|
|
.title {
|
|
.title {
|
|
text-align: center;
|
|
text-align: center;
|
|
font-size: 16px;
|
|
font-size: 16px;
|