{"version":3,"sources":["webpack:///./src/components/task/edit/components/locTypeAssignTaskOther/locTypeCascader.vue","webpack:///src/components/task/edit/components/locTypeAssignTaskOther/locTypeCascader.vue","webpack:///./src/components/task/edit/components/locTypeAssignTaskOther/locTypeCascader.vue?fe20","webpack:///./src/components/task/edit/components/locTypeAssignTaskOther/locTypeCascader.vue?5c51","webpack:///./src/api/type.js","webpack:///./src/components/task/edit/components/locTypeAssignTaskOther/index.js"],"names":["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","editMode","saveLocType","selectedTypeId","proxy","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","data","chseAvailVal","selectedLabel","postedId","mounted","init","methods","perrArr","hasOneOf","$store","state","user","access","undefined","_this","getTypeTreeData","params","split","store","then","res","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","api","url","method","_this3","_this4","typeId","uploadedAttachmentId","uploadedUrl","_ref","Promise","resolve","requestApi","rs","dynamicDispatcher","locTypeCascader"],"mappings":"gMAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,C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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\":\"\",\"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","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=f4c1c81a\"\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","import locTypeCascader from \"./locTypeCascader.vue\";\nexport default locTypeCascader;\n"],"sourceRoot":""}