This commit is contained in:
Nukeap committed 2023-09-22 13:05:37 +03:00
1 parent ca1033ca1e
commit a38a93e386
83 files changed
+4183

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
"use strict";(self["webpackChunkfront"]=self["webpackChunkfront"]||[]).push([[501],{67641:function(t,e,s){s.r(e),s.d(e,{default:function(){return st}});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("work-task-ass-project",{attrs:{cards:t.$options.name,chatview:t.chatview,show:t.show,title:"Задача "+t.gettasks.name,breadcrumbs:t.breadcrumbs},on:{afterLeave:t.afterLeave,afterEnter:t.afterEnter,createnewWork:t.createnewWork,allCard:t.allCard},scopedSlots:t._u([{key:"spisok",fn:function(){return[s("left-list",{attrs:{level:2},on:{confirmation:t.confirmation,rout:t.rout}}),s("v-row",{staticClass:"flex-grow-0 "},[s("v-col",{staticClass:"pa-0"},[s("v-divider")],1)],1),s("v-row",{staticClass:"flex-grow-0 justify-end"},[s("v-col",{staticClass:"flex-grow-0"},[s("MyIco",{attrs:{size:"large",icons:"mdi-chart-gantt"},on:{click:t.gantviewer}})],1)],1),s("v-slide-x-reverse-transition",[s("v-card",{directives:[{name:"show",rawName:"v-show",value:t.gantview,expression:"gantview"}],staticClass:"gantPosition"},[s("gant-task",{ref:"ganttask",attrs:{startlevel:"task"},on:{saver:t.addTask,changegantview:t.changegantview}})],1)],1)]},proxy:!0},{key:"informations",fn:function(){return[s("informationorders",{attrs:{chat:t.activedCh,chatview:t.chatview,indx:0,level:2,breadcrumbs:t.breadcrumbs},on:{chatviewer:t.chatviewer,createtabchat:t.createtabchat,changestatus:t.changestatus,confirmation:t.confirmation}})]},proxy:!0},{key:"chat",fn:function(){return[s("mMessegeListRight",{directives:[{name:"show",rawName:"v-show",value:Object.keys(t.activedCh).length>0,expression:"Object.keys(activedCh).length>0"}],ref:"mychat",staticClass:"box2",attrs:{chatplace:"rightchat",header:!1,chat:t.activedCh,waiter:t.waiter},on:{waiting:function(e){t.waiter=!0}}})]},proxy:!0},{key:"filess",fn:function(){return[s("filelist",{attrs:{files:t.task.task_files,level:2,status:t.task.status.id,currentid:t.task.id},on:{uploadfile:t.uploadfile,deletefile:t.deletefile,VisSwitcher:t.VisSwitcher}})]},proxy:!0},{key:"graphic",fn:function(){return[s("work-pie-chart",{attrs:{title:"Статусы работ в задаче",data:t.task_statuses_calc}})]},proxy:!0}])})},i=[],n=s(56922),o=s(37505),r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"gant"}},[s("div",{},[s("DxGantt",{ref:t.ganttRef,attrs:{"start-date-range":t.startDateRange,"end-date-range":t.endDateRange,"first-day-of-week":1,"task-list-width":150,height:350,"scale-type":t.scale,"task-content-template":"taskContentTemplate","task-tooltip-content-template":"TooltipContentTemplate","on-custom-command":t.onCustomCommandClick,"on-context-menu-preparing":t.onContextMenuPreparing},on:{"task-dbl-click":t.onTaskDblClick},scopedSlots:t._u([{key:"TooltipContentTemplate",fn:function(e){var a=e.data;return[s("div",{staticClass:"custom-task-edit-tooltip pa-2"},[s("div",{staticClass:"custom-tooltip-title"},[t._v('"'+t._s(a.title)+'"')]),s("div",[t._v(" Дата начала: "+t._s(a.start.toLocaleDateString())+" ")]),s("div",[t._v("Дата окончания: "+t._s(a.end.toLocaleDateString()))])])]}},{key:"taskContentTemplate",fn:function(e){var a=e.data;return[s("div",{staticClass:"custom-task",class:t.getTaskColor(a.taskData.id),style:{width:a.taskSize.width+"px"}},[s("div",{staticClass:"custom-task-wrapper"},[s("div",{staticClass:"custom-task-row"},[t._v(" "+t._s(a.taskData.title)+" -- "+t._s(a&&"taskResources"in a&&a.taskResources.length?a.taskResources[0].text:""))])])])]}}])},[s("DxContextMenu",{attrs:{items:t.contextMenuItems}}),s("DxScaleTypeRange",{attrs:{min:"days",max:"years"}}),s("DxToolbar",[s("DxItem",{scopedSlots:t._u([{key:"default",fn:function(){return[s("v-btn",{staticClass:"mx-auto px-auto pl-1",attrs:{icon:"","x-small":"",color:"btns"},on:{click:function(e){return e.stopPropagation(),t.$emit("changegantview")}}},[s("v-icon",{attrs:{color:"primary"}},[t._v("mdi-close")])],1)]},proxy:!0}])}),s("DxItem",{attrs:{name:"undo"}}),s("DxItem",{attrs:{name:"redo"}}),s("DxItem",{attrs:{name:"separator"}}),s("DxItem",{attrs:{name:"collapseAll"}}),s("DxItem",{attrs:{name:"expandAll"}}),s("DxItem",{attrs:{name:"separator"}}),s("DxItem",{attrs:{name:"zoomIn"}}),s("DxItem",{attrs:{name:"zoomOut"}}),s("DxItem",{attrs:{name:"fullScreen"}}),s("DxItem",{attrs:{name:"separator"}}),s("DxItem",{scopedSlots:t._u([{key:"default",fn:function(){return[s("v-btn",{staticClass:"inyand--text",attrs:{"x-small":"",color:"btns"},on:{click:function(e){return e.stopPropagation(),t.createnewTask.apply(null,arguments)}}},[t._v(" Создать работу")])]},proxy:!0}])})],1),s("DxTasks",{attrs:{"data-source":t.tasks}}),s("DxResources",{attrs:{"data-source":t.resources}}),s("DxResourceAssignments",{attrs:{"data-source":t.resourceAssignments}}),s("DxEditing",{attrs:{enabled:!1}}),t._v(" :allow-resource-adding = false :allow-resource-deleting = false "),s("DxColumn",{attrs:{"data-field":"title",caption:"",width:1}})],1)],1),s("v-dialog",{attrs:{"overlay-opacity":".1Line truncated
//# sourceMappingURL=501.660786ff.js.map