"use strict";(self["webpackChunkcarabi_x2"]=self["webpackChunkcarabi_x2"]||[]).push([[891],{5340:function(t,s,a){a.r(s),a.d(s,{default:function(){return k}});var e=function(){var t=this,s=t._self._c;return s("list-item",{attrs:{emphasis:!!t.task.EXPRESS,status:t.task.WAS_PERFORMED?"success":"primary",footer:t.taskFooter(),actions:t.taskActions(),cover:!0},on:{action:function(s){return t.$emit("action")},click:function(s){return t.$emit("click")}}},[s("div",{staticClass:"uk-text-bold"},[t._v(t._s(t.task.ADRESS))]),t.task.COMPANY?s("div",{staticClass:"uk-text-mute"},[t._v(t._s(t.task.COMPANY))]):t._e(),t.task.AIM_COMMENT?s("div",[t._v(t._s(t.task.AIM_COMMENT))]):t._e(),s("div",[t._l(t.task.TAKE_AIM,(function(a){return s("span",{key:a,staticClass:"uk-label uk-label-primary"},[t._v(t._s(a))])})),t._l(t.task.GIVE_AIM,(function(a){return s("span",{key:a,staticClass:"uk-label uk-label-success"},[t._v(t._s(a))])}))],2)])},i=[],n={name:"LogisticTaskItem",components:{listItem:()=>a.e(8110).then(a.bind(a,6250))},props:{task:Object},data:()=>({}),computed:{},watch:{},mounted(){},methods:{taskFooter(){let t=[];return this.task.WAS_PERFORMED&&t.push({value:"выполнено"}),this.task.EXPRESS&&t.push({value:"экспресс"}),t},taskActions(){return this.task.WAS_PERFORMED?[]:[{label:this.task.TRACE_ID?"убрать":"назначить"}]}}},u=n,c=a(1656),l=(0,c.A)(u,e,i,!1,null,null,null),k=l.exports}}]);
//# sourceMappingURL=LogisticTaskItem.d1fea388.js.map