{"version":3,"sources":["webpack:///./src/api/type.js","webpack:///./src/components/task/edit/components/locTypeAssignTask/locTypeCascader.vue","webpack:///src/components/task/edit/components/locTypeAssignTask/locTypeCascader.vue","webpack:///./src/components/task/edit/components/locTypeAssignTask/locTypeCascader.vue?db96","webpack:///./src/components/task/edit/components/locTypeAssignTask/locTypeCascader.vue?48a3"],"names":["getTypeTreeData","_ref","data","params","store","Promise","resolve","requestApi","api","method","then","res","rs","dynamicDispatcher","render","_vm","this","_c","_self","staticClass","class","concat","disableAdd","staticStyle","attrs","list","checkStrictly","disabled","size","on","cascaderOnChange","model","value","cascaderSelected","callback","$$v","expression","hasPermission","_e","$event","stopPropagation","showModal","directives","name","rawName","chseAvail","inpuOnChange","chseAvailTxt","_v","_s","otherTxt","modalClose","scopedSlots","_u","key","fn","selectedTypeId","proxy","editMode","saveLocType","modalShow","addSub","handleTreeSelect","deleteType","locTypeModel","listFlat","filter","x","id","parentId","length","title","$set","code","ord","fileUploaded","attachId","slot","preventDefault","showAttach","coverUploaded","field1","i1","fileDialog","modal","blank","src","show","staticRenderFns","LTT","require","_","components","Cascader","FormItem","InputNumber","Input","Form","Tree","Checkbox","Select","Option","simpleUploader","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","props","type","Number","default","txt","String","locTypekey","guid","getParentType","Boolean","withUserId","chseAvailVal","selectedLabel","postedId","mounted","init","methods","perrArr","hasOneOf","$store","state","user","access","undefined","_this","split","dataTypes","types","ltt","key_id","key_parent","key_child","orderBy","GetTree","_occt","cascaderModelRecursive","reverse","cid","push","d","pid","_id","selectedData","_txt","$emit","label","field","e","target","expand","editSub","locTypeDetail","_this2","confirm","request","url","_this3","_this4","typeId","uploadedAttachmentId","uploadedUrl"],"mappings":"wLAGaA,EAAkB,SAAHC,GAAgC,IAA1BC,EAAID,EAAJC,KAAMC,EAAMF,EAANE,OAAQC,EAAKH,EAALG,MAC9C,OAAO,IAAIC,SAAQ,SAAAC,GACjBC,eAAW,CACTC,IAAK,mBACL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7F,EAAA,EAAAA,IAEAL,WAAA,SAAAK,GAAA,IAAA8F,EAAA,KAGAC,QACA,4EAGAC,eAAA,CACAlK,KAAA,CAAAkE,MACA5D,IAAA,CAAA6J,IAAA,kBAAA5J,OAAA,QACAL,MAAA,KAAA6H,SACAvH,MAAA,SAAAC,GACA,GAAAA,IACAuJ,EAAAxG,UAAA,EACAwG,EAAA1G,eAAA,EACA0G,EAAArC,YAKAmC,QAAA,SAAA5F,GACA,KAAAV,UAAA,EACA,KAAAuG,cAAA7F,EAAA,IAGA6F,cAAA,SAAA7F,EAAAkF,GAAA,IAAAgB,EAAA,KACAF,eAAA,CACAjK,OAAA,CAAAiE,KAAAC,SAAAiF,EAAAhG,IAAA,KAAA8D,YACA5G,IAAA,CAAA6J,IAAA,0BAAA5J,OAAA,OACAL,MAAA,KAAA6H,SACAvH,MAAA,SAAAC,GAEA2J,EAAAtG,aAAArD,EAAAT,SASAyD,YAAA,eAAA4G,EAAA,KAKAH,eAAA,CACAlK,KAAA,CAAA6B,MAAA,KAAAiC,cACAxD,IAAA,CAAA6J,IAAA,gBAAA5J,OAAA,QACAL,MAAA,KAAA6H,SACAvH,MAAA,SAAAC,GACA,GAAAA,IACA4J,EAAA7G,UAAA,EACA6G,EAAA5C,SAAAhH,EAAAT,KAAAsK,OACAD,EAAA/G,eAAA7C,EAAAT,KAAAsK,OACAD,EAAA1C,YAMAlD,aAAA,SAAAkF,GACA,KAAA7F,aAAAY,SAAAiF,EAAAY,sBAEAzF,cAAA,SAAA6E,GACA,KAAA7F,aAAAiB,OAAA4E,EAAAa,eCzoBoZ,I,YCOhZnE,EAAY,eACd,EACAzF,EACA0E,GACA,EACA,KACA,KACA,MAIa,aAAAe,E","file":"js/chunk-1c590398.75845043.js","sourcesContent":["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","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'}`},[_c('Cascader',{staticStyle:{\"width\":\"100%\"},attrs:{\"filterable\":\"\",\"options\":_vm.list,\"props\":{ checkStrictly: _vm.checkStrictly },\"change-on-select\":\"\",\"disabled\":_vm.disabled,\"clearable\":\"\",\"size\":_vm.size},on:{\"change\":_vm.cascaderOnChange},model:{value:(_vm.cascaderSelected),callback:function ($$v) {_vm.cascaderSelected=$$v},expression:\"cascaderSelected\"}})],1),(\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('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.chseAvail),expression:\"chseAvail\"}],staticClass:\"ivu-col ivu-col-span-24 m-t-xs\"},[_c('Input',{attrs:{\"type\":\"text\"},on:{\"on-change\":_vm.inpuOnChange},model:{value:(_vm.chseAvailTxt),callback:function ($$v) {_vm.chseAvailTxt=$$v},expression:\"chseAvailTxt\"}}),_c('div',{staticClass:\"text-muted tx-11 eddt-title-info\"},[_vm._v(_vm._s(_vm.otherTxt))])],1),_c('b-modal',{attrs:{\"scrollable\":\"\",\"centered\":\"\",\"body-class\":\"pd-0\",\"size\":\"lg\"},on:{\"hide\":function($event){return _vm.modalClose()}},scopedSlots:_vm._u([{key:\"modal-header\",fn:function(){return [_c('div',[_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)])]},proxy:true},{key:\"modal-footer\",fn:function(){return [_c('button',{staticClass:\"btn btn-white mg-r-10\",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:\"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","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!./locTypeCascader.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!./locTypeCascader.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./locTypeCascader.vue?vue&type=template&id=cd185608\"\nimport script from \"./locTypeCascader.vue?vue&type=script&lang=js\"\nexport * from \"./locTypeCascader.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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}