{"version":3,"sources":["webpack:///./src/views/modules/form/list/formList.vue","webpack:///src/views/modules/form/list/formList.vue","webpack:///./src/views/modules/form/list/formList.vue?b52f","webpack:///./src/views/modules/form/list/formList.vue?8b10"],"names":["render","_vm","this","_c","_self","staticClass","formDialog","id","attrs","ot","on","$event","$set","editShow","showFile","init","formLoaded","formUpdated","_e","ref","staticStyle","listSetting","mainMenu","_v","_s","formName","closeBtnShow","$emit","chooser","checkedFormIds","length","chooserCompleted","newBtnShow","forceClose","statisticLoad","addTag","style","concat","scrSideHeight","maxScrollbarLength","_l","types","t","i","key","class","active","searchModel","locTypeId","filterList","s1","directives","name","rawName","value","expression","formsCount","fields","f","span","title","scrHeight","loading","forms","showDetail","pager","current","perPage","stopPropagation","formChecked","questionData","count","_f","startDate","endDate","pageChanged","model","callback","$$v","cancelForm","scopedSlots","_u","fn","postForm","proxy","formModal","formModel","$store","state","app","activeGroup","erpExamChanged","integrationCode","erpExams","examName","examId","domProps","target","composing","password","editorKey","info","viewType","questionShuffle","answerShuffle","user","userInfo","groupId","isRegisterRequired","onFinishEvent","attemptCount","a","setLessonExamRange","minute","hasPermission","fileUploaded","slot","fileId","fileName","isAnonymous","timeLimit","ord","addTagConfig","modal","getTypeData","fileDialog","show","staticRenderFns","moment","require","components","VueCtkDateTimePicker","Form","FormItem","Input","DatePicker","InputNumber","Select","Option","vueCustomScrollbar","summernote","component","AsyncLoading","error","AsyncLoadError","delay","timeout","formDetail","tagModal","simpleUploader","data","forceLoad","mode","fetched","description","flag","page","size","routeConfig","edit","detail","props","prms","type","Object","default","beforeDestroy","tasks","window","removeEventListener","getWindowHeight","mounted","_this","undefined","objectTypeId","$nextTick","build","parseInt","$route","params","methods","_objectSpread","mapActions","perrArr","hasOneOf","access","e","frm","filter","x","extras","$refs","mainHeader","offsetHeight","listHeader","listFooter","extraSide","sideTop","sideBtm","innerHeight","handleLoading","isLoading","addEventListener","force","_this2","request","api","method","url","store","then","res","now","fetchData","_this3","taskLoaded","index","indexOf","splice","push","formatDateYMDHM","add","Date","dispose","onFormDelete","aside","minimize","handleAside","maximize","assign","$data","$options","field","uploadedAttachmentId","uploadedName","_this4","list","locType","format","_this5","getParentType","field1","_this6","errs","Notification","message","duration","position","offset","watch","_this7"],"mappings":"uIAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAAEJ,EAAIK,WAAWC,GAAK,EAAGJ,EAAG,cAAc,CAACK,MAAM,CAAC,GAAKP,EAAIK,WAAWC,GAAG,KAAON,EAAIQ,IAAIC,GAAG,CAAC,YAAY,SAASC,GAAQ,OAAOV,EAAIW,KAAKX,EAAIK,WAAY,KAAMK,IAAS,cAAc,SAASA,GAAQV,EAAIQ,GAAGE,GAAQ,UAAU,SAASA,GAAQ,OAAOV,EAAIY,SAASF,IAAS,YAAY,SAASA,GAAQ,OAAOV,EAAIa,SAASH,IAAS,YAAY,SAASA,GAAQV,EAAIK,WAAWC,GAAK,EACpeN,EAAIc,QAAS,gBAAgB,SAASJ,GAAQV,EAAIK,WAAWC,GAAK,EAClEN,EAAIe,cAAe,aAAaf,EAAIgB,eAAehB,EAAIiB,KAAK,CAACf,EAAG,MAAM,CAACgB,IAAI,aAAad,YAAY,0CAA0C,CAACF,EAAG,MAAM,CAACE,YAAY,kCAAkCe,YAAY,CAAC,OAAS,SAAS,CAAEnB,EAAIoB,YAAYC,SAAUnB,EAAG,MAAM,CAACA,EAAG,IAAI,CAACE,YAAY,6CAA6CG,MAAM,CAAC,KAAO,WAAW,CAACP,EAAIsB,GAAGtB,EAAIuB,GAAGvB,EAAIwB,eAAgBxB,EAAIoB,YAAYK,aAAcvB,EAAG,MAAM,CAACA,EAAG,IAAI,CAACE,YAAY,6CAA6CK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAI0B,MAAM,eAAe,CAACxB,EAAG,UAAU,CAACK,MAAM,CAAC,KAAO,QAAQ,K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J,EAAAnO,YAIAqO,kBAAArG,MAAA,CACAsG,QAAAF,EAAA,GACAG,SAAA,IACAnF,KAAA,QACAoF,SAAA,YACAC,OAAA,MAQAzK,WAAA,WACA,KAAAO,UAAA,CACA/E,GAAA,EACA6C,KAAA,GACAqB,UAAA,KACAC,QAAA,KACA1B,UAAA,KACAmD,SAAA,GACAuD,YAAA,GACArD,KAAA,GACAgB,OAAA,EACAC,SAAA,GACAC,YAAA,EACAC,UAAA,EACAX,cAAA,KACAY,IAAA,EACA7B,gBAAA,MAEA,KAAAP,WAAA,EACA,KAAAe,aAEAT,eAAA,SAAA+F,GACA,IAAAvL,EAAA,KAAA0F,SAAA+F,QAAA,SAAAC,GAAA,OAAAA,EAAA9F,QAAA2F,KACAvL,EAAA2B,OAAA,IACA,KAAAwD,UAAAlC,KAAAjD,EAAA,GAAA2F,aAKA2J,MAAA,CACA,8BAAAC,EAAA,KAEA,KAAA3B,UACA,KAAAhD,WAAA,WACA2E,EAAAnG,WAAA,EACAmG,EAAA3E,WAAA,WACA2E,EAAA1E,MACAC,SAAAyE,EAAAxE,OAAAC,OAAA1K,GAAA,IACAiP,EAAAxE,OAAAC,OAAApB,KACA2F,EAAAxE,OAAAC,OAAAnB,iBC7rC8X,I,YCO1XnB,EAAY,eACd,EACA7I,EACA+H,GACA,EACA,KACA,KACA,MAIa,aAAAc,E","file":"js/chunk-2d0e8cea.666b8dc6.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"content ht-100v pd-0\"},[(_vm.formDialog.id > 0)?_c('form-detail',{attrs:{\"id\":_vm.formDialog.id,\"flag\":_vm.ot},on:{\"update:id\":function($event){return _vm.$set(_vm.formDialog, \"id\", $event)},\"update:flag\":function($event){_vm.ot=$event},\"on-edit\":function($event){return _vm.editShow($event)},\"on-attach\":function($event){return _vm.showFile($event)},\"on-reload\":function($event){_vm.formDialog.id = 0;\n _vm.init();},\"on-form-close\":function($event){_vm.formDialog.id = 0;\n _vm.formLoaded();},\"on-updated\":_vm.formUpdated}}):_vm._e(),[_c('div',{ref:\"mainHeader\",staticClass:\"content-header bd-b pd-0 bg-core-light\"},[_c('nav',{staticClass:\"navbar navbar-expand-lg wd-100p\",staticStyle:{\"height\":\"59px\"}},[(_vm.listSetting.mainMenu)?_c('div',[_c('a',{staticClass:\"order-1 navbar-brand tx-bold tx-spacing--2\",attrs:{\"role\":\"button\"}},[_vm._v(_vm._s(_vm.formName))])]):(_vm.listSetting.closeBtnShow)?_c('div',[_c('a',{staticClass:\"btn btn-sm pd-x-15 btn-uppercase mg-l-auto\",on:{\"click\":function($event){return _vm.$emit('on-close')}}},[_c('feather',{attrs:{\"type\":\"x\"}})],1)]):_vm._e(),_c('a',{staticClass:\"order-2 navbar-toggler\",attrs:{\"type\":\"button\",\"data-toggle\":\"collapse\",\"data-target\":`#navbarSupportedContent_1`,\"aria-controls\":`navbarSupportedContent_1`,\"aria-expanded\":\"false\",\"aria-label\":\"Toggle navigation\"}},[_c('feather',{staticClass:\"wd-20 ht-20\",attrs:{\"type\":\"menu\"}})],1),_c('div',{staticClass:\"order-2 collapse navbar-collapse\",attrs:{\"id\":`navbarSupportedContent_1`}},[_c('div',{staticClass:\"mg-l-auto\"},[(_vm.listSetting.chooser)?[(_vm.checkedFormIds.length == 0)?[_c('div',{staticClass:\"alert alert-warning\",staticStyle:{\"display\":\"inline-block\",\"padding\":\"6px 15px\"},attrs:{\"role\":\"alert\"}},[_vm._v(\" Холбох [\"+_vm._s(_vm.formName)+\"] - н урд байрлах \"),_c('feather',{attrs:{\"type\":\"square\",\"stroke-width\":\"1\",\"size\":\"14\"}}),_vm._v(\"дараад холбох дарна уу! \")],1)]:[_c('a',{staticClass:\"text-white btn btn-sm pd-x-15 btn-success btn-uppercase mg-r-5\",on:{\"click\":_vm.chooserCompleted}},[_c('feather',{staticClass:\"feather feather-chevron-down ht-15 pd-r-5\",attrs:{\"type\":\"link\"}}),_vm._v(\"холбох \")],1)]]:_vm._e(),(_vm.listSetting.newBtnShow)?_c('a',{staticClass:\"text-white btn btn-sm pd-x-15 btn-primary btn-uppercase\",on:{\"click\":function($event){return _vm.editShow(0)}}},[_c('feather',{staticClass:\"m-r-5\",attrs:{\"type\":\"plus\"}}),_vm._v(\"Ð¨Ð¸Ð½Ñ \")],1):_vm._e(),(_vm.listSetting.closeBtnShow)?_c('a',{staticClass:\"text-white btn btn-sm pd-x-15 btn-uppercase mg-l-5 btn-danger\",on:{\"click\":_vm.forceClose}},[_c('feather',{staticClass:\"m-r-5\",attrs:{\"type\":\"x\"}}),_vm._v(\"Хаах \")],1):_vm._e()],2)])])]),_c('div',{staticClass:\"overflow-hidden content-body pd-x-0 pd-y-0\"},[_c('div',{staticClass:\"container-fluid pd-x-0\",attrs:{\"id\":\"cstmScrll\"}},[_c('div',{staticClass:\"row no-gutters\"},[_c('div',{staticClass:\"col-xs-2 col-md-2 bg-core-light\"},[(_vm.listSetting.statisticLoad)?_c('div',{ref:\"sideTop\",staticClass:\"pd-x-10\"}):_vm._e(),_c('div',{staticClass:\"bg-white pd-10\"},[_c('button',{staticClass:\"btn btn-outline-light btn-xs btn-block\",on:{\"click\":function($event){return _vm.addTag('formType')}}},[_c('i',{staticClass:\"icon ion-md-add tx-14 mg-r-5 pd-t-5\"}),_vm._v(\" Төрөл Ò¯Ò¯ÑгÑÑ… \")])]),_c('vue-custom-scrollbar',{staticClass:\"bd-t\",style:(`height:${_vm.scrSideHeight}px`),attrs:{\"settings\":{ maxScrollbarLength: 60 }}},[_c('nav',{staticClass:\"nav nav-sidebar tx-13 pd-x-5 pd-t-10\"},_vm._l((_vm.types),function(t,i){return _c('a',{key:`fltrType_${i}`,staticClass:\"nav-link\",class:{ active: _vm.searchModel.locTypeId == t.id },attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.filterList(t.id)}}},[_c('feather',{attrs:{\"type\":\"folder\"}}),_c('div',[_c('span',[_vm._v(_vm._s(t.s1))])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.searchModel.locTypeId == t.id),expression:\"searchModel.locTypeId == t.id\"}],staticClass:\"text-white badge\"},[_c('feather',{staticStyle:{\"color\":\"red\"},attrs:{\"type\":\"x\"}})],1)],1)}),0)]),_c('div',{ref:\"sideBtm\",staticClass:\"text-center d-none d-md-block bd-t\"},[_c('div',{staticClass:\"btn-group mg-y-7\",attrs:{\"role\":\"group\",\"aria-label\":\"Basic example\"}},[_c('button',{staticClass:\"btn btn-xs btn-light\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.init(true)}}},[_c('feather',{staticClass:\"mg-r-5\",attrs:{\"type\":\"refresh-ccw\"}}),_c('span',[_vm._v(\"Бүгд\")])],1)])])],1),_c('div',{staticClass:\"col-xs-10 col-md-10 bd-l\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.formsCount > 0),expression:\"formsCount > 0\"}],ref:\"listHeader\",staticClass:\"row no-gutters bg-list-header\"},[_c('div',{staticClass:\"text-center wd-5p tx-10 align-items-center d-flex\"},[_vm._v(\" # \")]),_vm._l((_vm.fields),function(f,i){return _c('div',{key:i,class:`tx-10 align-items-center d-flex pd-y-7 text-black bd-l text-uppercase lh-1`,style:(`width: ${f.span}%`)},[_vm._v(\" \"+_vm._s(f.title)+\" \")])})],2),_c('vue-custom-scrollbar',{style:(`height:${_vm.scrHeight}px`),attrs:{\"settings\":{ maxScrollbarLength: 60 }}},[(!_vm.loading)?_c('div',{staticClass:\"d-list\"},[(_vm.formsCount == 0)?_c('div',{},[_c('div',{},[_c('div',{staticClass:\"ht-700 d-flex flex-column align-items-center justify-content-center\"},[_c('div',{staticClass:\"wd-70p wd-sm-250 wd-lg-300 mg-b-15\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":\"assets/img/img22.png\",\"alt\":\"\"}})]),_c('p',{staticClass:\"tx-color-03 mg-b-30\"},[_vm._v(\" ЖагÑаалт хооÑон байна. \")])])])]):_vm._l((_vm.forms),function(f,i){return _c('div',{key:i,staticClass:\"d-row\"},[_c('div',{staticClass:\"row highlight no-gutters list-row\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.showDetail(f)}}},[_c('div',{staticClass:\"wd-5p no-gutters align-items-center d-flex justify-content-end\"},[_c('div',{staticClass:\"pr-1 text-right text-muted tx-11\"},[_vm._v(\" \"+_vm._s((_vm.pager.current - 1) * _vm.pager.perPage + i + 1)+\" \")]),_c('div',{staticClass:\"pt-1 text-center wd-25 bd-l\",on:{\"click\":function($event){$event.stopPropagation();}}},[_c('input',{attrs:{\"type\":\"checkbox\",\"role\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();},\"change\":function($event){return _vm.formChecked(f.id)}}})])]),_c('div',{staticClass:\"tx-12 align-items-center d-flex bd-l\",style:(`width: 45%`)},[_c('div',{staticClass:\"pd-x-5 text\"},[_vm._v(_vm._s(f.title))])]),_c('div',{staticClass:\"tx-12 align-items-center d-flex bd-l\",style:(`width: 10%`)},[_c('div',{staticClass:\"pd-x-5 text\"},[_vm._v(\" \"+_vm._s(f.questionData.count)+\" \")])]),_c('div',{staticClass:\"tx-12 align-items-center d-flex bd-l\",style:(`width: 20%`)},[_c('div',{staticClass:\"pd-x-5 text\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(f.startDate,\"YYYY/MM/DD HH:mm\"))+\" \")])]),_c('div',{staticClass:\"tx-12 align-items-center d-flex bd-l\",style:(`width: 20%`)},[_c('div',{staticClass:\"pd-x-5 text\"},[_vm._v(\" \"+_vm._s(_vm._f(\"moment\")(f.endDate,\"YYYY/MM/DD HH:mm\"))+\" \")])])])])})],2):_c('div')]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.formsCount > 0),expression:\"formsCount > 0\"}],ref:\"listFooter\",staticClass:\"py-2 d-flex justify-content-between bd-t bg-core-light\"},[_c('div',{staticClass:\"pd-x-5 pd-t-5 text-muted tx-12\"},[_vm._v(\" Ðийт: \"),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.formsCount))]),_vm._v(\" бичилт. Харагдаж буй: \"),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s((_vm.pager.current - 1) * _vm.pager.perPage + 1))]),_vm._v(\" - \"),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s((_vm.pager.current - 1) * _vm.pager.perPage + _vm.forms.length))])]),_c('div',[_c('b-pagination',{staticStyle:{\"margin-bottom\":\"0\"},attrs:{\"size\":\"sm\",\"align\":\"center\",\"total-rows\":_vm.formsCount,\"per-page\":_vm.pager.perPage},on:{\"change\":_vm.pageChanged},model:{value:(_vm.pager.current),callback:function ($$v) {_vm.$set(_vm.pager, \"current\", $$v)},expression:\"pager.current\"}})],1),_c('div',[_c('a',{attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.init(true)}}},[_c('feather',{staticClass:\"wd-20 ht-20 text-muted mg-r-10 mg-t-5\",attrs:{\"type\":\"refresh-cw\"}})],1)])])],1)])])])],_c('b-modal',{attrs:{\"scrollable\":\"\",\"title\":_vm.formName+' Ò¯Ò¯ÑгÑÑ… / заÑах',\"centered\":\"\",\"size\":\"lg\",\"body-class\":\"pd-0\"},on:{\"hide\":_vm.cancelForm},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('div',[_c('button',{staticClass:\"btn btn-white mg-r-10\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancelForm}},[_vm._v(\" Болих \")]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.postForm()}}},[_vm._v(\"Хадгалах\")])])]},proxy:true}]),model:{value:(_vm.formModal),callback:function ($$v) {_vm.formModal=$$v},expression:\"formModal\"}},[(_vm.formModal)?_c('div',{staticClass:\"modal-body pd-sm-t-30 pd-sm-b-40 pd-sm-x-30\"},[_c('Form',{attrs:{\"model\":_vm.formModel,\"label-position\":\"right\",\"label-width\":\"250px\"}},[(\n (_vm.$store.state.app.activeGroup.id == 9241 ||\n _vm.$store.state.app.activeGroup.id == 9249) &&\n (_vm.ot == 500 || _vm.ot == 900)\n )?_c('FormItem',{attrs:{\"label\":\"Шалгалт ERP\"}},[_c('Select',{staticStyle:{\"width\":\"100%\"},on:{\"change\":_vm.erpExamChanged},model:{value:(_vm.formModel.integrationCode),callback:function ($$v) {_vm.$set(_vm.formModel, \"integrationCode\", $$v)},expression:\"formModel.integrationCode\"}},_vm._l((_vm.erpExams),function(t,i){return _c('Option',{key:i,attrs:{\"label\":t.examName,\"value\":t.examId}})}),1)],1):_vm._e(),_c('FormItem',{attrs:{\"label\":\"Төрөл\"}},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"wd-80p\"},[_c('Select',{staticStyle:{\"width\":\"100%\"},model:{value:(_vm.formModel.locTypeId),callback:function ($$v) {_vm.$set(_vm.formModel, \"locTypeId\", $$v)},expression:\"formModel.locTypeId\"}},_vm._l((_vm.types),function(t,i){return _c('Option',{key:i,attrs:{\"label\":t.s1,\"value\":t.id}},[_vm._v(_vm._s(t.s1))])}),1)],1),_c('div',{staticClass:\"wd-20p mg-l-5\"},[_c('button',{staticClass:\"btn btn-outline-light\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.addTag('formType')}}},[_c('i',{staticClass:\"icon ion-md-add tx-14 mg-r-5 pd-t-5\"})])])])]),_c('FormItem',{attrs:{\"label\":\"Гарчиг\"}},[_c('div',{staticClass:\"el-input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.formModel.name),expression:\"formModel.name\"}],staticClass:\"el-input__inner\",attrs:{\"placeholder\":\"Гарчиг\",\"type\":\"text\"},domProps:{\"value\":(_vm.formModel.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.formModel, \"name\", $event.target.value)}}})])]),(_vm.ot == 900)?_c('FormItem',{attrs:{\"label\":\"Шалгалтын нууц үг\"}},[_c('Input',{attrs:{\"placeholder\":\"Шалгалтын нууц үг\",\"type\":\"text\"},model:{value:(_vm.formModel.password),callback:function ($$v) {_vm.$set(_vm.formModel, \"password\", $$v)},expression:\"formModel.password\"}})],1):_c('FormItem',{attrs:{\"label\":\"Тайлбар\"}},[_c('summernote',{key:_vm.editorKey,staticClass:\"m-t-sm m-b-sm\",attrs:{\"text\":_vm.formModel.info},model:{value:(_vm.formModel.info),callback:function ($$v) {_vm.$set(_vm.formModel, \"info\", $$v)},expression:\"formModel.info\"}})],1),(_vm.ot == 900 || _vm.ot == 600)?_c('FormItem',{attrs:{\"label\":\"ÐхлÑÑ…\"}},[_c('VueCtkDateTimePicker',{attrs:{\"locale\":\"mn\",\"minute-interval\":5,\"no-label\":\"\",\"format\":\"YYYY-MM-DD HH:mm\"},model:{value:(_vm.formModel.startDate),callback:function ($$v) {_vm.$set(_vm.formModel, \"startDate\", $$v)},expression:\"formModel.startDate\"}})],1):_vm._e(),(\n _vm.ot == 900 ||\n _vm.ot == 600 ||\n (_vm.ot == 700 && _vm.$store.state.app.activeGroup.id == 6126)\n )?_c('FormItem',{attrs:{\"label\":\"ДууÑах\"}},[_c('VueCtkDateTimePicker',{attrs:{\"locale\":\"mn\",\"minute-interval\":5,\"no-label\":\"\",\"format\":\"YYYY-MM-DD HH:mm\"},model:{value:(_vm.formModel.endDate),callback:function ($$v) {_vm.$set(_vm.formModel, \"endDate\", $$v)},expression:\"formModel.endDate\"}})],1):_vm._e(),(_vm.ot == 900 || _vm.ot == 500)?_c('FormItem',{attrs:{\"label\":\"ÐÑуултын харагдац\"}},[_c('Select',{model:{value:(_vm.formModel.viewType),callback:function ($$v) {_vm.$set(_vm.formModel, \"viewType\", $$v)},expression:\"formModel.viewType\"}},[_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Бүх аÑуулт нÑг хуудÑанд\"}},[_vm._v(\"Бүх аÑуулт нÑг хуудÑанд\")]),_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"БүлгÑÑÑ€ хуудаÑлалт Ò¯Ò¯ÑгÑж харуулах\"}},[_vm._v(\"БүлгÑÑÑ€ хуудаÑлалт Ò¯Ò¯ÑгÑж харуулах\")])],1)],1):_vm._e(),(_vm.ot == 900 || _vm.ot == 500)?_c('FormItem',{attrs:{\"label\":\"ÐÑуултыг холих ÑÑÑÑ…\"}},[_c('Select',{model:{value:(_vm.formModel.questionShuffle),callback:function ($$v) {_vm.$set(_vm.formModel, \"questionShuffle\", $$v)},expression:\"formModel.questionShuffle\"}},[_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")]),_c('Option',{key:-1,attrs:{\"value\":-1,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")])],1),_c('div',{staticClass:\"text-muted tx-11 eddt-title-info\"},[_vm._v(\" Үгүй гÑÑÑн тохиолдолд аÑуултын Ñангийн дарааллаар аÑуулт Ò¯Ò¯ÑнÑ. \")])],1):_vm._e(),(_vm.ot == 900 || _vm.ot == 500)?_c('FormItem',{attrs:{\"label\":\"Хариултыг холих ÑÑÑÑ…\"}},[_c('Select',{model:{value:(_vm.formModel.answerShuffle),callback:function ($$v) {_vm.$set(_vm.formModel, \"answerShuffle\", $$v)},expression:\"formModel.answerShuffle\"}},[_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")]),_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")])],1),_c('div',{staticClass:\"text-muted tx-11 eddt-title-info\"},[_vm._v(\" Үгүй гÑÑÑн тохиолдолд Ñангийн дарааллаар хариулт харагдана. \")])],1):_vm._e(),((_vm.ot == 900 || _vm.ot == 500)&& (_vm.$store.state.user.userInfo.groupId == 9157 ||\n _vm.$store.state.user.userInfo.groupId == 1104 || _vm.$store.state.user.userInfo.groupId == 9256 || _vm.$store.state.user.userInfo.groupId == 9352\n ))?_c('FormItem',{attrs:{\"label\":\"Шалгалтын ÑиÑтем хувилбар 5.0\"}},[_c('Select',{model:{value:(_vm.formModel.isRegisterRequired),callback:function ($$v) {_vm.$set(_vm.formModel, \"isRegisterRequired\", $$v)},expression:\"formModel.isRegisterRequired\"}},[_c('Option',{key:true,attrs:{\"value\":true,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")]),_c('Option',{key:false,attrs:{\"value\":false,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")])],1)],1):_vm._e(),((_vm.ot == 900 || _vm.ot == 500) && (_vm.$store.state.user.userInfo.groupId == 9157 ||\n _vm.$store.state.user.userInfo.groupId == 1104\n ) && _vm.formModel.isRegisterRequired)?_c('FormItem',{attrs:{\"label\":\"Шалгалтын бүлÑг алгаÑах боломж ?\"}},[_c('Select',{model:{value:(_vm.formModel.onFinishEvent),callback:function ($$v) {_vm.$set(_vm.formModel, \"onFinishEvent\", $$v)},expression:\"formModel.onFinishEvent\"}},[_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")]),_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")])],1)],1):_vm._e(),(_vm.ot == 500)?_c('FormItem',{attrs:{\"label\":\"Боломжит оролдлого\"}},[_c('Select',{staticStyle:{\"width\":\"150px\"},model:{value:(_vm.formModel.attemptCount),callback:function ($$v) {_vm.$set(_vm.formModel, \"attemptCount\", $$v)},expression:\"formModel.attemptCount\"}},_vm._l((101),function(a,i){return _c('Option',{key:i-1,attrs:{\"value\":a-1}},[_vm._v(_vm._s(a-1))])}),1),_c('div',{staticClass:\"text-muted p-l-sm tx-11 eddt-title-info\"},[_vm._v(\"Бататгах шалгалтыг хамгийн ихдÑÑ Ñ…ÑдÑн удаа дахин бөглөх боломжит оролдлогын тоо\")])],1):_vm._e(),(_vm.ot == 500)?_c('FormItem',{attrs:{\"label\":\"ҮргÑлжлÑÑ… хугацаа\"}},[_c('InputNumber',{attrs:{\"value\":20},on:{\"change\":function($event){return _vm.setLessonExamRange($event)}},model:{value:(_vm.formModel.minute),callback:function ($$v) {_vm.$set(_vm.formModel, \"minute\", $$v)},expression:\"formModel.minute\"}}),_c('span',{staticClass:\"text-muted p-l-sm\"},[_vm._v(\"(минутаар)\")])],1):_vm._e(),(_vm.hasPermission(['formimporter']) && (_vm.ot == 800 || _vm.ot == 700))?[_c('FormItem',{attrs:{\"label\":\"Ð¤Ð°Ð¹Ð»Ð°Ð°Ñ Ñ‚ÐµÑÑ‚ Ò¯Ò¯ÑгÑÑ…\"}},[_c('simple-uploader',{staticStyle:{\"width\":\"100%\"},attrs:{\"propBoxId\":0,\"propObjectId\":'0',\"propObjectTypeId\":6},on:{\"on-success\":function($event){return _vm.fileUploaded($event)}}},[_c('div',{staticClass:\"wd-100p\",attrs:{\"slot\":\"trigger\"},slot:\"trigger\"},[(_vm.formModel.fileId == 0)?_c('span',[_vm._v(\"Ñ„Ð°Ð¹Ð»Ð°Ð°Ñ Ð¸Ð¼Ð¿Ð¾Ñ€Ñ‚ хийх\")]):_c('span',[_vm._v(_vm._s(_vm.formModel.fileName))])])])],1)]:_vm._e(),(_vm.ot == 700 || _vm.ot == 600)?_c('FormItem',{attrs:{\"label\":\"СиÑтемийн Ð±ÑƒÑ Ñ…ÑÑ€ÑглÑгч бөглөх ?\"}},[_c('Select',{model:{value:(_vm.formModel.isAnonymous),callback:function ($$v) {_vm.$set(_vm.formModel, \"isAnonymous\", $$v)},expression:\"formModel.isAnonymous\"}},[_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")]),_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")])],1)],1):_vm._e(),(_vm.ot == 500 && (_vm.$store.state.app.activeGroup.id == 9241 || _vm.$store.state.app.activeGroup.id == 9249))?_c('FormItem',{attrs:{\"label\":\"EQ шалгалт ÑÑÑÑ… ?\"}},[_c('Select',{model:{value:(_vm.formModel.isAnonymous),callback:function ($$v) {_vm.$set(_vm.formModel, \"isAnonymous\", $$v)},expression:\"formModel.isAnonymous\"}},[_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")]),_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")])],1)],1):_vm._e(),(_vm.ot == 700)?_c('FormItem',{attrs:{\"label\":\"Хариултын харагдац\"}},[_c('Select',{model:{value:(_vm.formModel.questionShuffle),callback:function ($$v) {_vm.$set(_vm.formModel, \"questionShuffle\", $$v)},expression:\"formModel.questionShuffle\"}},[_c('Option',{key:-1,attrs:{\"value\":-1,\"label\":\"ЖагÑаалтаар\"}}),_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Ð¥Ò¯ÑнÑгтÑÑÑ€\"}})],1),_c('div',{staticClass:\"text-muted tx-11 eddt-title-info lh-1 mg-t-10\"},[_vm._v(\" ЖагÑаалтаар Ñонголт нь хариулт Ñ‚ÑƒÑ Ð±Ò¯Ñ€ ÑˆÐ¸Ð½Ñ Ð¼Ó©Ñ€Ó©Ð½Ð´ харагдана. Ð¥Ò¯ÑнÑгтÑÑÑ€ Ñонголт нь хариулт Ñ‚ÑƒÑ Ð±Ò¯Ñ€ баганан Ñ…ÑлбÑÑ€ÑÑÑ€ харагдана \")])],1):_vm._e(),(_vm.ot == 600)?_c('FormItem',{attrs:{\"label\":\"ХүлÑÑлгийн горим цаг тоолох ?\"}},[_c('Select',{model:{value:(_vm.formModel.timeLimit),callback:function ($$v) {_vm.$set(_vm.formModel, \"timeLimit\", $$v)},expression:\"formModel.timeLimit\"}},[_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")]),_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")])],1)],1):_vm._e(),(_vm.ot == 600)?_c('FormItem',{attrs:{\"label\":\"Үр дүнд Ñ…ÑÑ€ÑглÑгч нууцлах ?\"}},[_c('Select',{model:{value:(_vm.formModel.onFinishEvent),callback:function ($$v) {_vm.$set(_vm.formModel, \"onFinishEvent\", $$v)},expression:\"formModel.onFinishEvent\"}},[_c('Option',{key:0,attrs:{\"value\":0,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")]),_c('Option',{key:1,attrs:{\"value\":1,\"label\":\"Тийм\"}},[_vm._v(\"Тийм\")])],1)],1):_vm._e(),(_vm.ot == 500)?_c('FormItem',{attrs:{\"label\":\"Ð¥ÑрхÑн бөглөÑнийг харуулах ?\"}},[_c('Select',{staticClass:\"wd-100p\",model:{value:(_vm.formModel.ord),callback:function ($$v) {_vm.$set(_vm.formModel, \"ord\", $$v)},expression:\"formModel.ord\"}},[_c('Option',{attrs:{\"value\":0,\"label\":\"Үгүй\"}},[_vm._v(\"Үгүй\")]),_c('Option',{attrs:{\"value\":1,\"label\":\"Тийм - Зөв хариултыг харуулна\"}},[_vm._v(\"Тийм (Зөв хариултыг харуулна)\")]),_c('Option',{attrs:{\"value\":2,\"label\":\"Тийм - Зөв хариултыг харуулахгүй\"}},[_vm._v(\"Тийм (Зөв хариултыг харуулахгүй)\")])],1)],1):_vm._e()],2)],1):_vm._e()]),_c('tag-modal',{attrs:{\"shw\":_vm.addTagConfig.modal,\"lkey\":_vm.addTagConfig.key,\"flag\":_vm.ot == 600 ? _vm.ot : null},on:{\"on-load\":function($event){return _vm.getTypeData()},\"on-close\":function($event){_vm.addTagConfig.modal = false}}}),_c('file-dialog',{attrs:{\"show\":_vm.fileDialog.show,\"id\":_vm.fileDialog.id},on:{\"update:show\":function($event){return _vm.$set(_vm.fileDialog, \"show\", $event)},\"update:id\":function($event){return _vm.$set(_vm.fileDialog, \"id\", $event)},\"on-hide\":function($event){_vm.fileDialog.show = false}}})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"content ht-100v pd-0\">\n <!-- <form-edit\n :prms.sync=\"formEdit\"\n :show.sync=\"formEdit.show\"\n @on-attach=\"showFile($event)\"\n @on-form-posted=\"formPosted\"\n @on-edit-close=\"editClosed\"\n ></form-edit>-->\n\n <!-- <mention-users\n :show=\"projectMention.show\"\n :obj.sync=\"project\"\n module=\"form\"\n @on-mention-close=\"projectMention.show= false\"\n ></mention-users>-->\n\n <form-detail\n v-if=\"formDialog.id > 0\"\n :id.sync=\"formDialog.id\"\n :flag.sync=\"ot\"\n @on-edit=\"editShow($event)\"\n @on-attach=\"showFile($event)\"\n @on-reload=\"\n formDialog.id = 0;\n init();\n \"\n @on-form-close=\"\n formDialog.id = 0;\n formLoaded();\n \"\n @on-updated=\"formUpdated\"\n ></form-detail>\n <!-- v-else -->\n <template>\n <div ref=\"mainHeader\" class=\"content-header bd-b pd-0 bg-core-light\">\n <nav class=\"navbar navbar-expand-lg wd-100p\" style=\"height: 59px;\">\n <div v-if=\"listSetting.mainMenu\">\n <a\n class=\"order-1 navbar-brand tx-bold tx-spacing--2\"\n role=\"button\"\n >{{ formName }}</a\n >\n <!-- <div class=\"dropdown-menu tx-13\">\n <a href=\"javascript:void(0)\" class=\"dropdown-item\">Загвар</a>\n <a @click=\"showMention()\" href=\"javascript:void(0)\" class=\"dropdown-item\">Хуваалцах</a>\n <a\n @click=\"projectUsers()\"\n href=\"javascript:void(0)\"\n class=\"dropdown-item\"\n >Ðрхийн тохиргоо</a>\n <a href=\"javascript:void(0)\" class=\"dropdown-item\">Ðлхмын тохиргоо</a>\n <a href=\"javascript:void(0)\" class=\"dropdown-item\">Тохиргоо</a>\n </div>-->\n </div>\n <div v-else-if=\"listSetting.closeBtnShow\">\n <a\n class=\"btn btn-sm pd-x-15 btn-uppercase mg-l-auto\"\n @click=\"$emit('on-close')\"\n >\n <feather type=\"x\"></feather>\n </a>\n </div>\n <a\n class=\"order-2 navbar-toggler\"\n type=\"button\"\n data-toggle=\"collapse\"\n :data-target=\"`#navbarSupportedContent_1`\"\n :aria-controls=\"`navbarSupportedContent_1`\"\n aria-expanded=\"false\"\n aria-label=\"Toggle navigation\"\n >\n <feather type=\"menu\" class=\"wd-20 ht-20\"></feather>\n </a>\n <div\n class=\"order-2 collapse navbar-collapse\"\n :id=\"`navbarSupportedContent_1`\"\n >\n <div class=\"mg-l-auto\">\n <template v-if=\"listSetting.chooser\">\n <template v-if=\"checkedFormIds.length == 0\">\n <div\n style=\"display: inline-block; padding: 6px 15px;\"\n class=\"alert alert-warning\"\n role=\"alert\"\n >\n Холбох [{{ formName }}] - н урд байрлах\n <feather type=\"square\" stroke-width=\"1\" size=\"14\"></feather\n >дараад холбох дарна уу!\n </div>\n </template>\n <template v-else>\n <a\n class=\"text-white btn btn-sm pd-x-15 btn-success btn-uppercase mg-r-5\"\n @click=\"chooserCompleted\"\n >\n <feather\n type=\"link\"\n class=\"feather feather-chevron-down ht-15 pd-r-5\"\n ></feather\n >холбох\n </a>\n </template>\n </template>\n <a\n v-if=\"listSetting.newBtnShow\"\n class=\"text-white btn btn-sm pd-x-15 btn-primary btn-uppercase\"\n @click=\"editShow(0)\"\n >\n <feather type=\"plus\" class=\"m-r-5\"></feather>ШинÑ\n </a>\n <a\n v-if=\"listSetting.closeBtnShow\"\n @click=\"forceClose\"\n class=\"text-white btn btn-sm pd-x-15 btn-uppercase mg-l-5 btn-danger\"\n >\n <feather type=\"x\" class=\"m-r-5\"></feather>Хаах\n </a>\n </div>\n </div>\n </nav>\n </div>\n <div class=\"overflow-hidden content-body pd-x-0 pd-y-0\">\n <div class=\"container-fluid pd-x-0\" id=\"cstmScrll\">\n <div class=\"row no-gutters\">\n <div class=\"col-xs-2 col-md-2 bg-core-light\">\n <div\n v-if=\"listSetting.statisticLoad\"\n class=\"pd-x-10\"\n ref=\"sideTop\"\n ></div>\n <!-- <label class=\"tx-sans tx-uppercase tx-medium tx-10 tx-spacing-1 tx-color-03 p-l-sm\">\n Төрөл\n <a role=\"button\"\n title=\"Төрөл Ò¯Ò¯ÑгÑÑ…\"\n style=\"float: right;\"\n class=\"p-r-sm\"\n @click=\"addTag('formType')\"\n >\n <feather type=\"plus\"></feather>\n </a>\n </label>-->\n <div class=\"bg-white pd-10\">\n <button\n class=\"btn btn-outline-light btn-xs btn-block\"\n @click=\"addTag('formType')\"\n >\n <i class=\"icon ion-md-add tx-14 mg-r-5 pd-t-5\"></i> Төрөл\n Ò¯Ò¯ÑгÑÑ…\n </button>\n </div>\n <vue-custom-scrollbar\n :style=\"`height:${scrSideHeight}px`\"\n :settings=\"{ maxScrollbarLength: 60 }\"\n class=\"bd-t\"\n >\n <nav class=\"nav nav-sidebar tx-13 pd-x-5 pd-t-10\">\n <a\n v-for=\"(t, i) in types\"\n role=\"button\"\n :key=\"`fltrType_${i}`\"\n class=\"nav-link\"\n :class=\"{ active: searchModel.locTypeId == t.id }\"\n @click=\"filterList(t.id)\"\n >\n <feather type=\"folder\"></feather>\n <div>\n <span>{{ t.s1 }}</span>\n </div>\n <span\n v-show=\"searchModel.locTypeId == t.id\"\n class=\"text-white badge\"\n >\n <feather type=\"x\" style=\"color: red;\"></feather>\n </span>\n </a>\n </nav>\n </vue-custom-scrollbar>\n <div class=\"text-center d-none d-md-block bd-t\" ref=\"sideBtm\">\n <div\n class=\"btn-group mg-y-7\"\n role=\"group\"\n aria-label=\"Basic example\"\n >\n <button\n @click=\"init(true)\"\n type=\"button\"\n class=\"btn btn-xs btn-light\"\n >\n <feather type=\"refresh-ccw\" class=\"mg-r-5\"></feather>\n <span>Бүгд</span>\n </button>\n </div>\n </div>\n </div>\n <div class=\"col-xs-10 col-md-10 bd-l\">\n <div\n ref=\"listHeader\"\n class=\"row no-gutters bg-list-header\"\n v-show=\"formsCount > 0\"\n >\n <div class=\"text-center wd-5p tx-10 align-items-center d-flex\">\n #\n </div>\n <div\n :class=\"\n `tx-10 align-items-center d-flex pd-y-7 text-black bd-l text-uppercase lh-1`\n \"\n :style=\"`width: ${f.span}%`\"\n v-for=\"(f, i) in fields\"\n :key=\"i\"\n >\n {{ f.title }}\n </div>\n </div>\n\n <vue-custom-scrollbar\n :style=\"`height:${scrHeight}px`\"\n :settings=\"{ maxScrollbarLength: 60 }\"\n >\n <div v-if=\"!loading\" class=\"d-list\">\n <div v-if=\"formsCount == 0\" class>\n <div class>\n <div\n class=\"ht-700 d-flex flex-column align-items-center justify-content-center\"\n >\n <div class=\"wd-70p wd-sm-250 wd-lg-300 mg-b-15\">\n <img\n src=\"assets/img/img22.png\"\n class=\"img-fluid\"\n alt\n />\n </div>\n <p class=\"tx-color-03 mg-b-30\">\n ЖагÑаалт хооÑон байна.\n </p>\n </div>\n </div>\n </div>\n <!-- @click.prevent.stop=\"handleClick($event, f)\" -->\n <div v-else v-for=\"(f, i) in forms\" :key=\"i\" class=\"d-row\">\n <!-- <div v-show=\"isDrawGroupDateRange(i)\" class=\"row no-gutters core-list-group\">\n <div class=\"col-12 text-muted\">\n <span class=\"pd-l-10 tx-12 tx-lowercase\">{{f[showGroupLabel()]}}</span>\n </div>\n </div>-->\n <div\n role=\"button\"\n @click=\"showDetail(f)\"\n class=\"row highlight no-gutters list-row\"\n >\n <div\n class=\"wd-5p no-gutters align-items-center d-flex justify-content-end\"\n >\n <div class=\"pr-1 text-right text-muted tx-11\">\n {{ (pager.current - 1) * pager.perPage + i + 1 }}\n </div>\n <div class=\"pt-1 text-center wd-25 bd-l\" @click.stop>\n <input\n @click.stop\n @change=\"formChecked(f.id)\"\n type=\"checkbox\"\n role=\"button\"\n />\n </div>\n </div>\n <div\n :style=\"`width: 45%`\"\n class=\"tx-12 align-items-center d-flex bd-l\"\n >\n <div class=\"pd-x-5 text\">{{ f.title }}</div>\n </div>\n <div\n :style=\"`width: 10%`\"\n class=\"tx-12 align-items-center d-flex bd-l\"\n >\n <div class=\"pd-x-5 text\">\n {{ f.questionData.count }}\n </div>\n </div>\n <div\n :style=\"`width: 20%`\"\n class=\"tx-12 align-items-center d-flex bd-l\"\n >\n <div class=\"pd-x-5 text\">\n {{ f.startDate | moment(\"YYYY/MM/DD HH:mm\") }}\n </div>\n </div>\n <div\n :style=\"`width: 20%`\"\n class=\"tx-12 align-items-center d-flex bd-l\"\n >\n <div class=\"pd-x-5 text\">\n {{ f.endDate | moment(\"YYYY/MM/DD HH:mm\") }}\n </div>\n </div>\n </div>\n </div>\n </div>\n <div v-else></div>\n </vue-custom-scrollbar>\n\n <div\n ref=\"listFooter\"\n class=\"py-2 d-flex justify-content-between bd-t bg-core-light\"\n v-show=\"formsCount > 0\"\n >\n <div class=\"pd-x-5 pd-t-5 text-muted tx-12\">\n Ðийт:\n <span class=\"font-weight-bold\">{{ formsCount }}</span> бичилт.\n Харагдаж буй:\n <span class=\"font-weight-bold\">{{\n (pager.current - 1) * pager.perPage + 1\n }}</span>\n -\n <span class=\"font-weight-bold\">{{\n (pager.current - 1) * pager.perPage + forms.length\n }}</span>\n </div>\n <div>\n <b-pagination\n size=\"sm\"\n align=\"center\"\n v-model=\"pager.current\"\n :total-rows=\"formsCount\"\n :per-page=\"pager.perPage\"\n @change=\"pageChanged\"\n style=\"margin-bottom: 0\"\n ></b-pagination>\n </div>\n <div>\n <a @click=\"init(true)\" role=\"button\">\n <feather\n type=\"refresh-cw\"\n class=\"wd-20 ht-20 text-muted mg-r-10 mg-t-5\"\n ></feather>\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </template>\n <b-modal\n v-model=\"formModal\"\n @hide=\"cancelForm\"\n scrollable\n :title=\"formName+' Ò¯Ò¯ÑгÑÑ… / заÑах'\"\n centered\n size=\"lg\"\n body-class=\"pd-0\"\n >\n <!-- <div class=\"modal-header pd-y-20 pd-x-20 pd-sm-x-30\">\n <a\n role=\"button\"\n class=\"close pos-absolute t-15 r-15\"\n @click=\"cancelForm\"\n aria-label=\"Close\"\n >\n <span aria-hidden=\"true\">×</span>\n </a>\n\n <div class=\"media align-items-center\">\n <div class=\"tx-color-03 d-none d-sm-block\">\n <feather type=\"edit\" class=\"wd-40-f ht-40-f\"></feather>\n </div>\n <div class=\"media-body mg-sm-l-20\">\n <h4 class=\"tx-18 tx-sm-20 mg-b-2\">{{ formName }} Ò¯Ò¯ÑгÑÑ… / заÑах</h4>\n <p class=\"tx-13 tx-color-03 mg-b-0\">\n Тохирох утгуудыг бөглөөд хадгалах дарна уу\n </p>\n </div>\n </div>\n </div> -->\n <div v-if=\"formModal\" class=\"modal-body pd-sm-t-30 pd-sm-b-40 pd-sm-x-30\">\n <Form :model=\"formModel\" label-position=\"right\" label-width=\"250px\">\n <FormItem\n label=\"Шалгалт ERP\"\n v-if=\"\n ($store.state.app.activeGroup.id == 9241 ||\n $store.state.app.activeGroup.id == 9249) &&\n (ot == 500 || ot == 900)\n \"\n >\n <Select\n v-model=\"formModel.integrationCode\"\n style=\"width:100%\"\n @change=\"erpExamChanged\"\n >\n <Option\n v-for=\"(t, i) in erpExams\"\n :label=\"t.examName\"\n :value=\"t.examId\"\n :key=\"i\"\n ></Option>\n </Select>\n </FormItem>\n <!-- <FormItem label=\"Шалгалт ID\">\n <Input v-model=\"formModel.integrationCode\" type=\"text\" />\n </FormItem> -->\n <FormItem label=\"Төрөл\">\n <div class=\"d-flex\">\n <div class=\"wd-80p\">\n <Select v-model=\"formModel.locTypeId\" style=\"width:100%\">\n <Option\n v-for=\"(t, i) in types\"\n :label=\"t.s1\"\n :value=\"t.id\"\n :key=\"i\"\n >{{ t.s1 }}</Option\n >\n </Select>\n </div>\n <div class=\"wd-20p mg-l-5\">\n <button\n class=\"btn btn-outline-light\"\n @click=\"addTag('formType')\"\n type=\"button\"\n >\n <i class=\"icon ion-md-add tx-14 mg-r-5 pd-t-5\"></i>\n </button>\n </div>\n </div>\n </FormItem>\n <FormItem label=\"Гарчиг\">\n <!-- <Input v-model=\"formModel.name\" placeholder=\"Гарчиг\" type=\"text\" /> -->\n <div class=\"el-input\">\n <input v-model=\"formModel.name\" placeholder=\"Гарчиг\" type=\"text\" class=\"el-input__inner\" />\n </div>\n </FormItem>\n <FormItem v-if=\"ot == 900\" label=\"Шалгалтын нууц үг\">\n <Input\n v-model=\"formModel.password\"\n placeholder=\"Шалгалтын нууц үг\"\n type=\"text\"\n />\n </FormItem>\n <FormItem v-else label=\"Тайлбар\">\n <!-- v-if=\"ot==600\" -->\n <summernote\n v-model=\"formModel.info\"\n :text=\"formModel.info\"\n :key=\"editorKey\"\n class=\"m-t-sm m-b-sm\"\n ></summernote>\n <!-- <Input v-else v-model=\"formModel.description\" placeholder=\"Тайлбар\" type=\"text\" /> -->\n </FormItem>\n <FormItem label=\"ÐхлÑÑ…\" v-if=\"ot == 900 || ot == 600\">\n <!-- <DatePicker\n :value=\"formModel.startDate\"\n @on-change=\"(value) => formModel.startDate = value.toLocaleString()\"\n placeholder=\"ÐхлÑÑ…\"\n type=\"datetime\"\n style=\"width: 40%\"\n ></DatePicker>-->\n <!-- <DatePicker\n v-model=\"formModel.startDate\"\n placeholder=\"Огноо Ñонгоно уу\"\n type=\"datetime\"\n style=\"width: 100%\"\n :format=\"'yyyy-MM-dd HH:mm:ss'\"\n :value-format=\"'yyyy-MM-dd HH:mm:ss'\"\n ></DatePicker> -->\n <VueCtkDateTimePicker locale=\"mn\" :minute-interval=\"5\" v-model=\"formModel.startDate\" no-label format=\"YYYY-MM-DD HH:mm\" />\n </FormItem>\n <FormItem\n label=\"ДууÑах\"\n v-if=\"\n ot == 900 ||\n ot == 600 ||\n (ot == 700 && $store.state.app.activeGroup.id == 6126)\n \"\n >\n <!-- <DatePicker\n :value=\"formModel.endDate\"\n @on-change=\"(value) => formModel.endDate = value.toLocaleString()\"\n placeholder=\"ДууÑах\"\n type=\"datetime\"\n style=\"width: 40%\"\n ></DatePicker>-->\n <!-- <DatePicker\n v-model=\"formModel.endDate\"\n placeholder=\"Огноо Ñонгоно уу\"\n type=\"datetime\"\n style=\"width: 100%\"\n :format=\"'yyyy-MM-dd HH:mm:ss'\"\n :value-format=\"'yyyy-MM-dd HH:mm:ss'\"\n ></DatePicker> -->\n <VueCtkDateTimePicker locale=\"mn\" :minute-interval=\"5\" v-model=\"formModel.endDate\" no-label format=\"YYYY-MM-DD HH:mm\" />\n </FormItem>\n <FormItem label=\"ÐÑуултын харагдац\" v-if=\"ot == 900 || ot == 500\">\n <Select v-model=\"formModel.viewType\">\n <Option :value=\"0\" :key=\"0\" label=\"Бүх аÑуулт нÑг хуудÑанд\">Бүх аÑуулт нÑг хуудÑанд</Option>\n <Option :value=\"1\" :key=\"1\" label=\"БүлгÑÑÑ€ хуудаÑлалт Ò¯Ò¯ÑгÑж харуулах\">БүлгÑÑÑ€ хуудаÑлалт Ò¯Ò¯ÑгÑж харуулах</Option>\n </Select>\n <!-- <div class=\"text-muted tx-11 eddt-title-info\">\n Үгүй гÑÑÑн тохиолдолд аÑуултын Ñангийн дарааллаар аÑуулт Ò¯Ò¯ÑнÑ.\n </div> -->\n </FormItem>\n <FormItem label=\"ÐÑуултыг холих ÑÑÑÑ…\" v-if=\"ot == 900 || ot == 500\">\n <Select v-model=\"formModel.questionShuffle\">\n <Option :value=\"1\" :key=\"1\" label=\"Тийм\">Тийм</Option>\n <Option :value=\"-1\" :key=\"-1\" label=\"Үгүй\">Үгүй</Option>\n </Select>\n <div class=\"text-muted tx-11 eddt-title-info\">\n Үгүй гÑÑÑн тохиолдолд аÑуултын Ñангийн дарааллаар аÑуулт Ò¯Ò¯ÑнÑ.\n </div>\n </FormItem>\n\n <FormItem label=\"Хариултыг холих ÑÑÑÑ…\" v-if=\"ot == 900 || ot == 500\">\n <Select v-model=\"formModel.answerShuffle\">\n <Option :value=\"1\" :key=\"1\" label=\"Тийм\">Тийм</Option>\n <Option :value=\"0\" :key=\"0\" label=\"Үгүй\">Үгүй</Option>\n </Select>\n <div class=\"text-muted tx-11 eddt-title-info\">\n Үгүй гÑÑÑн тохиолдолд Ñангийн дарааллаар хариулт харагдана.\n </div>\n </FormItem>\n\n <FormItem label=\"Шалгалтын ÑиÑтем хувилбар 5.0\" v-if=\"(ot == 900 || ot == 500)&& ($store.state.user.userInfo.groupId == 9157 ||\n $store.state.user.userInfo.groupId == 1104 || $store.state.user.userInfo.groupId == 9256 || $store.state.user.userInfo.groupId == 9352\n )\">\n <Select v-model=\"formModel.isRegisterRequired\">\n <Option :value=\"true\" :key=\"true\" label=\"Тийм\">Тийм</Option>\n <Option :value=\"false\" :key=\"false\" label=\"Үгүй\">Үгүй</Option>\n </Select>\n </FormItem>\n <FormItem label=\"Шалгалтын бүлÑг алгаÑах боломж ?\" v-if=\"(ot == 900 || ot == 500) && ($store.state.user.userInfo.groupId == 9157 ||\n $store.state.user.userInfo.groupId == 1104\n ) && formModel.isRegisterRequired\">\n <Select v-model=\"formModel.onFinishEvent\">\n <Option :value=\"0\" :key=\"0\" label=\"Үгүй\">Үгүй</Option>\n <Option :value=\"1\" :key=\"1\" label=\"Тийм\">Тийм</Option>\n </Select>\n </FormItem>\n\n <FormItem label=\"Боломжит оролдлого\" v-if=\"ot == 500\">\n <Select v-model=\"formModel.attemptCount\" style=\"width: 150px\">\n <Option v-for=\"(a, i) in 101\" :value=\"a-1\" :key=\"i-1\">{{ a-1 }}</Option>\n </Select>\n <div class=\"text-muted p-l-sm tx-11 eddt-title-info\"\n >Бататгах шалгалтыг хамгийн ихдÑÑ Ñ…ÑдÑн удаа дахин бөглөх боломжит\n оролдлогын тоо</div\n >\n </FormItem>\n\n <FormItem label=\"ҮргÑлжлÑÑ… хугацаа\" v-if=\"ot == 500\">\n <InputNumber\n @change=\"setLessonExamRange($event)\"\n v-model=\"formModel.minute\"\n :value=\"20\"\n ></InputNumber>\n <span class=\"text-muted p-l-sm\">(минутаар)</span>\n </FormItem>\n <template\n v-if=\"hasPermission(['formimporter']) && (ot == 800 || ot == 700)\"\n >\n <FormItem label=\"Ð¤Ð°Ð¹Ð»Ð°Ð°Ñ Ñ‚ÐµÑÑ‚ Ò¯Ò¯ÑгÑÑ…\">\n <simple-uploader\n :propBoxId=\"0\"\n :propObjectId=\"'0'\"\n :propObjectTypeId=\"6\"\n @on-success=\"fileUploaded($event)\"\n style=\"width:100%;\"\n >\n <div slot=\"trigger\" class=\"wd-100p\">\n <span v-if=\"formModel.fileId == 0\">Ñ„Ð°Ð¹Ð»Ð°Ð°Ñ Ð¸Ð¼Ð¿Ð¾Ñ€Ñ‚ хийх</span>\n <span v-else>{{ formModel.fileName }}</span>\n </div>\n </simple-uploader>\n </FormItem>\n </template>\n <FormItem\n label=\"СиÑтемийн Ð±ÑƒÑ Ñ…ÑÑ€ÑглÑгч бөглөх ?\"\n v-if=\"ot == 700 || ot == 600\"\n >\n <Select v-model=\"formModel.isAnonymous\">\n <Option :value=\"1\" :key=\"1\" label=\"Тийм\">Тийм</Option>\n <Option :value=\"0\" :key=\"0\" label=\"Үгүй\">Үгүй</Option>\n </Select>\n </FormItem>\n <FormItem\n label=\"EQ шалгалт ÑÑÑÑ… ?\"\n v-if=\"ot == 500 && ($store.state.app.activeGroup.id == 9241 || $store.state.app.activeGroup.id == 9249)\"\n >\n <Select v-model=\"formModel.isAnonymous\">\n <Option :value=\"1\" :key=\"1\" label=\"Тийм\">Тийм</Option>\n <Option :value=\"0\" :key=\"0\" label=\"Үгүй\">Үгүй</Option>\n </Select>\n </FormItem>\n <FormItem label=\"Хариултын харагдац\" v-if=\"ot == 700\">\n <Select v-model=\"formModel.questionShuffle\">\n <Option :value=\"-1\" :key=\"-1\" label=\"ЖагÑаалтаар\"></Option>\n <Option :value=\"1\" :key=\"1\" label=\"Ð¥Ò¯ÑнÑгтÑÑÑ€\"></Option>\n </Select>\n <div class=\"text-muted tx-11 eddt-title-info lh-1 mg-t-10\">\n ЖагÑаалтаар Ñонголт нь хариулт Ñ‚ÑƒÑ Ð±Ò¯Ñ€ ÑˆÐ¸Ð½Ñ Ð¼Ó©Ñ€Ó©Ð½Ð´ харагдана. Ð¥Ò¯ÑнÑгтÑÑÑ€ Ñонголт нь хариулт Ñ‚ÑƒÑ Ð±Ò¯Ñ€ баганан Ñ…ÑлбÑÑ€ÑÑÑ€ харагдана\n </div>\n </FormItem>\n\n <FormItem label=\"ХүлÑÑлгийн горим цаг тоолох ?\" v-if=\"ot == 600\">\n <Select v-model=\"formModel.timeLimit\">\n <Option :value=\"0\" :key=\"0\" label=\"Тийм\">Тийм</Option>\n <Option :value=\"1\" :key=\"1\" label=\"Үгүй\">Үгүй</Option>\n </Select>\n </FormItem>\n <FormItem label=\"Үр дүнд Ñ…ÑÑ€ÑглÑгч нууцлах ?\" v-if=\"ot == 600\">\n <Select v-model=\"formModel.onFinishEvent\">\n <Option :value=\"0\" :key=\"0\" label=\"Үгүй\">Үгүй</Option>\n <Option :value=\"1\" :key=\"1\" label=\"Тийм\">Тийм</Option>\n </Select>\n </FormItem>\n <FormItem label=\"Ð¥ÑрхÑн бөглөÑнийг харуулах ?\" v-if=\"ot == 500\">\n <Select v-model=\"formModel.ord\" class=\"wd-100p\">\n <Option :value=\"0\" label=\"Үгүй\">Үгүй</Option>\n <Option :value=\"1\" label=\"Тийм - Зөв хариултыг харуулна\"\n >Тийм (Зөв хариултыг харуулна)</Option\n >\n <Option :value=\"2\" label=\"Тийм - Зөв хариултыг харуулахгүй\"\n >Тийм (Зөв хариултыг харуулахгүй)</Option\n >\n </Select>\n </FormItem>\n </Form>\n </div>\n\n <template #modal-footer>\n <div>\n <!-- <button type=\"button\" class=\"btn btn-white\" data-dismiss=\"modal\">Cancel</button>\n <button type=\"button\" class=\"btn btn-primary\">Save Info</button>-->\n <button type=\"button\" class=\"btn btn-white mg-r-10\" @click=\"cancelForm\">\n Болих\n </button>\n <button @click=\"postForm()\" class=\"btn btn-primary\">Хадгалах</button>\n </div>\n </template>\n </b-modal>\n <tag-modal\n :shw=\"addTagConfig.modal\"\n :lkey=\"addTagConfig.key\"\n :flag=\"ot == 600 ? ot : null\"\n @on-load=\"getTypeData()\"\n @on-close=\"addTagConfig.modal = false\"\n ></tag-modal>\n\n <file-dialog\n :show.sync=\"fileDialog.show\"\n :id.sync=\"fileDialog.id\"\n @on-hide=\"fileDialog.show = false\"\n />\n </div>\n</template>\n<script>\nimport vueCustomScrollbar from \"vue-custom-scrollbar\";\nimport AsyncLoadError from \"@/components/base/asyncLoadingError\";\nimport AsyncLoading from \"@/components/base/asyncLoading\";\nimport { request } from \"@/api/all\";\nimport { mapActions } from \"vuex\";\nimport { hasOneOf, formatDateYMDHM } from \"@/libs/tools\";\nconst moment = require(\"moment\");\nimport \"element-ui/lib/theme-chalk/index.css\";\nimport {\n Form,\n Input,\n FormItem,\n DatePicker,\n //Divider,\n InputNumber,\n Select,\n //OptionGroup,\n Option,\n Notification\n //Checkbox,\n //RadioGroup,\n //Radio\n} from \"element-ui\";\n\nimport VueCtkDateTimePicker from 'vue-ctk-date-time-picker';\nimport 'vue-ctk-date-time-picker/dist/vue-ctk-date-time-picker.css';\n\nexport default {\n components: {\n VueCtkDateTimePicker,\n Form,\n FormItem,\n Input,\n DatePicker,\n InputNumber,\n Select,\n Option,\n vueCustomScrollbar,\n summernote: () => ({\n component: import(\"@/components/modules/editor/summernote\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n }),\n formDetail: () => ({\n component: import(\"@/components/form/detail/formDetail.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n }),\n fileDialog: () => ({\n component: import(\"@/components/modules/media/preview.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n }),\n tagModal: () => ({\n component: import(\"@/components/modules/tag\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 300,\n timeout: 5000\n }),\n simpleUploader: () => ({\n component: import(\"@/components/modules/media/simpleUploader.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n })\n },\n data: () => ({\n formName: \"\",\n forceLoad: false,\n ot: -1,\n mode: 0,\n fetched: false,\n loading: false,\n listSetting: {\n newBtnShow: true,\n statisticLoad: true,\n closeBtnShow: false,\n mainMenu: true,\n chooser: false\n },\n fileDialog: {\n show: false,\n id: 0\n },\n formsCount: 0,\n pager: {\n perPage: 50,\n current: 1\n },\n editorKey: 0,\n types: [],\n formModal: false,\n formModel: {\n id: 0,\n name: \"\",\n startDate: null,\n endDate: null,\n locTypeId: null,\n password: \"\",\n description: \"\",\n info: \"\",\n attemptCount: 1,\n minute: 20,\n fileId: 0,\n fileName: \"\",\n isAnonymous: 0,\n timeLimit: 0,\n onFinishEvent: null,\n ord: 0,\n integrationCode: null,\n questionShuffle: null,\n viewType: null,\n isRegisterRequired: null,\n },\n erpExams: [],\n\n formDialog: {\n show: false,\n id: 0,\n key: 0\n },\n scrHeight: 600,\n scrSideHeight: 600,\n checkedFormIds: [],\n forms: [],\n fields: [\n {\n title: \"Гарчиг\",\n span: 45\n },\n {\n title: \"ÐÑуултын тоо\",\n span: 10\n },\n {\n title: \"ÐхлÑÑ…\",\n span: 20\n },\n {\n title: \"ДууÑах\",\n span: 20\n }\n ],\n searchModel: {\n title: \"\",\n locTypeId: 0,\n flag: 0,\n page: 0,\n size: 40,\n endDate: null\n },\n routeConfig: {\n edit: 0,\n detail: 0\n },\n addTagConfig: { modal: false, key: \"\" }\n }),\n props: {\n prms: {\n type: Object,\n default: () => {}\n }\n },\n beforeDestroy() {\n this.tasks = [];\n this.fields = [];\n window.removeEventListener(\"resize\", this.getWindowHeight);\n },\n mounted() {\n if (this.prms != undefined && this.prms.objectTypeId != undefined) {\n //console.log('mounted 01');\n this.forceLoad = true;\n this.mode = this.prms.mode;\n\n if (this.mode == 50) {\n this.listSetting.mainMenu = false;\n this.listSetting.closeBtnShow = true;\n this.listSetting.statisticLoad = false;\n this.listSetting.chooser = true;\n } else if (this.mode == 51) {\n this.listSetting.newBtnShow = false;\n this.listSetting.mainMenu = false;\n this.listSetting.closeBtnShow = true;\n this.listSetting.statisticLoad = false;\n this.listSetting.chooser = true;\n } else if (this.mode == -100) {\n this.listSetting.newBtnShow = false;\n this.listSetting.mainMenu = false;\n this.listSetting.closeBtnShow = true;\n this.listSetting.statisticLoad = false;\n this.listSetting.chooser = true;\n }\n\n this.$nextTick(() => {\n this.build(this.prms.objectTypeId, 0, 0);\n });\n } else {\n //console.log('mounted 02');\n this.forceLoad = true;\n this.$nextTick(() => {\n this.build(\n parseInt(this.$route.params.ot, 10),\n this.$route.params.edit,\n this.$route.params.detail\n );\n });\n }\n },\n methods: {\n ...mapActions([\"handleLoading\", \"handleAside\", \"handleUserInfoModal\"]),\n hasPermission(perrArr) {\n return hasOneOf(perrArr, this.$store.state.user.access);\n },\n formUpdated(e) {\n let frm = this.forms.filter(x => x.id == e.id);\n if (frm.length > 0) frm[0].questionData.count = e.count;\n },\n getWindowHeight() {\n if (this.formDialog.id == 0) {\n let extras =\n this.$refs.mainHeader.offsetHeight +\n this.$refs.listHeader.offsetHeight +\n this.$refs.listFooter.offsetHeight;\n let extraSide =\n this.$refs.mainHeader.offsetHeight +\n (this.listSetting.statisticLoad\n ? this.$refs.sideTop.offsetHeight\n : 0) +\n this.$refs.sideBtm.offsetHeight;\n\n this.scrHeight = window.innerHeight - extras;\n this.scrSideHeight = window.innerHeight - extraSide;\n }\n },\n build(ot, edit, detail) {\n this.ot = ot;\n this.routeConfig.edit = edit;\n this.routeConfig.detail = detail;\n if (this.ot == 700) this.formName = \"Судалгаа\";\n else if (this.ot == 800) this.formName = \"ТеÑтийн Ñан\";\n else if (this.ot == 600) this.formName = \"Санал аÑуулга\";\n else if (this.ot == 900) this.formName = \"Шалгалт\";\n else if (this.ot == 500) this.formName = \"Явцын шалгалт\";\n\n this.handleLoading({ isLoading: true });\n window.addEventListener(\"resize\", this.getWindowHeight);\n this.init();\n },\n init(force) {\n if (force) {\n this.searchModel.title = \"\";\n this.searchModel.page = 0;\n this.searchModel.locTypeId = 0;\n }\n if (this.listSetting.chooser == true && this.ot == 900) {\n request({\n api: { method: \"GET\", url: \"servertime\" },\n store: this.$store\n }).then(res => {\n if (res != false) {\n this.searchModel.endDate = res.data.now;\n this.fetchData();\n } else {\n this.fetchData();\n }\n });\n } else {\n this.fetchData();\n }\n },\n fetchData() {\n request({\n api: { method: \"GET\", url: \"form/formList\" },\n params: {\n flag: this.ot,\n title: this.searchModel.title,\n locTypeId: this.searchModel.locTypeId,\n page: this.pager.current - 1,\n size: this.pager.perPage,\n endDate: this.searchModel.endDate\n },\n store: this.$store\n }).then(res => {\n this.handleLoading({ isLoading: false });\n if (res != false) {\n this.formsCount = res.data.count;\n this.forms = res.data.forms;\n this.getTypeData();\n }\n });\n },\n addTag(key) {\n this.addTagConfig.key = key;\n this.addTagConfig.modal = true;\n },\n //handleClick(event, item) {\n //console.log(event, item);\n // if(this.forceLoad)\n // this.$refs.vueSimpleContextMenu.showMenu(event, item);\n //},\n taskLoaded() {\n //console.log(\"taskLoaded\", e);\n this.handleLoading({ isLoading: false });\n this.formDialog.show = true;\n },\n formChecked(id) {\n const index = this.checkedFormIds.indexOf(id);\n if (index > -1) {\n this.checkedFormIds.splice(index, 1);\n } else {\n this.checkedFormIds.push(id);\n }\n },\n setLessonExamRange(e) {\n if (this.formModel.startDate != null) {\n this.formModel.endDate = formatDateYMDHM(\n moment(this.formModel.startDate).add(e, \"minutes\")\n );\n } else {\n this.formModel.endDate = formatDateYMDHM(\n moment(new Date()).add(e, \"minutes\")\n );\n }\n },\n chooserCompleted() {\n //console.log(this.checkedFormIds);\n this.$emit(\"on-form-selected\", this.checkedFormIds);\n this.dispose();\n },\n forceClose() {\n this.$emit(\"on-close\");\n },\n showFile(e) {\n this.fileDialog.id = e.id;\n this.fileDialog.show = true;\n },\n onFormDelete() {},\n showDetail(e) {\n //console.log(e);\n if (!this.$store.state.app.aside.minimize)\n this.handleAside({ minimize: true, maximize: false });\n //console.log(e, e.mode);\n //console.log(t, mode);\n if (this.listSetting.chooser) {\n // this.dispose();\n // this.$nextTick(() => {\n // this.$emit(\"on-form-selected\", e);\n // });\n\n this.formDialog.id = 0;\n this.$nextTick(function() {\n this.handleLoading({ isLoading: true });\n this.formDialog.id = e.id;\n });\n } else if (e.mode != undefined && e.mode == 80) {\n //this.taskDialogSide.id = e.obj.id;\n //console.log('onDrawer neenee');\n } else {\n this.formDialog.id = 0;\n this.$nextTick(function() {\n this.handleLoading({ isLoading: true });\n this.formDialog.id = e.id;\n });\n }\n },\n pageChanged(e) {\n this.pager.current = e;\n this.init();\n },\n formLoaded() {},\n dispose() {\n Object.assign(this.$data, this.$options.data());\n window.removeEventListener(\"resize\", this.getWindowHeight);\n },\n fileUploaded(e, field) {\n //console.log(e, field);\n //task.uv = false;\n\n this.formModel.fileId = e.uploadedAttachmentId;\n this.formModel.fileName = e.uploadedName;\n\n // this.formModel.fileId = e.response.data.uploadedAttachmentId;\n // this.formModel.fileName = e.response.data.uploadedName;\n },\n editShow(e) {\n if (\n //this.$store.state.app.activeGroup.id==9241 ||\n this.$store.state.app.activeGroup.id == 9249 &&\n (this.ot == 500 || this.ot == 900)\n ) {\n this.handleLoading({ isLoading: true });\n request({\n api: { method: \"get\", url: \"open/learn/examList\" },\n store: this.$store\n }).then(res => {\n this.handleLoading({ isLoading: false });\n if (res != false) {\n //console.log('open/learn/examList', res.data.list);\n this.erpExams = res.data.list;\n }\n });\n }\n\n if (e == 0) {\n //console.log('ene ajillaj bnu 01');\n this.formModel.id = 0;\n this.formModel.fileId = 0;\n this.formModel.viewType = 0;\n } else {\n // console.log('ene ajillaj bnu 02', e);\n this.formDialog.id = 0;\n this.formModel.fileId = 0;\n this.formModel.id = e.id;\n this.formModel.name = e.title;\n this.formModel.locTypeId = e.locType.id;\n this.formModel.description = e.description;\n this.formModel.info = e.info;\n this.formModel.password = e.info;\n this.formModel.startDate = moment(e.startDate).format(\n \"YYYY-MM-DD HH:mm:ss\"\n );\n this.formModel.endDate = moment(e.endDate).format(\n \"YYYY-MM-DD HH:mm:ss\"\n );\n this.formModel.attemptCount = e.attemptCount;\n this.formModel.minute = e.minute;\n this.formModel.questionShuffle = e.questionShuffle;\n this.formModel.answerShuffle = e.answerShuffle;\n this.formModel.isAnonymous = e.isAnonymous ? 1 : 0;\n this.formModel.timeLimit = e.timeLimit ? 1 : 0;\n this.formModel.onFinishEvent = e.onFinishEvent ? 1 : 0;\n //console.log('e.ord', e.ord);\n //this.formModel.ord = e.ord ? 1 : 0;\n this.formModel.ord = e.ord;\n this.formModel.integrationCode = e.integrationCode;\n this.formModel.isRegisterRequired = e.isRegisterRequired;\n this.formModel.viewType = e.viewType;\n }\n this.editorKey++;\n //console.log(e.attemptCount);\n this.$nextTick(() => {\n this.formModal = true;\n });\n },\n getTypeData() {\n request({\n api: { method: \"get\", url: \"Type/GetData\" },\n params: {\n key: \"formType\",\n getParentType: false\n },\n store: this.$store\n }).then(res => {\n this.handleLoading({ isLoading: false });\n if (res != false) {\n if (this.ot == 600) {\n this.types = res.data.types.filter(x => x.field1 == this.ot);\n } else {\n this.types = res.data.types;\n }\n if (this.routeConfig.edit == 1) {\n this.editShow(0);\n this.routeConfig.edit = 0;\n }\n this.getWindowHeight();\n }\n });\n },\n filterList(id) {\n this.searchModel.page = 0;\n if (this.searchModel.locTypeId == id) {\n this.searchModel.locTypeId = 0;\n this.init();\n } else {\n this.searchModel.locTypeId = id;\n this.init();\n }\n },\n postForm() {\n let errs = [];\n if (this.formModel.name == \"\") {\n errs.push(\"Гарчиг оруулна уу !\");\n }\n\n if (errs.length == 0) {\n this.formModel.flag = this.ot;\n request({\n api: { method: \"POST\", url: \"Form/PostForm\" },\n data: this.formModel,\n store: this.$store\n }).then(res => {\n this.handleLoading({ isLoading: false });\n if (res != false) {\n this.cancelForm();\n this.formModal = false;\n this.init();\n }\n });\n } else {\n Notification.error({\n message: errs[0],\n duration: 5000,\n type: \"error\",\n position: \"top-right\",\n offset: 50\n });\n // this.$Notice.error({\n // title: \"Ðлдаа гарлаа\",\n // desc: errs[0]\n // });\n }\n },\n cancelForm() {\n this.formModel = {\n id: 0,\n name: \"\",\n startDate: null,\n endDate: null,\n locTypeId: null,\n password: \"\",\n description: \"\",\n info: \"\",\n fileId: 0,\n fileName: \"\",\n isAnonymous: 0,\n timeLimit: 0,\n onFinishEvent: null,\n ord: 0,\n integrationCode: null\n };\n this.formModal = false;\n this.editorKey++;\n },\n erpExamChanged(e) {\n let _c = this.erpExams.filter(x => x.examId == e);\n if (_c.length > 0) {\n this.formModel.name = _c[0].examName;\n //this.formModel.integrationCode=_c[0].examId;\n }\n }\n },\n watch: {\n \"$root.$route\"() {\n //console.log(newRoute);\n this.dispose();\n this.$nextTick(() => {\n this.forceLoad = true;\n this.$nextTick(() => {\n this.build(\n parseInt(this.$route.params.ot, 10),\n this.$route.params.edit,\n this.$route.params.detail\n );\n });\n });\n }\n }\n};\n</script>\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!./formList.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!./formList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./formList.vue?vue&type=template&id=719c849b\"\nimport script from \"./formList.vue?vue&type=script&lang=js\"\nexport * from \"./formList.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":""}