1 |
- {"version":3,"sources":["webpack:///./pages/home/contactPromoCollection.vue?8d97","webpack:///./pages/home/contactPromoCollection.vue?912e","webpack:///./pages/home/contactPromoCollection.vue","webpack:///./pages/home/contactPromoCollection.vue?1e1b","webpack:///./pages/home/contactPromoCollection.vue?120c"],"names":["module","exports","data","ruleForm","company","contacts","phone","address","state","postcode","url","email","content","rules","required","message","trigger","time","timer","butonContent","disabledFlag","watch","handler","newValue","this","methods","_objectSpread","mapMutations","Login","openDialog","submitForm","formName","_this","$refs","validate","valid","console","log","setInterval","clearInterval","$axios","post","then","res","code","$notify","title","type","$router","push","catch","component","_vm","_c","_self","staticClass","attrs","path","_v","on","ref","model","value","callback","$$v","$set","expression","$event","_s"],"mappings":"8EACAA,EAAOC,QAAU,CAAC,C,mCCDlB,M,oFCAA,I,imBAGe,ICH6P,EDG7P,CACbC,KAAI,WACF,MAAO,CACLC,SAAU,CACRC,QAAS,GACTC,SAAU,GACVC,MAAO,GACPC,QAAS,GACTC,MAAO,GACPC,SAAU,GACVC,IAAK,GACLC,MAAO,GACPC,QAAS,IAEXC,MAAO,CACLT,QAAS,CACP,CACEU,UAAU,EACVC,QAAS,iCACTC,QAAS,SAGbX,SAAU,CACR,CACES,UAAU,EACVC,QAAS,mCACTC,QAAS,SAGbV,MAAO,CACL,CACEQ,UAAU,EACVC,QAAS,iCACTC,QAAS,UAIfC,KAAM,GACNC,MAAO,KACPC,aAAc,SACdC,cAAc,EAElB,EACAC,MAAO,CACLJ,KAAM,CACJK,QAAO,SAACC,GAEJC,KAAKJ,aADS,GAAZG,CAKN,IAGJE,QAAOC,IAAA,GACFC,YAAa,CAAC,gBAAc,IAC/BC,MAAK,WACHJ,KAAKK,YACP,EACAC,WAAU,SAACC,GAAU,IAAAC,EAAA,KACnBR,KAAKS,MAAMF,GAAUG,UAAS,SAACC,GAC7B,IAAIA,EA4BF,OADAC,QAAQC,IAAI,mBACL,EA3BPL,EAAKd,MAAQoB,aAAY,WACN,GAAbN,EAAKf,M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IAAI,CAACsB,EAAIM,GAAG,aAAaN,EAAIgB,GAAGhB,EAAIjC,cAAc,eAAe,IAAI,IAAI,EACjhH,GACsB,IEUpB,EACA,KACA,WACA,MAIa,UAAAgC,U","file":"9793d0f.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!./contactPromoCollection.vue?vue&type=style&index=0&id=e8620a10&prod&lang=scss&scoped=true\"","\nimport { mapMutations } from \"vuex\";\n\nexport default {\n data() {\n return {\n ruleForm: {\n company: \"\",\n contacts: \"\",\n phone: \"\",\n address: \"\",\n state: \"\",\n postcode: \"\",\n url: \"\",\n email: \"\",\n content: \"\",\n },\n rules: {\n company: [\n {\n required: true,\n message: \"Please enter your Company Name\",\n trigger: \"blur\",\n },\n ],\n contacts: [\n {\n required: true,\n message: \"Please enter your Contact Person\",\n trigger: \"blur\",\n },\n ],\n phone: [\n {\n required: true,\n message: \"Please enter your Phone Number\",\n trigger: \"blur\",\n },\n ],\n },\n time: 60,\n timer: null,\n butonContent: \"Submit\",\n disabledFlag: false,\n };\n },\n watch: {\n time: {\n handler(newValue) {\n if (newValue == 0) {\n this.disabledFlag = false;\n } else {\n this.disabledFlag = true;\n }\n },\n },\n },\n methods: {\n ...mapMutations([\"openDialog\"]),\n Login(){\n this.openDialog();\n },\n submitForm(formName) {\n this.$refs[formName].validate((valid) => {\n if (valid) {\n this.timer = setInterval(() => {\n if (this.time == 0) {\n this.butonContent = \"Submit\";\n clearInterval(this.timer);\n } else {\n this.butonContent = \"Submit \" + this.time + \" s\";\n this.time--;\n }\n }, 1000);\n this.$axios\n .post(\"/uk-api/others/visitor\", this.ruleForm)\n .then((res) => {\n if (res.code == 1) {\n this.$notify({\n title: \"success\",\n message:\n \"Your request has been sent to your nominated e mail address.\",\n type: \"success\",\n });\n this.$router.push('/')\n }\n })\n .catch(() => {\n // this.$message.error(error.response.data.msg);\n });\n } else {\n console.log(\"error submit!!\");\n return false;\n }\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!./contactPromoCollection.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!./contactPromoCollection.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./contactPromoCollection.vue?vue&type=template&id=e8620a10&scoped=true\"\nimport script from \"./contactPromoCollection.vue?vue&type=script&lang=js\"\nexport * from \"./contactPromoCollection.vue?vue&type=script&lang=js\"\nimport style0 from \"./contactPromoCollection.vue?vue&type=style&index=0&id=e8620a10&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 \"e8620a10\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|