{"version":3,"sources":["webpack:///./src/webapp/chip-card/access-mall/index.vue?7534","webpack:///./src/webapp/chip-card/access-mall/apis.js","webpack:///src/webapp/chip-card/access-mall/index.vue","webpack:///./src/webapp/chip-card/access-mall/index.vue?2ee4","webpack:///./src/webapp/chip-card/access-mall/index.vue","webpack:///./src/webapp/chip-card/access-mall/index.vue?339b","webpack:///./src/apis/regExp.js","webpack:///./src/apis/index.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","staticClass","attrs","_v","class","authSet","fifth_step","_s","permission","on","openSetting","staticRenderFns","Api","constructor","super","userInfo","window","global","$tools","auth","getCurrentUserInfo","mpsCustomerId","sessionStorage","getItem","JSON","parse","partnerId","path","apiMps","getWxInfo","cb","err","$http","get","then","res","data","error","first_step","second_step","third_step","fourth_step","mounted","$apis","Server","methods","$message","warning","open","component","email","apiCrmOS","apiCrmUs","http","axios","allError","isadd","response","headers","resData","msg","errors","map","item","message","join","obj","o","Array","forEach","push","clearAllNull","Object","assign","key","String","trim","type","regExp","self","stack"],"mappings":"sHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,WAAW,CAAC,CAACC,KAAK,aAAaC,QAAQ,iBAAiBC,YAAY,WAAW,CAACL,EAAG,MAAM,CAACK,YAAY,UAAU,CAACL,EAAG,MAAM,CAACM,MAAM,CAAC,MAAQ,OAAO,IAAM,kJAAkJ,IAAM,MAAMN,EAAG,MAAM,CAACK,YAAY,eAAe,CAACL,EAAG,IAAI,CAACK,YAAY,gBAAgB,CAACT,EAAIW,GAAG,WAAWP,EAAG,IAAI,CAACK,YAAY,eAAe,CAACT,EAAIW,GAAG,oBAAoBP,EAAG,IAAI,CAACK,YAAY,iBAAiB,CAACL,EAAG,OAAO,CAACK,YAAY,eAAe,CAACT,EAAIW,GAAG,SAASP,EAAG,OAAO,CAACQ,MAAM,C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3DR,EAAEO,GAAOP,EAAEO,GAAKE,eAFTT,EAAEO,GAKb,OAAOP,EAGT,cAAeU,GACb,OAAOC,EAAOD,GAGhB,gBAAiBE,EAAMtB,GACfA,GAAYA,EAASC,SAAWD,EAASC,QAAQ,kBAA0D,YAAtCD,EAASC,QAAQ,iBAOhFD,EAASC,SACnBqB,EAAKjC,SAASW,GAAYA,EAASuB,OAPnCD,EAAKjC,SAAS,CACZ+B,KAAM,QACNb,QAAUP,GAAYA,EAASrB,OAASqB,EAASrB,KAAKwB,KAAOH,EAASrB,KAAK4B,SAAYP,EAASrB,KAAKyB,QAAUJ,EAASrB,KAAKyB,OAAOC,KAAI,SAAUC,GAChJ,OAAOA,EAAKC,WACXC,KAAK,OAAW,gBAQ3BrB,EAAOjB,KAAOA,EACCiB","file":"js/access-mall.ad0a9769.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"judgeRight\",rawName:\"v-judgeRight\"}],staticClass:\"we-chat\"},[_c('div',{staticClass:\"header\"},[_c('img',{attrs:{\"width\":\"90px\",\"src\":\"https://xmf-bos.jwyun.net/hnjing-xmf/82a04f794ea5a7fc0f136963cf90823b.png?x-bce-process=image/format,f_auto/interlace,i_progressive/resize,w_90\",\"alt\":\"\"}}),_c('div',{staticClass:\"we-chat-tip\"},[_c('p',{staticClass:\"header-title\"},[_vm._v(\"小程序商城\")]),_c('p',{staticClass:\"header-text\"},[_vm._v(\"社交电商,快速转化,流量变现\")]),_c('p',{staticClass:\"header-status\"},[_c('span',{staticClass:\"header-item\"},[_vm._v(\"名片接入:\"),_c('span',{class:[_vm.authSet.fifth_step ? 'header-status-success' : 'header-status-fail']},[_vm._v(_vm._s(_vm.authSet.fifth_step ? '已接入' : '未接入'))])])])]),_c('el-button',{staticClass:\"link-btn\",attrs:{\"disabled\":!_vm.permission('c4703f51-1c18-43af-89f2-f4458e8e2bbf'),\"type\":\"primary\"},on:{\"click\":_vm.openSetting}},[_vm._v(\"前往设置\")])],1),_c('img',{staticClass:\"we-chat-cover\",attrs:{\"width\":\"100%\",\"src\":\"https://xmf-bos.jwyun.net/hnjing-xmf/31cc61ffea7c985a0cd024fc7ff2f54f.png?x-bce-process=image/format,f_auto/interlace,i_progressive\",\"alt\":\"\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Api from '@/apis/index.js'\n\nexport default class extends Api {\n constructor () {\n super()\n const userInfo = window.global.$tools.auth.getCurrentUserInfo()\n this.mpsCustomerId = window.sessionStorage.getItem('mps_customer_orang') && JSON.parse(window.sessionStorage.getItem('mps_customer_orang')).partnerId\n this.path = `${Api.path.apiMps}${this.mpsCustomerId ? `/agent/${userInfo.partnerId}` : ''}/partner/${this.mpsCustomerId || userInfo.partnerId}`\n }\n getWxInfo (cb, err) {\n this.$http.get(`${this.path}/workbench_pc/is-weixin-auth`).then(res => {\n cb(res.data)\n }, this.error(err))\n }\n}\n","\n \n \n \n \n 小程序商城\n 社交电商,快速转化,流量变现\n \n 名片接入:{{ authSet.fifth_step ? '已接入' : '未接入' }}\n \n \n 前往设置\n \n \n \n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=384c7c17&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=384c7c17&prod&lang=less&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"384c7c17\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=384c7c17&prod&lang=less&scoped=true\"","export default {\n email: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/\n}\n","import regExp from './regExp'\nimport axios from 'axios'\nconst path = {\n apiMps: '/saas-ability-mps/v1',\n apiCrmOS: '/paas-ability-os/v1/',\n apiCrmUs: '/paas-ability-us/v1/'\n}\n\nclass Server {\n constructor (http = axios, allError = window.global.$message.warning) {\n this.$http = http\n this.error = function (err, isadd, cb) {\n return function (res) {\n const { response } = res\n if (!(response && response.headers && response.headers['x-response-by'] && response.headers['x-response-by'] === 'gateway')) {\n if (err) {\n err(res.data)\n }\n if (isadd || !err) {\n const resData = res.response.data\n const msg = resData.errors && resData.errors.map(function (item) {\n return item.message || item.msg\n }).join(',')\n allError(msg || resData.message || resData.msg || '系统异常,请稍后再试!')\n }\n }\n cb && cb()\n }\n }\n }\n // 提供方法清空所有为空的字段\n static clearAllNull (obj) {\n let o\n if (obj instanceof Array) {\n o = []\n obj.forEach(function (item) {\n o.push(Server.clearAllNull(item))\n })\n } else if (obj instanceof Object) {\n o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n } else {\n o[key] = Server.clearAllNull(o[key])\n }\n }\n }\n return o || obj\n }\n // 提供方法清空一层为空的obj字段\n static clearNull (obj) {\n const o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n }\n }\n return o\n }\n static clearTrim (obj) {\n const o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n } else if (typeof (o[key]) === 'string' || o[key] instanceof String) {\n o[key] = o[key].trim()\n }\n }\n return o\n }\n // 验证集合\n static regExp (type) {\n return regExp[type]\n }\n\n static $message (self, response) {\n if (!(response && response.headers && response.headers['x-response-by'] && response.headers['x-response-by'] === 'gateway')) {\n self.$message({\n type: 'error',\n message: (response && response.data && (response.data.msg || response.data.message || (response.data.errors && response.data.errors.map(function (item) {\n return item.message\n }).join(',')))) || '网络异常,请稍后再试'\n })\n } else if (!response.headers) {\n self.$message(response && response.stack)\n }\n }\n}\n\nServer.path = path\nexport default Server\n"],"sourceRoot":""}
小程序商城
社交电商,快速转化,流量变现
\n 名片接入:{{ authSet.fifth_step ? '已接入' : '未接入' }}\n