Commit 608e1c7c by 无尘

fix: 修改授权

parent 15a20f86
.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-9d92d9c0]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-9d92d9c0]{color:#49c958}.auth-commit-admin .font-60[data-v-9d92d9c0]{font-size:60px}.auth-commit-admin .m-t-12[data-v-9d92d9c0]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-9d92d9c0]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-9d92d9c0]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-9d92d9c0]{width:198px}.auth-commit-admin .audit-admin-body[data-v-9d92d9c0]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-9d92d9c0]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-9d92d9c0]: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-36838884]{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-8c8db368]{width:267px}.m-t-35[data-v-8c8db368]{margin-top:35px}.common-bottom-border[data-v-8c8db368]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-8c8db368]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-8c8db368]{display:inline-block;margin-left:-2px}.company-select[data-v-8c8db368]{position:relative}.company-select .el-select-dropdown__item[data-v-8c8db368]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-8c8db368]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-8c8db368]{height:100%}.my-customer-wrap .w-227[data-v-8c8db368]{width:227px}.my-customer-wrap .auth-tip-body[data-v-8c8db368]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-8c8db368]{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-8c8db368]{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-8c8db368]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-8c8db368]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-8c8db368]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-8c8db368]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-8c8db368]{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-9d92d9c0]{width:400px;margin:0 auto}.auth-commit-admin .color-49c958[data-v-9d92d9c0]{color:#49c958}.auth-commit-admin .font-60[data-v-9d92d9c0]{font-size:60px}.auth-commit-admin .m-t-12[data-v-9d92d9c0]{margin-top:12px}.auth-commit-admin .m-t-28[data-v-9d92d9c0]{margin-top:28px}.auth-commit-admin .m-b-32[data-v-9d92d9c0]{margin-bottom:32px}.auth-commit-admin .w-198[data-v-9d92d9c0]{width:198px}.auth-commit-admin .audit-admin-body[data-v-9d92d9c0]{min-width:500px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-9d92d9c0]{position:relative;color:#606266;font-size:14px;padding:0 8px;margin-bottom:10px}.auth-commit-admin .audit-admin-body .audit-admin[data-v-9d92d9c0]: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-36838884]{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-6ff17e52]{width:267px}.m-t-35[data-v-6ff17e52]{margin-top:35px}.common-bottom-border[data-v-6ff17e52]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.el-input-group__prepend[data-v-6ff17e52]{display:inline-block;width:86px;height:32px;line-height:32px;vertical-align:top;border-color:#c4c6cf}.select-search-input[data-v-6ff17e52]{display:inline-block;margin-left:-2px}.company-select[data-v-6ff17e52]{position:relative}.company-select .el-select-dropdown__item[data-v-6ff17e52]{height:52px;line-height:52px}.company-select .text-ellipsis[data-v-6ff17e52]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.my-customer-wrap[data-v-6ff17e52]{height:100%}.my-customer-wrap .w-227[data-v-6ff17e52]{width:227px}.my-customer-wrap .auth-tip-body[data-v-6ff17e52]{width:645px;margin:0 auto}.my-customer-wrap .enterprise-version[data-v-6ff17e52]{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-6ff17e52]{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-6ff17e52]{max-width:348px;white-space:nowrap;overflow:hidden}.right-content[data-v-6ff17e52]{padding:0 20px 20px 20px;min-height:calc(100% - 160px)}.right-content .right-box[data-v-6ff17e52]{background:#fff;min-height:500px;padding:0}.right-content .right-box .apps-content .apps-content-right[data-v-6ff17e52]{width:100%;padding:20px;background:#fff}.right-content .right-box .apps-content .apps-content-right .common-set-wrap[data-v-6ff17e52]{height:100%;background:#fff}
\ No newline at end of file \ No newline at end of file
...@@ -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-05 11:12:18 * @LastEditTime: 2020-11-05 11:16:38
--> -->
<template> <template>
<div class="my-customer-wrap common-set-wrap"> <div class="my-customer-wrap common-set-wrap">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,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 :disabled="!changeFlag&&!authForm.shareRange.length&&authForm.bindRange.length || (authForm.shareStoreMode === '' && authForm.bindStoreMode === '')" type="primary" @click="submitForm('authForm')">下一步</el-button> <el-button :disabled="!changeFlag || (authForm.shareStoreMode === '' && authForm.bindStoreMode === '')" type="primary" @click="submitForm('authForm')">下一步</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -362,8 +362,8 @@ export default { ...@@ -362,8 +362,8 @@ export default {
const that = this; const that = this;
arr.splice(index, 1); arr.splice(index, 1);
that.changeFlag = true; that.changeFlag = true;
that.authForm.shareStoreMode = !that.authForm.shareRange.length && that.authForm.shareStoreMode > 0 ? '' : String(that.authForm.shareStoreMode); // 0 全部 1部分分组 2 部分门店 that.authForm.shareStoreMode = !that.authForm.shareRange.length && that.authForm.shareStoreMode > 0 || that.authForm.shareStoreMode == null || that.authForm.shareStoreMode == -1 ? '' : String(that.authForm.shareStoreMode); // 0 全部 1部分分组 2 部分门店
that.authForm.bindStoreMode = !that.authForm.bindRange.length && that.authForm.bindStoreMode > 0 ? '' : String(that.authForm.bindStoreMode); that.authForm.bindStoreMode = !that.authForm.bindRange.length && that.authForm.bindStoreMode > 0 || that.authForm.bindStoreMode == null || that.authForm.bindStoreMode == -1 ? '' : String(that.authForm.bindStoreMode);
}, },
/** /**
* @description: 选择商户,获取审核管理员 * @description: 选择商户,获取审核管理员
......
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