Commit fede6f7a by 无尘

fix: 修改确认弹窗

parent 1279ed7f
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditTime: 2020-12-23 11:31:16
* @LastEditTime: 2020-12-23 11:38:15
* @FilePath : \haoban-4\src\components\company\add-relate.vue
-->
<!--
......@@ -112,10 +112,11 @@ export default {
toUnbind(row) {
const that = this;
that
.$confirm(`导购账号(${row.clerkName})已绑定${row.bindStaffName},是否确认解绑?`, '提示', {
.$confirm(`导购账号(${row.clerkName})已绑定${row.bindStaffName},是否确认解绑?`, '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showClose: false
})
.then(() => {
that.visible = true;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-27 09:14:54
* @LastEditors: 无尘
* @LastEditTime: 2020-12-08 16:19:14
* @LastEditTime: 2020-12-23 11:36:34
-->
<!--
......@@ -135,10 +135,11 @@ export default {
toUnbind(row) {
const that = this;
that
.$confirm(`导购账号(${row.clerkName})已绑定${row.bindStaffName},是否确认解绑?`, '提示', {
.$confirm(`导购账号(${row.clerkName})已绑定${row.bindStaffName},是否确认解绑?`, '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showClose: false
})
.then(() => {
that.postUnbind(row);
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-10-10 17:21:32
* @LastEditors: 无尘
* @LastEditTime: 2020-11-03 18:08:27
* @LastEditTime: 2020-12-23 11:37:48
-->
<!--
<vue-office-header :project-name="projectName" :current-menu-code="currentMenuCode" @collapseTag="collapseTag" @toRouterView="toRouterView"> </vue-office-header>
......@@ -181,8 +181,9 @@ export default {
toLoginOut() {
const that = this;
that
.$confirm('确认退出吗?', '提示', {
type: 'warning'
.$confirm('确认退出吗?', '', {
type: 'warning',
showClose: false
})
.then(() => {
loginOut({})
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-12-08 16:19:25
* @LastEditTime: 2020-12-23 11:37:18
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -197,7 +197,8 @@ export default {
that.$confirm('确定取消审核?', '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showClose: false
}).then(() => {
that.postCancel(item.storeRangeAuditId);
});
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-10-27 11:13:04
* @LastEditTime: 2020-12-23 11:39:43
-->
<template>
<div id="index">
......@@ -327,10 +327,11 @@ export default {
const that = this;
let flag = item.openFlag == 1 ? '关闭' : '开启';
that
.$confirm(`确认${flag}${item.applicationName}】应用吗?`, '提示', {
.$confirm(`确认${flag}${item.applicationName}】应用吗?`, '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showClose: false
})
.then(() => {
that.postSwitch(item);
......@@ -355,10 +356,11 @@ export default {
toAlert() {
const that = this;
that
.$confirm('您所在企业尚未订购好办 ,请前往升级版本后继续使用。', '提示', {
.$confirm('您所在企业尚未订购好办 ,请前往升级版本后继续使用。', '', {
confirmButtonText: '立即前往订购',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showClose: false
})
.then(() => {
window.open('');
......@@ -367,9 +369,10 @@ export default {
toTip() {
const that = this;
that
.$confirm('您没有该功能的使用权限,请联系管理员授权后继续使用。', '提示', {
.$confirm('您没有该功能的使用权限,请联系管理员授权后继续使用。', '', {
confirmButtonText: '知道了',
type: 'warning'
type: 'warning',
showClose: false
})
.then(() => {
window.open('');
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘
* @LastEditTime: 2020-12-22 17:25:50
* @LastEditTime: 2020-12-23 11:41:43
-->
<template>
<div class="unreview-wrap common-set-wrap">
......@@ -336,10 +336,11 @@ export default {
return false;
}
that
.$confirm('是否确认同意?', '提示', {
.$confirm('是否确认同意?', '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
type: 'warning',
showClose: false
})
.then(() => {
that.sendApprove();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment