提交 32da2629 authored 作者: 王天霸's avatar 王天霸

Merge branch 'test' of http://120.27.146.32:8888/wangfulong/shop-new into test

差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
.entryDetails[data-v-d1c85880]{font-size:16px;width:100%;height:100%;overflow-x:hidden;overflow-y:scroll}.logo-bg[data-v-d1c85880]{height:60px;background:#1890ff}.logo-bg img[data-v-d1c85880]{height:44px;margin:8px 0 8px 20px}.main-con[data-v-d1c85880]{width:70%;margin:30px auto 0}.main-con img[data-v-d1c85880]{width:100%;height:calc(100% + 220px);margin:0 0}.confirm-btn[data-v-d1c85880]{height:100px;width:50%;margin:30px auto 0}.confirm-btn p[data-v-d1c85880]{text-align:center}.confirm-btn p[data-v-d1c85880]:nth-child(2){color:red;font-size:10px}
\ No newline at end of file
.entryDetails[data-v-5a6b65b2]{font-size:16px;width:100%;height:100%;overflow-x:hidden;overflow-y:scroll}.logo-bg[data-v-5a6b65b2]{height:60px;background:#1890ff}.logo-bg img[data-v-5a6b65b2]{height:44px;margin:8px 0 8px 20px}.main-con[data-v-5a6b65b2]{width:70%;margin:30px auto 0}.main-con img[data-v-5a6b65b2]{width:100%;height:calc(100% + 220px);margin:0 0}.confirm-btn[data-v-5a6b65b2]{height:100px;width:50%;margin:30px auto 0}.confirm-btn p[data-v-5a6b65b2]{text-align:center}.confirm-btn p[data-v-5a6b65b2]:nth-child(2){color:red;font-size:10px}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-14356e48"],{"92fc":function(t,n,e){t.exports=e.p+"static/img/4.3f411af6.png"},"93ba":function(t,n,e){},a570:function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"entryDetails"},[e("div",{staticClass:"logo-bg"},[t.settitle&&t.settitle.topLogo?e("img",{attrs:{src:t.settitle.topLogo,alt:""}}):t._e()]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"confirm-btn"},[e("p",[e("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",round:""},on:{click:t.nextStep}},[t._v("\n 立即入驻  "),e("i",{staticClass:"el-icon-right"})])],1)])])},a=[function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"main-con"},[i("img",{attrs:{src:e("92fc"),alt:""}})])}],s=e("5302"),c={name:"Index",data:function(){return{channel_id:0,settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""}}},created:function(){},mounted:function(){},methods:{getIndexInfo:function(){var t=this,n=window.location.host,e={domain:n};Object(s["e"])(e).then((function(n){1==n.code&&(t.channel_id=n.data.channel_id,t.getWebSite())}))},getWebSite:function(){var t=this,n={channel_ids:this.channel_id};Object(s["f"])(n).then((function(n){1==n.code&&n.data.universal_lst&&"null"!=n.data.universal_lst&&(t.settitle=n.data.universal_lst)}))},nextStep:function(){this.$router.push("/fillMainInf")}}},o=c,l=(e("a8f3f"),e("cba8")),r=Object(l["a"])(o,i,a,!1,null,"d1c85880",null);n["default"]=r.exports},a8f3f:function(t,n,e){"use strict";e("93ba")}}]);
//# sourceMappingURL=chunk-14356e48.b7dab0e7.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./public/images/4.png","webpack:///./src/views/entry/process.vue?7984","webpack:///src/views/entry/process.vue","webpack:///./src/views/entry/process.vue?3731","webpack:///./src/views/entry/process.vue","webpack:///./src/views/entry/process.vue?24e2"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","settitle","topLogo","attrs","_e","_v","_m","staticStyle","on","nextStep","staticRenderFns","component"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,6B,kECA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEN,EAAIO,UAAYP,EAAIO,SAASC,QAASJ,EAAG,MAAM,CAACK,MAAM,CAAC,IAAMT,EAAIO,SAASC,QAAQ,IAAM,MAAMR,EAAIU,OAAOV,EAAIW,GAAG,KAAKX,EAAIY,GAAG,GAAGZ,EAAIW,GAAG,KAAKP,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,IAAI,CAACA,EAAG,YAAY,CAACS,YAAY,CAAC,QAAU,YAAYJ,MAAM,CAAC,KAAO,UAAU,MAAQ,IAAIK,GAAG,CAAC,MAAQd,EAAIe,WAAW,CAACf,EAAIW,GAAG,oBAAoBP,EAAG,IAAI,CAACE,YAAY,qBAAqB,QACthBU,EAAkB,CAAC,WAAa,IAAIhB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACK,MAAM,CAAC,IAAM,EAAQ,QAAgC,IAAM,U,YCmBlN,GACE,KAAF,QACE,KAFF,WAGI,MAAJ,CACM,WAAN,EACM,SAAN,CACQ,gBAAR,GACQ,cAAR,EACQ,eAAR,GACQ,WAAR,GACQ,kBAAR,GACQ,YAAR,GACQ,YAAR,GACQ,cAAR,QACQ,gBAAR,QACQ,UAAR,GACQ,QAAR,MAIE,QApBF,aAuBE,QAvBF,aA0BE,QAAF,CAEI,aAFJ,WAEM,IAAN,OAEA,uBACA,GACQ,OAAR,GAEM,OAAN,OAAM,CAAN,qBACA,YACU,EAAV,6BACU,EAAV,kBAKI,WAhBJ,WAgBM,IAAN,OACA,GACQ,YAAR,iBAEM,OAAN,OAAM,CAAN,qBACA,WACA,qDACY,EAAZ,mCAKI,SA5BJ,WA6BM,KAAN,gCC3Eoc,I,yBCQhcQ,EAAY,eACd,EACAlB,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAC,E,4CCnBf","file":"static/js/chunk-14356e48.b7dab0e7.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/4.3f411af6.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"entryDetails\"},[_c('div',{staticClass:\"logo-bg\"},[(_vm.settitle && _vm.settitle.topLogo)?_c('img',{attrs:{\"src\":_vm.settitle.topLogo,\"alt\":\"\"}}):_vm._e()]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"confirm-btn\"},[_c('p',[_c('el-button',{staticStyle:{\"padding\":\"8px 30px\"},attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.nextStep}},[_vm._v(\"\\n 立即入驻  \"),_c('i',{staticClass:\"el-icon-right\"})])],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main-con\"},[_c('img',{attrs:{\"src\":require(\"../../../public/images/4.png\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"entryDetails\">\n <div class=\"logo-bg\">\n <img v-if=\"settitle && settitle.topLogo\" :src=\"settitle.topLogo\" alt=\"\">\n </div>\n <div class=\"main-con\">\n <img src=\"../../../public/images/4.png\" alt=\"\">\n </div>\n <div class=\"confirm-btn\">\n <p>\n <el-button type=\"primary\" round style=\"padding: 8px 30px;\" @click=\"nextStep\">\n 立即入驻&nbsp;&nbsp;<i class=\"el-icon-right\"></i>\n </el-button>\n </p>\n </div>\n </div>\n</template>\n\n<script>\n import {indexInfo, companyCounsel, webSite, getdomain, getallCloudList} from '@/api/webSite'\n export default {\n name: \"Index\",\n data() {\n return {\n channel_id: 0,\n settitle: {\n bottomCopyright: \"\",\n businessHours: 1,\n companyAddress: \"\",\n contactTel: \"\",\n custServiceQrcode: \"\",\n hotlineTel1: \"\",\n hotlineTel2: \"\",\n onlineTimeEnd: \"18:00\",\n onlineTimeStart: \"09:00\",\n recordNum: \"\",\n topLogo: \"\",\n },\n }\n },\n created() {\n // this.getIndexInfo();\n },\n mounted() {\n //this.nextStep();\n },\n methods: {\n /** 获取 channel_id */\n getIndexInfo() {\n let op = 'open'\n let ssa = window.location.host\n const data = {\n domain: ssa,\n }\n indexInfo(data).then(res => {\n if (res.code == 1) {\n this.channel_id = res.data.channel_id\n this.getWebSite()\n }\n })\n },\n /** 获取通用设置 */\n getWebSite() {\n let params = {\n channel_ids: this.channel_id\n }\n webSite(params).then(res => {\n if (res.code == 1) {\n if (res.data.universal_lst && res.data.universal_lst != 'null') {\n this.settitle = res.data.universal_lst\n }\n }\n })\n },\n nextStep() {\n this.$router.push(\"/fillMainInf\");\n },\n }\n }\n</script>\n\n<style lang=\"scss\" type=\"text/stylus\" scoped>\n.entryDetails {\n font-size : 16px;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.logo-bg {\n height: 60px;\n background: #1890ff;\n img {\n height: 44px;\n margin: 8px 0 8px 20px;\n }\n}\n.main-con {\n width: 70%;\n //height : 100%;\n margin: 30px auto 0;\n img {\n width: 100%;\n height: calc(100% + 220px);\n margin: 0 0;\n }\n}\n\n.confirm-btn {\n height: 100px;\n width: 50%;\n margin: 30px auto 0;\n //position: absolute;\n p {\n text-align : center;\n }\n p:nth-child(2) {\n color: red;\n font-size: 10px;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./process.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./process.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./process.vue?vue&type=template&id=d1c85880&scoped=true&\"\nimport script from \"./process.vue?vue&type=script&lang=js&\"\nexport * from \"./process.vue?vue&type=script&lang=js&\"\nimport style0 from \"./process.vue?vue&type=style&index=0&id=d1c85880&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d1c85880\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.5.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./process.vue?vue&type=style&index=0&id=d1c85880&lang=scss&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29994030"],{"92fc":function(t,e,n){t.exports=n.p+"static/img/4.3f411af6.png"},a56b:function(t,e,n){},a570:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"entryDetails"},[n("div",{staticClass:"logo-bg"},[t.settitle&&t.settitle.topLogo?n("img",{attrs:{src:t.settitle.topLogo,alt:""}}):t._e()]),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"confirm-btn"},[n("p",[n("el-button",{staticStyle:{padding:"8px 30px"},attrs:{type:"primary",round:""},on:{click:t.nextStep}},[t._v("\n 立即入驻  "),n("i",{staticClass:"el-icon-right"})])],1)])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main-con"},[i("img",{attrs:{src:n("92fc"),alt:""}})])}],s=n("5302"),c={name:"Index",data:function(){return{channel_id:0,settitle:{bottomCopyright:"",businessHours:1,companyAddress:"",contactTel:"",custServiceQrcode:"",hotlineTel1:"",hotlineTel2:"",onlineTimeEnd:"18:00",onlineTimeStart:"09:00",recordNum:"",topLogo:""}}},created:function(){},mounted:function(){},methods:{getIndexInfo:function(){var t=this,e=(window.location.host,{type:2,site_type:4});Object(s["e"])(e).then((function(e){1==e.code&&(t.channel_id=e.data.channel.id,t.getWebSite())}))},getWebSite:function(){var t=this,e={channel_ids:this.channel_id};Object(s["f"])(e).then((function(e){1==e.code&&e.data.universal_lst&&"null"!=e.data.universal_lst&&(t.settitle=e.data.universal_lst)}))},nextStep:function(){this.$router.push("/fillMainInf")}}},o=c,l=(n("d393"),n("cba8")),r=Object(l["a"])(o,i,a,!1,null,"5a6b65b2",null);e["default"]=r.exports},d393:function(t,e,n){"use strict";n("a56b")}}]);
//# sourceMappingURL=chunk-29994030.fa785f3f.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./public/images/4.png","webpack:///./src/views/entry/process.vue?2bb2","webpack:///src/views/entry/process.vue","webpack:///./src/views/entry/process.vue?3731","webpack:///./src/views/entry/process.vue","webpack:///./src/views/entry/process.vue?16b3"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","settitle","topLogo","attrs","_e","_v","_m","staticStyle","on","nextStep","staticRenderFns","component"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,6B,gECA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEN,EAAIO,UAAYP,EAAIO,SAASC,QAASJ,EAAG,MAAM,CAACK,MAAM,CAAC,IAAMT,EAAIO,SAASC,QAAQ,IAAM,MAAMR,EAAIU,OAAOV,EAAIW,GAAG,KAAKX,EAAIY,GAAG,GAAGZ,EAAIW,GAAG,KAAKP,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,IAAI,CAACA,EAAG,YAAY,CAACS,YAAY,CAAC,QAAU,YAAYJ,MAAM,CAAC,KAAO,UAAU,MAAQ,IAAIK,GAAG,CAAC,MAAQd,EAAIe,WAAW,CAACf,EAAIW,GAAG,oBAAoBP,EAAG,IAAI,CAACE,YAAY,qBAAqB,QACthBU,EAAkB,CAAC,WAAa,IAAIhB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,MAAM,CAACK,MAAM,CAAC,IAAM,EAAQ,QAAgC,IAAM,U,YCmBlN,GACE,KAAF,QACE,KAFF,WAGI,MAAJ,CACM,WAAN,EACM,SAAN,CACQ,gBAAR,GACQ,cAAR,EACQ,eAAR,GACQ,WAAR,GACQ,kBAAR,GACQ,YAAR,GACQ,YAAR,GACQ,cAAR,QACQ,gBAAR,QACQ,UAAR,GACQ,QAAR,MAIE,QApBF,aAuBE,QAvBF,aA0BE,QAAF,CAEI,aAFJ,WAEM,IAAN,OAGA,GADA,qBACA,CACQ,KAAR,EACQ,UAAR,IAGM,OAAN,OAAM,CAAN,qBACA,YACU,EAAV,6BACU,EAAV,kBAKI,WAlBJ,WAkBM,IAAN,OACA,GACQ,YAAR,iBAEM,OAAN,OAAM,CAAN,qBACA,WACA,qDACY,EAAZ,mCAKI,SA9BJ,WA+BM,KAAN,gCC7Eoc,I,wBCQhcQ,EAAY,eACd,EACAlB,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAC,E,2CCnBf","file":"static/js/chunk-29994030.fa785f3f.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/4.3f411af6.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"entryDetails\"},[_c('div',{staticClass:\"logo-bg\"},[(_vm.settitle && _vm.settitle.topLogo)?_c('img',{attrs:{\"src\":_vm.settitle.topLogo,\"alt\":\"\"}}):_vm._e()]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"confirm-btn\"},[_c('p',[_c('el-button',{staticStyle:{\"padding\":\"8px 30px\"},attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.nextStep}},[_vm._v(\"\\n 立即入驻  \"),_c('i',{staticClass:\"el-icon-right\"})])],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main-con\"},[_c('img',{attrs:{\"src\":require(\"../../../public/images/4.png\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"entryDetails\">\n <div class=\"logo-bg\">\n <img v-if=\"settitle && settitle.topLogo\" :src=\"settitle.topLogo\" alt=\"\">\n </div>\n <div class=\"main-con\">\n <img src=\"../../../public/images/4.png\" alt=\"\">\n </div>\n <div class=\"confirm-btn\">\n <p>\n <el-button type=\"primary\" round style=\"padding: 8px 30px;\" @click=\"nextStep\">\n 立即入驻&nbsp;&nbsp;<i class=\"el-icon-right\"></i>\n </el-button>\n </p>\n </div>\n </div>\n</template>\n\n<script>\n import {indexInfo, companyCounsel, webSite, getdomain, getallCloudList} from '@/api/webSite'\n export default {\n name: \"Index\",\n data() {\n return {\n channel_id: 0,\n settitle: {\n bottomCopyright: \"\",\n businessHours: 1,\n companyAddress: \"\",\n contactTel: \"\",\n custServiceQrcode: \"\",\n hotlineTel1: \"\",\n hotlineTel2: \"\",\n onlineTimeEnd: \"18:00\",\n onlineTimeStart: \"09:00\",\n recordNum: \"\",\n topLogo: \"\",\n },\n }\n },\n created() {\n // this.getIndexInfo();\n },\n mounted() {\n //this.nextStep();\n },\n methods: {\n /** 获取 channel_id */\n getIndexInfo() {\n let op = 'open'\n let ssa = window.location.host\n const data = {\n type: 2,\n site_type: 4,\n // domain: ssa,\n }\n indexInfo(data).then(res => {\n if (res.code == 1) {\n this.channel_id = res.data.channel.id\n this.getWebSite()\n }\n })\n },\n /** 获取通用设置 */\n getWebSite() {\n let params = {\n channel_ids: this.channel_id\n }\n webSite(params).then(res => {\n if (res.code == 1) {\n if (res.data.universal_lst && res.data.universal_lst != 'null') {\n this.settitle = res.data.universal_lst\n }\n }\n })\n },\n nextStep() {\n this.$router.push(\"/fillMainInf\");\n },\n }\n }\n</script>\n\n<style lang=\"scss\" type=\"text/stylus\" scoped>\n.entryDetails {\n font-size : 16px;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.logo-bg {\n height: 60px;\n background: #1890ff;\n img {\n height: 44px;\n margin: 8px 0 8px 20px;\n }\n}\n.main-con {\n width: 70%;\n //height : 100%;\n margin: 30px auto 0;\n img {\n width: 100%;\n height: calc(100% + 220px);\n margin: 0 0;\n }\n}\n\n.confirm-btn {\n height: 100px;\n width: 50%;\n margin: 30px auto 0;\n //position: absolute;\n p {\n text-align : center;\n }\n p:nth-child(2) {\n color: red;\n font-size: 10px;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./process.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./process.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./process.vue?vue&type=template&id=5a6b65b2&scoped=true&\"\nimport script from \"./process.vue?vue&type=script&lang=js&\"\nexport * from \"./process.vue?vue&type=script&lang=js&\"\nimport style0 from \"./process.vue?vue&type=style&index=0&id=5a6b65b2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5a6b65b2\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.5.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./process.vue?vue&type=style&index=0&id=5a6b65b2&lang=scss&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-612d55f9"],{6650:function(o,t,e){},dd7b:function(o,t,e){"use strict";e.r(t);e("7ded"),e("8c92"),e("509f");var n,i,c={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",gwToken:"",loginForm:{username:"demo",password:"123456",rememberMe:!1,code:"",uuid:""},loginRules:{},loading:!1,redirect:void 0}},watch:{$route:{handler:function(o){this.redirect=o.query&&o.query.redirect},immediate:!0}},created:function(){this.getssourl()},methods:{getssourl:function(){var o=this,t=window.location.host,e={domain:t};this.$store.dispatch("getssourl",e).then((function(t){1==t.code&&(o.ssourl=t.data.sso_url,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,t=document.location.protocol,e=this;setTimeout((function(){window.location.href=t+"//"+e.ssourl+"/login.html?redirect="+t+"//"+o+"/platformlogin"}),1e3)}}}},s=c,r=(e("eecc"),e("cba8")),u=Object(r["a"])(s,n,i,!1,null,null,null);t["default"]=u.exports},eecc:function(o,t,e){"use strict";e("6650")}}]);
//# sourceMappingURL=chunk-612d55f9.c756653f.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-612d55f9"],{6650:function(o,e,t){},dd7b:function(o,e,t){"use strict";t.r(e);t("7ded"),t("8c92"),t("509f");var n,i,c={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",gwToken:"",loginForm:{username:"demo",password:"123456",rememberMe:!1,code:"",uuid:""},loginRules:{},loading:!1,redirect:void 0}},watch:{$route:{handler:function(o){this.redirect=o.query&&o.query.redirect},immediate:!0}},created:function(){this.getssourl()},methods:{getssourl:function(){var o=this,e=window.location.host,t={type:2,site_type:7,domain:e};this.$store.dispatch("getssourl",t).then((function(e){1==e.code&&(o.ssourl=e.data.channel_site[0].domain,o.tiaozuan())})).catch((function(){}))},tiaozuan:function(){if(console.log(this.gwToken),""==this.gwToken||null==this.gwToken){var o=window.location.host,e=document.location.protocol,t=this;setTimeout((function(){window.location.href=e+"//"+t.ssourl+"/login.html?redirect="+e+"//"+o+"/platformlogin"}),1e3)}}}},s=c,r=(t("eecc"),t("cba8")),u=Object(r["a"])(s,n,i,!1,null,null,null);e["default"]=u.exports},eecc:function(o,e,t){"use strict";t("6650")}}]);
//# sourceMappingURL=chunk-612d55f9.3a3aa1cc.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/login.vue","webpack:///./src/views/login.vue","webpack:///./src/views/login.vue?f39f","webpack:///./src/views/login.vue?7840"],"names":["render","staticRenderFns","name","data","codeUrl","cookiePassword","gwToken","loginForm","username","password","rememberMe","code","uuid","loginRules","loading","redirect","undefined","watch","$route","handler","this","route","query","immediate","created","methods","ssa","window","location","host","type","site_type","domain","tiaozuan","console","log","ht","document","protocol","that","setTimeout","component"],"mappings":"4KAOA,ICPIA,EAAQC,EDOZ,GACEC,KAAM,QACNC,KAFF,WAGI,MAAO,CACLC,QAAS,GACTC,eAAgB,GAChBC,QAAN,GACMC,UAAW,CACTC,SAAU,OACVC,SAAU,SACVC,YAAY,EACZC,KAAM,GACNC,KAAM,IAERC,WAAY,GAGZC,SAAS,EACTC,cAAUC,IAGdC,MAAO,CACLC,OAAQ,CACNC,QAAS,SAAf,GACQC,KAAKL,SAAWM,EAAMC,OAASD,EAAMC,MAAMP,UAE7CQ,WAAW,IAGfC,QA7BF,WA8BI,KAAJ,aAIEC,QAAS,CACP,UADJ,WACA,WAEUC,EAAMC,OAAOC,SAASC,KAEhC,GACQC,KAAM,EACNC,UAAW,EACXC,OAAR,GAEM,KAAN,+BACA,kBACA,YACU,EAAV,qCACU,EAAV,eAGA,uBAIIC,SArBJ,WAuBM,GADAC,QAAQC,IAAIf,KAAKd,SACvB,sCAEQ,IAAIoB,EAAMC,OAAOC,SAASC,KACtBO,EAAKC,SAAST,SAASU,SACvBC,EAAOnB,KACXoB,YAAW,WAEnB,yFAIA,SE3Emb,I,wBDQ/aC,EAAY,eACd,EACAzC,EACAC,GACA,EACA,KACA,KACA,MAIa,aAAAwC,E,2CEnBf","file":"static/js/chunk-612d55f9.3a3aa1cc.js","sourcesContent":["\n\n<script>\nimport { getCodeImg } from \"@/api/login\";\nimport Cookies from \"js-cookie\";\nimport { encrypt, decrypt } from '@/utils/jsencrypt'\n\nexport default {\n name: \"Login\",\n data() {\n return {\n codeUrl: \"\",\n cookiePassword: \"\",\n gwToken:\"\",\n loginForm: {\n username: \"demo\",\n password: \"123456\",\n rememberMe: false,\n code: \"\",\n uuid: \"\"\n },\n loginRules: {\n\n },\n loading: false,\n redirect: undefined\n };\n },\n watch: {\n $route: {\n handler: function(route) {\n this.redirect = route.query && route.query.redirect;\n },\n immediate: true\n }\n },\n created() {\n this.getssourl();\n // this.getCookie();\n // this.getCode();\n },\n methods: {\n getssourl(){\n debugger\n var ssa = window.location.host\n // var ssa = 'scm.jxhh.com'\n let data = {\n type: 2,\n site_type: 7,\n domain:ssa\n }\n this.$store.dispatch('getssourl', data)\n .then((res) => {\n if(res.code==1){\n this.ssourl = res.data.channel_site[0].domain\n this.tiaozuan()\n }\n })\n .catch(() => {\n \n })\n },\n tiaozuan(){\n console.log(this.gwToken)\n if(this.gwToken == \"\" || this.gwToken ==null){\n\n var ssa = window.location.host\n var ht = document.location.protocol \n var that = this\n setTimeout(function (){\n if(ssa =='localhost:1024'){\n window.location.href=ht+'//'+that.ssourl+'/login.html?redirect='+ht+'//'+ssa+'/platformlogin'\n }else{\n window.location.href=ht+'//'+that.ssourl+'/login.html?redirect='+ht+'//'+ssa+'/platformlogin'\n }\n }, 1000)\n }\n },\n // getCode() {\n // getCodeImg().then(res => {\n // this.codeUrl = res.data.base64stringC;\n // this.loginForm.uuid = res.data.idKeyC;\n // });\n // },\n // getCookie() {\n // this.gwToken=this.$store.state.token\n // if(this.gwToken == null){\n // this.tiaozuan();\n // }\n // console.log(\"this.gwToken\",this.gwToken)\n // },\n // handleLogin() {\n // this.$refs.loginForm.validate(valid => {\n // if (valid) {\n\n // this.loading = true;\n // if (this.loginForm.rememberMe) {\n // Cookies.set(\"username\", this.loginForm.username, { expires: 30 });\n // Cookies.set(\"password\", encrypt(this.loginForm.password), { expires: 30 });\n // Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 });\n // } else {\n // Cookies.remove(\"username\");\n // Cookies.remove(\"password\");\n // Cookies.remove('rememberMe');\n // }\n // this.$store\n // .dispatch(\"Login\", this.loginForm)\n // .then(() => {\n // this.$router.push({ path: this.redirect || \"/\" });\n // })\n // .catch(() => {\n // this.loading = false;\n // this.getCode();\n // });\n // }\n // });\n // }\n }\n};\n</script>\n\n<style rel=\"stylesheet/scss\" lang=\"scss\">\n.login {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-image: url(\"../assets/image/login-background.jpg\");\n background-size: cover;\n}\n.title {\n margin: 0px auto 30px auto;\n text-align: center;\n color: #707070;\n}\n\n.login-form {\n border-radius: 6px;\n background: #ffffff;\n width: 400px;\n padding: 25px 25px 5px 25px;\n .el-input {\n height: 38px;\n input {\n height: 38px;\n }\n }\n .input-icon {\n height: 39px;\n width: 14px;\n margin-left: 2px;\n }\n}\n.login-tip {\n font-size: 13px;\n text-align: center;\n color: #bfbfbf;\n}\n.login-code {\n width: 33%;\n height: 38px;\n float: right;\n img {\n cursor: pointer;\n vertical-align: middle;\n width:120px;\n }\n}\n.el-login-footer {\n height: 40px;\n line-height: 40px;\n position: fixed;\n bottom: 0;\n width: 100%;\n text-align: center;\n color: #fff;\n font-family: Arial;\n font-size: 12px;\n letter-spacing: 1px;\n}\n</style>\n","var render, staticRenderFns\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"","export * from \"-!../../node_modules/_mini-css-extract-plugin@0.5.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\""],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/login.vue","webpack:///./src/views/login.vue","webpack:///./src/views/login.vue?f39f","webpack:///./src/views/login.vue?7840"],"names":["render","staticRenderFns","name","data","codeUrl","cookiePassword","gwToken","loginForm","username","password","rememberMe","code","uuid","loginRules","loading","redirect","undefined","watch","$route","handler","this","route","query","immediate","created","methods","ssa","window","location","host","domain","tiaozuan","console","log","ht","document","protocol","that","setTimeout","component"],"mappings":"4KAOA,ICPIA,EAAQC,EDOZ,GACEC,KAAM,QACNC,KAFF,WAGI,MAAO,CACLC,QAAS,GACTC,eAAgB,GAChBC,QAAN,GACMC,UAAW,CACTC,SAAU,OACVC,SAAU,SACVC,YAAY,EACZC,KAAM,GACNC,KAAM,IAERC,WAAY,GAGZC,SAAS,EACTC,cAAUC,IAGdC,MAAO,CACLC,OAAQ,CACNC,QAAS,SAAf,GACQC,KAAKL,SAAWM,EAAMC,OAASD,EAAMC,MAAMP,UAE7CQ,WAAW,IAGfC,QA7BF,WA8BI,KAAJ,aAIEC,QAAS,CACP,UADJ,WACA,WAEUC,EAAMC,OAAOC,SAASC,KAEhC,GACQC,OAAR,GAEM,KAAN,+BACA,kBACA,YACU,EAAV,sBACU,EAAV,eAGA,uBAIIC,SAnBJ,WAqBM,GADAC,QAAQC,IAAIb,KAAKd,SACvB,sCAEQ,IAAIoB,EAAMC,OAAOC,SAASC,KACtBK,EAAKC,SAASP,SAASQ,SACvBC,EAAOjB,KACXkB,YAAW,WAEnB,yFAIA,SEzEmb,I,wBDQ/aC,EAAY,eACd,EACAvC,EACAC,GACA,EACA,KACA,KACA,MAIa,aAAAsC,E,2CEnBf","file":"static/js/chunk-612d55f9.c756653f.js","sourcesContent":["\n\n<script>\nimport { getCodeImg } from \"@/api/login\";\nimport Cookies from \"js-cookie\";\nimport { encrypt, decrypt } from '@/utils/jsencrypt'\n\nexport default {\n name: \"Login\",\n data() {\n return {\n codeUrl: \"\",\n cookiePassword: \"\",\n gwToken:\"\",\n loginForm: {\n username: \"demo\",\n password: \"123456\",\n rememberMe: false,\n code: \"\",\n uuid: \"\"\n },\n loginRules: {\n\n },\n loading: false,\n redirect: undefined\n };\n },\n watch: {\n $route: {\n handler: function(route) {\n this.redirect = route.query && route.query.redirect;\n },\n immediate: true\n }\n },\n created() {\n this.getssourl();\n // this.getCookie();\n // this.getCode();\n },\n methods: {\n getssourl(){\n debugger\n var ssa = window.location.host\n // var ssa = 'scm.jxhh.com'\n let data = {\n domain:ssa\n }\n this.$store.dispatch('getssourl', data)\n .then((res) => {\n if(res.code==1){\n this.ssourl = res.data.sso_url\n this.tiaozuan()\n }\n })\n .catch(() => {\n \n })\n },\n tiaozuan(){\n console.log(this.gwToken)\n if(this.gwToken == \"\" || this.gwToken ==null){\n\n var ssa = window.location.host\n var ht = document.location.protocol \n var that = this\n setTimeout(function (){\n if(ssa =='localhost:1024'){\n window.location.href=ht+'//'+that.ssourl+'/login.html?redirect='+ht+'//'+ssa+'/platformlogin'\n }else{\n window.location.href=ht+'//'+that.ssourl+'/login.html?redirect='+ht+'//'+ssa+'/platformlogin'\n }\n }, 1000)\n }\n },\n // getCode() {\n // getCodeImg().then(res => {\n // this.codeUrl = res.data.base64stringC;\n // this.loginForm.uuid = res.data.idKeyC;\n // });\n // },\n // getCookie() {\n // this.gwToken=this.$store.state.token\n // if(this.gwToken == null){\n // this.tiaozuan();\n // }\n // console.log(\"this.gwToken\",this.gwToken)\n // },\n // handleLogin() {\n // this.$refs.loginForm.validate(valid => {\n // if (valid) {\n\n // this.loading = true;\n // if (this.loginForm.rememberMe) {\n // Cookies.set(\"username\", this.loginForm.username, { expires: 30 });\n // Cookies.set(\"password\", encrypt(this.loginForm.password), { expires: 30 });\n // Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 });\n // } else {\n // Cookies.remove(\"username\");\n // Cookies.remove(\"password\");\n // Cookies.remove('rememberMe');\n // }\n // this.$store\n // .dispatch(\"Login\", this.loginForm)\n // .then(() => {\n // this.$router.push({ path: this.redirect || \"/\" });\n // })\n // .catch(() => {\n // this.loading = false;\n // this.getCode();\n // });\n // }\n // });\n // }\n }\n};\n</script>\n\n<style rel=\"stylesheet/scss\" lang=\"scss\">\n.login {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-image: url(\"../assets/image/login-background.jpg\");\n background-size: cover;\n}\n.title {\n margin: 0px auto 30px auto;\n text-align: center;\n color: #707070;\n}\n\n.login-form {\n border-radius: 6px;\n background: #ffffff;\n width: 400px;\n padding: 25px 25px 5px 25px;\n .el-input {\n height: 38px;\n input {\n height: 38px;\n }\n }\n .input-icon {\n height: 39px;\n width: 14px;\n margin-left: 2px;\n }\n}\n.login-tip {\n font-size: 13px;\n text-align: center;\n color: #bfbfbf;\n}\n.login-code {\n width: 33%;\n height: 38px;\n float: right;\n img {\n cursor: pointer;\n vertical-align: middle;\n width:120px;\n }\n}\n.el-login-footer {\n height: 40px;\n line-height: 40px;\n position: fixed;\n bottom: 0;\n width: 100%;\n text-align: center;\n color: #fff;\n font-family: Arial;\n font-size: 12px;\n letter-spacing: 1px;\n}\n</style>\n","var render, staticRenderFns\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"","export * from \"-!../../node_modules/_mini-css-extract-plugin@0.5.0@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.8@vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c2f4fe6"],{"6b1f":function(t,o,e){"use strict";e.d(o,"g",(function(){return r})),e.d(o,"i",(function(){return a})),e.d(o,"b",(function(){return c})),e.d(o,"d",(function(){return u})),e.d(o,"a",(function(){return i})),e.d(o,"l",(function(){return s})),e.d(o,"j",(function(){return l})),e.d(o,"c",(function(){return d})),e.d(o,"m",(function(){return f})),e.d(o,"e",(function(){return h})),e.d(o,"h",(function(){return p})),e.d(o,"f",(function(){return m})),e.d(o,"k",(function(){return g}));var n=e("b775");function r(t){return Object(n["a"])({url:"/system/index/getInfo",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/local/getOrganization",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/local/brands",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/local/cate",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/local/qualification/list",method:"get",params:t})}},"74bc":function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div")},r=[],a=e("2ca7"),c=e("6b1f"),u=(e("b775"),{name:"Platformlogin",data:function(){return{ssourl:""}},created:function(){this.getssourl()},methods:{getssourl:function(){var t=this,o=window.location.host,e={domain:o};this.$store.dispatch("getssourl",e).then((function(o){1==o.code&&(t.ssourl=o.data.sso_url,t.gotosso())})).catch((function(){}))},gotosso:function(){var t=this,o=this.$route.query.ticket;this.$store.dispatch("Login",{ticket:o}).then((function(o){if(""!=o.token)Object(c["j"])().then((function(o){if(1===o.code)switch(o.data.state){case 0:switch(o.data.status){case 0:t.$router.push({path:"/process"});break;case 1:t.$router.push({path:"/fillShopInf"});break}break;case 1:t.$router.push({path:"/home/index"});break;case 2:t.$router.push({path:"/reviewing"});break;case 3:var e=o.data.Apply.content;t.$router.push({name:"reviewFail",params:{msg:e}});break}else o&&o.msg?a["Notification"].error({title:"提示:",message:o.msg}):a["Notification"].error({title:"提示:",message:"刷新浏览器后,再次登录,若仍不行,请联系我们!"})}));else{t.$store.dispatch("Statistic"),t.$store.dispatch("FedLogOut");var e=window.location.host,n=document.location.protocol,r=t;setTimeout((function(){window.location.href=n+"//"+r.ssourl+"/api/v2/logout?redirect="+n+"//"+e+"/login"}),1e3)}t.loading=!1})).catch((function(){t.$store.dispatch("FedLogOut");var o=window.location.host,e=document.location.protocol,n=t;setTimeout((function(){window.location.href=e+"//"+n.ssourl+"/api/v2/logout?redirect="+e+"//"+o+"/login"}),1e3),t.loading=!1}))}}}),i=u,s=e("cba8"),l=Object(s["a"])(i,n,r,!1,null,null,null);o["default"]=l.exports}}]);
//# sourceMappingURL=chunk-7c2f4fe6.a6e494d8.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c2f4fe6"],{"6b1f":function(t,e,o){"use strict";o.d(e,"g",(function(){return r})),o.d(e,"i",(function(){return a})),o.d(e,"b",(function(){return c})),o.d(e,"d",(function(){return u})),o.d(e,"a",(function(){return i})),o.d(e,"l",(function(){return s})),o.d(e,"j",(function(){return l})),o.d(e,"c",(function(){return d})),o.d(e,"m",(function(){return f})),o.d(e,"e",(function(){return h})),o.d(e,"h",(function(){return p})),o.d(e,"f",(function(){return m})),o.d(e,"k",(function(){return g}));var n=o("b775");function r(t){return Object(n["a"])({url:"/system/index/getInfo",method:"get",params:t})}function a(t){return Object(n["a"])({url:"/local/getOrganization",method:"get",params:t})}function c(t){return Object(n["a"])({url:"/local/organization",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/local/shopbrand",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/local/brands",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/local/upbrands",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/local/getShopInfo",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/local/addShopInfo",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/system/goodsNew/uploadImage",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/local/cate",method:"get",params:t})}function p(t){return Object(n["a"])({url:"/local/check/businessLicense",method:"get",params:t})}function m(t){return Object(n["a"])({url:"/local/check/idCard",method:"get",params:t})}function g(t){return Object(n["a"])({url:"/local/qualification/list",method:"get",params:t})}},"74bc":function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div")},r=[],a=o("2ca7"),c=o("6b1f"),u=(o("b775"),{name:"Platformlogin",data:function(){return{ssourl:""}},created:function(){this.getssourl()},methods:{getssourl:function(){var t=this,e=window.location.host,o={type:2,site_type:7,domain:e};this.$store.dispatch("getssourl",o).then((function(e){1==e.code&&(t.ssourl=e.data.channel_site[0].domain,t.gotosso())})).catch((function(){}))},gotosso:function(){var t=this,e=this.$route.query.ticket;this.$store.dispatch("Login",{ticket:e}).then((function(e){if(""!=e.token)Object(c["j"])().then((function(e){if(1===e.code)switch(e.data.state){case 0:switch(e.data.status){case 0:t.$router.push({path:"/process"});break;case 1:t.$router.push({path:"/fillShopInf"});break}break;case 1:t.$router.push({path:"/home/index"});break;case 2:t.$router.push({path:"/reviewing"});break;case 3:var o=e.data.Apply.content;t.$router.push({name:"reviewFail",params:{msg:o}});break}else e&&e.msg?a["Notification"].error({title:"提示:",message:e.msg}):a["Notification"].error({title:"提示:",message:"刷新浏览器后,再次登录,若仍不行,请联系我们!"})}));else{t.$store.dispatch("Statistic"),t.$store.dispatch("FedLogOut");var o=window.location.host,n=document.location.protocol,r=t;setTimeout((function(){window.location.href=n+"//"+r.ssourl+"/api/v2/logout?redirect="+n+"//"+o+"/login"}),1e3)}t.loading=!1})).catch((function(){t.$store.dispatch("FedLogOut");var e=window.location.host,o=document.location.protocol,n=t;setTimeout((function(){window.location.href=o+"//"+n.ssourl+"/api/v2/logout?redirect="+o+"//"+e+"/login"}),1e3),t.loading=!1}))}}}),i=u,s=o("cba8"),l=Object(s["a"])(i,n,r,!1,null,null,null);e["default"]=l.exports}}]);
//# sourceMappingURL=chunk-7c2f4fe6.76d2fee2.js.map
\ No newline at end of file
差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -211,7 +211,7 @@
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (xhttp.readyState == 4 && xhttp.status == 200) {
var channel_id = JSON.parse(xhttp.response).data.channel_id
var channel_id = JSON.parse(xhttp.response).data.channel.id
if (channel_id == 0) {
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-inon';
......@@ -229,8 +229,14 @@
};
// xhttp.open("GET", '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 正式环境
// xhttp.open("GET", '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 内网开发
xhttp.open("GET", '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 测试环境
xhttp.send();
// xhttp.open("GET", '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='+ssa+'&field='+op, true); // 测试环境
xhttp.open("post", '//'+ ssa +'/api/v1/channelSite/domain/info', true);
let data = {
domain: ssa,
type: 2,
site_type: 4
}
xhttp.send(JSON.stringify(data));
}
</script>
</html>
......@@ -137,10 +137,10 @@ export function importTemplate() {
})
}
export function getBaseSettingTitle(params) {
export function getBaseSettingTitle(data) {
return request({
url: '/system/oem/getBaseSettingTitle',
method: 'get',
params
url: '/system/channelSite/info',
method: 'POST',
data: data
})
}
import request from '@/utils/request'
// 获取渠道id
export function indexInfo(params) {
export function indexInfo(data) {
return request({
// url: '//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel',
url: '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel',
url: '/system/channelSite/info',
// url: '//192.168.26.179:6601/api/v1/oem/webSite/domainChannel',
// url: '//newsys.jxhh.com/api/v1/oem/webSite/domainChannel',
method: 'get',
params
method: 'post',
data
})
}
// 获取所有域名
......@@ -44,19 +44,19 @@ export function getallCloudList(params) {
//获取sso域名
export function getssoUrl(data) {
return request({
// url: '//sysapi.jxhh.com/api/v1/oem/webSite/ssoChannel',
url: '//192.168.26.179:6601/api/v1/oem/webSite/ssoChannel',
url: '/channelSite/domain/info',
// url: '//192.168.26.179:6601/api/v1/oem/webSite/ssoChannel',
// url: '//newsys.jxhh.com/api/v1/oem/webSite/ssoChannel',
method: 'get',
params: data
method: 'post',
data
})
}
// 获取logo
export function backDetailsView(params) {
export function backDetailsView(data) {
return request({
url: '/local/oem/backDetails',
method: 'get',
params
url: '/system/channelSite/info',
method: 'post',
data
})
}
......@@ -91,6 +91,9 @@ export default {
value: val
})
}
},
channelInfo() {
return this.$store.getters.channelInfo
}
},
data(){
......@@ -101,21 +104,30 @@ export default {
},
created() {
/** 获取渠道id */
this.getChannelId()
// this.getChannelId()
},
methods: {
/** 判断渠道 值=0才显示 查看历史数据 链接 */
getChannelId() {
let ssa = window.location.host
const data = {
domain: ssa,
watch: {
channelInfo() {
if (this.channelInfo) {
this.channel_id = this.channelInfo.channel.id
}
indexInfo(data).then(res=> {
if (res.code == 1) {
this.channel_id = res.data.channel_id
}
});
},
},
methods: {
/** 判断渠道 值=0才显示 查看历史数据 链接 */
// getChannelId() {
// let ssa = window.location.host
// const data = {
// type: 2,
// site_type: 4,
// // domain: ssa,
// }
// indexInfo(data).then(res=> {
// if (res.code == 1) {
// this.channel_id = res.data.channel.id
// }
// });
// },
toggleSideBar() {
this.$store.dispatch('app/toggleSideBar')
......@@ -123,11 +135,13 @@ export default {
ssooutinfo(){
var ssa = window.location.host
let data={
type: 2,
site_type: 7,
domain:ssa
}
this.$store.dispatch('getssourl',data).then((res) => {
if(res.code==1){
this.ssourl = res.data.sso_url
this.ssourl = res.data.channel_site[0].domain
this.logout()
}
})
......
......@@ -34,21 +34,35 @@ export default {
logo: logoImg
}
},
computed: {
channelInfo() {
return this.$store.getters.channelInfo
}
},
watch: {
channelInfo() {
this.title = this.channelInfo.channel_site[0].base_setting_res.name
this.logo = this.channelInfo.channel_site[0].base_setting_res.logo
document.title = this.channelInfo.channel_site[0].base_setting_res.title
},
},
mounted() {
this.getBackDetailsView()
// this.getBackDetailsView()
},
methods: {
getBackDetailsView() {
let params = {
type: 'SHOP',
}
backDetailsView(params).then(res => {
if (res.code == 1) {
this.title = res.data[0]['SHOP'].shop_name
this.logo = res.data[0]['SHOP'].shop_logo
}
})
}
// getBackDetailsView() {
// let params = {
// type: 2,
// site_type: 4
// }
// backDetailsView(params).then(res => {
// if (res.code == 1) {
// this.title = res.data.channel_site[0].base_setting_res.name
// this.logo = res.data.channel_site[0].base_setting_res.logo
// document.title = res.data.channel_site[0].base_setting_res.title
// }
// })
// }
}
}
</script>
......
......@@ -49,6 +49,13 @@ export default {
}
}
},
mounted() {
const data = {
type: 2,
site_type: 4
}
this.$store.dispatch('getChannelSiteInfo', data)
},
methods: {
handleClickOutside() {
this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
......
......@@ -16,11 +16,11 @@ router.beforeEach((to, from, next) => {
const hasToken = getToken()
// console.log("getToken()",getToken())
if (hasToken) {
if (sessionStorage.getItem('saveTitle')) {
document.title = sessionStorage.getItem('saveTitle')
} else {
getPageTitle()
}
// if (sessionStorage.getItem('saveTitle')) {
// document.title = sessionStorage.getItem('saveTitle')
// } else {
// getPageTitle()
// }
/* has token*/
if (to.path === '/platformlogin') {
......
......@@ -10,6 +10,7 @@ const getters = {
introduction: state => state.user.introduction,
roles: state => state.user.roles,
permissions: state => state.user.permissions,
permission_routes: state => state.permission.routes
permission_routes: state => state.permission.routes,
channelInfo: state => state.user.channelInfo
}
export default getters
import { login, login2,logout, getInfo, getStatistics } from '@/api/login'
import { getssoUrl } from '@/api/webSite'
import { getssoUrl, backDetailsView } from '@/api/webSite'
import { getToken, setToken, removeToken } from '@/utils/auth'
const user = {
......@@ -18,9 +18,13 @@ const user = {
// 3-审核拒绝;
applyState: -1,
cateFee: 0,
channelInfo: null
},
mutations: {
SET_CHANNELINFO: (state, channelInfo) => {
state.channelInfo = channelInfo
},
SET_SSOURL:(state,ssourl)=>{
state.ssourl = ssourl
},
......@@ -51,13 +55,22 @@ const user = {
},
actions: {
getChannelSiteInfo({commit}, data) {
return new Promise((resolve, reject) => {
backDetailsView(data).then(response => {
if (response.code == 1) {
commit('SET_CHANNELINFO', response.data)
}
})
})
},
getssourl({commit},data){
return new Promise((resolve, reject) => {
getssoUrl(data).then(response => {
const date = response.data
const date = response.data.channel_site[0]
//debugger
if (response.code == 1) {
commit('SET_SSOURL', date.access_token)
commit('SET_SSOURL', date.domain)
}
resolve(response)
}).catch(error => {
......
......@@ -5,10 +5,14 @@ import { getBaseSettingTitle } from '@/api/system/user'
const title = defaultSettings.title || '胜天半子'
export default function getPageTitle() {
getBaseSettingTitle({ type: 'SHOP' }).then(res => {
let params = {
type: 2,
site_type: 4
}
getBaseSettingTitle( params ).then(res => {
if (res.code == 1) {
document.title = res.data
sessionStorage.setItem('saveTitle', res.data)
document.title = res.data.channel_site[0].base_setting_res.title
sessionStorage.setItem('saveTitle', res.data.channel_site[0].base_setting_res.title)
}
})
}
\ No newline at end of file
......@@ -613,7 +613,7 @@
// console.log(222,navigator.userAgent);
},
mounted() {
this.getIndexInfo()
// this.getIndexInfo()
window.addEventListener('scroll', this.handleScroll, true);
},
destroyed() {
......@@ -624,11 +624,23 @@
/** 动态获取 sso 配置域名 */
getssourl() {
var ssa = window.location.host
let data = {domain: ssa}
let data = {
type: 2,
site_type: 7,
domain: ssa
}
this.$store.dispatch('getssourl', data)
.then((res) => {
if (res.code == 1) {
this.ssourl = res.data.sso_url
this.ssourl = res.data.channel_site[0].domain
this.channel_id = res.data.channel.id
this.keyTitle = res.data.channel_site[0].title;
this.keyWords = res.data.channel_site[0].keywords;
this.keyDescriptions = res.data.channel_site[0].describe;
this.getWebSite()
this.getDomain()
this.getAllcloud()
//this.gotosso()
}
}).catch(() => {
......@@ -651,15 +663,17 @@
}
const data = {
// domain: 'newsys.jxhh.com',
domain: ssa,
type: 2,
site_type: 4,
// domain: ssa,
// field: op
}
indexInfo(data).then(res => {
if (res.code == 1) {
this.channel_id = res.data.channel_id
this.keyTitle = res.data.title;
this.keyWords = res.data.keywords;
this.keyDescriptions = res.data.describe;
this.channel_id = res.data.channel.id
this.keyTitle = res.data.channel_site[0].title;
this.keyWords = res.data.channel_site[0].keywords;
this.keyDescriptions = res.data.channel_site[0].describe;
this.getWebSite()
this.getDomain()
this.getAllcloud()
......
......@@ -50,11 +50,13 @@
let op = 'open'
let ssa = window.location.host
const data = {
domain: ssa,
type: 2,
site_type: 4,
// domain: ssa,
}
indexInfo(data).then(res => {
if (res.code == 1) {
this.channel_id = res.data.channel_id
this.channel_id = res.data.channel.id
this.getWebSite()
}
})
......
......@@ -45,12 +45,14 @@ export default {
var ssa = window.location.host
// var ssa = 'scm.jxhh.com'
let data = {
type: 2,
site_type: 7,
domain:ssa
}
this.$store.dispatch('getssourl', data)
.then((res) => {
if(res.code==1){
this.ssourl = res.data.sso_url
this.ssourl = res.data.channel_site[0].domain
this.tiaozuan()
}
})
......
......@@ -20,12 +20,14 @@
var ssa = window.location.host
// var ssa = 'scm.jxhh.com'
let data = {
type: 2,
site_type: 7,
domain:ssa
}
this.$store.dispatch('getssourl', data)
.then((res) => {
if(res.code==1){
this.ssourl = res.data.sso_url
this.ssourl = res.data.channel_site[0].domain
this.gotosso()
}
})
......
......@@ -408,11 +408,13 @@
getChannelId() {
let ssa = window.location.host
const data = {
domain: ssa,
type: 2,
site_type: 4,
// domain: ssa,
}
indexInfo(data).then(res=> {
if (res.code == 1) {
this.channel_id = res.data.channel_id
this.channel_id = res.data.channel.id
}
});
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论