|
@@ -36,7 +36,7 @@
|
|
|
<template v-slot="{row}">{{ row.responsiblePersonName || '-' }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="描述" prop="remark"></el-table-column>
|
|
|
- <el-table-column label="操作" width="340px">
|
|
|
+ <el-table-column label="操作" width="140px">
|
|
|
<template v-slot="{row}">
|
|
|
<el-button size="mini" type="text" @click="onDsEdit(row)">编辑</el-button>
|
|
|
<el-button size="mini" type="text" @click="onGoDetail(row)">查看</el-button>
|
|
@@ -44,11 +44,13 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- <el-pagination
|
|
|
- :current-page.sync="page.current" :page-size="page.size" :page-sizes="[10, 20, 50, 100]" :total="page.total"
|
|
|
- background class="my-paging" layout="total, sizes, prev, pager, next, jumper" @size-change="sizeChange"
|
|
|
- @current-change="getData"
|
|
|
- ></el-pagination>
|
|
|
+ <div class="mydiv">
|
|
|
+ <el-pagination
|
|
|
+ :current-page.sync="page.current" :page-size="page.size" :page-sizes="[10, 20, 50, 100]" :total="page.total"
|
|
|
+ class="my-paging" layout="sizes,total, prev, pager, next" @size-change="sizeChange"
|
|
|
+ @current-change="getData"
|
|
|
+ ></el-pagination>
|
|
|
+ </div>
|
|
|
<el-dialog :visible.sync="showEdit" append-to-body title="编辑数据源" width="600px">
|
|
|
<el-form ref="form" :model="dsForm" :rules="rules" label-width="115px" size="mini">
|
|
|
<el-form-item label="数据源类型">
|
|
@@ -429,4 +431,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+.mydiv {
|
|
|
+ float: right;
|
|
|
+ margin-top: 10px;
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
</style>
|