Commit a8da7ae8 by 无尘

fix: 修改工作台

parent dd6d47c7
.line-h-22[data-v-26024265]{line-height:22px}.line-h-20[data-v-26024265]{line-height:20px}.app-auth-body[data-v-26024265]{width:100%}.app-auth-body .app-auth-head[data-v-26024265]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:left;padding:0 20px;height:46px;color:#fff;background-color:#fff;-webkit-box-shadow:0 4px 6px 0 rgba(221,227,237,.29);box-shadow:0 4px 6px 0 rgba(221,227,237,.29)}.app-auth-body .app-auth-head img[data-v-26024265]{width:22px}.app-auth-body .app-auth-head .web-name[data-v-26024265]{padding-left:10px;font-size:16px;font-weight:600;color:#303133;line-height:22px;background:-webkit-gradient(linear,right top,left top,from(#5b4adb),to(#2da8ff));background:linear-gradient(270deg,#5b4adb,#2da8ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.app-auth-body .app-auth-info[data-v-26024265]{width:100%}.app-auth-body .app-auth-info .app-info-body[data-v-26024265]{width:498px;min-height:374px;margin:50px auto;padding:20px 30px;background:#fff;-webkit-box-shadow:0 5px 9px 0 hsla(0,0%,87.1%,.28);box-shadow:0 5px 9px 0 hsla(0,0%,87.1%,.28);-webkit-box-sizing:border-box;box-sizing:border-box}.app-auth-body .app-auth-info .app-info-body .app-info-title[data-v-26024265]{font-size:16px;font-weight:600;color:#303133;line-height:22px}.app-auth-body .app-auth-info .app-info-body .app-info-detail[data-v-26024265]{min-height:227px;margin-top:25px;padding:15px 20px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #e4e7ed}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-top[data-v-26024265]{border-bottom:1px solid #ebecf0;padding-bottom:15px}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-img[data-v-26024265]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:42px;height:42px;max-width:42px;max-height:42px;border-radius:6px}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-img img[data-v-26024265]{max-width:42px;max-height:42px;border-radius:6px}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-name[data-v-26024265]{font-weight:600}.app-auth-body .app-auth-info .app-info-body .app-info-detail .auth-rights .auth-rights-title[data-v-26024265]{padding:10px 0}.app-auth-body .app-auth-info .app-info-body .app-info-detail .auth-rights ul li[data-v-26024265]{line-height:20px;margin-bottom:5px}.app-auth-body .app-info-btn[data-v-26024265]{margin-top:30px;text-align:right}
\ No newline at end of file
.line-h-22[data-v-59f1be18]{line-height:22px}.line-h-20[data-v-59f1be18]{line-height:20px}.app-auth-body[data-v-59f1be18]{width:100%}.app-auth-body .app-auth-head[data-v-59f1be18]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:left;padding:0 20px;height:46px;color:#fff;background-color:#fff;-webkit-box-shadow:0 4px 6px 0 rgba(221,227,237,.29);box-shadow:0 4px 6px 0 rgba(221,227,237,.29)}.app-auth-body .app-auth-head img[data-v-59f1be18]{width:22px}.app-auth-body .app-auth-head .web-name[data-v-59f1be18]{padding-left:10px;font-size:16px;font-weight:600;color:#303133;line-height:22px;background:-webkit-gradient(linear,right top,left top,from(#5b4adb),to(#2da8ff));background:linear-gradient(270deg,#5b4adb,#2da8ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.app-auth-body .app-auth-info[data-v-59f1be18]{width:100%}.app-auth-body .app-auth-info .app-info-body[data-v-59f1be18]{width:498px;min-height:374px;margin:50px auto;padding:20px 30px;background:#fff;-webkit-box-shadow:0 5px 9px 0 hsla(0,0%,87.1%,.28);box-shadow:0 5px 9px 0 hsla(0,0%,87.1%,.28);-webkit-box-sizing:border-box;box-sizing:border-box}.app-auth-body .app-auth-info .app-info-body .app-info-title[data-v-59f1be18]{font-size:16px;font-weight:600;color:#303133;line-height:22px}.app-auth-body .app-auth-info .app-info-body .app-info-detail[data-v-59f1be18]{min-height:227px;margin-top:25px;padding:15px 20px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #e4e7ed}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-top[data-v-59f1be18]{border-bottom:1px solid #ebecf0;padding-bottom:15px}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-img[data-v-59f1be18]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:42px;height:42px;max-width:42px;max-height:42px;border-radius:6px}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-img img[data-v-59f1be18]{max-width:42px;max-height:42px;border-radius:6px}.app-auth-body .app-auth-info .app-info-body .app-info-detail .app-name[data-v-59f1be18]{font-weight:600}.app-auth-body .app-auth-info .app-info-body .app-info-detail .auth-rights .auth-rights-title[data-v-59f1be18]{padding:10px 0}.app-auth-body .app-auth-info .app-info-body .app-info-detail .auth-rights ul li[data-v-59f1be18]{line-height:20px;margin-bottom:5px}.app-auth-body .app-info-btn[data-v-59f1be18]{margin-top:30px;text-align:right}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a488978"],{"1b5b":function(t,a,i){"use strict";var o=i("cf2c"),n=i.n(o);n.a},"71f6":function(t,a,i){"use strict";i.d(a,"a",(function(){return n}));i("ac6a"),i("456d");var o=i("b775");function n(t,a){t=t||{};var i=Object.keys(t);return i.forEach((function(i){var n=t[i];"string"===typeof n&&(n={url:n}),n.url="".concat(a).concat(n.url),t[i]=function(t,a){return Object(o["a"])(n,t,a)}})),t}},c686:function(t,a,i){"use strict";i.r(a);var o=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("div",{staticClass:"app-auth-body"},[o("div",{staticClass:"app-auth-head cursor-pointer",on:{click:t.toHome}},[o("img",{attrs:{src:i("cf05"),alt:"logo"}}),o("span",{staticClass:"web-name"},[t._v("好办管理平台")])]),o("div",{staticClass:"app-auth-info"},[o("div",{staticClass:"app-info-body"},[o("div",{staticClass:"app-info-title"},[t._v("应用授权")]),o("div",{staticClass:"app-info-detail"},[o("div",{staticClass:"flex app-top"},[o("div",{staticClass:"app-img"},[o("img",{attrs:{src:t.appInfo.iconUrl,alt:"app"}})]),o("div",{staticClass:"flex flex-column p-l-12 flex-space-between"},[o("div",{staticClass:"font-14 color-303133 line-h-22"},[t._v(t._s(t.appInfo.applicationName))]),o("div",{staticClass:"font-12 color-606266 line-h-20"},[t._v(t._s(t.appInfo.introduction))])])]),o("div",{staticClass:"auth-rights"},[o("div",{staticClass:"auth-rights-title font-14 color-909399"},[t._v("授权后将允许"+t._s(t.appInfo.applicationName||"")+"应用进行以下权限操作")]),o("div",[o("ul",t._l(t.rightsList,(function(a,i){return o("li",{key:i+"right",staticClass:"font-14 color-303133"},[t._v(t._s(a.rightsName))])})),0)])])]),o("form",{attrs:{action:"/application-auth-center/oauth/authorize",method:"post"}},[o("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"appId"},domProps:{value:t.appInfo.appId}}),o("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"authorize"},domProps:{value:t.appInfo.authorize}}),o("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"user_oauth_approval"},domProps:{value:t.appInfo.user_oauth_approval}}),o("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"rights"},domProps:{value:t.appInfo.rights}}),o("div",{staticClass:"app-info-btn"},[o("el-checkbox",{staticClass:"p-r-10",model:{value:t.checkAuth,callback:function(a){t.checkAuth=a},expression:"checkAuth"}}),o("el-button",{attrs:{type:"text"},on:{click:t.toProtocol}},[t._v("授权同意《达摩授权服务协议》")]),o("button",{ref:"submitBtn",class:["el-button el-button--primary",t.checkAuth?"":"is-disabled"],attrs:{id:"btn",disabled:!t.checkAuth,type:"submit"}},[t._v("\n 授权\n ")])],1)])])])])},n=[],s=i("71f6"),e={getAuthAppDetail:"/business/authorize/get-application-info",getAppAuthInfo:"/business/authorize/right-list",postAuthRights:"/oauth/authorize"},p=Object(s["a"])(e,"/hb-application-web"),c=p.getAuthAppDetail,u=p.getAppAuthInfo,r={name:"AppAuth",components:{},data:function(){return{appInfo:{appId:"",authorize:"authorize",user_oauth_approval:!0,applicationName:"",introduction:"",iconUrl:"",rights:"[]"},checkAuth:!1,rightsList:[]}},mounted:function(){var t=this;t.getAppData()},methods:{toHome:function(){var t=this;t.$router.push("/app-list")},toProtocol:function(){window.open("/haoban-4/#/gic-protocol","_blank","noopener")},toAuthRights:function(){var t=this;t.$router.push("/")},getAppData:function(){var t=this,a={appId:t.$route.query.appId};c(a).then((function(a){t.appInfo=Object.assign(t.appInfo,a.result||{}),t.getAuthInfo()})).catch((function(t){}))},getAuthInfo:function(){var t=this,a={appId:t.$route.query.appId};u(a).then((function(a){t.rightsList=a.result||[],t.appInfo.rights=JSON.stringify(a.result)||"[]"})).catch((function(t){}))}},watch:{}},l=r,h=(i("1b5b"),i("2877")),f=Object(h["a"])(l,o,n,!1,null,"26024265",null);a["default"]=f.exports},cf05:function(t,a,i){t.exports=i.p+"img/logo.861ef5c7.png"},cf2c:function(t,a,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4dea7aa6"],{"464e":function(t,a,o){},"46b1":function(t,a,o){"use strict";var n=o("464e"),i=o.n(n);i.a},"71f6":function(t,a,o){"use strict";o.d(a,"a",(function(){return i}));o("ac6a"),o("456d");var n=o("b775");function i(t,a){t=t||{};var o=Object.keys(t);return o.forEach((function(o){var i=t[o];"string"===typeof i&&(i={url:i}),i.url="".concat(a).concat(i.url),t[o]=function(t,a){return Object(n["a"])(i,t,a)}})),t}},c686:function(t,a,o){"use strict";o.r(a);var n=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("div",{staticClass:"app-auth-body"},[n("div",{staticClass:"app-auth-head cursor-pointer",on:{click:t.toHome}},[n("img",{attrs:{src:o("cf05"),alt:"logo"}}),n("span",{staticClass:"web-name"},[t._v("好办管理平台")])]),n("div",{staticClass:"app-auth-info"},[n("div",{staticClass:"app-info-body"},[n("div",{staticClass:"app-info-title"},[t._v("应用授权")]),n("div",{staticClass:"app-info-detail"},[n("div",{staticClass:"flex app-top"},[n("div",{staticClass:"app-img"},[n("img",{attrs:{src:t.appInfo.iconUrl,alt:"app"}})]),n("div",{staticClass:"flex flex-column p-l-12 flex-space-between"},[n("div",{staticClass:"font-14 color-303133 line-h-22"},[t._v(t._s(t.appInfo.name||"--"))]),n("div",{staticClass:"font-12 color-606266 line-h-20"},[t._v(t._s(t.appInfo.introduction||"--"))])])]),n("div",{staticClass:"auth-rights"},[n("div",{staticClass:"auth-rights-title font-14 color-909399"},[t._v("授权后将允许"+t._s(t.appInfo.name||"")+"应用进行以下权限操作")]),n("div",[n("ul",t._l(t.rightsList,(function(a,o){return n("li",{key:o+"right",staticClass:"font-14 color-303133"},[t._v(t._s(o+1)+". "+t._s(a.rightsName))])})),0)])])]),n("form",{attrs:{action:"/application-auth-center/oauth/authorize",method:"post"}},[n("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"appId"},domProps:{value:t.appInfo.appId}}),n("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"authorize"},domProps:{value:t.appInfo.authorize}}),n("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"user_oauth_approval"},domProps:{value:t.appInfo.user_oauth_approval}}),n("input",{staticStyle:{display:"none"},attrs:{type:"text",name:"rights"},domProps:{value:t.appInfo.rights}}),n("div",{staticClass:"app-info-btn"},[n("el-checkbox",{staticClass:"p-r-10",model:{value:t.checkAuth,callback:function(a){t.checkAuth=a},expression:"checkAuth"}}),n("el-button",{attrs:{type:"text"},on:{click:t.toProtocol}},[t._v("授权同意《达摩授权服务协议》")]),n("button",{ref:"submitBtn",class:["el-button el-button--primary",t.checkAuth?"":"is-disabled"],attrs:{id:"btn",disabled:!t.checkAuth,type:"submit"}},[t._v("\n 授权\n ")])],1)])])])])},i=[],s=o("71f6"),e={getAuthAppDetail:"/business/authorize/get-application-info",getAppAuthInfo:"/business/authorize/right-list",postAuthRights:"/oauth/authorize"},p=Object(s["a"])(e,"/hb-application-web"),c=p.getAuthAppDetail,u=p.getAppAuthInfo,r={name:"AppAuth",components:{},data:function(){return{appInfo:{appId:"",authorize:"authorize",user_oauth_approval:!0,name:"",introduction:"",iconUrl:"",rights:"[]"},checkAuth:!1,rightsList:[]}},mounted:function(){var t=this;t.getAppData()},methods:{toHome:function(){var t=this;t.$router.push("/app-list")},toProtocol:function(){window.open("/haoban-4/#/gic-protocol","_blank","noopener")},toAuthRights:function(){var t=this;t.$router.push("/")},getAppData:function(){var t=this,a={appId:t.$route.query.appId};c(a).then((function(a){t.appInfo=Object.assign(t.appInfo,a.result||{}),t.getAuthInfo()})).catch((function(t){}))},getAuthInfo:function(){var t=this,a={appId:t.$route.query.appId};u(a).then((function(a){t.rightsList=a.result||[],t.appInfo.rights=JSON.stringify(a.result)||"[]"})).catch((function(t){}))}},watch:{}},l=r,h=(o("46b1"),o("2877")),f=Object(h["a"])(l,n,i,!1,null,"59f1be18",null);a["default"]=f.exports},cf05:function(t,a,o){t.exports=o.p+"img/logo.861ef5c7.png"}}]);
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-10-16 10:18:02
* @LastEditors: 无尘
* @LastEditTime: 2020-10-21 16:18:33
* @LastEditTime: 2020-10-21 16:21:34
-->
<template>
<div class="app-auth-body">
......@@ -20,15 +20,15 @@
<img :src="appInfo.iconUrl" alt="app" />
</div>
<div class="flex flex-column p-l-12 flex-space-between">
<div class="font-14 color-303133 line-h-22">{{appInfo.applicationName}}</div>
<div class="font-12 color-606266 line-h-20">{{appInfo.introduction}}</div>
<div class="font-14 color-303133 line-h-22">{{appInfo.name || '--'}}</div>
<div class="font-12 color-606266 line-h-20">{{appInfo.introduction || '--'}}</div>
</div>
</div>
<div class="auth-rights">
<div class="auth-rights-title font-14 color-909399">授权后将允许{{appInfo.applicationName || ''}}应用进行以下权限操作</div>
<div class="auth-rights-title font-14 color-909399">授权后将允许{{appInfo.name || ''}}应用进行以下权限操作</div>
<div>
<ul>
<li v-for="(item, index) in rightsList" class="font-14 color-303133" :key="index + 'right'">{{item.rightsName}}</li>
<li v-for="(item, index) in rightsList" class="font-14 color-303133" :key="index + 'right'">{{index + 1}}. {{item.rightsName}}</li>
</ul>
</div>
</div>
......@@ -87,7 +87,7 @@ export default {
authorize: 'authorize',
// eslint-disable-next-line
user_oauth_approval: true,
applicationName: '',
name: '',
introduction: '',
iconUrl: '',
rights: '[]'
......
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