|
@@ -288,11 +288,12 @@ export default {
|
|
|
},
|
|
|
showConfirmDialog(msg, resolve, type) {
|
|
|
let showInfo = '启用';
|
|
|
- let btnNameClass = 'confirmBtn';
|
|
|
+ let btnNameClass = 'confirmBtn1';
|
|
|
if (type === 'Del') {
|
|
|
showInfo = '禁用';
|
|
|
- btnNameClass = 'delBtn';
|
|
|
+ btnNameClass = 'delBtn';
|
|
|
}
|
|
|
+
|
|
|
this.$confirm(msg, '提示', {
|
|
|
confirmButtonText: showInfo,
|
|
|
cancelButtonText: '取消',
|
|
@@ -384,5 +385,9 @@ export default {
|
|
|
background-color: #ff545b !important;
|
|
|
border-color: transparent !important;
|
|
|
}
|
|
|
+ /deep/ .confirmBtn1{
|
|
|
+ position: relative;
|
|
|
+ right: 0px !important;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|