{"version":3,"sources":["webpack:///./src/components/task/edit/components/locTypeCascader/locTypeCascader.vue","webpack:///src/components/task/edit/components/locTypeCascader/locTypeCascader.vue","webpack:///./src/components/task/edit/components/locTypeCascader/locTypeCascader.vue?d76b","webpack:///./src/components/task/edit/components/locTypeCascader/locTypeCascader.vue?b2bf","webpack:///./src/api/type.js"],"names":["render","_vm","this","_c","_self","staticClass","class","concat","disableAdd","staticStyle","attrs","placeholder","list","checkStrictly","multiple","disabled","size","on","cascaderOnChange","model","value","cascaderSelected","callback","$$v","expression","hasPermission","_e","$event","stopPropagation","showModal","modalClose","scopedSlots","_u","key","fn","_v","_s","selectedTypeId","proxy","directives","name","rawName","editMode","saveLocType","modalShow","addSub","handleTreeSelect","deleteType","locTypeModel","listFlat","filter","x","id","parentId","length","title","domProps","target","composing","$set","getLbl","code","ord","fileUploaded","attachId","slot","preventDefault","showAttach","coverUploaded","field1","i1","field2","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","locTypekey","String","guid","getParentType","Boolean","withUserId","parentFilterable","data","selectedLabel","postedId","mounted","init","methods","sortByLabel","a","b","label","localeCompare","sortTreeNodes","node","comparator","self","undefined","children","orderBy","forEach","child","compareById","vector","aid","get","bid","rv","perrArr","hasOneOf","$store","state","user","access","_this","getTypeTreeData","params","userId","store","then","res","parentType","types","dataTypes","push","map","app","activeGroup","hostPro","ltt","key_id","key_parent","key_child","GetTree","cascaderModelRecursive","reverse","cid","d","pid","_lasts","_id","$emit","dta","selectedData","e","expand","editSub","locTypeDetail","_this2","confirm","request","api","url","method","_this3","_this4","typeId","uploadedAttachmentId","uploadedUrl","_ref","Promise","resolve","requestApi","rs","dynamicDispatcher"],"mappings":"+KAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAA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GACN,GAAW,GAAPA,EAAc,CAChB,IAAI2C,EAAKC,eAAkB5C,EAAKF,GAE9B2C,EADQ,GAANE,GACMA,QAKVF,GAAQ","file":"js/chunk-7eaa2385.42f767e6.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'}`},[_c('Cascader',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":_vm.placeholder,\"filterable\":\"\",\"options\":_vm.list,\"props\":{ checkStrictly: _vm.checkStrictly, multiple: _vm.multiple },\"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 'researcheradmin',\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\":\"\",\"centered\":\"\",\"body-class\":\"pd-0\",\"size\":\"lg\"},on:{\"hide\":function($event){return _vm.modalClose()}},scopedSlots:_vm._u([{key:\"modal-header\",fn:function(){return [_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\",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 manual-tree\",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 >\n 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',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.locTypeModel.name),expression:\"locTypeModel.name\"}],staticClass:\"el-input__inner\",attrs:{\"placeholder\":\"___\",\"type\":\"text\"},domProps:{\"value\":(_vm.locTypeModel.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.locTypeModel, \"name\", $event.target.value)}}})]),_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.getLbl()}},[_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-bottom\":\"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-bottom\":\"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 == 'courseType')?_c('FormItem',{staticClass:\"m-b-sm\",attrs:{\"label\":\"Төрлийн сургалтуудыг сурагчийн цэсэнд харуулах ?\"}},[_c('Select',{model:{value:(_vm.locTypeModel.field2),callback:function ($$v) {_vm.$set(_vm.locTypeModel, \"field2\", $$v)},expression:\"locTypeModel.field2\"}},[_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\"}},[_c('div',{staticClass:\"modal-body pd-0\"},[(_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\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n ×\n \n \n \n \n \n Төрөл {{ selectedTypeId == 0 ? \"үүсгэх\" : \"засах\" }}\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 x.id == locTypeModel.parentId).length >\n 0\n \"\n >{{\n listFlat.filter((x) => x.id == locTypeModel.parentId)[0].title\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 Файл сонгоогүй байна\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 {{ selectedTypeId == 0 ? \"Үүсгэх\" : \"Засах\" }}\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!./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=6d6f917f\"\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","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"],"sourceRoot":""}
\n Тохирох утгуудыг бөглөөд хадгалах дарна уу\n