{"version":3,"sources":["webpack:///./src/views/ReceivedAward.vue?ec35","webpack:///./src/views/ReceivedAward.vue","webpack:///src/views/ReceivedAward.vue","webpack:///./src/views/ReceivedAward.vue?b06d","webpack:///./src/views/ReceivedAward.vue?8eee"],"names":["render","_vm","this","_c","_self","staticClass","_m","attrs","_v","_s","title","items","isDevelop","_e","directives","name","rawName","value","isExist","isCanAward","isAwardDone","expression","award","titleCanAward","descriptCanAward","valueOffCode","placeholderOffCode","disabledOffCode","domProps","on","$event","target","composing","$set","staticStyle","onReceive","class","button","classReceive","labelReceive","titleAwardDone","descriptAwardDone","titleReceivedAward","descriptReceivedAward","titleNotExist","descriptNotExist","staticRenderFns","data","apiCheckQrCode","userRequest","post","apiReceivedAward","text","href","active","labelOffCode","classOffCode","message","noeExistOffCode","watch","mounted","window","vue","checkQrCode","created","destroyed","methods","enableDefaultLoad","enableMask","default_load","disableDefaultLoad","_this","ThreadTool","Delay","disableMask","delay_ms_api","QrCode","getQrcode","then","res","json","JSON","parse","catch","err","console","log","receivedAward","OfficeCode","State","alert","Message","getPleaseEnterField","temp","location","hash","split","qr_code","length","ParamName","getPleaseChooseField","getErrorMessageParamEmpty","component"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,QAAQ,CAACI,MAAM,CAAC,UAAU,YAAY,CAACJ,EAAG,QAAQ,CAACI,MAAM,CAAC,KAAO,SAAS,CAACJ,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,YAAYP,EAAG,QAAQ,CAACI,MAAM,CAAC,KAAO,OAAO,aAAa,WAAW,CAACJ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQN,EAAIU,UAAU,IAAI,IA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EAAAC,SAAAC,KAAAC,MAAA,YACAC,EAAA,GAKA,OAJAJ,EAAAK,OAAA,IAEAD,EAAAJ,EAAA,IAEAI,GAIAL,oBAAA,SAAAO,GAAA,aAAAA,EAAA,MAEAC,qBAAA,SAAAD,GAAA,aAAAA,EAAA,MAEAE,0BAAA,SAAAF,GAAA,eAAAA,EAAA,YCjTuV,I,wBCQnVG,EAAY,eACd,EACAtG,EACA8C,GACA,EACA,KACA,WACA,MAIa,aAAAwD,E","file":"static/js/chunk-666d1b9f.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-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/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReceivedAward.vue?vue&type=style&index=0&id=451ef724&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main\"},[_vm._m(0),_c('div',{staticClass:\"main-title\"},[_c('b-row',{attrs:{\"align-h\":\"between\"}},[_c('b-col',{attrs:{\"cols\":\"auto\"}},[_c('h2',{staticClass:\"px-3\"},[_vm._v(_vm._s(_vm.title))])]),_c('b-col',{attrs:{\"cols\":\"auto\",\"align-self\":\"center\"}},[_c('b-breadcrumb',{attrs:{\"items\":_vm.items}})],1)],1)],1),(!_vm.isDevelop)?_c('div',{staticClass:\"main-content\"},[_c('div',{attrs:{\"id\":\"award_form\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isExist && _vm.isCanAward && !_vm.isAwardDone),expression:\"isExist && isCanAward && !isAwardDone\"}],staticClass:\"w3-container page\"},[_c('div',{staticClass:\"w3-card-4 w3-dark-grey form-style\"},[_c('div',{staticClass:\"w3-container w3-center\"},[_c('p',{staticClass:\"header-title\"},[_vm._v(\" \"+_vm._s(_vm.award.titleCanAward)+\" \")]),_c('img',{staticClass:\"img-body w3-circle w3-margin-top\",attrs:{\"src\":\"/static/img/coin.png\",\"alt\":\"Avatar\"}}),_c('p',{staticClass:\"description\"},[_vm._v(\" \"+_vm._s(_vm.award.descriptCanAward)+\" \")]),_vm._m(1),_c('div',{staticClass:\"w3-rest\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.award.valueOffCode),expression:\"award.valueOffCode\"}],staticClass:\"w3-input w3-border\",attrs:{\"type\":\"text\",\"placeholder\":_vm.award.placeholderOffCode,\"disabled\":_vm.award.disabledOffCode},domProps:{\"value\":(_vm.award.valueOffCode)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.award, \"valueOffCode\", $event.target.value)}}})]),_c('p',{staticStyle:{\"margin-top\":\"10px\",\"margin-bottom\":\"10px\"}},[_c('button',{staticClass:\"w3-button w3-block w3-amber\",on:{\"click\":_vm.onReceive}},[_c('i',{staticClass:\"fa\",class:_vm.button.classReceive,attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.button.labelReceive)+\" \")])])])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isExist && _vm.isCanAward && _vm.isAwardDone),expression:\"isExist && isCanAward && isAwardDone\"}],staticClass:\"w3-container page\"},[_c('div',{staticClass:\"w3-card-4 w3-dark-grey form-style\"},[_c('div',{staticClass:\"w3-container w3-center\"},[_c('p',{staticClass:\"header-title\"},[_vm._v(\" \"+_vm._s(_vm.award.titleAwardDone)+\" \")]),_c('img',{staticClass:\"img-body w3-circle w3-margin-top\",attrs:{\"src\":\"/static/img/ok.png\",\"alt\":\"Avatar\"}}),_c('p',{staticClass:\"description\"},[_vm._v(\" \"+_vm._s(_vm.award.descriptAwardDone)+\" \")])])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isExist && !_vm.isCanAward),expression:\"isExist && !isCanAward\"}],staticClass:\"w3-container page\"},[_c('div',{staticClass:\"w3-card-4 w3-dark-grey form-style\"},[_c('div',{staticClass:\"w3-container w3-center\"},[_c('p',{staticClass:\"header-title\"},[_vm._v(\" \"+_vm._s(_vm.award.titleReceivedAward)+\" \")]),_c('img',{staticClass:\"img-body w3-circle w3-margin-top\",attrs:{\"src\":\"/static/img/received.png\",\"alt\":\"Avatar\"}}),_c('p',{staticClass:\"description\"},[_vm._v(\" \"+_vm._s(_vm.award.descriptReceivedAward)+\" \")])])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isExist),expression:\"!isExist\"}],staticClass:\"w3-container page\"},[_c('div',{staticClass:\"w3-card-4 w3-dark-grey form-style\"},[_c('div',{staticClass:\"w3-container w3-center\"},[_c('p',{staticClass:\"header-title\"},[_vm._v(\" \"+_vm._s(_vm.award.titleNotExist)+\" \")]),_c('img',{staticClass:\"img-body w3-circle w3-margin-top\",attrs:{\"src\":\"/static/img/not_valid.png\",\"alt\":\"Avatar\"}}),_c('p',{staticClass:\"description\"},[_vm._v(\" \"+_vm._s(_vm.award.descriptNotExist)+\" \")])])])])])]):_vm._e(),(_vm.isDevelop)?_c('div',{staticClass:\"main-content\"},[_c('div',{attrs:{\"id\":\"award_form\"}},[_vm._v(\" 目前該頁面在施工中,尚未完成。 \")])]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"hide\",attrs:{\"id\":\"mask\"}},[_c('div',{staticClass:\"text\"},[_c('i',{staticClass:\"fas fa-spinner fa-pulse\"}),_vm._v(\" 資料讀取中 \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w3-col\",staticStyle:{\"width\":\"50px\"}},[_c('i',{staticClass:\"w3-xxlarge fa fa-home\"})])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReceivedAward.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReceivedAward.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReceivedAward.vue?vue&type=template&id=451ef724&scoped=true&\"\nimport script from \"./ReceivedAward.vue?vue&type=script&lang=js&\"\nexport * from \"./ReceivedAward.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ReceivedAward.vue?vue&type=style&index=0&id=451ef724&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 \"451ef724\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}