EMS2.0-Documents/7.部署文档/Window安装/项目前端文件/IEMS/js/chunk-21eda8ed.c52db04d.js

2 lines
6.1 KiB
JavaScript
Raw Normal View History

2024-11-28 09:29:02 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21eda8ed"],{"0478":function(t,e,s){"use strict";s("2e1c")},"2e1c":function(t,e,s){},d2b0:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("el-dialog",{staticClass:"gisDialog",attrs:{title:t.$t("work.Subinspectiontask"),visible:t.dialogTableVisible,modal:!1},on:{"update:visible":function(e){t.dialogTableVisible=e}}},[s("div",{staticClass:"table-container"},[s("el-table",{attrs:{data:t.gridData,"highlight-current-row":"","header-row-class-name":"table-header","row-class-name":"table-row"}},[s("el-table-column",{attrs:{property:"taskName",align:"left",label:t.$t("work.taskName")}}),s("el-table-column",{attrs:{property:"receiveName",align:"left",label:t.$t("work.recipient")}}),s("el-table-column",{attrs:{property:"startTime",align:"left",label:t.$t("startTime"),"show-overflow-tooltip":""}}),s("el-table-column",{attrs:{property:"deadline",align:"left",label:t.$t("endTime"),"show-overflow-tooltip":""}}),s("el-table-column",{attrs:{property:"finishTime",align:"left",label:t.$t("completionTime"),"show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.finishTime?s("span",[t._v(t._s(e.row.finishTime))]):t._e(),e.row.finishTime?t._e():s("span",[t._v("- -")])]}}])}),s("el-table-column",{attrs:{label:t.$t("work.status"),align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[-1===e.row.status?s("span",{staticClass:"btn yellow"},[t._v(t._s(t.$t("work.unpublished")))]):t._e(),0===e.row.status?s("span",{staticClass:"btn blue"},[t._v(t._s(t.$t("work.notStarted")))]):t._e(),1===e.row.status?s("span",{staticClass:"btn"},[t._v(t._s(t.$t("work.inProgress")))]):t._e(),2===e.row.status?s("span",{staticClass:"btn white"},[t._v(t._s(t.$t("work.suspend")))]):t._e(),3===e.row.status?s("span",{staticClass:"btn white"},[t._v(t._s(t.$t("work.complete")))]):t._e(),4===e.row.status?s("span",{staticClass:"btn blue"},[t._v(t._s(t.$t("work.failed")))]):t._e(),5===e.row.status?s("span",{staticClass:"btn purple"},[t._v(t._s(t.$t("work.tobeAccepted")))]):t._e(),6===e.row.status?s("span",{staticClass:"btn red"},[t._v(t._s(t.$t("work.timedout")))]):t._e()]}}])}),s("el-table-column",{attrs:{label:t.$t("table.operate"),width:"200",align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[-1===e.row.status?s("span",{staticClass:"btnCancel",on:{click:function(s){return t.getOut(e)}}},[s("i",{staticClass:"iconfont icon-biaoti"}),t._v(t._s(t.$t("work.release")))]):t._e(),1===e.row.status?s("span",{staticClass:"btnCancel",on:{click:function(s){return t.stop(e)}}},[s("i",{staticClass:"iconfont icon-chakan"}),t._v(t._s(t.$t("work.suspend")))]):t._e(),1===e.row.status?s("span",{staticClass:"btnCancel",on:{click:function(s){return t.apply(e)}}},[s("i",{staticClass:"iconfont icon-biaoti"}),t._v(t._s(t.$t("work.check")))]):t._e(),s("span",{staticClass:"btnCancel",on:{click:function(s){return t.seeEq(e)}}},[s("i",{staticClass:"iconfont icon-kejian"}),t._v(" "+t._s(t.$t("work.see")))])]}}])})],1),s("pagination",{directives:[{name:"show",rawName:"v-show",value:t.sonTotal>0,expression:"sonTotal > 0"}],attrs:{total:t.sonTotal,"page-sizes":[1,5,10,20],page:t.getSonList.curPage,limit:t.getSonList.pageSize},on:{"update:page":function(e){return t.$set(t.getSonList,"curPage",e)},"update:limit":function(e){return t.$set(t.getSonList,"pageSize",e)},pagination:t.sonList}})],1)]),s("el-dialog",{staticStyle:{height:"800px"},attrs:{title:t.$t("work.see"),visible:t.seeDialog},on:{"update:visible":function(e){t.seeDialog=e}}},[s("son-equipment")],1)],1)},n=[],i=(s("d3b7"),s("159b"),s("d81d"),s("9b41")),o=s("cadb"),l=s("333d"),r=s("7877"),c={components:{Pagination:l["a"],sonEquipment:r["a"]},props:["parentTaskId","parentTaskStatus"],data:function(){return{gridData:null,dialogTableVisible:!1,sonTotal:0,getSonList:{releaseName:localStorage.getItem("sitename2"),curPage:1,pageSize:5,startTime:null,deadline:null,status:null,taskType:"巡检",parentId:null},sonPatrol:"sonPatrol",seeDialog:!1}},mounted:functio
//# sourceMappingURL=chunk-21eda8ed.c52db04d.js.map