{"version":3,"sources":["webpack:///C:/Users/ahapp/Desktop/ruen/國泰建設/cathay-red_frontend/src/views/DataManger/Manger.vue?d704","webpack:///src/views/DataManger/Manger.vue","webpack:///C:/Users/ahapp/Desktop/ruen/國泰建設/cathay-red_frontend/src/views/DataManger/Manger.vue?96fc","webpack:///C:/Users/ahapp/Desktop/ruen/國泰建設/cathay-red_frontend/src/views/DataManger/Manger.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","span","class","tiltleSelect","tab","on","click","$event","GetDepartment","_v","GetCommonPharse","GetPrivacy","xs","offset","md","to","shape","_l","item","index","_s","key","count","name","params","DelDepart","_e","commonpharse","filter","x","deleteType","placeholder","maxlength","model","value","callback","$$v","$set","expression","DelPhares","type","size","coloe","AddPharse","long","UpdatePharse","rows","privateContent","UpdatePrivacy","staticRenderFns","Mangervue_type_script_lang_js_","data","departments","url","text","created","activated","methods","_this","$http","get","then","res","status","$Notice","info","title","desc","msg","_this2","_this3","push","id","pharse","$Modal","confirm","content","onOk","_this4","put","_this5","_this6","delete","concat","DataManger_Mangervue_type_script_lang_js_","component","Object","componentNormalizer","__webpack_exports__"],"mappings":"yHAAA,IAAAA,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAAA,EAAA,OAA2BE,YAAA,gBAA2B,CAAAF,EAAA,OAAYG,MAAA,CAAOC,KAAA,OAAa,CAAAJ,EAAA,QAAaK,MAAA,UAAgBC,aAAA,GAAAV,EAAAW,MAA2BC,GAAA,CAAMC,MAAA,SAAAC,GAAyBd,EAAAW,IAAA,EAAUX,EAAAe,mBAAsB,CAAAf,EAAAgB,GAAA,UAAAZ,EAAA,QAA8BK,MAAA,UAAgBC,aAAA,GAAAV,EAAAW,MAA2BC,GAAA,CAAMC,MAAA,WAAoBb,EAAAW,IAAA,EAAUX,EAAAiB,qBAAwB,CAAAjB,EAAAgB,GAA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AAoB,IAAA,mCACAzB,KAAA5D,KAAAqD,eAAAO,OAEAO,KAAA,SAAAC,GACAkB,EAAAhB,QAAAC,KAAA,CACAE,KAAAL,EAAAX,KAAAiB,SAIA3C,UArFA,SAqFAF,GAAA,IAAA0D,EAAAvF,KACAA,KAAAgF,OAAAC,QAAA,CACAT,MAAA,KACAU,QAAA,WACAC,KAAA,WACAI,EAAAtB,MAAAuB,OAAA,0BAAAC,OAAA5D,IACAsC,KAAA,SAAAC,GACAmB,EAAAjB,QAAAC,KAAA,CACAE,KAAAL,EAAAX,KAAAiB,MAEAa,EAAAzE,wBCtM+V4E,EAAA,cCO/VC,EAAgBC,OAAAC,EAAA,KAAAD,CACdF,EACA5F,EACAyD,GACF,EACA,KACA,WACA,MAIeuC,EAAA,WAAAH","file":"js/chunk-2d0b6577.29ba41c3.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Row',{staticClass:\"titleDisplay\"},[_c('Col',{attrs:{\"span\":\"24\"}},[_c('span',{class:['title',{'tiltleSelect':_vm.tab ==1}],on:{\"click\":function($event){_vm.tab=1;_vm.GetDepartment()}}},[_vm._v(\"部門職稱\")]),_c('span',{class:['title',{'tiltleSelect':_vm.tab ==2}],on:{\"click\":function (){_vm.tab=2;_vm.GetCommonPharse()}}},[_vm._v(\"客服常用語\")]),_c('span',{class:['title',{'tiltleSelect':_vm.tab ==3}],on:{\"click\":function (){_vm.tab=3;_vm.GetPrivacy()}}},[_vm._v(\"隱私政策\")])])],1),_c('br'),(_vm.tab==1)?[_c('Row',{staticClass:\"searchBar\"},[_c('Col',{attrs:{\"xs\":{span:8, offset:16},\"md\":{span:4, offset:18}}},[_c('router-link',{attrs:{\"to\":\"/departmentedit/0\"}},[_c('Button',{staticClass:\"btnOrange\",attrs:{\"shape\":\"circle\"}},[_vm._v(\"新 增 部 門\")])],1)],1)],1),_c('Row',[_c('Col',{attrs:{\"xs\":{span:8},\"md\":{span:8}}},[_vm._v(\"部門名稱\")]),_c('Col',{attrs:{\"xs\":{span:10},\"md\":{span:12}}},[_vm._v(\"職稱數量\")]),_c('Col',{attrs:{\"xs\":{span:5},\"md\":{span:4}}},[_vm._v(\"更新資料\")])],1),_vm._l((_vm.departments),function(item,index){return [_c('Row',[_c('Col',{attrs:{\"xs\":{span:8},\"md\":{span:8}}},[_vm._v(_vm._s(item.key))]),_c('Col',{attrs:{\"xs\":{span:10},\"md\":{span:12}}},[_vm._v(_vm._s(item.count))]),_c('Col',{attrs:{\"xs\":{span:5},\"md\":{span:4}}},[_c('router-link',{staticClass:\"txtGreen\",attrs:{\"to\":{name:'departmentedit',params:{name:item.key}}}},[_vm._v(\"\\n 編輯\\n \")]),_vm._v(\"/\\n \"),_c('span',{staticClass:\"txtOrange\",on:{\"click\":function($event){return _vm.DelDepart(item.key)}}},[_vm._v(\"刪除\")])],1)],1)]})]:_vm._e(),(_vm.tab==2)?[_vm._l((_vm.commonpharse.filter(function (x){ return x.deleteType == '0'; })),function(item,index){return [_c('Row',[_c('Col',{attrs:{\"xs\":{span:4},\"md\":{span:4}}},[_vm._v(\"常用語 \"+_vm._s(index+1))]),_c('Col',{attrs:{\"xs\":{span:10},\"md\":{span:12}}},[_c('Input',{attrs:{\"placeholder\":\"常用xxx\",\"maxlength\":100},model:{value:(item.pharse),callback:function ($$v) {_vm.$set(item, \"pharse\", $$v)},expression:\"item.pharse\"}})],1),_c('Col',{attrs:{\"xs\":{span:3},\"md\":{span:3}}},[_c('span',{staticClass:\"txtOrange\",on:{\"click\":function($event){return _vm.DelPhares(item)}}},[_c('Icon',{attrs:{\"type\":\"ios-close-circle\",\"size\":\"24\",\"coloe\":\"#E6633E\"}})],1)])],1)]}),_c('div',{staticClass:\"txtGreen\"},[_c('span',{on:{\"click\":_vm.AddPharse}},[_vm._v(\"+ 新增常用語\")])]),_c('br'),_c('Row',[_c('Col',{attrs:{\"xs\":{span:8,offset:8},\"md\":{span:3,offset:12}}},[_c('Button',{staticClass:\"btnGreen\",attrs:{\"long\":\"\"},on:{\"click\":_vm.UpdatePharse}},[_vm._v(\"儲存\")])],1)],1)]:_vm._e(),(_vm.tab==3)?[_c('Row',[_c('Col',{attrs:{\"span\":\"3\"}},[_c('label',[_vm._v(\"*政策內文\")])]),_c('Col',{attrs:{\"span\":\"20\",\"offset\":\"1\"}},[_c('Input',{attrs:{\"type\":\"textarea\",\"rows\":30,\"placeholder\":\"\"},model:{value:(_vm.privateContent.text),callback:function ($$v) {_vm.$set(_vm.privateContent, \"text\", $$v)},expression:\"privateContent.text\"}})],1)],1),_c('Row',[_c('Col',{attrs:{\"xs\":{span:8,offset:8},\"md\":{span:3,offset:12}}},[_c('Button',{staticClass:\"btnGreen\",attrs:{\"long\":\"\"},on:{\"click\":_vm.UpdatePrivacy}},[_vm._v(\"儲存\")])],1)],1)]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n
\n \n 部門職稱\n {tab=2;GetCommonPharse()}\">客服常用語\n {tab=3;GetPrivacy()}\">隱私政策\n \n
\n
\n
\n \n \n \n \n \n \n
\n \n 部門名稱\n 職稱數量\n 更新資料\n
\n \n \n {{item.key}}\n {{item.count}}\n \n \n 編輯\n /\n 刪除\n \n
\n \n \n
\n x.deleteType == '0')\">\n \n 常用語 {{index+1}}\n \n \n \n \n \n \n \n \n
\n \n + 新增常用語
\n
\n \n \n \n \n
\n \n
\n \n \n \n \n \n
\n \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!./Manger.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!./Manger.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Manger.vue?vue&type=template&id=1735d851&scoped=true&\"\nimport script from \"./Manger.vue?vue&type=script&lang=js&\"\nexport * from \"./Manger.vue?vue&type=script&lang=js&\"\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 \"1735d851\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}