pos平台端

This commit is contained in:
ybw1997
2020-12-04 18:37:32 +08:00
parent acae75a307
commit 1871f94782
185 changed files with 372 additions and 294 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c910ee5"],{"1db4":function(t,s,a){"use strict";a.r(s);var e=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"wscn-http404-container"},[a("div",{staticClass:"wscn-http404"},[t._m(0),a("div",{staticClass:"bullshit"},[a("div",{staticClass:"bullshit__oops"},[t._v("OOPS!")]),t._m(1),a("div",{staticClass:"bullshit__headline"},[t._v(t._s(t.message))]),a("div",{staticClass:"bullshit__info"},[t._v("Please check that the URL you entered is correct, or click the button below to return to the homepage.")]),a("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[t._v("Back to home")])])])])},c=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:a("a36b"),alt:"404"}}),e("img",{staticClass:"pic-404__child left",attrs:{src:a("26fc"),alt:"404"}}),e("img",{staticClass:"pic-404__child mid",attrs:{src:a("26fc"),alt:"404"}}),e("img",{staticClass:"pic-404__child right",attrs:{src:a("26fc"),alt:"404"}})])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"bullshit__info"},[t._v("All rights reserved "),a("a",{staticStyle:{color:"#20a0ff"},attrs:{href:"/",target:"_blank"}},[t._v("wallstreetcn")])])}],i={name:"Page404",computed:{message:function(){return"The webmaster said that you can not enter this page..."}}},l=i,n=(a("f90d"),a("2877")),r=Object(n["a"])(l,e,c,!1,null,"4049f6a0",null);s["default"]=r.exports},"26fc":function(t,s,a){t.exports=a.p+"static/img/404_cloud.0f4bc32b.png"},a36b:function(t,s,a){t.exports=a.p+"static/img/404.a57b6f31.png"},d6c6:function(t,s,a){},f90d:function(t,s,a){"use strict";var e=a("d6c6"),c=a.n(e);c.a}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d230fe7"],{ef3c:function(e,r,n){"use strict";n.r(r);n("ac1f"),n("5319");var t,u,a={created:function(){var e=this.$route,r=e.params,n=e.query,t=r.path;this.$router.replace({path:"/"+t,query:n})},render:function(e){return e()}},c=a,o=n("2877"),p=Object(o["a"])(c,t,u,!1,null,null,null);r["default"]=p.exports}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-38f8a240"],{"57f8":function(e,t,n){"use strict";var a=n("dfff"),r=n.n(a);r.a},dfff:function(e,t,n){},f926:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"toolbar"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.saveDiyComponent}},[e._v("保存")])],1),n("CreationCampComponent",{staticClass:"right-content"})],1)},r=[],o=(n("d81d"),n("b0c0"),n("96cf"),n("1da1")),i=n("5530"),c=n("2f62"),s=n("b3f3"),u=n("161d"),m=n("6d0e"),p={components:{CreationCampComponent:s["a"]},data:function(){return{customParams:{current:1,map:{},model:{config:"",isCustom:!0,isDelete:0,name:""},order:"descending",size:100,sort:"id"},componentTemplateId:null,currentId:""}},computed:Object(i["a"])({},Object(c["c"])("creationCamp",["diyComponents"])),beforeDestroy:function(){this.initComponents([])},created:function(){this.init(),this.getTemplatePage()},methods:Object(i["a"])(Object(i["a"])({},Object(c["b"])("creationCamp",["initComponents","initTemplatePage","clearFooterComponents"])),{},{init:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var n,a,r,o,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.clearFooterComponents(),e.initComponents([]),e.currentId=e.$route.params.id,e.currentId){t.next=5;break}return t.abrupt("return",!1);case 5:return t.next=7,u["a"].getCmsTemplate(e.currentId);case 7:n=t.sent,a=n.data.data,r=a.config,o=[];try{i=JSON.parse(r),o=i instanceof Array?i:[]}catch(c){o=[]}e.initComponents(o),e.componentTemplateId=a.id;case 14:case"end":return t.stop()}}),t)})))()},getTemplatePage:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var n,a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,m["a"].cmsTemplatePage(e.customParams);case 2:n=t.sent,a=n.data.data.records||[],r=a.map((function(e){var t=e.name,n=e.config;return{value:n,label:t}})),e.initTemplatePage(r);case 6:case"end":return t.stop()}}),t)})))()},saveDiyComponent:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var n,a,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=JSON.stringify(e.diyComponents),t.next=3,u["a"].updateTemplate({config:n,id:e.componentTemplateId});case 3:a=t.sent,r=a.data,o=r.code,0===o&&e.$message({message:e.$t("tips.saveSuccess"),type:"success"});case 7:case"end":return t.stop()}}),t)})))()}})},d=p,f=(n("57f8"),n("2877")),l=Object(f["a"])(d,a,r,!1,null,"a30766f6",null);t["default"]=l.exports}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d2efc9f"],{4191:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"applet-container"},[n("div",{staticClass:"toolbar"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.saveDiyComponent}},[e._v("保存")])],1),n("CreationCampComponent",{staticClass:"right-content"})],1)},o=[],r=(n("99af"),n("4de4"),n("7db0"),n("4160"),n("d81d"),n("b0c0"),n("159b"),n("96cf"),n("1da1")),i=n("5530"),s=n("2f62"),c=n("b3f3"),m=n("161d"),u=n("6d0e"),p={components:{CreationCampComponent:c["a"]},data:function(){return{customParams:{current:1,map:{},model:{config:"",isCustom:!0,isDelete:0,name:""},order:"descending",size:100,sort:"id"},componentTemplateId:null}},computed:Object(i["a"])({},Object(s["c"])("creationCamp",["diyComponents","footerComponent"])),beforeDestroy:function(){this.initComponents([])},created:function(){this.init(),this.getTemplatePage()},methods:Object(i["a"])(Object(i["a"])({},Object(s["b"])("creationCamp",["initComponents","initTemplatePage","setFooterComponents","initFooterComponents"])),{},{init:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n,a,o,r,i,s,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,m["a"].getPlatformTemplate();case 2:n=t.sent,a=n.data.data,o=a.config,r=[];try{i=JSON.parse(o),r=i instanceof Array?i:[]}catch(u){r=[]}s=r.find((function(e){return"Footer"===e.keyCode})),s?(c=s.content,e.setFooterComponents(c)):e.initFooterComponents(),r=r.filter((function(e){return"Footer"!==e.keyCode})),e.initComponents(r),e.componentTemplateId=a.id;case 12:case"end":return t.stop()}}),t)})))()},getTemplatePage:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n,a,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u["a"].cmsTemplatePage(e.customParams);case 2:n=t.sent,a=n.data.data.records||[],o=a.map((function(e){var t=e.name,n=e.id;return{value:n,label:t,isCustom:!0}})),e.initTemplatePage(o);case 6:case"end":return t.stop()}}),t)})))()},saveDiyComponent:function(){var e=this;return Object(r["a"])(regeneratorRuntime.mark((function t(){var n,a,o,r,i,s,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n={keyCode:"Footer",name:"底部导航",content:e.footerComponent},a=e.diyComponents.concat(n),o=!1,r=JSON.stringify(a),a.length&&a.forEach((function(t){var n=t.content;if(n.list&&!n.list.length||n.goodsList&&!n.goodsList.length||n.categoryList&&!n.categoryList.length)return o=!0,e.$message({message:"".concat(t.name,"组件内容不能为空"),type:"error"})})),!o){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,m["a"].updateTemplate({config:r,sCustom:!1,id:e.componentTemplateId});case 9:i=t.sent,s=i.data,c=s.code,0===c&&e.$message({message:e.$t("tips.saveSuccess"),type:"success"});case 13:case"end":return t.stop()}}),t)})))()}})},d=p,f=(n("dde9"),n("2877")),l=Object(f["a"])(d,a,o,!1,null,"a4e1da3e",null);t["default"]=l.exports},dde9:function(e,t,n){"use strict";var a=n("fffe"),o=n.n(a);o.a},fffe:function(e,t,n){}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7214d428"],{"1b3b":function(t,e,i){"use strict";i.r(e);var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[i("el-tab-pane",{attrs:{label:"权限服务",name:"first"}},[i("i-frame",{ref:"authorityDruid",attrs:{src:t.authorityDruid},on:{refresh:t.authorityRefresh}})],1),i("el-tab-pane",{attrs:{label:"文件服务",name:"second"}},[i("i-frame",{ref:"fileDruid",attrs:{src:t.fileDruid},on:{refresh:t.fileRefresh}})],1),i("el-tab-pane",{attrs:{label:"消息服务",name:"third"}},[i("i-frame",{ref:"msgsDruid",attrs:{src:t.msgsDruid},on:{refresh:t.msgsRefresh}})],1)],1)},n=[],s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],style:"height:"+t.height},[i("div",{staticClass:"app-container",staticStyle:{width:"100%",height:"100%"}},[i("el-row",{staticStyle:{margin:"5px 0"}},[i("el-input",{staticStyle:{width:"50%"},attrs:{placeholder:t.$t("common.pleaseInputUrl")},model:{value:t.url,callback:function(e){t.url=e},expression:"url"}}),t._v(" "),i("el-button",{attrs:{type:"success",plain:""},on:{click:t.refresh}},[t._v(t._s(t.$t("table.refresh")))]),i("el-button",{attrs:{type:"info",plain:""},on:{click:t.openInNewPage}},[t._v(t._s(t.$t("table.openInNewPage")))])],1),i("iframe",{staticStyle:{width:"100%",height:"91%"},attrs:{src:t.src,frameborder:"no",scrolling:"auto"}})],1)])},a=[],l={props:{src:{type:String,required:!0}},data:function(){return{height:document.documentElement.clientHeight-87.7+"px",loading:!0,url:this.src}},mounted:function(){var t=this;setTimeout((function(){t.loading=!1}),500),window.onresize=function(){t.height=document.documentElement.clientHeight-87.7+"px"}},methods:{refresh:function(){this.$emit("refresh",this.url)},openInNewPage:function(){window.open(this.url,"_blank")}}},o=l,u=(i("ff99"),i("2877")),c=Object(u["a"])(o,s,a,!1,null,"2a7ebac5",null),d=c.exports,h=i("83d6"),f={components:{iFrame:d},data:function(){return{authorityDruid:"",fileDruid:"",msgsDruid:"",activeName:"first"}},computed:{},mounted:function(){var t=this;setTimeout((function(){t.$notify.info({title:t.$t("common.tips"),message:t.$t("tips.iframeGrant"),duration:5e3})}),1e3),this.authorityDruid=this.druidUrl("authority"),this.$refs.authorityDruid.url=this.authorityDruid,this.fileDruid=this.druidUrl("file"),this.$refs.fileDruid.url=this.fileDruid,this.msgsDruid=this.druidUrl("msgs"),this.$refs.msgsDruid.url=this.msgsDruid},methods:{authorityRefresh:function(t){this.authorityDruid=t},fileRefresh:function(t){this.fileDruid=t},msgsRefresh:function(t){this.msgsDruid=t},handleClick:function(t,e){console.log(t,e)},druidUrl:function(t){return h["druid"][t]?h["druid"][t]["production"]:t}}},m=f,p=Object(u["a"])(m,r,n,!1,null,null,null);e["default"]=p.exports},"78df":function(t,e,i){},"83d6":function(t,e){t.exports={title:"cereshop",springBootAdminUrl:"",swaggerUrl:"",zipkinUrl:"",kibanaUrl:"",socialLoginUrl:""}},ff99:function(t,e,i){"use strict";var r=i("78df"),n=i.n(r);n.a}}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-76d417f9"],{"542c":function(n,w,c){}}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long