{"version":3,"sources":["webpack:///./src/views/modules/sys/signalr/signals.vue","webpack:///src/views/modules/sys/signalr/signals.vue","webpack:///./src/views/modules/sys/signalr/signals.vue?6650","webpack:///./src/views/modules/sys/signalr/signals.vue?4e1c","webpack:///./src/views/modules/sys/signalr/index.js"],"names":["render","_vm","this","_c","_self","staticClass","attrs","slot","_v","_m","class","active","seenFlag","on","$event","createSignal","_l","tasks","t","i","key","im","seen","showDetail","_s","pager","current","perPage","task","directives","name","rawName","value","tasksCount","expression","staticStyle","pageChanged","model","callback","$$v","$set","taskDialog","id","taskLoaded","_e","signalr","modal","notification","msg","domProps","target","composing","sendMethod","type","timeout","link","sendSignal","staticRenderFns","components","Select","Option","taskDetailSide","component","loading","AsyncLoading","error","AsyncLoadError","delay","mounted","data","show","groupId","userId","taskId","methods","_objectSpread","mapActions","init","_this","handleLoading","isLoading","request","api","method","url","store","$store","then","res","e","index"],"mappings":"sJAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiBC,MAAM,CAAC,KAAO,kBAAkBC,KAAK,kBAAkB,CAACN,EAAIO,GAAG,uBAAuBL,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,MAAM,CAACE,YAAY,2BAA2B,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,0FAA0F,CAACJ,EAAIQ,GAAG,GAAGN,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,SAAS,CAACE,YAAY,uBAAuBK,MAAM,CAAEC,OAAwB,MAAhBV,EAAIW,UAAmBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,kBAAkB,CAACd,EAAIO,GAAG,kBAAkBL,EAAG,QAAQ,CAACE,YAAY,uB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BACAC,eAAA,kBACAC,UAAA,gDACAC,QAAAC,OACAC,MAAAC,OACAC,MAAA,IACAb,QAAA,OAGAc,QAAA,aAOAC,KAAA,WACA,OACApD,MAAA,GACAgB,WAAA,EACAR,MAAA,CACAE,QAAA,GACAD,QAAA,GAEAe,WAAA,CACA6B,MAAA,EACA5B,GAAA,EACAtB,IAAA,GAEAR,SAAA,KAEAiC,QAAA,CACAC,OAAA,EACAM,WAAA,EACAmB,QAAA,KACAC,OAAA,KACAC,OAAA,KACA1B,aAAA,CACAM,KAAA,EACAC,QAAA,EACAN,IAAA,GACAO,KAAA,OAQAmB,QAAAC,8BAAA,GACAC,eAAA,wBACAC,KAAA,aAoBA9D,aAAA,WACA,KAAA8B,QAAAC,OAAA,GAEAU,WAAA,eAAAsB,EAAA,KACA,KAAAC,cAAA,CAAAC,WAAA,IACAC,eAAA,CACAC,IAAA,CAAAC,OAAA,OAAAC,IAAA,uCACAf,KAAA,KAAAxB,QACAwC,MAAA,KAAAC,SACAC,MAAA,SAAAC,GACAV,EAAAC,cAAA,CAAAC,WAAA,IACA,GAAAQ,IACAV,EAAAjC,QAAAC,OAAA,OAKAV,YAAA,SAAAqD,GACA,KAAAhE,MAAAC,QAAA+D,EACA,KAAAZ,QAEAtD,WAAA,SAAAkE,GACA,KAAAV,cAAA,CAAAC,WAAA,IACA,KAAAvC,WAAAC,GAAA+C,EAAA/C,QCrQ6X,I,YCOzXoB,EAAY,eACd,EACA9D,EACAyD,GACA,EACA,KACA,KACA,MAIa,aAAAK,E,2CClBf,uBACe4B","file":"js/chunk-3a190142.10900205.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"content ht-100v pd-0\"},[_c('div',{staticClass:\"content-header\",attrs:{\"slot\":\"content-header\"},slot:\"content-header\"},[_vm._v(\" Мэдэгдэл илгээх \")]),_c('div',{staticClass:\"content-body pd-0\"},[_c('div',{staticClass:\"container pd-x-0 mg-b-0\"},[_c('div',{staticClass:\"card mg-t-20\"},[_c('div',{staticClass:\"card-header pd-t-20 d-sm-flex align-items-start justify-content-between bd-b-0 pd-b-10\"},[_vm._m(0),_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"btn-group flex-fill\"},[_c('button',{staticClass:\"btn btn-white btn-xs\",class:{ active: _vm.seenFlag == null },on:{\"click\":function($event){return _vm.createSignal()}}},[_vm._v(\" Шинэ \")])])])]),_c('table',{staticClass:\"table table-striped\"},[_vm._m(1),_c('tbody',_vm._l((_vm.tasks),function(t,i){return _c('tr',{key:i,class:{ 'bg-light': t.im != null && !t.im.seen },attrs:{\"role\":\"button\"},on:{\"click\":function($event){return _vm.showDetail(t)}}},[_c('th',{staticClass:\"text-muted\",attrs:{\"scope\":\"row\"}},[_vm._v(\" \"+_vm._s((_vm.pager.current - 1) * _vm.pager.perPage + i + 1)+\" \")]),_c('td',{staticClass:\"wd-40p\"},[_c('div',{},[_vm._v(_vm._s(t.task))])]),_c('td',{staticClass:\"text-muted text-nowrap\"})])}),0)]),_c('div',{staticClass:\"card-footer text-center\"},[_c('b-pagination',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.tasksCount > 0),expression:\"tasksCount > 0\"}],staticStyle:{\"margin-bottom\":\"0\"},attrs:{\"size\":\"sm\",\"align\":\"center\",\"total-rows\":_vm.tasksCount,\"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)])])]),(_vm.taskDialog.id > 0)?_c('task-detail-side',{attrs:{\"id\":_vm.taskDialog.id},on:{\"update:id\":function($event){return _vm.$set(_vm.taskDialog, \"id\", $event)},\"on-task-detail\":_vm.showDetail,\"on-task-close\":function($event){_vm.taskDialog.id = 0;\n _vm.taskLoaded();}}}):_vm._e(),_c('b-modal',{attrs:{\"title\":\"Шинэ мэдэгдэл\",\"hide-footer\":\"\",\"size\":\"lg\",\"centered\":\"\",\"scrollable\":\"\"},model:{value:(_vm.signalr.modal),callback:function ($$v) {_vm.$set(_vm.signalr, \"modal\", $$v)},expression:\"signalr.modal\"}},[_c('div',[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"d-block\"},[_vm._v(\"Мессеж\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.signalr.notification.msg),expression:\"signalr.notification.msg\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Илгээх агуулга бичнэ үү\",\"rows\":\"4\"},domProps:{\"value\":(_vm.signalr.notification.msg)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.signalr.notification, \"msg\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"d-block\"},[_vm._v(\"Тохиргоо\")]),_c('Select',{model:{value:(_vm.signalr.sendMethod),callback:function ($$v) {_vm.$set(_vm.signalr, \"sendMethod\", $$v)},expression:\"signalr.sendMethod\"}},[_c('Option',{attrs:{\"value\":1}},[_vm._v(\"Сонгосон хэрэглэгчид\")]),_c('Option',{attrs:{\"value\":2}},[_vm._v(\"Байгууллагын бүх хэрэглэгчид\")]),_c('Option',{attrs:{\"value\":999}},[_vm._v(\"Системийн бүр хэрэглэгчид\")])],1)],1),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"d-block\"},[_vm._v(\"Харагдаж\")]),_c('Select',{model:{value:(_vm.signalr.notification.type),callback:function ($$v) {_vm.$set(_vm.signalr.notification, \"type\", $$v)},expression:\"signalr.notification.type\"}},[_c('Option',{attrs:{\"value\":1}},[_vm._v(\"Жижиг цонхонд мессеж хариуулах\")]),_c('Option',{attrs:{\"value\":2}},[_vm._v(\"Тухайн хуудас дээрээ refresh хийх\")]),_c('Option',{attrs:{\"value\":3}},[_vm._v(\"Заасан холбоосруу үсрэх\")]),_c('Option',{attrs:{\"value\":999}},[_vm._v(\"Системээс гаргах\")])],1)],1),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"d-block\"},[_vm._v(\"Хугацаа\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.signalr.notification.timeout),expression:\"signalr.notification.timeout\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\"},domProps:{\"value\":(_vm.signalr.notification.timeout)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.signalr.notification, \"timeout\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"d-block\"},[_vm._v(\"Холбоос\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.signalr.notification.link),expression:\"signalr.notification.link\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\"},domProps:{\"value\":(_vm.signalr.notification.link)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.signalr.notification, \"link\", $event.target.value)}}})]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.sendSignal()}}},[_vm._v(\" Илгээх \")]),_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"type\":\"cancel\"},on:{\"click\":function($event){_vm.signalr.modal = false}}},[_vm._v(\" Болих \")])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h6',{staticClass:\"mg-b-5\"},[_vm._v(\"Илгээсэн мэдэгдлүүд\")]),_c('p',{staticClass:\"tx-13 tx-color-03 mg-b-0\"},[_vm._v(\"тайлбар\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"ID\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Гарчиг\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Огноо\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Percent\")])])])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./signals.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!./signals.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./signals.vue?vue&type=template&id=0cf59303\"\nimport script from \"./signals.vue?vue&type=script&lang=js\"\nexport * from \"./signals.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 index from \"./signals.vue\";\nexport default index;\n"],"sourceRoot":""}