cuikaidong
2025-08-08 c495c1ae53473d54af136ea00da84bf51c50d521
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b0e764c"],{"1b6e":function(t,e,a){"use strict";var n=a("9471"),r=a.n(n);r.a},7627:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-card",{attrs:{bordered:!1}},[a("div",{staticClass:"table_workLogist"},[a("a-table",{ref:"table",attrs:{bordered:"",size:"middle",rowKey:function(t,e){return e},columns:t.columns,dataSource:t.dataList,pagination:!1,loading:t.loadingrunStatus},scopedSlots:t._u([{key:"status",fn:function(e){return["3"==e||"23"==e?a("div",{staticStyle:{color:"#00ee00",width:"100%",height:"100%"}},[t._v("运行")]):"1"==e||"2"==e?a("div",{staticStyle:{color:"#ffea91",width:"100%",height:"100%"}},[t._v("待机")]):"0"==e?a("div",{staticStyle:{color:"#A8A8A8",width:"100%",height:"100%"}},[t._v("关机")]):"22"==e?a("div",{staticStyle:{color:"red",width:"100%",height:"100%"}},[t._v("报警")]):t._e()]}}])})],1)])},r=[],s=a("7b16"),i=(a("0fea"),a("4349")),d=a("d579"),o=a("f933"),l={name:"WorkLogList",components:{Tooltip:o["a"],JDictSelectTag:s["default"],JInput:i["default"],JEllipsis:d["default"]},props:{dataList:{type:Array,required:!0,default:[]},loadingrunStatus:{type:Boolean,default:!1}},data:function(){return{disabled:!0,disableMixinCreated:!0,columns:[{title:"状态",align:"center",dataIndex:"status",scopedSlots:{customRender:"status"}},{title:"开始时间",align:"center",dataIndex:"startTime"},{title:"结束时间",align:"center",dataIndex:"endTime"},{title:"持续时间",align:"center",dataIndex:"duration",customRender:function(t,e,a){var n=parseInt(t);if(n>=3600){var r=parseInt(n/3600)<10?"0"+parseInt(n/3600):parseInt(n/3600),s=parseInt(n%3600/60)<10?"0"+parseInt(n%3600/60):parseInt(n%3600/60),i=parseInt(n%3600%60)<10?"0"+parseInt(n%3600%60):parseInt(n%3600%60);return"00"==s?"00"==i?r+"小时":r+"小时"+i+"秒":"00"==i?r+"小时"+s+"分":r+"小时"+s+"分"+i+"秒"}if(60<n&&n<3600){var d=parseInt(n%3600/60)<10?"0"+parseInt(n%3600/60):parseInt(n%3600/60),o=parseInt(n%3600%60)<10?"0"+parseInt(n%3600%60):parseInt(n%3600%60);return d+"分"+o+"秒"}var l=parseInt(n%3600%60)<10?"0"+parseInt(n%3600%60):parseInt(n%3600%60);return l+"秒"}},{title:"程序号",align:"center",dataIndex:"sequenceNumber"}]}},methods:{},created:function(){}},u=l,c=(a("1b6e"),a("2877")),p=Object(c["a"])(u,n,r,!1,null,"48495d52",null);e["default"]=p.exports},9471:function(t,e,a){}}]);