Commit 01bb4b20 by 无尘

fix: 修改授权

parent 67420c0f
.auth-step-body[data-v-c9703e40]{width:400px;margin:0 auto}.el-alert__title[data-v-6246f46e]{line-height:23px}.color-f5222d[data-v-6246f46e]{color:#f5222d}.auth-commit-success[data-v-68854cb4]{margin-top:154px}.auth-commit-success .color-49c958[data-v-68854cb4]{color:#49c958}.auth-commit-success .font-60[data-v-68854cb4]{font-size:60px}.auth-commit-success .m-t-12[data-v-68854cb4]{margin-top:12px}.auth-commit-success .m-t-28[data-v-68854cb4]{margin-top:28px}.input-line-cell[data-v-8106e482]{position:relative;display:inline-block}.w-340[data-v-8106e482]{width:340px}.w-340[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-8106e482] .el-textarea__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1);resize:none;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif}.el-textarea.is-disabled[data-v-8106e482]{opacity:.5}.el-input .is-disabled[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-8106e482]{position:absolute;bottom:-5px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#909399}.auth-commit-admin[data-v-1b25395e]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-1b25395e]{color:#49c958}.auth-commit-admin .font-60[data-v-1b25395e]{font-size:60px}.auth-commit-admin .m-t-12[data-v-1b25395e]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-1b25395e]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-1b25395e]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-1b25395e]{width:198px}.auth-commit-admin .audit-admin-body[data-v-1b25395e]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-1b25395e]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-1b25395e]:nth-child(2n):after{content:"";position:absolute;left:0;top:10px;width:0;height:14px;border-left:1px solid #dcdfe6}.select-tree-wrap[data-v-b0c9cce6]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.m-b-20[data-v-a960be2a]{margin-bottom:20px}.w-173[data-v-a960be2a]{width:173px}.w-267[data-v-5c7df576]{width:267px}.m-t-35[data-v-5c7df576]{margin-top:35px}.common-bottom-border[data-v-5c7df576]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-5c7df576]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-5c7df576]{display:inline-block;margin-left:-2px}.company-select[data-v-5c7df576]{position:relative}.company-select .el-select-dropdown__item[data-v-5c7df576]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-5c7df576]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-5c7df576]{height:100%}.my-customer-wrap .w-227[data-v-5c7df576]{width:227px}.my-customer-wrap .auth-tip-body[data-v-5c7df576]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-5c7df576]{display:inline-block;vertical-align:top;width:76px;height:32px;margin-right:-1px;background:#f5f7fa;border-radius:2px 0 0 2px;border:1px solid #c4c6cf;border-right:0;font-size:14px;color:#c0c4cc;text-align:center}.my-customer-wrap .store-item-content[data-v-5c7df576]{position:relative;width:350px;height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.my-customer-wrap .store-item-content .el-select__tags[data-v-5c7df576]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-5c7df576]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-5c7df576]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-5c7df576]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-5c7df576]{height:100%;background:#fff} .auth-step-body[data-v-c9703e40]{width:400px;margin:0 auto}.el-alert__title[data-v-6246f46e]{line-height:23px}.color-f5222d[data-v-6246f46e]{color:#f5222d}.auth-commit-success[data-v-68854cb4]{margin-top:154px}.auth-commit-success .color-49c958[data-v-68854cb4]{color:#49c958}.auth-commit-success .font-60[data-v-68854cb4]{font-size:60px}.auth-commit-success .m-t-12[data-v-68854cb4]{margin-top:12px}.auth-commit-success .m-t-28[data-v-68854cb4]{margin-top:28px}.input-line-cell[data-v-8106e482]{position:relative;display:inline-block}.w-340[data-v-8106e482]{width:340px}.w-340[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.el-textarea[data-v-8106e482] .el-textarea__inner{font-size:14px;color:#606266;background-color:hsla(0,0%,100%,.1);resize:none;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif}.el-textarea.is-disabled[data-v-8106e482]{opacity:.5}.el-input .is-disabled[data-v-8106e482] .el-input__inner{font-size:14px;color:#fff;background-color:hsla(0,0%,100%,.1)}.tip[data-v-8106e482]{position:absolute;bottom:-5px;right:10px;display:inline-block;line-height:32px;text-align:right;font-size:12px;color:#909399}.auth-commit-admin[data-v-70fb8b02]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-70fb8b02]{color:#49c958}.auth-commit-admin .font-60[data-v-70fb8b02]{font-size:60px}.auth-commit-admin .m-t-12[data-v-70fb8b02]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-70fb8b02]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-70fb8b02]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-70fb8b02]{width:198px}.auth-commit-admin .audit-admin-body[data-v-70fb8b02]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-70fb8b02]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-70fb8b02]:nth-child(2n):after{content:"";position:absolute;left:0;top:10px;width:0;height:14px;border-left:1px solid #dcdfe6}.select-tree-wrap[data-v-b0c9cce6]{height:445px;overflow-y:auto;border:1px solid #e4e7ed}.m-b-20[data-v-a960be2a]{margin-bottom:20px}.w-173[data-v-a960be2a]{width:173px}.w-267[data-v-2ef6551a]{width:267px}.m-t-35[data-v-2ef6551a]{margin-top:35px}.common-bottom-border[data-v-2ef6551a]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-2ef6551a]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-2ef6551a]{display:inline-block;margin-left:-2px}.company-select[data-v-2ef6551a]{position:relative}.company-select .el-select-dropdown__item[data-v-2ef6551a]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-2ef6551a]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-2ef6551a]{height:100%}.my-customer-wrap .w-227[data-v-2ef6551a]{width:227px}.my-customer-wrap .auth-tip-body[data-v-2ef6551a]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-2ef6551a]{display:inline-block;vertical-align:top;width:76px;height:32px;margin-right:-1px;background:#f5f7fa;border-radius:2px 0 0 2px;border:1px solid #c4c6cf;border-right:0;font-size:14px;color:#c0c4cc;text-align:center}.my-customer-wrap .store-item-content[data-v-2ef6551a]{position:relative;width:350px;height:32px;overflow:hidden;white-space:nowrap;border-radius:2px;border:1px solid #c4c6cf;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box}.my-customer-wrap .store-item-content .el-select__tags[data-v-2ef6551a]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-2ef6551a]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-2ef6551a]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-2ef6551a]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-2ef6551a]{height:100%;background:#fff}
\ No newline at end of file \ No newline at end of file
.nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.menu-tree[data-v-e93f0ef4]{width:510px;min-height:460px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border:1px solid #e4e7ed}.menu-tree .first-menu[data-v-e93f0ef4]{-ms-flex-negative:0;flex-shrink:0;width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:#f5f7fa}.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]{padding:0 10px 0 20px;width:100%;height:40px;font-size:14px;font-weight:400;color:#606266;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.menu-tree .first-menu .first-menu-item.active[data-v-e93f0ef4],.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]:hover{background-color:#fff}.menu-tree .first-menu .no-data[data-v-e93f0ef4]{padding-top:20px;text-align:center;font-size:14px;color:#909399;line-height:60px}.menu-tree .all-menu[data-v-e93f0ef4]{padding:20px 0 0 20px;width:calc(100% - 140px)}.menu-tree .all-menu[data-v-e93f0ef4] .el-checkbox.is-disabled+.el-tree-node__label{color:#909399}.edit-store-role-body .nav-wrap[data-v-3364db80]{padding-left:0}.edit-role[data-v-3364db80]{padding:20px;background-color:#fff;height:100%}.resource-list[data-v-3364db80]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.resource-list .resource-item[data-v-3364db80]{padding:10px 20px;width:236px;height:72px;background:#f5f7fa}.resource-list .resource-item .app-name[data-v-3364db80]{font-size:14px;font-weight:700;color:#303133;line-height:20px}.type-title[data-v-3364db80]{font-size:14px;font-weight:400;color:#606266}.type-label[data-v-3364db80]{margin-right:30px;font-size:14px;font-weight:700;color:#303133} .nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.menu-tree[data-v-e93f0ef4]{width:510px;min-height:460px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border:1px solid #e4e7ed}.menu-tree .first-menu[data-v-e93f0ef4]{-ms-flex-negative:0;flex-shrink:0;width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:#f5f7fa}.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]{padding:0 10px 0 20px;width:100%;height:40px;font-size:14px;font-weight:400;color:#606266;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.menu-tree .first-menu .first-menu-item.active[data-v-e93f0ef4],.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]:hover{background-color:#fff}.menu-tree .first-menu .no-data[data-v-e93f0ef4]{padding-top:20px;text-align:center;font-size:14px;color:#909399;line-height:60px}.menu-tree .all-menu[data-v-e93f0ef4]{padding:20px 0 0 20px;width:calc(100% - 140px)}.menu-tree .all-menu[data-v-e93f0ef4] .el-checkbox.is-disabled+.el-tree-node__label{color:#909399}.edit-store-role-body .nav-wrap[data-v-6a9b7640]{padding-left:0}.edit-role[data-v-6a9b7640]{padding:20px;background-color:#fff;height:100%}.resource-list[data-v-6a9b7640]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.resource-list .resource-item[data-v-6a9b7640]{padding:10px 20px;width:236px;height:72px;background:#f5f7fa}.resource-list .resource-item .app-name[data-v-6a9b7640]{font-size:14px;font-weight:700;color:#303133;line-height:20px}.type-title[data-v-6a9b7640]{font-size:14px;font-weight:400;color:#606266}.type-label[data-v-6a9b7640]{margin-right:30px;font-size:14px;font-weight:700;color:#303133}
\ No newline at end of file \ No newline at end of file
.nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.menu-tree[data-v-e93f0ef4]{width:510px;min-height:460px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border:1px solid #e4e7ed}.menu-tree .first-menu[data-v-e93f0ef4]{-ms-flex-negative:0;flex-shrink:0;width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:#f5f7fa}.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]{padding:0 10px 0 20px;width:100%;height:40px;font-size:14px;font-weight:400;color:#606266;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.menu-tree .first-menu .first-menu-item.active[data-v-e93f0ef4],.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]:hover{background-color:#fff}.menu-tree .first-menu .no-data[data-v-e93f0ef4]{padding-top:20px;text-align:center;font-size:14px;color:#909399;line-height:60px}.menu-tree .all-menu[data-v-e93f0ef4]{padding:20px 0 0 20px;width:calc(100% - 140px)}.menu-tree .all-menu[data-v-e93f0ef4] .el-checkbox.is-disabled+.el-tree-node__label{color:#909399}.edit-role-body .nav-wrap[data-v-572f49d8]{padding-left:0} .nav-wrap[data-v-2c2a2724]{padding:12px 20px}.el-breadcrumb__inner.is-link[data-v-2c2a2724]:hover,.el-breadcrumb__inner a[data-v-2c2a2724]:hover{color:#2f54eb}.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner[data-v-2c2a2724]:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724],.el-breadcrumb__item:last-child .el-breadcrumb__inner a[data-v-2c2a2724]:hover{font-weight:700;text-decoration:none;cursor:pointer;color:#303133}.menu-tree[data-v-e93f0ef4]{width:510px;min-height:460px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border:1px solid #e4e7ed}.menu-tree .first-menu[data-v-e93f0ef4]{-ms-flex-negative:0;flex-shrink:0;width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:#f5f7fa}.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]{padding:0 10px 0 20px;width:100%;height:40px;font-size:14px;font-weight:400;color:#606266;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.menu-tree .first-menu .first-menu-item.active[data-v-e93f0ef4],.menu-tree .first-menu .first-menu-item[data-v-e93f0ef4]:hover{background-color:#fff}.menu-tree .first-menu .no-data[data-v-e93f0ef4]{padding-top:20px;text-align:center;font-size:14px;color:#909399;line-height:60px}.menu-tree .all-menu[data-v-e93f0ef4]{padding:20px 0 0 20px;width:calc(100% - 140px)}.menu-tree .all-menu[data-v-e93f0ef4] .el-checkbox.is-disabled+.el-tree-node__label{color:#909399}.edit-role-body .nav-wrap[data-v-57ffb922]{padding-left:0}
\ No newline at end of file \ No newline at end of file
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
* @Author : 无尘 * @Author : 无尘
* @Date : 2020-02-13 14:02:40 * @Date : 2020-02-13 14:02:40
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-08 15:24:08 * @LastEditTime: 2020-11-04 17:01:42
* @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue * @FilePath : j:\公司\haoban-4\src\components\company\auth-commit-success.vue
--> -->
<!-- <!--
提交审核 提交审核
<auth-commit :admin-list="adminList" :reason="reason" @changeStep="changeStep" @returnStep="returnStep"></auth-commit> <auth-commit :load-submit="loadSubmit" :admin-list="adminList" :reason="reason" @changeStep="changeStep" @returnStep="returnStep"></auth-commit>
import authCommitSuccess from '@/components/company/auth-commit.vue'; import authCommitSuccess from '@/components/company/auth-commit.vue';
--> -->
<template> <template>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button @click="cancel">取消</el-button> <el-button @click="cancel">取消</el-button>
<el-button type="primary" :loading="loadBtn" @click="submitForm('commitForm')">提交审核</el-button> <el-button type="primary" :loading="loadSubmit" @click="submitForm('commitForm')">提交审核</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -48,6 +48,10 @@ export default { ...@@ -48,6 +48,10 @@ export default {
limitTextarea limitTextarea
}, },
props: { props: {
loadSubmit: {
type: Boolean,
default: false
},
reason: { reason: {
type: String, type: String,
default: '' default: ''
...@@ -101,22 +105,17 @@ export default { ...@@ -101,22 +105,17 @@ export default {
*/ */
submitForm: _throttle( function(form) { submitForm: _throttle( function(form) {
const that = this; const that = this;
that.loadBtn = true;
that.$refs[form].validate(valid => { that.$refs[form].validate(valid => {
if (valid) { if (valid) {
that.toCommitPost(); that.toCommitPost();
} else { } else {
that.loadBtn = false;
return false; return false;
} }
}); });
}, 5000), }, 500),
toCommitPost() { toCommitPost() {
const that = this; const that = this;
that.$emit('changeStep', that.commitForm.auditReason); that.$emit('changeStep', that.commitForm.auditReason);
that.$nextTick(()=>{
that.loadBtn = false;
});
}, },
/** /**
* @description: 路由跳转 * @description: 路由跳转
......
...@@ -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-11-03 17:08:32 * @LastEditTime: 2020-11-04 15:33:19
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</div> </div>
<!-- 审核员授权 --> <!-- 审核员授权 -->
<div v-if="activeStep == 1" class="commit-success-body m-t-35"> <div v-if="activeStep == 1" class="commit-success-body m-t-35">
<auth-commit :admin-list="adminList" :reason="authForm.auditReason" @changeStep="changeStep" @returnStep="returnStep"></auth-commit> <auth-commit :load-submit="loadSubmit" :admin-list="adminList" :reason="authForm.auditReason" @changeStep="changeStep" @returnStep="returnStep"></auth-commit>
</div> </div>
<!-- 已提交审核 --> <!-- 已提交审核 -->
<div v-if="activeStep == 2" class="commit-success-body"> <div v-if="activeStep == 2" class="commit-success-body">
...@@ -193,7 +193,8 @@ export default { ...@@ -193,7 +193,8 @@ export default {
selectMode: '0', // 选择 全部、分组、门店 selectMode: '0', // 选择 全部、分组、门店
rangeData: [], // 选择的数据 rangeData: [], // 选择的数据
bindType: 1, bindType: 1,
adminList: [] // 审核管理员 adminList: [], // 审核管理员
loadSubmit: false
}; };
}, },
mounted() { mounted() {
...@@ -406,6 +407,7 @@ export default { ...@@ -406,6 +407,7 @@ export default {
changeStep(auditReason) { changeStep(auditReason) {
const that = this; const that = this;
that.authForm.auditReason = emojiToStr(auditReason); that.authForm.auditReason = emojiToStr(auditReason);
that.loadSubmit = true;
const para = { const para = {
enterpriseId: that.authForm.enterpriseId, enterpriseId: that.authForm.enterpriseId,
wxEnterpriseId: that.wxEnterpriseId, wxEnterpriseId: that.wxEnterpriseId,
...@@ -418,6 +420,7 @@ export default { ...@@ -418,6 +420,7 @@ export default {
}; };
postEnterpriseAuth(para) postEnterpriseAuth(para)
.then(res => { .then(res => {
that.loadSubmit = false;
if (res.code == '0000') { if (res.code == '0000') {
that.activeStep = 2; that.activeStep = 2;
}else { }else {
...@@ -428,7 +431,7 @@ export default { ...@@ -428,7 +431,7 @@ export default {
} }
}) })
.catch(function(error) { .catch(function(error) {
that.loadSubmit = false;
}); });
}, },
/** /**
......
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