mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 21:41:07 +03:30
1 line
22 KiB
JavaScript
Vendored
1 line
22 KiB
JavaScript
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{HOOM:function(t,e,r){"use strict";r.r(e);var n=r("Y8XJ"),a=r("85lN"),i=r("L2JU");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(){s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function v(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),s=new B(n||[]);return a(o,"_invoke",{value:T(t,r,s)}),o}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=v;var d="suspendedStart",h="executing",m="completed",y={};function g(){}function b(){}function x(){}var _={};f(_,l,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(L([])));k&&k!==r&&n.call(k,l)&&(_=k);var C=x.prototype=g.prototype=Object.create(_);function P(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function M(t,e){function r(a,i,s,l){var c=p(t[a],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==o(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,l)}),(function(t){r("throw",t,s,l)})):e.resolve(f).then((function(t){u.value=t,s(u)}),(function(t){return r("throw",t,s,l)}))}l(c.arg)}var i;a(this,"_invoke",{value:function(t,n){function a(){return new e((function(e,a){r(t,n,e,a)}))}return i=i?i.then(a,a):a()}})}function T(e,r,n){var a=d;return function(i,o){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===i)throw o;return{value:t,done:!0}}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var l=O(s,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var c=p(e,r,n);if("normal"===c.type){if(a=n.done?m:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=m,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=p(a,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function B(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(o(e)+" is not iterable")}return b.prototype=x,a(C,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:b,configurable:!0}),b.displayName=f(x,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,u,"GeneratorFunction")),t.prototype=Object.create(C),t},e.awrap=function(t){return{__await:t}},P(M.prototype),f(M.prototype,c,(function(){return this})),e.AsyncIterator=M,e.async=function(t,r,n,a,i){void 0===i&&(i=Promise);var o=new M(v(t,r,n,a),i);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},P(C),f(C,u,"Generator"),f(C,l,(function(){return this})),f(C,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=L,B.prototype={constructor:B,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return s.type="throw",s.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;S(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function l(t,e,r,n,a,i,o){try{var s=t[i](o),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,a)}function c(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(t){l(i,n,a,o,s,"next",t)}function s(t){l(i,n,a,o,s,"throw",t)}o(void 0)}))}}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){v(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p,d,h,m,y,g={data:function(){return{headers:[{sortable:!1,text:"ID",value:"name"},{sortable:!1,text:"Test Type",value:"TestType"},{sortable:!1,text:"Hospital",value:"Hospital"},{sortable:!1,text:"User",value:"Users"},{sortable:!1,text:"Result",value:"result"},{sortable:!1,text:"Date",value:"date"},{sortable:!1,text:"Verify",value:"verify"},{sortable:!1,text:"Action",value:"action",align:"left"}],filter:{device_id:"",testType_id:"",medicalCenter_id:"",user_name:"",fromPicker:"",upToPicker:"",device_label:""},fromMenu:"",upToMenu:"",items:[],currentPage:1,lastPage:1,testTypes:[],medicalCenters:[],deviceLabels:[{name:"Washer ID",id:"Washer ID"},{name:"Autoclave ID",id:"Autoclave ID"},{name:"Sterilizer ID",id:"Sterilizer ID"},{name:"Seal Machine ID",id:"Seal Machine ID"},{name:"Patiant ID",id:"Patiant ID"},{name:"Set/Pack ID",id:"Set/Pack ID"},{name:"Medical Device ID",id:"Medical Device ID"},{name:"OR ID",id:"OR ID"},{name:"Personal ID",id:"Personal ID"},{name:"Instrument ID",id:"Instrument ID"},{name:"Basket ID",id:"Basket ID"},{name:"Implant ID",id:"Implant ID"}]}},created:function(){this.fillSelectFilter(),"NotVerifyTestResult"==this.$route.name?this.load(1,"NotVerified"):this.load()},methods:f(f({},Object(i.d)("modal",["changeCurrentModal"])),{},{load:(y=c(s().mark((function t(){var e,r,i,o,l,c=arguments;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(o in e=c.length>0&&void 0!==c[0]?c[0]:1,r=c.length>1&&void 0!==c[1]?c[1]:null,i="?",this.filter)this.filter.hasOwnProperty(o)&&(i+="".concat(o,"=").concat(this.filter[o],"&"));return r&&(i+="verified=".concat(r,"&")),i+=e?"page=".concat(e):"page=1",t.next=8,n.a.get(a.a.listTestResult(i));case 8:(l=t.sent)&&200==l.status&&(this.items=l.data.data.data,this.currentPage=l.data.data.current_page,this.lastPage=l.data.data.last_page);case 10:case"end":return t.stop()}}),t,this)}))),function(){return y.apply(this,arguments)}),show:(m=c(s().mark((function t(e){var r;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.get(a.a.showTestResult(e));case 2:(r=t.sent)&&200==r.status&&this.changeCurrentModal({modal:"modal-testresult-show",properties:{result:r}});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return m.apply(this,arguments)}),remove:(h=c(s().mark((function t(e){var r,i;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.delete(a.a.removeTestResult(e));case 2:if((r=t.sent)&&200==r.status)for(i in this.items)this.items.hasOwnProperty(i)&&this.items[i].id==e&&this.items.splice(i,1);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return h.apply(this,arguments)}),fillSelectFilter:(d=c(s().mark((function t(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.get(a.a.listFilterItemsTestResult);case 2:(e=t.sent)&&200==e.status&&(this.medicalCenters=e.data.data.MedicalCenters,this.testTypes=e.data.data.TestTypes);case 4:case"end":return t.stop()}}),t,this)}))),function(){return d.apply(this,arguments)}),generateBarcode:(p=c(s().mark((function t(e,r){var i;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.post(a.a.Barcode(e,r));case 2:(i=t.sent)&&200==i.status&&this.changeCurrentModal({modal:"modal-barcode-barcode",properties:{result:i}});case 4:case"end":return t.stop()}}),t,this)}))),function(t,e){return p.apply(this,arguments)})}),computed:f({},Object(i.c)("modal",["getModalResult"])),watch:{currentPage:function(t){"NotVerifyTestResult"==this.$route.name?this.load(t,"NotVerified,None"):this.load(t)},getModalResult:function(t){for(var e in this.items)this.items.hasOwnProperty(e)&&this.items[e].id==t.id&&(this.items[e].verified=t.verified)}}},b=(r("abpX"),r("KHd+")),x=Object(b.a)(g,(function(){var t=this,e=t._self._c;return e("div",{},[e("v-container",{attrs:{fluid:""}},[e("material-card",{attrs:{color:"black",title:"All Test Result",text:""}},[e("v-layout",{staticClass:"px-5 mb-3 my-3",attrs:{"align-center":"",wrap:""}},[e("v-flex",{staticClass:"WM-FlexCenter",attrs:{xs12:"",md2:"",sm3:""}},[e("v-icon",{staticClass:"fas fa-sort-numeric-up mr-2 WM-Margin-B-8"}),t._v(" "),e("v-text-field",{staticClass:"py-3 pr-3",attrs:{label:"ID",color:"black"},model:{value:t.filter.device_id,callback:function(e){t.$set(t.filter,"device_id",e)},expression:"filter.device_id"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter pl-3",attrs:{xs12:"",md3:"",sm3:""}},[e("v-icon",{staticClass:"fas fa-sort-numeric-up mr-2 WM-Margin-B-8"}),t._v(" "),e("v-autocomplete",{staticClass:"py-3 pr-3",attrs:{items:t.deviceLabels,"item-text":"name","item-value":"id",label:"ID Label",color:"black",clearable:!0},model:{value:t.filter.device_label,callback:function(e){t.$set(t.filter,"device_label",e)},expression:"filter.device_label"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter pl-3",attrs:{xs12:"",md3:"",sm3:""}},[e("v-icon",{staticClass:"fa fa-align-left mr-2 WM-Margin-B-8"}),t._v(" "),e("v-autocomplete",{staticClass:"py-3 pr-3",attrs:{label:"TestType Name",color:"black",items:t.testTypes,"item-text":"name","item-value":"id"},model:{value:t.filter.testType_id,callback:function(e){t.$set(t.filter,"testType_id",e)},expression:"filter.testType_id"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter pl-3",attrs:{xs12:"",md3:"",sm3:""}},[e("v-icon",{staticClass:"fa fa-hospital-o mr-2 WM-Margin-B-8"}),t._v(" "),e("v-autocomplete",{staticClass:"py-3 pr-3",attrs:{label:"Hospital",color:"black",items:t.medicalCenters,"item-text":"name","item-value":"id",clearable:!0},model:{value:t.filter.medicalCenter_id,callback:function(e){t.$set(t.filter,"medicalCenter_id",e)},expression:"filter.medicalCenter_id"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter",attrs:{xs12:"",md2:"",sm3:""}},[e("v-icon",{staticClass:"fa fa-align-left mr-2 WM-Margin-B-8"}),t._v(" "),e("v-text-field",{staticClass:"py-3 pr-3",attrs:{label:"User Name",color:"black"},model:{value:t.filter.user_name,callback:function(e){t.$set(t.filter,"user_name",e)},expression:"filter.user_name"}})],1),t._v(" "),e("v-flex",{staticClass:"WM-FlexCenter",attrs:{xs12:"",sm6:"",md2:"","pl-3":""}},[e("v-icon",{staticClass:"far fa-calendar-alt mr-2"}),t._v(" "),e("v-menu",{attrs:{lazy:"","close-on-content-click":!0,transition:"v-scale-transition","offset-y":""},model:{value:t.fromMenu,callback:function(e){t.fromMenu=e},expression:"fromMenu"}},[e("v-text-field",{staticClass:"py-3 pr-3",attrs:{slot:"activator",required:"",label:"FromDate",color:"black"},slot:"activator",model:{value:t.filter.fromPicker,callback:function(e){t.$set(t.filter,"fromPicker",e)},expression:"filter.fromPicker"}}),t._v(" "),e("v-date-picker",{attrs:{color:"pink","no-title":"","date-format":function(t){return new Date(t).toDateString()}},model:{value:t.filter.fromPicker,callback:function(e){t.$set(t.filter,"fromPicker",e)},expression:"filter.fromPicker"}})],1)],1),t._v(" "),e("v-flex",{staticStyle:{display:"flex","align-items":"center"},attrs:{xs12:"",sm6:"",md2:"","pl-3":""}},[e("v-icon",{staticClass:"far fa-calendar-alt mr-2"}),t._v(" "),e("v-menu",{attrs:{lazy:"","close-on-content-click":!0,transition:"v-scale-transition","offset-y":""},model:{value:t.upToMenu,callback:function(e){t.upToMenu=e},expression:"upToMenu"}},[e("v-text-field",{staticClass:"py-3 pr-3",attrs:{slot:"activator",required:"",label:"UpToDate",color:"black"},slot:"activator",model:{value:t.filter.upToPicker,callback:function(e){t.$set(t.filter,"upToPicker",e)},expression:"filter.upToPicker"}}),t._v(" "),e("v-date-picker",{attrs:{color:"pink","no-title":"","date-format":function(t){return new Date(t).toDateString()}},model:{value:t.filter.upToPicker,callback:function(e){t.$set(t.filter,"upToPicker",e)},expression:"filter.upToPicker"}})],1)],1),t._v(" "),e("v-flex",{staticClass:"WM-XL-Align-L text-lg-left",attrs:{xs12:"",md3:"",sm3:""}},[e("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:function(e){return t.load(null,null)}}},[e("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-search")]),t._v(" "),e("span",{staticClass:"white--text"},[t._v("Filter")])],1)],1),t._v(" "),e("v-spacer"),t._v(" "),e("v-flex",{staticClass:"WM-Align-R",attrs:{wrap:"",xs12:"",md2:"",sm2:""}},[e("router-link",{attrs:{to:{name:"SubmitTestResult"}}},[e("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[e("v-icon",{staticClass:"black--text mr-2 caption"},[t._v("fas fa-plus")]),t._v(" "),e("span",{staticClass:"black--text"},[t._v("Add")])],1)],1)],1)],1),t._v(" "),e("v-layout",{staticClass:"px-5 mb-3 my-3",attrs:{wrap:""}}),t._v(" "),e("v-layout",{staticClass:"px-4 my-3"},[e("v-divider")],1),t._v(" "),e("v-layout",{staticClass:"px-5 my-2",attrs:{"align-center":"",wrap:""}},[e("v-flex",{attrs:{md12:""}},[e("v-data-table",{attrs:{headers:t.headers,items:t.items,"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(r){var n=r.header;return[e("span",{staticClass:"subheading font-weight-light text-white text--darken-3",domProps:{textContent:t._s(n.text)}})]}},{key:"items",fn:function(r){var n=r.item;return[e("td",{staticClass:"headline font-weight-light"},[t._v(t._s(n.id))]),t._v(" "),e("td",{staticClass:"title font-weight-light"},[t._v(t._s(n.test_type?n.test_type.name:"Archived Test"))]),t._v(" "),e("td",{staticClass:"title font-weight-light"},[t._v(t._s(n.user.medical_center.name))]),t._v(" "),e("td",{staticClass:"title font-weight-light"},[t._v(t._s(n.user.name))]),t._v(" "),e("td",{staticClass:"title font-weight-light"},["Reject"==n.result?e("span",{staticClass:"ResultMsg Reject"},[t._v("\r\n "+t._s(n.result)+"\r\n ")]):"Accept"==n.result?e("span",{staticClass:"ResultMsg Accept"},[t._v("\r\n "+t._s(n.result)+"\r\n ")]):t._e()]),t._v(" "),e("td",{staticClass:"title font-weight-light"},[t._v(t._s(n.created_at))]),t._v(" "),e("td",{staticClass:"title font-weight-light"},["NotVerified"==n.verified?e("span",{staticClass:"NotVerified"},[e("v-icon",{staticClass:"caption fa fa-times NotVerified"})],1):t._e(),t._v(" "),"Verified"==n.verified?e("span",{},[e("v-icon",{staticClass:"caption fa fa-check Verified"})],1):t._e()]),t._v(" "),e("td",{staticClass:"text-xs-right FlexBtn"},[e("v-tooltip",{attrs:{bottom:"","open-on-hover":""},scopedSlots:t._u([{key:"activator",fn:function(r){var a=r.on,i=r.attrs;return[e("v-btn",t._g(t._b({staticClass:"mr-2",attrs:{color:"cyan"},on:{click:function(e){return t.show(n.id)}}},"v-btn",i,!1),a),[e("v-icon",{staticClass:"white--text mr-1 caption"},[t._v("fas fa-eye")]),t._v(" "),e("span",[t._v("Show")])],1)]}}],null,!0)},[t._v(" "),e("span",[t._v("Show")])]),t._v(" "),e("v-tooltip",{attrs:{bottom:"","open-on-hover":""},scopedSlots:t._u([{key:"activator",fn:function(r){var a=r.on,i=r.attrs;return[e("v-btn",t._g(t._b({staticClass:"mr-2",attrs:{color:"orange"},on:{click:function(e){return t.generateBarcode(n.id,"TestResult")}}},"v-btn",i,!1),a),[e("v-icon",{staticClass:"white--text mr-1 caption"},[t._v("fa fa-bars")]),t._v(" "),e("span",[t._v("generate Barcode")])],1)]}}],null,!0)},[t._v(" "),e("span",[t._v("generate Barcode")])]),t._v(" "),e("v-tooltip",{attrs:{bottom:"","open-on-hover":""},scopedSlots:t._u([{key:"activator",fn:function(r){var a=r.on,i=r.attrs;return[t.$hasRole("Admin")||n.user_id==t.$store.state.user.id&&"None"==n.verified?e("router-link",{staticClass:"LinkBtn",attrs:{to:{name:"EditTestResult",params:{testResult:n.id}}}},[e("v-btn",t._g(t._b({staticClass:"mr-2",attrs:{color:"orange"}},"v-btn",i,!1),a),[e("v-icon",{staticClass:"white--text mr-1 caption"},[t._v("fas fa-pen")]),t._v(" "),e("span",[t._v("Edit")])],1)],1):t._e()]}}],null,!0)},[t._v(" "),e("span",[t._v("Edit")])]),t._v(" "),e("v-tooltip",{attrs:{bottom:"","open-on-hover":""},scopedSlots:t._u([{key:"activator",fn:function(r){var a=r.on,i=r.attrs;return[t.$hasRole("Admin")||n.user_id==t.$store.state.user.id&&"None"==n.verified?e("v-btn",t._g(t._b({staticClass:"WM-ActionButton",attrs:{color:"pink"},on:{click:function(e){return t.remove(n.id)}}},"v-btn",i,!1),a),[e("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-times")]),t._v(" "),e("span",[t._v("Remove")])],1):t._e()]}}],null,!0)},[t._v(" "),e("span",[t._v("Remove")])])],1)]}}])})],1)],1),t._v(" "),e("v-divider"),t._v(" "),t.lastPage>1?e("div",{staticClass:"text-xs-center mt-2"},[e("v-pagination",{attrs:{color:"black",length:t.lastPage,"total-visible":6},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}})],1):t._e(),t._v(" "),e("v-layout",{staticClass:"mt-3",attrs:{row:"",wrap:"","align-center":"","justify-center":""}},[e("router-link",{attrs:{to:"/dashboard"}},[e("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"},[e("v-icon",{staticClass:"black--text mr-2 caption"},[t._v("fas fa-chevron-left")]),t._v(" "),e("span",{staticClass:"black--text"},[t._v("Back")])],1)],1)],1)],1)],1)],1)}),[],!1,null,null,null);e.default=x.exports},Rfbk:function(t,e,r){var n=r("htDh");"string"==typeof n&&(n=[[t.i,n,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};r("aET+")(n,a);n.locals&&(t.exports=n.locals)},abpX:function(t,e,r){"use strict";r("Rfbk")},htDh:function(t,e,r){(t.exports=r("JPst")(!1)).push([t.i,"\n.v-btn--floating {\r\n padding: 0 !important;\n}\n.theme--light.v-btn.v-btn--flat {\r\n color: rgba(0, 0, 0, .87) !important;\n}\n.v-btn--floating,\r\n.v-btn--icon:before {\r\n border-radius: 50% !important;\n}\r\n\r\n/* --------------------------------------------------------\r\n Tables :: Begin\r\n-------------------------------------------------------- */\n@media screen and (max-width: 1536px) {\n.v-card .title {\r\n font-size: 0.9rem !important;\n}\n}\r\n\r\n/* .FlexBtn {\r\n display: flex;\r\n flex-wrap: nowrap;\r\n padding: 10px 8px !important;\r\n}\r\ntd.FlexBtn .theme--light.v-btn {\r\n padding: 21px 20px;\r\n}\r\ntd.FlexBtn a.LinkBtn .theme--light.v-btn {\r\n padding: 12px 10px;\r\n}\r\n@media screen and (max-width:1536px) {\r\n.FlexBtn {\r\n padding: 30px 8px !important;\r\n}\r\ntd.FlexBtn span {\r\n display: none;\r\n}\r\ntd.FlexBtn .theme--light.v-btn {\r\n min-width: 30px;\r\n padding: 15px 10px;\r\n margin-right: 1 !important;\r\n\r\n}\r\ntd.FlexBtn a.LinkBtn .theme--light.v-btn {\r\n padding: 9px 10px;\r\n}\r\ntd.FlexBtn .theme--light.v-icon {\r\n margin-right: 0 !important;\r\n}\r\n} */\r\n",""])}}]); |