1 |
- {"version":3,"sources":["webpack:///./components/Tinymce/index.vue?894c","webpack:///./components/Tinymce/index.vue","webpack:///./components/Tinymce/index.vue?d718","webpack:///./components/Tinymce/index.vue?f614","webpack:///./components/Tinymce/plugins.js","webpack:///./components/Tinymce/toolbar.js","webpack:///./components/Tinymce/dynamicLoadScript.js","webpack:///./components/Tinymce/index.vue?519f","webpack:///./components/Bxh.vue?1b2c","webpack:///./components/ExportDialog.vue?e65c","webpack:///./components/Bxh.vue?cdd4","webpack:///./components/Bxh.vue","webpack:///./components/Bxh.vue?bbc9","webpack:///./components/Bxh.vue?b5f5","webpack:///./components/ExportDialog.vue?df42","webpack:///./plugins/bus.js","webpack:///./components/DesignFormDialog.vue?59d4","webpack:///./components/ExportDialog.vue","webpack:///./components/ExportDialog.vue?cc99","webpack:///./components/ExportDialog.vue?d9e9","webpack:///./components/DesignFormDialog.vue?b0ce","webpack:///./pages/design/_id.vue?5f75","webpack:///./components/DesignFormDialog.vue","webpack:///./components/DesignFormDialog.vue?69d5","webpack:///./components/DesignFormDialog.vue?8a6e","webpack:///./assets/img/bxh/export.png","webpack:///./assets/img/bxh/email.png","webpack:///./pages/design/_id.vue?97a1","webpack:///./pages/design/_id.vue","webpack:///./pages/design/_id.vue?9057","webpack:///./pages/design/_id.vue?9304"],"names":["module","exports","name","props","id","type","String","default","Date","Math","random","toFixed","value","toolbar","Array","required","menubar","height","Number","width","data","hasChange","hasInit","tinymceId","this","fullscreen","languageTypeList","computed","language","$store","getters","containerWidth","test","concat","watch","val","_this2","$nextTick","window","tinymce","get","setContent","_this3","destroyTinymce","initTinymce","mounted","init","activated","deactivated","destroyed","methods","_this4","load","err","$message","error","message","_this5","_this","selector","body_class","object_resizing","length","plugins","end_container_on_empty_block","powerpaste_word_import","code_dialog_height","code_dialog_width","advlist_bullet_styles","advlist_number_styles","imagetools_cors_hosts","default_link_target","link_title","nonbreaking_force_tab","init_instance_callback","editor","on","$emit","getContent","setup","e","state","convert_urls","execCommand","destroy","imageSuccessCBK","arr","_this6","forEach","v","insertContent","url","component","_vm","_c","_self","staticClass","class","style","attrs","callbacks","dynamicLoadScript","src","callback","existingScript","document","getElementById","cb","script","createElement","body","appendChild","push","onEnd","onload","onerror","_step","_iterator","_createForOfIteratorHelper","s","n","done","f","Error","onreadystatechange","readyState","_step2","_iterator2","head","link","rel","href","bxhType","design","templateArr","iframe","createBxh","addEventListener","receiveData","beforeDestroy","removeEventListener","_asyncToGenerator","regeneratorRuntime","mark","_callee","companyToken","token","_token","wrap","_context","prev","next","$axios","sent","result","stop","BXHIframe","elCls","prefixCls","locale","params","token3D","project_id","isShowRotate","isShowFold","event","_JSON$parse","JSON","parse","preDesignParams","preDesign","_objectSpread","render","console","log","Vue","title","sendbtnCext","isSendPdf","Boolean","labelShow","emailForm","rules","labelWidth","visible","copyUrl","key","clipboard","Clipboard","success","handleClose","$event","ref","_l","model","$$v","$set","expression","preventDefault","_v","components","Tinymce","formConfig","formData","Object","top","handleSend","$refs","ruleForm","validate","valid","Bus","item","label","prop","disabled","readonly","placeholder","inputType","change","_e","multiple","selectList","parseInt","staticStyle","slot","_s","installComponents","layout","exportDialogVisible","emailDialogVisible","exportForm","Link","Artwork","from","to","cc","subject","job_name","pdf","notes","trigger","pattern","pdf_id","location","origin","$route","$cookies","openExportFrom","openEmailFrom","sendMail","post","then","res","$confirm","confirmButtonText","showCancelButton","center","showClose","catch","require","Bxh","ExportDialog","DesignFormDialog"],"mappings":"uFACAA,EAAOC,QAAU,CAAC,C,0ECDlB,I,2BCA2P,EDa5O,CACbC,KAAM,UAENC,MAAO,CACLC,GAAI,CACFC,KAAMC,OACNC,QAAS,WACP,MAAO,iBAAkB,IAAIC,MAA2B,IAAhBC,KAAKC,UAAiBC,QAAQ,EACxE,GAEFC,MAAO,CACLP,KAAMC,OACNC,QAAS,IAEXM,QAAS,CACPR,KAAMS,MACNC,UAAU,EACVR,QAAO,WACL,MAAO,EACT,GAEFS,QAAS,CACPX,KAAMC,OACNC,QAAS,sC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,EAAQ,KAAqD9P,QAAQ+P,aAAc,EAAQ,KAA8D/P,QAAQgQ,iBAAkB,EAAQ,KAAkEhQ,S","file":"8e9cdd1.js","sourcesContent":["// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\n/**\n * docs:\n * https://panjiachen.github.io/vue-element-admin-site/feature/component/rich-editor.html#tinymce\n */\n// import editorImage from './components/EditorImage'\nimport plugins from './plugins'\nimport toolbar from './toolbar'\nimport load from './dynamicLoadScript'\n\n// why use this cdn, detail see https://github.com/PanJiaChen/tinymce-all-in-one\nconst tinymceCDN = '//cdn.jsdelivr.net/npm/tinymce-all-in-one@4.9.3/tinymce.min.js'\n\nexport default {\n name: 'Tinymce',\n // components: { editorImage },\n props: {\n id: {\n type: String,\n default: function() {\n return 'vue-tinymce-' + +new Date() + ((Math.random() * 1000).toFixed(0) + '')\n }\n },\n value: {\n type: String,\n default: ''\n },\n toolbar: {\n type: Array,\n required: false,\n default() {\n return []\n }\n },\n menubar: {\n type: String,\n default: 'file edit insert view format table'\n },\n height: {\n type: [Number, String],\n required: false,\n default: 360\n },\n width: {\n type: [Number, String],\n required: false,\n default: 'auto'\n }\n },\n data() {\n return {\n hasChange: false,\n hasInit: false,\n tinymceId: this.id,\n fullscreen: false,\n languageTypeList: {\n 'en': 'en',\n 'zh': 'zh_CN',\n 'es': 'es_MX',\n 'ja': 'ja'\n }\n }\n },\n computed: {\n language() {\n return this.languageTypeList[this.$store.getters.language]\n },\n containerWidth() {\n const width = this.width\n if (/^[\\d]+(\\.[\\d]+)?$/.test(width)) { // matches `100`, `'100'`\n return `${width}px`\n }\n return width\n }\n },\n watch: {\n value(val) {\n if (!this.hasChange && this.hasInit) {\n this.$nextTick(() =>\n window.tinymce.get(this.tinymceId).setContent(val || ''))\n }\n },\n language() {\n this.destroyTinymce()\n this.$nextTick(() => this.initTinymce())\n }\n },\n mounted() {\n this.init()\n },\n activated() {\n if (window.tinymce) {\n this.initTinymce()\n }\n },\n deactivated() {\n this.destroyTinymce()\n },\n destroyed() {\n this.destroyTinymce()\n },\n methods: {\n init() {\n // dynamic load tinymce from cdn\n load(tinymceCDN, (err) => {\n if (err) {\n this.$message.error(err.message)\n return\n }\n this.initTinymce()\n })\n },\n initTinymce() {\n const _this = this\n window.tinymce.init({\n language: this.language,\n selector: `#${this.tinymceId}`,\n height: this.height,\n body_class: 'panel-body ',\n object_resizing: false,\n toolbar: this.toolbar.length > 0 ? this.toolbar : toolbar,\n menubar: this.menubar,\n plugins: plugins,\n end_container_on_empty_block: true,\n powerpaste_word_import: 'clean',\n code_dialog_height: 450,\n code_dialog_width: 1000,\n advlist_bullet_styles: 'square',\n advlist_number_styles: 'default',\n imagetools_cors_hosts: ['www.tinymce.com', 'codepen.io'],\n default_link_target: '_blank',\n link_title: false,\n nonbreaking_force_tab: true, // inserting nonbreaking space need Nonbreaking Space Plugin\n init_instance_callback: editor => {\n if (_this.value) {\n editor.setContent(_this.value)\n }\n _this.hasInit = true\n editor.on('NodeChange Change KeyUp SetContent', () => {\n this.hasChange = true\n this.$emit('input', editor.getContent())\n })\n },\n setup(editor) {\n editor.on('FullscreenStateChanged', (e) => {\n _this.fullscreen = e.state\n })\n },\n // it will try to keep these URLs intact\n // https://www.tiny.cloud/docs-3x/reference/configuration/Configuration3x@convert_urls/\n // https://stackoverflow.com/questions/5196205/disable-tinymce-absolute-to-relative-url-conversions\n convert_urls: false\n // 整合七牛上传\n // images_dataimg_filter(img) {\n // setTimeout(() => {\n // const $image = $(img);\n // $image.removeAttr('width');\n // $image.removeAttr('height');\n // if ($image[0].height && $image[0].width) {\n // $image.attr('data-wscntype', 'image');\n // $image.attr('data-wscnh', $image[0].height);\n // $image.attr('data-wscnw', $image[0].width);\n // $image.addClass('wscnph');\n // }\n // }, 0);\n // return img\n // },\n // images_upload_handler(blobInfo, success, failure, progress) {\n // progress(0);\n // const token = _this.$store.getters.token;\n // getToken(token).then(response => {\n // const url = response.data.qiniu_url;\n // const formData = new FormData();\n // formData.append('shop-token', response.data.qiniu_token);\n // formData.append('key', response.data.qiniu_key);\n // formData.append('file', blobInfo.blob(), url);\n // upload(formData).then(() => {\n // success(url);\n // progress(100);\n // })\n // }).catch(err => {\n // failure('出现未知问题,刷新页面,或者联系程序员')\n // console.log(err);\n // });\n // },\n })\n },\n destroyTinymce() {\n const tinymce = window.tinymce.get(this.tinymceId)\n if (this.fullscreen) {\n tinymce.execCommand('mceFullScreen')\n }\n\n if (tinymce) {\n tinymce.destroy()\n }\n },\n setContent(value) {\n window.tinymce.get(this.tinymceId).setContent(value)\n },\n getContent() {\n window.tinymce.get(this.tinymceId).getContent()\n },\n imageSuccessCBK(arr) {\n arr.forEach(v => window.tinymce.get(this.tinymceId).insertContent(`<img class=\"wscnph\" src=\"${v.url}\" >`))\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!./index.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!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=64623c0e&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=64623c0e&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 \"64623c0e\",\n null\n \n)\n\nexport default component.exports","// Any plugins you want to use has to be imported\n// Detail plugins list see https://www.tinymce.com/docs/plugins/\n// Custom builds see https://www.tinymce.com/download/custom-builds/\n\nconst plugins = ['advlist autolink autosave code colorpicker colorpicker contextmenu directionality fullscreen hr insertdatetime link lists nonbreaking noneditable paste preview print save spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount']\n//anchor codesample emoticons pagebreak searchreplace image imagetools media\nexport default plugins\n","// Here is a list of the toolbar\n// Detail list see https://www.tinymce.com/docs/advanced/editor-control-identifiers/#toolbarcontrols\n\nconst toolbar = ['searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript code codesample', 'hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen']\n\nexport default toolbar\n","let callbacks = []\n\nfunction loadedTinymce() {\n // to fixed https://github.com/PanJiaChen/vue-element-admin/issues/2144\n // check is successfully downloaded script\n return window.tinymce\n}\n\nconst dynamicLoadScript = (src, callback) => {\n const existingScript = document.getElementById(src)\n const cb = callback || function() {}\n\n if (!existingScript) {\n const script = document.createElement('script')\n script.src = src // src url for the third-party library being loaded.\n script.id = src\n document.body.appendChild(script)\n callbacks.push(cb)\n const onEnd = 'onload' in script ? stdOnEnd : ieOnEnd\n onEnd(script)\n }\n\n if (existingScript && cb) {\n if (loadedTinymce()) {\n cb(null, existingScript)\n } else {\n callbacks.push(cb)\n }\n }\n\n function stdOnEnd(script) {\n script.onload = function() {\n // this.onload = null here is necessary\n // because even IE9 works not like others\n this.onerror = this.onload = null\n for (const cb of callbacks) {\n cb(null, script)\n }\n callbacks = null\n }\n script.onerror = function() {\n this.onerror = this.onload = null\n cb(new Error('Failed to load ' + src), script)\n }\n }\n\n function ieOnEnd(script) {\n script.onreadystatechange = function() {\n if (this.readyState !== 'complete' && this.readyState !== 'loaded') return\n this.onreadystatechange = null\n for (const cb of callbacks) {\n cb(null, script) // there is no way to catch loading errors in IE8\n }\n callbacks = null\n }\n }\n}\n\nexport default dynamicLoadScript\n","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!./index.vue?vue&type=style&index=0&id=64623c0e&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--3-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--3-oneOf-1-2!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Bxh.vue?vue&type=style&index=0&id=500dc45e&prod&scoped=true&lang=css\"","\nexport default {\n head(){\n\t\treturn {\n\t\t\tlink: [\n\t\t\t\t{ rel: 'stylesheet', href: '//yun.baoxiaohe.com/openflatform/css/v1.0/sdk.css' },],\n\t\t}\n\t},\n props:{\n bxhType:String,\n design:Number,\n height:{\n type: String,\n default: '99vh',\n },\n link:String,\n templateArr:{\n type: Array,\n default: ()=>{\n return []\n },\n }\n },\n data() {\n return {\n iframe: null,\n }\n },\n watch:{\n },\n mounted() {\n this.$nextTick(()=>{\n this.createBxh()\n });\n window.addEventListener(\"message\", this.receiveData)\n },\n beforeDestroy() {\n window.removeEventListener(\"message\", this.receiveData)\n },\n methods: {\n async createBxh() {\n if(this.bxhType=='3D'){\n let companyToken = await this.$axios.get(\"/bxh/company/token\")\n let design=this.design || this.link\n this.init(design,companyToken.result,this.bxhType)\n }else if(this.bxhType=='design'){\n let token = await this.$axios.get(\"/bxh/token\")\n this.init(this.design,token.result,this.bxhType)\n }else if(this.bxhType=='render'){\n let token = await this.$axios.get(\"/bxh/token\")\n this.init(this.design,token.result,this.bxhType)\n }\n },\n init(id,token,bxhType) {\n this.iframe = new window.BXHIframe({\n // production: false,\n // env:true,\n elCls:'iframe-dom',\n prefixCls:'detail-iframe-sdk',\n locale:\"en-US\",\n params: {\n id,\n token3D:token,\n token,\n project_id: id,\n isShowRotate:false, //右下角的旋转按钮\n isShowFold:false, //右下角的折叠按钮\n locale:\"en-US\"\n },\n name: bxhType,\n })\n },\n \n receiveData(event) {\n if (event) {\n try {\n if (typeof event.data === \"string\") {\n const { event: e, name, params,preDesignParams } = JSON.parse(\n event.data\n )\n if (e === \"needLogin\") {\n this.iframe.preDesign({...preDesignParams,token: ''})\n } else if (e === \"viewDetails\") {\n this.iframe.render({ name, params })\n }else if (e === \"viewDetails\") {\n this.iframe.render({ name, params })\n } else if (e === \"startDesign\") {\n this.iframe.render({ params: { id: params.id, token: '' }, name: \"design\" })\n } else if (e === \"logoutSuccess\") {\n console.log(\"logoutSuccess\")\n } else if (e === \"reloadParams\") {\n console.log(\"reloadParams\")\n } else if (e === \"saveSuccess\") {\n console.log(\"saveSuccess\")\n } else if (e === \"saveFail\") {\n console.log(\"saveFail\")\n } else if (e === \"loadSuccess\") {\n console.log(\"loadSuccess\")\n } else if (e === \"toPreview3d\") {\n console.log(\"手机端编辑器进入3d页面回调\")\n } else if (e === \"toEditor\") {\n console.log(\"手机端从3d页面进入编辑器回调\")\n } \n }\n } catch (error) {\n console.log(error)\n }\n }\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!./Bxh.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!./Bxh.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Bxh.vue?vue&type=template&id=500dc45e&scoped=true\"\nimport script from \"./Bxh.vue?vue&type=script&lang=js\"\nexport * from \"./Bxh.vue?vue&type=script&lang=js\"\nimport style0 from \"./Bxh.vue?vue&type=style&index=0&id=500dc45e&prod&scoped=true&lang=css\"\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 \"500dc45e\",\n null\n \n)\n\nexport default component.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!./ExportDialog.vue?vue&type=style&index=0&id=1381fc6c&prod&lang=scss&scoped=true\"","import Vue from \"vue\"\nexport default new Vue()","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\nimport Clipboard from 'clipboard';\nexport default {\n props: {\n title:{\n type:String,\n default: 'Send Email'\n },\n sendbtnCext:{\n type:String,\n default: 'SUBMIT REQUEST'\n },\n isSendPdf:{\n type:Boolean,\n default: false\n },\n labelShow:{\n type:Boolean,\n default: true\n },\n emailForm: {},\n rules: {},\n labelWidth: Number,\n visible: {\n type: Boolean,\n default: false\n },\n },\n methods:{\n copyUrl(key){\n let clipboard = new Clipboard(`.${key}`)\n clipboard.on('success', e => {\n this.$message.success(\"link copied to clipboard\") // 利用Element组件给予成功提示\n clipboard.destroy() // 释放内存 \n })\n clipboard.on('error', e => {\n this.$message.error('The browser does not support automatic replication') // 给予错误提示信息\n clipboard.destroy() // 释放内存\n })\n },\n handleClose(){\n this.$emit('update:visible', false)\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!./ExportDialog.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!./ExportDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ExportDialog.vue?vue&type=template&id=1381fc6c&scoped=true\"\nimport script from \"./ExportDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ExportDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./ExportDialog.vue?vue&type=style&index=0&id=1381fc6c&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 \"1381fc6c\",\n null\n \n)\n\nexport default component.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!./DesignFormDialog.vue?vue&type=style&index=0&id=7d26e39b&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\nimport Bus from \"@/plugins/bus.js\";\nimport Tinymce from \"@/components/Tinymce\";\n\nexport default {\n components: { Tinymce },\n props: {\n title:{\n type:String,\n default: 'Send Email'\n },\n // 表单域标签的宽度\n labelWidth: {\n type: Number,\n default: 95,\n },\n // 表单配置\n formConfig: {\n type: Array,\n required: true,\n },\n // 表单数据\n formData: {\n type: Object,\n required: true,\n },\n sendbtnCext:{\n type:String,\n default: 'SUBMIT REQUEST'\n },\n top:{\n type:String,\n default: '5vh'\n },\n isSendPdf:{\n type:Boolean,\n default: false\n },\n rules: {},\n visible: {\n type: Boolean,\n default: false\n },\n \n },\n methods:{\n handleClose(){\n this.$emit('update:visible', false)\n },\n handleSend(){\n this.$refs.ruleForm.validate((valid) => {\n if (valid) {\n if(this.isSendPdf){\n Bus.$emit(\"sendPdf\");\n }else{\n this.$emit(\"handleSend\");\n }\n } else {\n return false;\n }\n });\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!./DesignFormDialog.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!./DesignFormDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DesignFormDialog.vue?vue&type=template&id=7d26e39b&scoped=true\"\nimport script from \"./DesignFormDialog.vue?vue&type=script&lang=js\"\nexport * from \"./DesignFormDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./DesignFormDialog.vue?vue&type=style&index=0&id=7d26e39b&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 \"7d26e39b\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Tinymce: require('/Users/wu67/Projects/shop_site/components/Tinymce/index.vue').default})\n","module.exports = __webpack_public_path__ + \"img/export.040816b.png\";","module.exports = __webpack_public_path__ + \"img/email.11d7073.png\";","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!./_id.vue?vue&type=style&index=0&id=1ab4e098&prod&lang=scss&scoped=true\"","\nexport default {\n layout: \"blank_layout\",\n data() {\n return {\n exportDialogVisible:false,\n emailDialogVisible:false,\n exportForm:{\n Link:'',\n Artwork:'',\n },\n emailForm:{\n from:'',\n to:'',\n cc:'info@promocollection.com.au',\n subject:'',\n job_name:'',\n link:'',\n pdf:'',\n notes:'',\n },\n // 表单配置\n formConfig: [\n {\n label: \"From\",\n prop: \"from\",\n type: \"selectObj\",\n selectList: {\n 1:'',\n 2:'on-reply@promocollection.com.au'\n },\n },\n {\n label: \"To\",\n prop: \"to\",\n type: \"input\",\n },\n {\n label: \"CC\",\n prop: \"cc\",\n type: \"selectObj\",\n selectList: {\n 1:'info@promocollection.com.au',\n 2:'astro@promocollection.com.au',\n 3:'grace@promocollection.com.au'\n },\n },\n {\n label: \"Subject\",\n prop: \"subject\",\n type: \"input\",\n },\n {\n label: \"Job Name\",\n prop: \"job_name\",\n type: \"input\",\n },\n {\n label: \"Link\",\n prop: \"link\",\n type: \"input\",\n readonly: true,\n },\n {\n label: \"Artwork\",\n prop: \"pdf\",\n type: \"input\",\n readonly: true,\n },\n {\n label: \"Notes\",\n prop: \"notes\",\n type: \"tinymce\",\n width: '100%',\n height: 200,\n },\n ],\n rules:{\n from: [{ required: true, message: \"Please select\", trigger: \"change\" }],\n to: [{ required: true, message: \"The recipient is unknown. Specify another recipient\", pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/,trigger: \"blur\" }],\n subject: [{ required: true, message: \"Send this message without a subject?\", trigger: \"blur\" }],\n job_name: [{ required: true, message: \"Please fill in your job name!\", trigger: \"blur\" }],\n link: [{ required: true, message: \"Please enter\", trigger: \"blur\" }],\n pdf: [{ required: true, message: \"Please enter\", trigger: \"blur\" }],\n notes: [{ required: true, message: \"Please enter\", trigger: \"blur\" }],\n },\n pdf_id:null\n };\n },\n mounted(){\n this.emailForm.link=this.exportForm.Link=window.location.origin+'/3D/'+this.$route.params.id\n this.emailForm.pdf=this.exportForm.Artwork=window.location.origin+'/pdf/'+this.$route.params.id\n this.emailForm.from=this.$cookies.get(\"email\")\n this.formConfig[0].selectList['1']=this.$cookies.get(\"email\")\n },\n methods: {\n openExportFrom() {\n this.exportDialogVisible=true\n },\n openEmailFrom() {\n this.emailDialogVisible=true\n },\n sendMail() {\n this.$axios.post(\"/bxh/email\", this.emailForm).then(res =>{\n this.emailDialogVisible=false\n this.$confirm(\"send successfully\", {\n confirmButtonText: \"OK\",\n showCancelButton: false,\n type: \"success\",\n center: true,\n showClose: false,\n }).then(() => {\n });\n }).catch(() => {\n \n });\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!./_id.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!./_id.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./_id.vue?vue&type=template&id=1ab4e098&scoped=true\"\nimport script from \"./_id.vue?vue&type=script&lang=js\"\nexport * from \"./_id.vue?vue&type=script&lang=js\"\nimport style0 from \"./_id.vue?vue&type=style&index=0&id=1ab4e098&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 \"1ab4e098\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Bxh: require('/Users/wu67/Projects/shop_site/components/Bxh.vue').default,ExportDialog: require('/Users/wu67/Projects/shop_site/components/ExportDialog.vue').default,DesignFormDialog: require('/Users/wu67/Projects/shop_site/components/DesignFormDialog.vue').default})\n"],"sourceRoot":""}
|