{"version":3,"sources":["webpack:///./src/components/task/edit/components/locTypeRadio/index.vue","webpack:///src/components/task/edit/components/locTypeRadio/index.vue","webpack:///./src/components/task/edit/components/locTypeRadio/index.vue?ff67","webpack:///./src/components/task/edit/components/locTypeRadio/index.vue?d7f2","webpack:///./src/components/task/edit/components/locTypeRadio/index.vue?a534","webpack:///./src/api/type.js","webpack:///./src/components/task/edit/components/locTypeRadio/index.js"],"names":["render","_vm","this","_c","_self","staticClass","class","concat","disableAdd","locTypekey","staticStyle","_v","on","cascaderOnChange","model","value","selectedTypeId","callback","$$v","expression","_l","list","filter","x","field1","l","i","key","attrs","id","_s","label","hasPermission","disabled","_e","$event","stopPropagation","showModal","modalClose","scopedSlots","_u","fn","directives","name","rawName","editMode","saveLocType","proxy","modalShow","addSub","handleTreeSelect","deleteType","locTypeModel","listFlat","parentId","length","title","$set","code","ord","fileUploaded","attachId","slot","preventDefault","showAttach","coverUploaded","i1","fileDialog","modal","blank","src","show","staticRenderFns","require","components","CascaderPanel","FormItem","InputNumber","Input","Form","Tree","Checkbox","Select","Option","Radio","RadioGroup","simpleUploader","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","props","type","Number","default","String","guid","getParentType","Boolean","size","checkStrictly","withUserId","parentFilterable","data","cascaderSelected","selectedLabel","postedId","mounted","init","methods","perrArr","hasOneOf","$store","state","user","access","undefined","_this","getTypeTreeData","params","userId","store","then","res","parentType","types","dataTypes","push","map","cascaderModelRecursive","cid","d","pid","_this2","parseInt","$emit","$nextTick","e","reverse","expand","editSub","locTypeDetail","_this3","confirm","request","api","url","method","_this4","_this5","typeId","uploadedAttachmentId","uploadedUrl","_ref","Promise","resolve","requestApi","rs","dynamicDispatcher","locTypeCascader"],"mappings":"gMAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACG,MAAK,MAAA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js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"d-flex\"},[_c('div',{class:`wd-${_vm.disableAdd ? '100p' : '80p'}`},[(_vm.locTypekey == 'cmmsObegPhone')?[_c('div',{staticClass:\"d-flex wd-100p\"},[_c('div',{staticClass:\"wd-50p text-center\",staticStyle:{\"background-color\":\"lightcoral\"}},[_c('h6',[_vm._v(\"Онцгой байдалтай холбогдсон дуудлагын дугаар\")]),_c('RadioGroup',{on:{\"change\":_vm.cascaderOnChange},model:{value:(_vm.selectedTypeId),callback:function ($$v) {_vm.selectedTypeId=$$v},expression:\"selectedTypeId\"}},_vm._l((_vm.list.filter(x => x.field1 == 'lightcoral')),function(l,i){return _c('Radio',{key:i,class:l.field1,attrs:{\"label\":l.id}},[_vm._v(_vm._s(l.label))])}),1)],1),_c('div',{staticClass:\"wd-50p text-center\",staticStyle:{\"background-color\":\"lightblue\"}},[_c('h6',[_vm._v(\"Дотуур холбоогоор холбогдсон дуудлагын дугаар\")]),_c('RadioGroup',{on:{\"change\":_vm.cascaderOnChange},model:{value:(_vm.selectedTypeId),callback:function ($$v) {_vm.selectedTypeId=$$v},expression:\"selectedTypeId\"}},_vm._l((_vm.list.filter(x => x.field1 == 'lightblue')),function(l,i){return _c('Radio',{key:i,class:l.field1,attrs:{\"label\":l.id}},[_vm._v(_vm._s(l.label))])}),1)],1)])]:[_c('RadioGroup',{on:{\"change\":_vm.cascaderOnChange},model:{value:(_vm.selectedTypeId),callback:function ($$v) {_vm.selectedTypeId=$$v},expression:\"selectedTypeId\"}},_vm._l((_vm.list),function(l,i){return _c('Radio',{key:i,class:l.field1,attrs:{\"label\":l.id}},[_vm._v(_vm._s(l.label))])}),1)]],2),(\n _vm.hasPermission([\n 'admin',\n 'planadmin',\n 'hradmin',\n 'archiveadmin',\n 'tushaaladmin',\n 'crmadmin',\n 'contentadmin',\n 'webadmin',\n 'learningadmin'\n ]) &&\n !_vm.disabled &&\n !_vm.disableAdd\n )?_c('div',{staticClass:\"wd-10p mg-l-5\"},[_c('button',{staticClass:\"btn btn-outline-light\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.showModal()}}},[_c('b-icon',{attrs:{\"icon\":\"plus\"}})],1)]):_vm._e()]),_c('b-modal',{attrs:{\"scrollable\":\"\",\"hide-header\":\"\",\"centered\":\"\",\"body-class\":\"pd-0\",\"size\":\"lg\"},on:{\"hide\":function($event){return _vm.modalClose()}},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('div',{staticClass:\"modal-footer pd-x-20 pd-y-15\"},[_c('button',{staticClass:\"btn btn-white\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.modalClose()}}},[_vm._v(\" Болих \")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.editMode),expression:\"editMode\"}],staticClass:\"btn btn-primary\",on:{\"click\":_vm.saveLocType}},[_vm._v(\" \"+_vm._s(_vm.selectedTypeId == 0 ? \"Үүсгэх\" : \"Засах\")+\" \")])])]},proxy:true}]),model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:\"modalShow\"}},[_c('div',{staticClass:\"modal-header pd-y-20 pd-x-20 pd-sm-x-30\"},[_c('a',{staticClass:\"close pos-absolute t-15 r-15\",attrs:{\"role\":\"button\",\"aria-label\":\"Close\"},on:{\"click\":function($event){return _vm.modalClose()}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])]),_c('div',{staticClass:\"media align-items-center\"},[_c('feather',{attrs:{\"type\":\"folder\"}}),_c('div',{staticClass:\"media-body mg-sm-l-20\"},[_c('h4',{staticClass:\"tx-18 tx-sm-20 mg-b-2\"},[_vm._v(\" Төрөл \"+_vm._s(_vm.selectedTypeId == 0 ? \"үүсгэх\" : \"засах\")+\" \")]),_c('p',{staticClass:\"tx-13 tx-color-03 mg-b-0\"},[_vm._v(\" Тохирох утгуудыг бөглөөд хадгалах дарна уу \")])])],1)]),_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"wd-40p\"},[_c('div',{staticClass:\"pd-10 bg-white bd-b\"},[_c('button',{staticClass:\"btn btn-outline-light btn-xs btn-block\",on:{\"click\":function($event){return _vm.addSub(0)}}},[_c('i',{staticClass:\"icon ion-md-add tx-14 mg-r-5 pd-t-5\"}),_vm._v(\" Шинэ төрөл үүсгэх \")])]),_c('Tree',{staticClass:\"tree-sel-filemenu\",attrs:{\"data\":_vm.list},on:{\"node-click\":_vm.handleTreeSelect}})],1),_c('div',{staticClass:\"wd-60p bd-l\"},[(_vm.selectedTypeId != 0)?_c('div',{staticClass:\"pd-10 bg-white bd-b\"},[_c('button',{staticClass:\"btn btn-outline-primary btn-xs\",on:{\"click\":function($event){return _vm.addSub(_vm.selectedTypeId)}}},[_c('i',{staticClass:\"icon ion-md-add tx-14 mg-r-5 pd-t-5\"}),_vm._v(\" Дэд төрөл нэмэх \")]),(\n _vm.hasPermission([\n 'admin',\n 'hradmin',\n 'archiveadmin',\n 'tushaaladmin',\n 'crmadmin',\n 'contentadmin',\n 'webadmin',\n 'learningadmin'\n ])\n )?_c('button',{staticClass:\"btn btn-outline-danger btn-xs\",on:{\"click\":function($event){return _vm.deleteType(_vm.selectedTypeId)}}},[_c('i',{staticClass:\"icon ion-md-trash tx-14 mg-r-5 pd-t-5 mg-l-5\"}),_vm._v(\" Устгах \")]):_vm._e()]):_vm._e(),_c('Form',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.editMode),expression:\"editMode\"}],staticClass:\"pd-10\",model:{value:(_vm.locTypeModel),callback:function ($$v) {_vm.locTypeModel=$$v},expression:\"locTypeModel\"}},[_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Парент\"}},[(\n _vm.listFlat.filter(x => x.id == _vm.locTypeModel.parentId).length > 0\n )?_c('span',[_vm._v(_vm._s(_vm.listFlat.filter(x => x.id == _vm.locTypeModel.parentId)[0].title))]):_c('span',[_vm._v(\"~\")])]),_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Нэр\"}},[_c('Input',{attrs:{\"placeholder\":\"___\"},model:{value:(_vm.locTypeModel.name),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"name\", $$v)},expression:\"locTypeModel.name\"}})],1),_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Утга\"}},[_c('Input',{attrs:{\"placeholder\":\"___\"},model:{value:(_vm.locTypeModel.value),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"value\", $$v)},expression:\"locTypeModel.value\"}})],1),_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":_vm.locTypeModel.key == 'userManualMenu' ? 'Icon' : 'Код'}},[_c('Input',{attrs:{\"placeholder\":\"___\"},model:{value:(_vm.locTypeModel.code),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"code\", $$v)},expression:\"locTypeModel.code\"}})],1),_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Дараалал\"}},[_c('InputNumber',{attrs:{\"placeholder\":\"___\"},model:{value:(_vm.locTypeModel.ord),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"ord\", $$v)},expression:\"locTypeModel.ord\"}})],1),_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":`${\n _vm.locTypeModel.key == 'courseType'\n ? 'Сертификат загвар'\n : 'Хавсралт'\n }`}},[_c('simple-uploader',{attrs:{\"propObjectTypeId\":6},on:{\"on-success\":_vm.fileUploaded},model:{value:(_vm.locTypeModel.attachId),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"attachId\", $$v)},expression:\"locTypeModel.attachId\"}},[_c('div',{attrs:{\"slot\":\"trigger\"},slot:\"trigger\"},[(_vm.locTypeModel.attachId == null)?_c('div',{staticClass:\"btn btn-primary\"},[_c('label',{staticClass:\"custom-file-label\",staticStyle:{\"margin-btoom\":\"0\"}},[_vm._v(\"Файл сонгоогүй байна\")])]):_c('div',{staticClass:\"btn-group wd-100p ht-40-f\"},[_c('div',{staticClass:\"btn btn-outline-primary wd-50p\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.showAttach(_vm.locTypeModel.attachId)}}},[_c('feather',{attrs:{\"type\":\"eye\"}}),_vm._v(\"Харах \")],1),_c('div',{staticClass:\"btn btn-outline-danger wd-50p\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();_vm.locTypeModel.attachId = null}}},[_c('feather',{attrs:{\"type\":\"x\"}}),_vm._v(\"Болих \")],1)])])])],1),(_vm.locTypeModel.key == 'courseType')?_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Ковер зураг\"}},[_c('simple-uploader',{attrs:{\"propObjectTypeId\":6},on:{\"on-success\":_vm.coverUploaded},model:{value:(_vm.locTypeModel.field1),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"field1\", $$v)},expression:\"locTypeModel.field1\"}},[_c('div',{attrs:{\"slot\":\"trigger\"},slot:\"trigger\"},[(_vm.locTypeModel.field1 == null)?_c('div',{staticClass:\"btn btn-primary\"},[_c('label',{staticClass:\"custom-file-label\",staticStyle:{\"margin-btoom\":\"0\"}},[_vm._v(\"Файл сонгоогүй байна\")])]):_c('div',{staticClass:\"btn-group wd-100p ht-40-f\"},[_c('div',{staticClass:\"btn btn-outline-primary wd-50p\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.showAttach(_vm.locTypeModel.field1, true)}}},[_c('feather',{attrs:{\"type\":\"eye\"}}),_vm._v(\"Харах \")],1),_c('div',{staticClass:\"btn btn-outline-danger wd-50p\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();_vm.locTypeModel.field1 = null}}},[_c('feather',{attrs:{\"type\":\"x\"}}),_vm._v(\"Болих \")],1)])])])],1):_vm._e(),(_vm.locTypeModel.key == 'courseType')?_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Төрлийн сургалтуудыг сурагчийн эхлэл хуудсанд харуулах ?\"}},[_c('Select',{model:{value:(_vm.locTypeModel.i1),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"i1\", $$v)},expression:\"locTypeModel.i1\"}},[_c('Option',{attrs:{\"value\":0,\"label\":\"Үгүй\"}}),_c('Option',{attrs:{\"value\":1,\"label\":\"Тийм\"}})],1)],1):_vm._e(),(_vm.locTypeModel.key == 'userManualMenu')?_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Харагдац\"}},[_c('Input',{attrs:{\"placeholder\":\"___\"},model:{value:(_vm.locTypeModel.field1),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"field1\", $$v)},expression:\"locTypeModel.field1\"}})],1):_vm._e()],1)],1)])]),_c('b-modal',{attrs:{\"hide-footer\":\"\",\"size\":\"lg\",\"scrollable\":\"\"},model:{value:(_vm.fileDialog.modal),callback:function ($$v) {_vm.$set(_vm.fileDialog, \"modal\", $$v)},expression:\"fileDialog.modal\"}},[(_vm.fileDialog.blank)?[_c('img',{staticClass:\"wd-100p\",attrs:{\"src\":_vm.fileDialog.src}})]:_c('file-dialog',{attrs:{\"show\":_vm.fileDialog.show,\"id\":_vm.fileDialog.id,\"force\":true},on:{\"update:id\":function($event){return _vm.$set(_vm.fileDialog, \"id\", $event)},\"on-hide\":function($event){_vm.fileDialog.show = false}}})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./index.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!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=064c9361&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=064c9361&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 \"064c9361\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=064c9361&prod&scoped=true&lang=css\"","import { requestApi } from \"@/api/core\";\nimport { dynamicDispatcher } from \"@/libs/util\";\n\nexport const getTypeTreeData = ({ data, params, store }) => {\n return new Promise(resolve => {\n requestApi({\n api: \"Type/getTreeData\",\n method: \"get\",\n params: params,\n data: data\n }).then(res => {\n if (res != false) {\n let rs = dynamicDispatcher(res, store);\n if (rs != false) {\n resolve(rs);\n } else {\n resolve(false);\n }\n } else {\n resolve(false);\n }\n });\n });\n};\n","import locTypeCascader from \"./index.vue\";\nexport default locTypeCascader;\n"],"sourceRoot":""}