Commit dc1bb9fb authored by Tyh's avatar Tyh

授权管理添加

parent 0f2e43ec
...@@ -9,20 +9,14 @@ module.exports = merge(prodEnv, { ...@@ -9,20 +9,14 @@ module.exports = merge(prodEnv, {
isMobilePlatform: false, isMobilePlatform: false,
appCode: '"HLS_APP"', appCode: '"HLS_APP"',
clearTable: true, clearTable: true,
//domainUrl:"http://123.125.154.135:10004/core/", // 测试环境
//loginPath: "http://123.125.154.135:10004/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password=", // loginPath: '"http://101.133.225.167/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ',
//rootPath: "http://123.125.154.135:10004/core/r/api", // loginPathRl: '"http://101.133.225.167/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
// basePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=", // basePath: '"http://101.133.225.167/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
//file_view:"http://123.125.154.135:10004/core/r/api/app/fileViewSvc?sysName=dr_dev&apiName=attment_view&attachment_id=", // basePathRl: '"http://101.133.225.167/core/r/api?sysName=wxgzh_hitachics&apiName="',
//filePath: "http://123.125.154.135:10004/core/r/api?sysName=dr_uat&apiName=file_view&", // rootPath: '"http://101.133.225.167/core/r/api"',
// 测试环境 // file_url: '"http://101.133.225.167/file/"',
// loginPath: '"http://hlsapp.hand-china.com/core/oauth/token?client_id=hQGCtxTItRa34PUOgxaD0r7oSPeuEaIB&client_secret=7ee8338c-4a06-44a1-87cc-afa63f8e1bc3&grant_type=password&username=app&password=" ', // domainUrl: "http://101.133.225.167/core/",
// loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
// basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
// basePathRl: '"http://lease.hitachics.com/core/r/api?sysName=wxgzh_hitachics&apiName="',
// rootPath: '"http://lease.hitachics.com/core/r/api"',
// file_url: '"http://lease.hitachics.com/file/"',
// domainUrl: "http://lease.hitachics.com",
// 正式环境 // 正式环境
loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="', loginPathRl: '"http://lease.hitachics.com/core/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=admin&password="',
basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="', basePath: '"http://lease.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName="',
......
This diff is collapsed.
...@@ -581,12 +581,23 @@ ...@@ -581,12 +581,23 @@
</div> </div>
</div> </div>
<p style="margin-top:10px;text-align:center;color:#636363">正面</p> <p style="margin-top:10px;text-align:center;color:#636363">正面</p>
<button <!-- <button
class="next_step" class="next_step"
style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;" style="width:120px;height:30px;border-radius:15px;background-color:#09bb07;color:#FFFFFF;margin:100px 0 0 -60px;position:relative;left:50%;"
@click="logout()" @click="logout()"
>注销 >注销
</button> </button> -->
<div class="button_all">
<div v-if="isManagerFlag=='Y'"
class="next_step"
@click="goAutohrized()"
>授权管理</div>
<div
class="next_step"
@click="logout()"
>注销</div>
</div>
</div> </div>
<!-- 组织其他员工 --> <!-- 组织其他员工 -->
<div v-if="staffType ==='组织其他员工'"> <div v-if="staffType ==='组织其他员工'">
...@@ -723,6 +734,9 @@ ...@@ -723,6 +734,9 @@
@click="logout()" @click="logout()"
>注销 >注销
</button> </button>
</div> </div>
</list-item> </list-item>
</h-content> </h-content>
...@@ -786,6 +800,9 @@ ...@@ -786,6 +800,9 @@
authAttachmentId: "", authAttachmentId: "",
authOrgAttachmentId: "", authOrgAttachmentId: "",
showStatus: "", showStatus: "",
isManagerFlag:"",
managerAuthFlag:"",
}; };
}, },
...@@ -1255,6 +1272,15 @@ ...@@ -1255,6 +1272,15 @@
window.scrollTo(0, Math.max(scrollHeight, 0)); window.scrollTo(0, Math.max(scrollHeight, 0));
}, 100); }, 100);
}, },
// 进入授权管理
goAutohrized(){
this.$router.push({
name: 'AuthorizedAgent',
params: {
id: vm.socialCode
},
})
},
// 查询用户信息 // 查询用户信息
getUserInfo() { getUserInfo() {
var Request = new this.UrlSearch(); //实例化 var Request = new this.UrlSearch(); //实例化
...@@ -1285,6 +1311,12 @@ ...@@ -1285,6 +1311,12 @@
vm.userInfo = data; vm.userInfo = data;
vm.faceAuthStatus = data.faceAuthStatus; vm.faceAuthStatus = data.faceAuthStatus;
vm.orgAuthStatus = data.orgAuthStatus; vm.orgAuthStatus = data.orgAuthStatus;
window.localStorage.setItem('isManagerFlag', data.isManagerFlag)
window.localStorage.setItem('managerAuthFlag', data.managerAuthFlag)
vm.isManagerFlag = data.isManagerFlag
vm.managerAuthFlag = data.managerAuthFlag
vm.agentType = data.dealerFlag ? data.dealerFlag : "Y"; vm.agentType = data.dealerFlag ? data.dealerFlag : "Y";
vm.showStatus = "1"; vm.showStatus = "1";
if (data.ctitype == 2) { if (data.ctitype == 2) {
...@@ -1440,6 +1472,25 @@ ...@@ -1440,6 +1472,25 @@
// float: left; // float: left;
} }
} }
.button_all{
width: 100%;
font-size: 14px;
display: -webkit-flex;
display: flex;
align-items: center;
justify-content: space-around;
-webkit-align-items: center;
-webkit-justify-content: space-around;
.next_step{
// width:30%;
height:30px;
line-height: 30px;
text-align: center;
border-radius:15px;
background-color:#09bb07;
color:#FFFFFF;
}
}
.uppic { .uppic {
height: 100%; height: 100%;
width: 100%; width: 100%;
......
...@@ -26,6 +26,8 @@ import UserRegister from '@/pages/applications/userRegisters/userRegister' ...@@ -26,6 +26,8 @@ import UserRegister from '@/pages/applications/userRegisters/userRegister'
// 企业注册 // 企业注册
import CompanyRegister from '@/pages/applications/userRegisters/companyRegister' import CompanyRegister from '@/pages/applications/userRegisters/companyRegister'
import ReadonlyCompanyReg from '@/pages/applications/userRegisters/readonlyCompanyReg' import ReadonlyCompanyReg from '@/pages/applications/userRegisters/readonlyCompanyReg'
//授权经办人
import AuthorizedAgent from '@/pages/applications/userRegisters/authorizedAgent'
// 个人注册 // 个人注册
import PersonalRegister from '@/pages/applications/userRegisters/personalRegister' import PersonalRegister from '@/pages/applications/userRegisters/personalRegister'
...@@ -193,6 +195,15 @@ export default new Router({ ...@@ -193,6 +195,15 @@ export default new Router({
keepAlive: false keepAlive: false
}, },
}, },
// 授权经办人
{
path: '/AuthorizedAgent',
component: AuthorizedAgent,
name: 'AuthorizedAgent',
meta: {
keepAlive: 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