Commit 8279b7d3 by 无尘

fix: 修改工作台

parent 64233c1e
.m-b-20[data-v-01532513]{margin-bottom:20px}.app-list[data-v-01532513]{padding:20px 30px;min-height:100%;background-color:#fff}.app-list .page-title[data-v-01532513]{margin-bottom:18px;font-size:16px;font-weight:700;color:#303133;line-height:22px}.app-list .app-item[data-v-01532513]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;float:left;margin-right:20px;margin-bottom:20px;padding:10px;width:185px;height:67px;background:#fff;border-radius:4px;border:1px solid #e4e7ed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.app-list .app-item[data-v-01532513]:hover{-webkit-box-shadow:0 2px 7px 0 rgba(122,138,203,.2);box-shadow:0 2px 7px 0 rgba(122,138,203,.2)}.app-list .app-item:hover .app-item-menu[data-v-01532513]{opacity:1}.app-list .app-item .app-item-menu[data-v-01532513]{position:absolute;top:2px;right:10px;z-index:1;padding:0 2px;opacity:0;border-radius:2px}.app-list .app-item .app-item-menu[data-v-01532513]:hover{background:#f0f5ff}.app-list .app-item .app-item-menu:hover .menu-icon[data-v-01532513]{color:#2f54ed}.app-list .app-item .app-item-menu .menu-icon[data-v-01532513]{color:#909399;cursor:pointer}.app-list .app-item .out-time-tip[data-v-01532513]{position:absolute;right:0;bottom:5px;z-index:1;width:49px;height:17px;font-size:12px;font-weight:400;color:#f5222d;background:rgba(245,34,45,.09);border-radius:100px 0 0 100px}.app-list .app-item .app-logo[data-v-01532513],.app-list .app-item .out-time-tip[data-v-01532513]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.app-list .app-item .app-logo[data-v-01532513]{-ms-flex-negative:0;flex-shrink:0;margin-right:10px;width:46px;height:46px}.app-list .app-item .app-logo img[data-v-01532513]{max-width:100%;max-height:100%}.app-list .app-item .app-logo.no-logo[data-v-01532513]{background:#e4e7ed}.app-list .app-item .app-info[data-v-01532513]{width:calc(100% - 50px)}.app-list .app-item .app-info .app-name[data-v-01532513]{width:100%;font-size:14px;font-weight:400;color:#303133;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-list .app-item .app-info .to-buy[data-v-01532513]{font-size:12px;line-height:17px}.app-list .to-app-center[data-v-01532513]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:172px;height:67px;font-size:14px;font-weight:400;color:#c0c4cc;border-radius:4px;border:1px dashed #e4e7ed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.app-list .to-app-center[data-v-01532513]:hover{color:#2f54ed;border-color:#2f54ed}
\ No newline at end of file
.m-b-20[data-v-c4ea389a]{margin-bottom:20px}.app-list[data-v-c4ea389a]{padding:20px 30px;min-height:100%;background-color:#fff}.app-list .page-title[data-v-c4ea389a]{margin-bottom:18px;font-size:16px;font-weight:700;color:#303133;line-height:22px}.app-list .app-item[data-v-c4ea389a]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;float:left;margin-right:20px;margin-bottom:20px;padding:10px;width:185px;height:67px;background:#fff;border-radius:4px;border:1px solid #e4e7ed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.app-list .app-item[data-v-c4ea389a]:hover{-webkit-box-shadow:0 2px 7px 0 rgba(122,138,203,.2);box-shadow:0 2px 7px 0 rgba(122,138,203,.2)}.app-list .app-item:hover .app-item-menu[data-v-c4ea389a]{opacity:1}.app-list .app-item .app-item-menu[data-v-c4ea389a]{position:absolute;top:2px;right:10px;z-index:1;padding:0 2px;opacity:0;border-radius:2px}.app-list .app-item .app-item-menu[data-v-c4ea389a]:hover{background:#f0f5ff}.app-list .app-item .app-item-menu:hover .menu-icon[data-v-c4ea389a]{color:#2f54ed}.app-list .app-item .app-item-menu .menu-icon[data-v-c4ea389a]{color:#909399;cursor:pointer}.app-list .app-item .out-time-tip[data-v-c4ea389a]{position:absolute;right:0;bottom:5px;z-index:1;width:49px;height:17px;font-size:12px;font-weight:400;color:#f5222d;background:rgba(245,34,45,.09);border-radius:100px 0 0 100px}.app-list .app-item .app-logo[data-v-c4ea389a],.app-list .app-item .out-time-tip[data-v-c4ea389a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.app-list .app-item .app-logo[data-v-c4ea389a]{-ms-flex-negative:0;flex-shrink:0;margin-right:10px;width:46px;height:46px}.app-list .app-item .app-logo img[data-v-c4ea389a]{max-width:100%;max-height:100%}.app-list .app-item .app-logo.no-logo[data-v-c4ea389a]{background:#e4e7ed}.app-list .app-item .app-info[data-v-c4ea389a]{width:calc(100% - 50px)}.app-list .app-item .app-info .app-name[data-v-c4ea389a]{width:100%;font-size:14px;font-weight:400;color:#303133;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-list .app-item .app-info .to-buy[data-v-c4ea389a]{font-size:12px;line-height:17px}.app-list .to-app-center[data-v-c4ea389a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:172px;height:67px;font-size:14px;font-weight:400;color:#c0c4cc;border-radius:4px;border:1px dashed #e4e7ed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.app-list .to-app-center[data-v-c4ea389a]:hover{color:#2f54ed;border-color:#2f54ed}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5fad786e"],{"4a78":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"app-list"},[t._l(t.appList,(function(n,e){return[a("div",{key:e+"cate",staticClass:"m-b-20"},[a("h3",{staticClass:"page-title"},[t._v(t._s(n.applicationCategoryName||"--"))]),a("div",[t._l(n.applications,(function(n){return a("div",{key:n.applicationId,staticClass:"app-item"},[a("el-dropdown",{staticClass:"app-item-menu"},[a("i",{staticClass:"iconfont icongengduo1 menu-icon"}),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(a){return t.toAppBack(n)}}},[t._v("进入")]),a("el-dropdown-item",{nativeOn:{click:function(a){return t.toAppDetail(n)}}},[t._v("应用详情")])],1)],1),a("div",{class:["app-logo",{"no-logo":!n.applicationLogo}]},[n.applicationLogo?a("img",{attrs:{src:n.applicationLogo,alt:""}}):t._e()]),a("div",{staticClass:"app-info"},[a("p",{staticClass:"app-name"},[t._v(t._s(n.applicationName))]),a("el-button",{staticClass:"to-buy",attrs:{type:"text"},on:{click:function(a){return t.toBuy(n)}}},[t._v("去订购 "),a("i",{staticClass:"iconfont iconjiantouxiangyou"})])],1),(new Date).getTime()-n.overTime>0?a("span",{staticClass:"out-time-tip"},[t._v("已过期")]):t._e()],1)})),a("div",{staticClass:"to-app-center",on:{click:t.toAppCenter}},[t._v("\n 前往服务市场 "),a("i",{staticClass:"iconfont iconjiantouxiangyou"})])],2)])]}))],2)},o=[],i=a("8e83"),c=a("5937"),p=a("5b4e"),s=i["a"].getAppList,r=c["a"].getRoleMenu,u={name:"AppList",data:function(){return{appList:[]}},created:function(){this.getAppList(),this.$emit("showTab","/app-list")},methods:{getAppList:function(){var t=this;s().then((function(n){t.appList=n.result||[]}))},toAppBack:function(t){var n=this;if(!t.authType)return window.open("/haoban-4/#/app-detail?appId=".concat(t.appId),"_blank","noopener"),!1;var a={menuId:t.menuId,appType:2};r(a).then((function(a){if(!a.result||!a.result.length)return p["a"].showmsg("该应用您无权限操作,请联系超级管理员!","warning"),!1;n.$router.push("/apps?applicationId=".concat(t.menuId))})).catch((function(t){}))},toAppDetail:function(t){var n=t||{},a=n.appId,e=n.applicationId,o=n.menuId,i=n.authType;if(!i)return window.open("/haoban-4/#/app-detail?appId=".concat(a),"_blank","noopener"),!1;this.$router.push("/app-detail?applicationId=".concat(e,"&appId=").concat(a,"&menuId=").concat(o))},toBuy:function(t){var n=t||{},a=n.applicationId;window.open("/market/hb/product/server/".concat(a),"_blank","noopener")},toAppCenter:function(){window.open("/market/hb/product/allList","_blank","noopener")}}},l=u,d=(a("ac4d"),a("2877")),f=Object(d["a"])(l,e,o,!1,null,"01532513",null);n["default"]=f.exports},5937:function(t,n,a){"use strict";var e=a("71f6"),o={getRoleMenu:"/list-staff-role-menu"};o=Object(e["a"])(o,"/hb-manage-web"),n["a"]=o},"5b4e":function(t,n,a){"use strict";var e=a("5c96");n["a"]={showmsg:function(t,n){Object(e["Message"])({duration:1e3,message:t||"接口异常",type:n})}}},"71f6":function(t,n,a){"use strict";a.d(n,"a",(function(){return o}));a("ac6a"),a("456d");var e=a("b775");function o(t,n){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var o=t[a];"string"===typeof o&&(o={url:o}),o.url="".concat(n).concat(o.url),t[a]=function(t,n){return Object(e["a"])(o,t,n)}})),t}},"8e83":function(t,n,a){"use strict";var e=a("71f6"),o={getAppList:"/app-category-list",getAppDetail:"/application-detail",getMarketAccount:"/get-account-info",refreshMarketAccount:"/refesh-account-info",addMarketAccount:{url:"/bind-service-account",method:"post",useFormData:!0,useIntercept:!1},postPhoneCode:{url:"/send-code",method:"post",useFormData:!0,useIntercept:!1},checkCode:{url:"/validate-code",method:"post",useFormData:!0,useIntercept:!1}};n["a"]=Object(e["a"])(o,"/hb-manage-web")},ac4d:function(t,n,a){"use strict";var e=a("bc40"),o=a.n(e);o.a},bc40:function(t,n,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72c9cf53"],{"252b":function(t,n,a){},"4a78":function(t,n,a){"use strict";a.r(n);var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"app-list"},[t._l(t.appList,(function(n,e){return[a("div",{key:e+"cate",staticClass:"m-b-20"},[a("h3",{staticClass:"page-title"},[t._v(t._s(n.applicationCategoryName||"--"))]),a("div",[t._l(n.applications,(function(n){return a("div",{key:n.applicationId,staticClass:"app-item"},[a("el-dropdown",{staticClass:"app-item-menu"},[a("i",{staticClass:"iconfont icongengduo1 menu-icon"}),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(a){return t.toAppBack(n)}}},[t._v("进入")]),a("el-dropdown-item",{nativeOn:{click:function(a){return t.toAppDetail(n)}}},[t._v("应用详情")])],1)],1),a("div",{class:["app-logo",{"no-logo":!n.applicationLogo}]},[n.applicationLogo?a("img",{attrs:{src:n.applicationLogo,alt:""}}):t._e()]),a("div",{staticClass:"app-info"},[a("p",{staticClass:"app-name"},[t._v(t._s(n.applicationName))]),a("el-button",{staticClass:"to-buy",attrs:{type:"text"},on:{click:function(a){return t.toBuy(n)}}},[t._v("去订购 "),a("i",{staticClass:"iconfont iconjiantouxiangyou"})])],1),(new Date).getTime()-n.overTime>0?a("span",{staticClass:"out-time-tip"},[t._v("已过期")]):t._e()],1)})),a("div",{staticClass:"to-app-center",on:{click:t.toAppCenter}},[t._v("\n 前往服务市场 "),a("i",{staticClass:"iconfont iconjiantouxiangyou"})])],2)])]}))],2)},o=[],i=a("8e83"),c=a("5937"),p=a("5b4e"),s=i["a"].getAppList,r=c["a"].getRoleMenu,u={name:"AppList",data:function(){return{appList:[]}},created:function(){this.getAppList(),this.$emit("showTab","/app-list")},methods:{getAppList:function(){var t=this;s().then((function(n){t.appList=n.result||[]}))},toAppBack:function(t){var n=this;if(!t.authType)return window.open("/haoban-4/#/app-auth?appId=".concat(t.appId),"_blank","noopener"),!1;var a={menuId:t.menuId,appType:2};r(a).then((function(a){if(!a.result||!a.result.length)return p["a"].showmsg("该应用您无权限操作,请联系超级管理员!","warning"),!1;n.$router.push("/apps?applicationId=".concat(t.menuId))})).catch((function(t){}))},toAppDetail:function(t){var n=t||{},a=n.appId,e=n.applicationId,o=n.menuId,i=n.authType;if(!i)return window.open("/haoban-4/#/app-auth?appId=".concat(a),"_blank","noopener"),!1;this.$router.push("/app-detail?applicationId=".concat(e,"&appId=").concat(a,"&menuId=").concat(o))},toBuy:function(t){var n=t||{},a=n.applicationId;window.open("/market/hb/product/server/".concat(a),"_blank","noopener")},toAppCenter:function(){window.open("/market/hb/product/allList","_blank","noopener")}}},l=u,d=(a("b34f"),a("2877")),f=Object(d["a"])(l,e,o,!1,null,"c4ea389a",null);n["default"]=f.exports},5937:function(t,n,a){"use strict";var e=a("71f6"),o={getRoleMenu:"/list-staff-role-menu"};o=Object(e["a"])(o,"/hb-manage-web"),n["a"]=o},"5b4e":function(t,n,a){"use strict";var e=a("5c96");n["a"]={showmsg:function(t,n){Object(e["Message"])({duration:1e3,message:t||"接口异常",type:n})}}},"71f6":function(t,n,a){"use strict";a.d(n,"a",(function(){return o}));a("ac6a"),a("456d");var e=a("b775");function o(t,n){t=t||{};var a=Object.keys(t);return a.forEach((function(a){var o=t[a];"string"===typeof o&&(o={url:o}),o.url="".concat(n).concat(o.url),t[a]=function(t,n){return Object(e["a"])(o,t,n)}})),t}},"8e83":function(t,n,a){"use strict";var e=a("71f6"),o={getAppList:"/app-category-list",getAppDetail:"/application-detail",getMarketAccount:"/get-account-info",refreshMarketAccount:"/refesh-account-info",addMarketAccount:{url:"/bind-service-account",method:"post",useFormData:!0,useIntercept:!1},postPhoneCode:{url:"/send-code",method:"post",useFormData:!0,useIntercept:!1},checkCode:{url:"/validate-code",method:"post",useFormData:!0,useIntercept:!1}};n["a"]=Object(e["a"])(o,"/hb-manage-web")},b34f:function(t,n,a){"use strict";var e=a("252b"),o=a.n(e);o.a}}]);
\ No newline at end of file
......@@ -62,7 +62,7 @@ export default {
toAppBack(appData) {
const that = this;
if (!appData.authType) {
window.open(`/haoban-4/#/app-detail?appId=${appData.appId}`, '_blank', 'noopener');
window.open(`/haoban-4/#/app-auth?appId=${appData.appId}`, '_blank', 'noopener');
return false;
}
const para = {
......@@ -85,7 +85,7 @@ export default {
toAppDetail(appData) {
const { appId, applicationId, menuId, authType } = appData || {};
if (!authType) {
window.open(`/haoban-4/#/app-detail?appId=${appId}`, '_blank', 'noopener');
window.open(`/haoban-4/#/app-auth?appId=${appId}`, '_blank', 'noopener');
return false;
}
this.$router.push(`/app-detail?applicationId=${applicationId}&appId=${appId}&menuId=${menuId}`);
......
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