Commit 96b3f2c7 authored by Jennie Shi's avatar Jennie Shi

修改提示

parent f00f03a8
......@@ -206,6 +206,8 @@ export default {
vm.hlsPopup.showConfirm({
title: '提示',
content: '当前用户尚未认证,是否需要验证',
cancelText: '直接提交',
confirmText: '先去认证',
onConfirm: c => {
if (c) {
// 只有自然人需要认证
......
......@@ -302,7 +302,9 @@ export default {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO') {
vm.hlsPopup.showConfirm({
title: '提示',
content: '当前用户尚未认证,是否需要验证',
content: '当前用户尚未认证,是否需要认证',
cancelText: '直接提交',
confirmText: '先去认证',
onConfirm: c => {
if (c) {
// 只有自然人需要认证
......
......@@ -149,13 +149,16 @@ export default {
* @param confirmObject.title 标题
* @param confirmObject.content 内容
* @param confirmObject.onConfirm 确定函数
* @param confirmObject.confirmText 确定函数
* @param confirmObject.cancelText 确定函数
*/
showConfirm: function (confirmObject) {
debugger
let def = {
title: confirmObject.title || '提示',
content: confirmObject.content || '',
confirmText: '确定',
cancelText: '取消',
confirmText: confirmObject.confirmText || '确定',
cancelText: confirmObject.cancelText || '取消',
onConfirm: () => {
confirmObject.onConfirm(1)
},
......
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