d8579e7.js.map 9.0 KB

1
  1. {"version":3,"sources":["webpack:///./pages/product-record/_code.vue?b727","webpack:///./pages/product-record/_code.vue?f7e9","webpack:///./pages/product-record/_code.vue","webpack:///./pages/product-record/_code.vue?cba3","webpack:///./pages/product-record/_code.vue?3f7e"],"names":["module","exports","name","data","record","computed","_objectSpread","mapState","userInfo","this","$store","state","isLogin","email","isPromocollection","test","watch","check","mounted","_this","setTimeout","openDialog","methods","mapMutations","getData","$router","replace","_this2","_asyncToGenerator","regeneratorRuntime","mark","_callee","query","url","res","wrap","_context","prev","next","$route","params","code","version","length","concat","$axios","get","sent","result","stop","component","_vm","_c","_self","directives","rawName","value","expression","staticClass","_v","_s","product_code","product_name","create_time","admin_name","record_reason","image","_l","img","key","attrs","_e","product_size","product_material","color","print","moq","packaging","cycle","competitor","competitor_url","competitor_image","express_freight","express_image","bag_freight","bag_image"],"mappings":"8EACAA,EAAOC,QAAU,CAAC,C,mCCDlB,M,oFCAA,I,2nBAGe,ICH4O,EDG5O,CACbC,KAAM,gBACNC,KAAI,WACF,MAAO,CACLC,OAAQ,CAAC,EAEb,EACAC,SAAQC,IAAA,GACHC,YAAS,CAAC,mBAAiB,IAC9BC,SAAQ,WACN,OAAOC,KAAKC,OAAOC,MAAMH,UAAY,CAAC,CACxC,EACAI,QAAO,WACL,QAASH,KAAKD,SAASK,KACzB,EACAC,kBAAiB,WACf,MAAO,iCAAiCC,KAAKN,KAAKD,SAASK,MAC7D,IAEFG,MAAO,CACLR,SAAQ,WACFC,KAAKG,SACPH,KAAKQ,OAET,GAEFC,QAAO,WAAG,IAAAC,EAAA,KACJV,KAAKG,QACPH,KAAKQ,QAELG,YAAW,WACTD,EAAKE,YACP,GAAG,IAEP,EACAC,QAAOhB,IAAA,GACFiB,YAAa,CAAC,gBAAc,IAC/BN,MAAK,WACCR,KAAKK,kBACPL,KAAKe,UAGLf,KAAKgB,QAAQC,QAAQ,IAEzB,EACMF,QAAO,WAAG,IAAAG,EAAA,YAAAC,Y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AAIgB,GAAIhB,EAAI/C,OAAOiF,WAAW,SAASjB,KAAK,OAAOhB,EAAG,MAAM,CAACiB,IAAID,IAAIE,MAAM,CAAC,IAAMF,IAAI,IAAM,kBAAkB,IAAG,GAAGjB,EAAIoB,MAC5qH,GACsB,IEUpB,EACA,KACA,WACA,MAIa,UAAArB,U","file":"d8579e7.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_code.vue?vue&type=style&index=0&id=74310a5d&prod&lang=scss&scoped=true\"","\nimport { mapMutations, mapState } from 'vuex'\n\nexport default {\n name: 'ProductRecord',\n data() {\n return {\n record: {},\n }\n },\n computed: {\n ...mapState(['dialogVisible']),\n userInfo() {\n return this.$store.state.userInfo || {}\n },\n isLogin() {\n return !!this.userInfo.email\n },\n isPromocollection() {\n return /\\@promocollection.(com\\.au|uk)/.test(this.userInfo.email)\n },\n },\n watch: {\n userInfo() {\n if (this.isLogin) {\n this.check()\n }\n },\n },\n mounted() {\n if (this.isLogin) {\n this.check()\n } else {\n setTimeout(() => {\n this.openDialog()\n }, 500)\n }\n },\n methods: {\n ...mapMutations(['openDialog']),\n check() {\n if (this.isPromocollection) {\n this.getData()\n } else {\n // Nuxt.js 2.x 版本中,this.$router.redirect 方法已经被废弃\n this.$router.replace('/')\n }\n },\n async getData() {\n const query = this.$route.query\n let url = '/uk-api/uk/goods/record/?product_code=' + this.$route.params.code\n if (query.version && query.version.length) {\n url += `&version=${query.version}`\n }\n const res = await this.$axios.get(url)\n this.record = res.result || {}\n },\n },\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_code.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_code.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./_code.vue?vue&type=template&id=74310a5d&scoped=true\"\nimport script from \"./_code.vue?vue&type=script&lang=js\"\nexport * from \"./_code.vue?vue&type=script&lang=js\"\nimport style0 from \"./_code.vue?vue&type=style&index=0&id=74310a5d&prod&lang=scss&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 \"74310a5d\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}