|
@@ -57,14 +57,29 @@
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
size="small"
|
|
size="small"
|
|
|
|
+ icon="el-icon-plus"
|
|
v-if="$checkBtnRole('add', $route.meta.roles)"
|
|
v-if="$checkBtnRole('add', $route.meta.roles)"
|
|
@click="(dialogVisible = true), (type = 1), getDictList()"
|
|
@click="(dialogVisible = true), (type = 1), getDictList()"
|
|
>新增</el-button
|
|
>新增</el-button
|
|
>
|
|
>
|
|
|
|
|
|
- <el-button type="primary" size="small" @click="delfn"
|
|
|
|
|
|
+ <!-- <el-button type="primary" size="small" @click="delfn"
|
|
>批量删除</el-button
|
|
>批量删除</el-button
|
|
|
|
+ > -->
|
|
|
|
+ <el-popconfirm
|
|
|
|
+ v-if="$checkBtnRole('del', $route.meta.roles)"
|
|
|
|
+ class="delClass"
|
|
|
|
+ @onConfirm="delfn"
|
|
|
|
+ title="这是一段内容确定删除吗?"
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ slot="reference"
|
|
|
|
+ type="danger"
|
|
|
|
+ icon="el-icon-minus"
|
|
|
|
+ size="small"
|
|
|
|
+ >批量删除</el-button
|
|
|
|
+ >
|
|
|
|
+ </el-popconfirm>
|
|
<el-button type="primary" size="small" @click="submitScreenForm"
|
|
<el-button type="primary" size="small" @click="submitScreenForm"
|
|
>查询</el-button
|
|
>查询</el-button
|
|
>
|
|
>
|
|
@@ -88,6 +103,7 @@
|
|
stripe
|
|
stripe
|
|
@selection-change="selectionhangeFn"
|
|
@selection-change="selectionhangeFn"
|
|
>
|
|
>
|
|
|
|
+ <!-- <div v-for="(col, i) in columns" :key="i"> -->
|
|
<el-table-column type="selection" width="55" align="center">
|
|
<el-table-column type="selection" width="55" align="center">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<template v-for="col in columns">
|
|
<template v-for="col in columns">
|
|
@@ -118,6 +134,7 @@
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</template>
|
|
</template>
|
|
|
|
+ <!-- </div> -->
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
@@ -264,7 +281,7 @@ export default {
|
|
walletList: [],
|
|
walletList: [],
|
|
type: 0, // 0 1
|
|
type: 0, // 0 1
|
|
screenForm: {
|
|
screenForm: {
|
|
- mainName: "",
|
|
|
|
|
|
+ // mainName: "",
|
|
saleTypeCode: "",
|
|
saleTypeCode: "",
|
|
saleTypeName: "",
|
|
saleTypeName: "",
|
|
status: "",
|
|
status: "",
|
|
@@ -554,4 +571,7 @@ export default {
|
|
::v-deep .el-select {
|
|
::v-deep .el-select {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
+.delClass {
|
|
|
|
+ margin: 0 10px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|