Commit fede6f7a by 无尘

fix: 修改确认弹窗

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