(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d43bb398","chunk-4bee58a8"],{"06553":function(e,t,a){},"0aab":function(e,t,a){},"0b37":function(e,t,a){"use strict";function s(e,t){var a,s,n,i;try{a=e.toString().split(".")[1].length}catch(r){a=0}try{s=t.toString().split(".")[1].length}catch(r){s=0}if(i=Math.abs(a-s),n=Math.pow(10,Math.max(a,s)),i>0){var l=Math.pow(10,i);a>s?(e=Number(e.toString().replace(".","")),t=Number(t.toString().replace(".",""))*l):(e=Number(e.toString().replace(".",""))*l,t=Number(t.toString().replace(".","")))}else e=Number(e.toString().replace(".","")),t=Number(t.toString().replace(".",""));return(e+t)/n}function n(e,t){var a,s,n=0,i=0;try{n=e.toString().split(".")[1].length}catch(l){}try{i=t.toString().split(".")[1].length}catch(l){}return a=Number(e.toString().replace(".","")),s=Number(t.toString().replace(".","")),a/s*Math.pow(10,i-n)}function i(e,t){var a=0,s=e.toString(),n=t.toString();try{a+=s.split(".")[1].length}catch(i){}try{a+=n.split(".")[1].length}catch(i){}return Number(s.replace(".",""))*Number(n.replace(".",""))/Math.pow(10,a)}function l(e,t){var a,s,n,i;try{a=e.toString().split(".")[1].length}catch(l){a=0}try{s=t.toString().split(".")[1].length}catch(l){s=0}return n=Math.pow(10,Math.max(a,s)),i=a>=s?a:s,(Math.round(e*n-t*n)/n).toFixed(i)}function r(e,t){if(0==e&&(e=0),/[^[\-|0-9][0-9]*]/.test(e))return"0";if(null==e||""===e)return"";e=e.toString().replace(/^(-\d*)$/,"$1."),e=e.toString().replace(/^(\d*)$/,"$1."),e=(e+"00").replace(/(\d*\.\d\d)\d*/,"$1"),e=e.replace(".",",");var a=/(\d)(\d{3},)/;while(a.test(e))e=e.replace(a,"$1,$2");if(e=e.replace(/,(\d\d)$/,".$1"),0===t||void 0===t){var s=e.split(".");"00"==s[1]&&(e=s[0])}return e}function o(e,t){e=e.toString();var a=e.indexOf(".");return e=-1!==a?e.substring(0,t+a+1):e.substring(0),parseFloat(e).toFixed(t)}function c(e){var t=Object.prototype.toString.call(e).slice(8,-1);return"Null"===t?"Null":"Undefined"===t?"Undefined":t}function u(e){var t,a=c(e);if("Object"===a)t={};else{if("Array"!==a)return e;t=[]}for(var s in e){var n=e[s];c(n),t[s]=u(n)}return t}a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return l})),a.d(t,"g",(function(){return r})),a.d(t,"f",(function(){return o})),a.d(t,"e",(function(){return u}))},2124:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEvElEQVRIS5WVa2wUVRTH/+fOY2e39EWBLQYNQQTsloIpJMqj2zUxRrAKwiJtaUIkAqJBHomJmKCfEPWbicEEYkDoQyYRFCNprN0uBeoHIKZ0oSBgokVaDRTa0n3N3GNmoE0fauv9NJl7zm/+59z/PUMYx5p2NuzNkeoSJ/SusE53LDLjY6XRWAHO/pOn1k0Vgvc7z1LS65dLjtwaK88FF5/bqHV3d/tunDF78QHkyKRAJJwPTT/AkolsfUMsdLBzZIzDSPR25ykpo7f1+cP3XXBBdO1TpCjlxPR9ovd2y7VlJ5NDE2f8EM72GfpSW7LUEkrUSRy6/8i5Mt/E5IRXpBSVsPHppeAT9QQGBaIVpVDoMzD6bMaG9mD1RRwNK4UT1Umsi5mSMB/EfsG4D+ZrSUX+nO3pv3V+wYn+QWFC7CeQx5K0qT145Kyr2FHkMfRKQSix2drdc7e/Iyc3K0jMWxiYBxATYD9UqRHhrgTXqmn6sjVUfTMQCftZVdezpNYcLR1pWWTGBw9vemS9kaXbWX39iaTu1aoEsJOYNAluZkGNSkr+ziplElAMpmVMmAqgKS2t3b90yatF2YbRei+RwBrTFTDcFUfDSoFfXQVFfExM96Rlv88+rTlDMXoye69yU2mpnP3thQw7N/NRQ9AOyRxmwklI2j7SKcPA8yNrp6cVUQOifDC/EetMN2CNKR+Prp1mkFgskYheLvnatdqM5vBjBvQPAX6OCe+KP9KHY2vM1MChDoIdu9xP9lUKSXtAOEjp1J5YyOybffqlTBWZu8Aog5RbY8HaxoHkQFPlQlJQx+DrpHFV29O1XaPA8yMrctK67yO28YJU+NX2xbUtTqvmRCsLVQGTGT0JO1VxvdS8AXrg9TkNK/OEx/c5gIVsWS9eDn3VNgpcVL9yiuXzHiDQTEumll8Jmr+6amnCO5C0g4EohDTZoi5VoOXi0pruovqqDCvD3gWmdWC8dqmk+sdR4MKfyv3Soi+IxZQ4kqtuLDV/KzpTNSXN9j4CBSGRBlgloj/ttNzSHqo9VfxdmTeenbkNRBuF5B1tJTXH4NyMoa4YBEuaHKfUagcciIV16vQssD12AUEEwVhNwHlLpqqciopPlPniuVlvg7GJWO6MNdYeGxgJg4c3CAZNjvMD8EBZsxoqZmgG7WNGIbHcGuu0jjt+dcFDFUdqjo8ffDSsBPLVFSDxCRHqWaTeiy0y77jD63+BmSYpFla1hqo7XMUMmhWtXKBqvMxOirorzx65MlCJc1t9anIbIDa7Pf5PxQx/XKI8paU7/LcTpOcZ3JOEAg/0e0DceeeAu/IMzu6BFxP0t5ixQUje/s/ghnI/63SIieYR+JAUdIdsViGIwZIFKbZkWwGTcBUTSyLSGAgRU4CAzW1Lqo+PcsXc5opcCbEX4OVMnBYMyaB//cMQgZndWaOD8BfZ9pttwbqzw33MYWXmtXxV6eqertqYzYABIV0/jrWIHeXK7UQvX5jmvdnfVDqZQaZNBY3lAVJprq3AUAHbYhKaO37HvywJCQUgmxViirPFFylwpmIvJF5mIi/ATEzjUjrysww4vXc61A+Bb2hOZF2p0PgZAnv54XAZv9bhkcQQDIrLNLX8DVTOZnn5H6BhAAAAAElFTkSuQmCC"},3369:function(e,t,a){"use strict";a("eccf")},3388:function(e,t,a){},"3b61":function(e,t,a){},"3f44":function(e,t,a){"use strict";a("0aab")},"416e":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEK0lEQVRIS5WVXWwUVRTHf2dmtt1tt7tLCy0kfhCDMREMGuHBz9ICgoDRCNYgNjESAdEglMRETNAnRH0zMZhAjGiiBB4Am6hNV9ZSoT6gMaIPGpREqwX7sdt227q7M/eY27LQUkLLJDOZ3Dnnd//3nP+9I0zj0tNE+od50IbGy/hW7mdkqjSZKsB+7/6KOV4p++27n+OFWSvpmipvFKxnCKXTlM04xaC8ibk6KZtidkE5ICCesDFax4WrYyxjaJCqbJ7B2SsYGgWnW7lHXNZrwBc9BTpuX0VufGJfK3FPeEgdzEiBNps4/rs2U5aO8qSjbBDlvVg9LaIgmSRLHJf3FbKez8bocs4ePoxbW8nMkMM8V7gbpUaFIXzO4fBjPE6XLGJ4nLD9CqWusjm2lNOjiq0i12UDwsMSsDs7Qmd5GbUGtoqwUBUVh2C0bEpIIAN8FggfV9bx91CKGh+eE+WnWJiUbe7l5mmKcDZPrOCQcz0aVdmpEBKhHeFE4POXK1TgcK8aVokwB+Eb32d3VZrfiBM+0s9/DQ1jAia4Qg/j9s9kLfAO0K+GN1xor0gwwCDKEkzP55SHy7k5cGlCeQr4spBnx9VOmQBOp5grhk9xmC3Ki7EekjRg+lq4yXN5IO/TVgT0tXKL4/IWwnLgtXg3n0gD+WJTr5TiDKHMIBtQ9gh8lBf2VNeR7T5ORSjGLlEeU2VbYiknisn9SRarwyGE372AxugyLk4Cp4+SkDhvKzzqGp6OLaPDOibdygLH5QjCgOR4JvYdfxS93pmkKip8gLDYFFhTuYKfJ4EvtFAdKeGAGubhszqxgvNWrRfjVVGaENpUOOIYLmaG6bh1DWltobw/xC7gWeD5RD1fTwJnk9QEHh+qUm181lYu58/BFqqDEPuAWqAAeAr/4rM18Qgnu5qJhMvZLrCJgKbEMo6KoBNcMQ48y/iss2D9hZK+CyxyHe5UqBVlncL3UqDRruifZsrKKngFw2YCdsZPcbRYpsvNuxa4uKxMkttw2CewwIFt0R6OSQOBBVvFDmxyoSl6kmPTBl/y9hMI7wItkuP1+Er67KQ3BjbMDIS1VXV0XtrCMtDGIpRVeeXQrHp+La7kfIpwHLaLssWbUrGhRnzWD0TpdHuROVVodw63NEdJLMZIV+/YbrXjAwNEKOFlo2z0hB3XLMXFJDWlDgcFFqpwEKHPGDzHQQlQ3LGnURwLdgQjQkiVOpT5qmxJ1HNskisy7cygwF6F1TJmLXvgX+8PY20lqpSIQ7djeMkelxN8bBt0LopXE2ZuAHdIQBirdDqXwSj0mgI/VEYYphu1jpHeE8z3DHcZlzBC4AoO5rpKJ01n/yx20Ciu4zPiO5yVTIq9KI8DEXuOX7qno/VKjC3YWO3t2zDCcXvILBGX+xQitiE3RpwYbRsrMKIBHf8D26HYH5lKFAcAAAAASUVORK5CYII="},"43fc":function(e,t,a){},4771:function(e,t,a){},"49de":function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return l})),a.d(t,"j",(function(){return r})),a.d(t,"n",(function(){return o})),a.d(t,"m",(function(){return c})),a.d(t,"i",(function(){return u})),a.d(t,"o",(function(){return d})),a.d(t,"h",(function(){return p})),a.d(t,"p",(function(){return m})),a.d(t,"d",(function(){return v})),a.d(t,"r",(function(){return f})),a.d(t,"q",(function(){return g})),a.d(t,"e",(function(){return h})),a.d(t,"s",(function(){return _})),a.d(t,"f",(function(){return b})),a.d(t,"k",(function(){return y})),a.d(t,"l",(function(){return w})),a.d(t,"g",(function(){return C}));var s=a("b775");function n(e){return Object(s["a"])({url:"/appproject/category/add",method:"post",data:e})}function i(e){return Object(s["a"])({url:"/appproject/category/edit",method:"post",data:e})}function l(e){return Object(s["a"])({url:"/appproject/category/delete",method:"post",data:e})}function r(e){return Object(s["a"])({url:"/appproject/materiel/edit",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/appproject/materiel/pageList",method:"post",data:e})}function c(e){return Object(s["a"])({url:"/appproject/MaterielProject/getChildGoods",method:"post",data:e})}function u(e){return Object(s["a"])({url:"/appproject/materiel/delete",method:"post",data:e})}function d(e){return Object(s["a"])({url:"/appproject/inventoryRecord/operateIn",method:"post",data:e})}function p(e){return Object(s["a"])({url:"/appproject/inventoryRecord/pageList",method:"post",data:e})}function m(e){return Object(s["a"])({url:"/appproject/inventoryRecord/operateOut",method:"post",data:e})}function v(e){return Object(s["a"])({url:"/appproject/inventoryRecord/diffPageList",method:"post",data:e})}function f(e){return Object(s["a"])({url:"/appproject/category/treeList",method:"post",data:e})}function g(e){return Object(s["a"])({url:"/appproject/MaterielProject/queryMaterielTypeTree",method:"post",data:e})}function h(e){return Object(s["a"])({url:"/appproject/inventoryRecord/diffPageList",method:"post",data:e})}function _(e){return Object(s["a"])({url:"/appproject/materiel/differenceLog/taskOrderRelatedList",method:"post",data:e})}function b(e){return Object(s["a"])({url:"/appproject/inventoryRecord/exportExcel",method:"post",responseType:"blob",data:e})}function y(e){return Object(s["a"])({url:"/appproject/materiel/exportExcel",method:"post",responseType:"blob",data:e})}function w(e,t){return Object(s["a"])({url:"/appproject/materiel/importExcel"+t,method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:e})}function C(e,t){return Object(s["a"])({url:"/appproject/inventoryRecord/importExcel"+t,method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:e})}},"4f9b":function(e,t,a){},"51bc":function(e,t,a){"use strict";a("9d2f")},"59b2":function(e,t,a){},"5e98":function(e,t,a){"use strict";a("3b61")},"6cad":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-container"},[e.infoList?s("div",[s("el-card",{staticClass:"box-card planSearchs",attrs:{shadow:"never"}},[s("div",{ref:"box",staticClass:"searchStys transition_dom"},[s("el-form",{ref:"query",attrs:{model:e.query}},[s("div",{ref:"form_box",staticClass:"searchBar"},[s("div",{staticClass:"searchInput"},[s("el-row",{attrs:{gutter:20}},[s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"planNo"}},[s("el-input",{attrs:{placeholder:"计划编码",clearable:""},model:{value:e.query.planNo,callback:function(t){e.$set(e.query,"planNo",t)},expression:"query.planNo"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"taskName"}},[s("el-input",{attrs:{placeholder:"计划工单名称",clearable:""},model:{value:e.query.taskName,callback:function(t){e.$set(e.query,"taskName",t)},expression:"query.taskName"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"taskDate"}},[s("el-date-picker",{attrs:{type:"daterange","range-separator":"至",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","start-placeholder":"开始执行时间起","end-placeholder":"开始执行时间止"},model:{value:e.taskDate,callback:function(t){e.taskDate=t},expression:"taskDate"}})],1)],1),e._v(" "),e.is_show?[s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"rateType"}},[s("el-select",{attrs:{clearable:"",placeholder:"审核状态"},model:{value:e.query.rateType,callback:function(t){e.$set(e.query,"rateType",t)},expression:"query.rateType"}},e._l(e.taskRateArr,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"ydPoolId"}},[s("el-select",{attrs:{clearable:"",placeholder:"请选择云豆池"},model:{value:e.query.ydPoolId,callback:function(t){e.$set(e.query,"ydPoolId",t)},expression:"query.ydPoolId"}},e._l(e.ydouPool,(function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"jobName"}},[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"执行岗位"},model:{value:e.query.jobName,callback:function(t){e.$set(e.query,"jobName",t)},expression:"query.jobName"}},e._l(e.postExecuteArr,(function(e){return s("el-option",{key:e.id,attrs:{label:e.name,value:e.name}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"recipient"}},[s("el-input",{attrs:{placeholder:"领取人",clearable:""},model:{value:e.query.recipient,callback:function(t){e.$set(e.query,"recipient",t)},expression:"query.recipient"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",[s("el-select",{attrs:{clearable:"","allow-create":"",placeholder:"工单预警状态"},model:{value:e.query.cautionLight,callback:function(t){e.$set(e.query,"cautionLight",t)},expression:"query.cautionLight"}},e._l(e.warningStatus,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",[s("el-select",{attrs:{clearable:"","allow-create":"",placeholder:"计划工单状态"},model:{value:e.query.status,callback:function(t){e.$set(e.query,"status",t)},expression:"query.status"}},e._l(e.taskStatus,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"checkerName"}},[s("el-input",{attrs:{placeholder:"验收人",clearable:""},model:{value:e.query.checkerName,callback:function(t){e.$set(e.query,"checkerName",t)},expression:"query.checkerName"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"postponeOrderNo"}},[s("el-input",{attrs:{placeholder:"验收工单号",clearable:""},model:{value:e.query.postponeOrderNo,callback:function(t){e.$set(e.query,"postponeOrderNo",t)},expression:"query.postponeOrderNo"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"needCheck"}},[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"应验收"},model:{value:e.query.needCheck,callback:function(t){e.$set(e.query,"needCheck",t)},expression:"query.needCheck"}},e._l(e.needCheckList,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"checkStatus"}},[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"验收状态"},model:{value:e.query.checkStatus,callback:function(t){e.$set(e.query,"checkStatus",t)},expression:"query.checkStatus"}},e._l(e.checkStatusList,(function(e){return s("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"taskNo"}},[s("el-input",{attrs:{placeholder:"计划工单编号",clearable:""},model:{value:e.query.taskNo,callback:function(t){e.$set(e.query,"taskNo",t)},expression:"query.taskNo"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:6}},[s("el-form-item",{attrs:{prop:"dangerSource"}},[s("el-select",{attrs:{filterable:"",clearable:"",placeholder:"含危险源"},model:{value:e.query.dangerSource,callback:function(t){e.$set(e.query,"dangerSource",t)},expression:"query.dangerSource"}},[s("el-option",{attrs:{label:"是",value:1}}),e._v(" "),s("el-option",{attrs:{label:"否",value:0}})],1)],1)],1),e._v(" "),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"endDate"}},[s("el-date-picker",{attrs:{type:"datetimerange","range-separator":"至","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"start-placeholder":"结束执行时间起","end-placeholder":"结束执行时间止"},model:{value:e.endDate,callback:function(t){e.endDate=t},expression:"endDate"}})],1)],1),e._v(" "),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"completeDate"}},[s("el-date-picker",{attrs:{type:"datetimerange","range-separator":"至","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"start-placeholder":"完成执行时间起","end-placeholder":"结束执行时间止"},model:{value:e.completeDate,callback:function(t){e.completeDate=t},expression:"completeDate"}})],1)],1)]:e._e()],2)],1),e._v(" "),s("div",{staticClass:"searchBtn"},[s("el-form-item",[s("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){return e.resetForm("query")}}},[e._v("重置")]),e._v(" "),s("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),s("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v(e._s(e.is_show?"收起":"展开")),s("i",{class:[e.is_show?"el-icon-arrow-up":"el-icon-arrow-down"]})])],1)],1)])])],1)]),e._v(" "),s("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[s("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[s("span",{staticClass:"planTitle"}),e._v(" "),s("el-button",{attrs:{type:"primary",loading:e.downloading},on:{click:e.exportExcelList}},[e._v("下载Excel")]),e._v(" "),s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"默认最多下载最近三个月的数据",placement:"bottom-end"}},[s("i",{staticClass:"el-icon-warning"})])],1),e._v(" "),s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{border:"",data:e.listTable,"header-cell-style":e.headClass,"tooltip-effect":"dark"}},[s("el-table-column",{attrs:{label:"#",fixed:"",align:"center","min-width":"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}],null,!1,3311124033)}),e._v(" "),s("el-table-column",{attrs:{prop:"cautionLight",align:"center","min-width":"70",label:"预警"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.cautionLight&&3!=t.row.status&&9!=t.row.status?s("span",[s("img",{attrs:{src:a("2124"),alt:""}})]):e._e(),e._v(" "),2==t.row.cautionLight&&3!=t.row.status&&9!=t.row.status?s("span",[s("img",{attrs:{src:a("416e"),alt:""}})]):e._e(),e._v(" "),3==t.row.cautionLight&&3!=t.row.status&&9!=t.row.status?s("span",[s("img",{attrs:{src:a("a295"),alt:""}})]):e._e(),e._v(" "),t.row.cautionLight&&3!=t.row.status&&9!=t.row.status?e._e():s("span",[e._v("-")])]}}],null,!1,958018526)}),e._v(" "),s("el-table-column",{attrs:{prop:"taskNo",align:"center","min-width":"170",label:"计划工单编号"}}),e._v(" "),s("el-table-column",{attrs:{prop:"planNo",align:"center","min-width":"160",label:"所属计划编码"}}),e._v(" "),s("el-table-column",{attrs:{align:"center","min-width":"100",label:"含危险源"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1==t.row.dangerSource?"是":"否")+"\n ")]}}],null,!1,505025638)}),e._v(" "),s("el-table-column",{attrs:{prop:"taskName",align:"center","min-width":"200",label:"计划工单名称","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",{style:{color:1==t.row.isShowCapture?"red":""}},[e._v("\n "+e._s(t.row.taskName)+"\n ")])]}}],null,!1,2056713745)}),e._v(" "),s("el-table-column",{attrs:{align:"center",label:"工单类型","min-width":"130"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v(e._s(e.getinfo(t.row.planModel)))])]}}],null,!1,3040879235)}),e._v(" "),s("el-table-column",{attrs:{prop:"jobName",align:"center","min-width":"160",label:"负责岗位/资质证书","show-overflow-tooltip":""}}),e._v(" "),s("el-table-column",{attrs:{prop:"taskStartDate",align:"center","min-width":"160",label:"开始执行时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"taskEndDate",align:"center","min-width":"160",label:"结束执行时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"recipientTime",align:"center","min-width":"160",label:"领取时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"realEndTime",align:"center","min-width":"160",label:"完成时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"recipient",align:"center","min-width":"140",label:"领取人","show-overflow-tooltip":""}}),e._v(" "),s("el-table-column",{attrs:{prop:"checkStartTime",align:"center","min-width":"160",label:"验收接收时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"checkEndTime",align:"center","min-width":"160",label:"验收提交时间"}}),e._v(" "),s("el-table-column",{attrs:{prop:"checkerName",align:"center","min-width":"140",label:"验收人","show-overflow-tooltip":""}}),e._v(" "),s("el-table-column",{attrs:{prop:"needCheck",align:"center","min-width":"140",label:"应验收","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.needCheck?"是":"否")+"\n ")]}}],null,!1,2295752125)}),e._v(" "),s("el-table-column",{attrs:{prop:"checkStatus",align:"center","min-width":"140",label:"AI验收状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.aiCheckStatus,e.aiCheckStatusList))+"\n ")]}}],null,!1,3030170833)}),e._v(" "),s("el-table-column",{attrs:{prop:"aiResultDesc",align:"center","min-width":"140",label:"AI结果说明","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.aiResultDesc||"-")+"\n ")]}}],null,!1,1774109056)}),e._v(" "),s("el-table-column",{attrs:{prop:"checkStatus",align:"center","min-width":"140",label:"验收状态","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.checkStatus?"合格":null===t.row.checkStatus?"-":"不合格")+"\n ")]}}],null,!1,1651668599)}),e._v(" "),s("el-table-column",{attrs:{prop:"aiQualifiedRate",align:"center","min-width":"140",label:"AI合格率","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.aiQualifiedRate?t.row.aiQualifiedRate+"%":"-")+"\n ")]}}],null,!1,3365155643)}),e._v(" "),s("el-table-column",{attrs:{prop:"postponeOrderNo",align:"center","min-width":"140",label:"验收整改","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.postponeOrderNo?s("el-button",{attrs:{type:"text"},on:{click:function(a){return e.editClick(t.row)}}},[e._v(e._s(t.row.postponeOrderNo))]):s("span",[e._v("-")])]}}],null,!1,2871056884)}),e._v(" "),s("el-table-column",{attrs:{prop:"checkLaborCost",align:"center","min-width":"160",label:"验收云豆值"}}),e._v(" "),s("el-table-column",{attrs:{prop:"statueName",align:"center","min-width":"120",label:"计划工单状态"}}),e._v(" "),s("el-table-column",{attrs:{prop:"name",align:"center","min-width":"110",label:"质量评估"},scopedSlots:e._u([{key:"default",fn:function(t){return[null==t.row.workWarnRespDTO?s("span",{staticStyle:{color:"#3a8ee6"}},[e._v("正常")]):e._e(),e._v(" "),t.row.workWarnRespDTO&&1==t.row.workWarnRespDTO.warnType?s("span",{staticStyle:{color:"#5daf34"}},[e._v("警告")]):e._e(),e._v(" "),t.row.workWarnRespDTO&&2==t.row.workWarnRespDTO.warnType?s("span",{staticStyle:{color:"#efa23c"}},[e._v("黄牌")]):e._e(),e._v(" "),t.row.workWarnRespDTO&&3==t.row.workWarnRespDTO.warnType?s("span",{staticStyle:{color:"#d80d1d"}},[e._v("红牌")]):e._e()]}}],null,!1,2249103020)}),e._v(" "),s("el-table-column",{attrs:{prop:"taskRate",align:"center","min-width":"80",label:"审核评分"}}),e._v(" "),s("el-table-column",{attrs:{align:"center","min-width":"80",label:"关联云豆"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v("\n "+e._s(t.row.laborCost)+"\n ")])]}}],null,!1,1578666847)}),e._v(" "),s("el-table-column",{attrs:{prop:"needTime",align:"center","min-width":"120",label:"完成所需时长"}}),e._v(" "),s("el-table-column",{attrs:{align:"center","min-width":"120",label:"计划工单耗时"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v(e._s(e.formatTaskTime(t.row.taskConsumingTime)))])]}}],null,!1,1021437581)}),e._v(" "),s("el-table-column",{attrs:{prop:"updateUserName",align:"center",label:"修改人","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v(e._s(t.row.updateUserName||"-"))])]}}],null,!1,1977312332)}),e._v(" "),s("el-table-column",{attrs:{prop:"updateDate",align:"center","min-width":"160",label:"修改时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",[e._v(e._s(t.row.updateDate||"-"))])]}}],null,!1,3450612046)}),e._v(" "),s("el-table-column",{attrs:{prop:"createUserName",align:"center",label:"创建人","min-width":"120"}}),e._v(" "),s("el-table-column",{attrs:{prop:"createDate",align:"center","min-width":"160",label:"创建时间"}}),e._v(" "),s("el-table-column",{attrs:{label:"操作",fixed:"right",align:"center","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[s("span",{staticClass:"textBtn",on:{click:function(a){return e.editClick(t.row)}}},[e._v("查看")])]}}],null,!1,3540323001)})],1),e._v(" "),s("div",{staticClass:"paginations"},[s("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1):e._e(),e._v(" "),e.viewInfo?s("div",[s("viewTaskDetails",{ref:"details",attrs:{content:e.content},on:{goBack:e.goBack}})],1):e._e()])},n=[],i=a("f8b7"),l=a("8975"),r=a("8f53"),o=a("dce5"),c=a("803c"),u=a("dd26"),d=a.n(u);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t,a){return(t=v(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function v(e){var t=f(e,"string");return"symbol"==p(t)?t:t+""}function f(e,t){if("object"!=p(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var s=a.call(e,t||"default");if("object"!=p(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var g=m({name:"taskList",components:{viewTaskDetails:c["a"]},props:{planModel:{type:Number,default:""},content:{type:String,default:""},historyType:{type:Number,default:1},targetType:{type:Number,default:0},targetUuid:{type:String,default:""},planNo:{type:String,default:""}},watch:{historyType:{handler:function(e,t){this.getlistData()},deep:!0}},data:function(){return{aiCheckStatusList:r["c"],planModeLArr:r["w"],dataInfo:{},ydouPool:[],viewInfo:!1,infoList:!0,is_show:!1,height:"",isShow:!1,pageTotal:0,warningStatus:r["K"],statusArr:r["G"],taskStatus:o["pc"],listLoading:!1,planTypeArr:r["x"],taskRateArr:[{value:1,label:"合格"},{value:2,label:"不合格"},{value:3,label:"未审核"}],taskDate:"",endDate:"",completeDate:"",listTable:[],postExecuteArr:[],query:{queryMode:"",pageNumber:1,pageSize:10,ydPoolId:"",planNo:"",taskName:"",recipient:"",planStatus:"",status:"",rateType:"",jobName:"",cautionLight:"",planModel:this.planModel,checkerName:"",postponeOrderNo:"",needCheck:"",checkStatus:"",taskNo:"",taskStartDateStart:"",taskStartDateEnd:"",taskEndDateStart:"",taskEndDateEnd:"",realEndTimeStart:"",realEndTimeEnd:"",dangerSource:""},downloading:!1,needCheckList:[{label:"是",value:"1"},{label:"否",value:"0"}],checkStatusList:[{label:"合格",value:"1"},{label:"不合格",value:"2"}]}},beforeRouteEnter:function(e,t,a){a((function(t){var a=e.name,s=JSON.parse(sessionStorage.getItem(a));s?(t.query=s,s.taskStartDate?t.taskDate=[s.taskStartDate,s.taskEndDate]:t.taskDate=""):t.getTime(),t.getlistData()}))},mounted:function(){this.$route.query&&this.$route.query.no?this.query.planNo=this.$route.query.no:this.planNo?this.query.planNo=this.planNo:this.query.planNo="",this.getlistData(),this.headClass(),this.getJobListPeople(),this.getYdPoolPage()},methods:{getinfo:function(e){var t="";return this.planModeLArr.forEach((function(a){a.value===e&&(t=a.label)})),t},getYdPoolPage:function(){var e=this,t={codeNumber:"K2",projectUuid:this.$store.state.community_uuid,pageNumber:-1,pageSize:-1};Object(i["T"])(t).then((function(t){0==t.code&&null!==t.data&&(e.ydouPool=t.data.records)}))},goBack:function(){this.viewInfo=!1,this.infoList=!0,this.getlistData()},getTime:function(){var e=new Date,t=Object(l["formatDate"])(e,"Y-M-D"),a=this.getDate();this.taskDate=[a,t]},getDate:function(){var e=new Date,t=e.getFullYear(),a=e.getMonth();return a=this.doHandleZero(a+1),t+"-"+a+"-01"},doHandleZero:function(e){var t=e;return 1==e.toString().length&&(t="0"+e),t},formatTaskTime:function(e){if(null==e)return"";var t=e.toFixed(0),a=0,s=0,n=0;t>60&&(a=parseInt(t/60),t=parseInt(t%60),a>60&&(s=parseInt(a/60),a=parseInt(a%60),s>24&&(n=parseInt(s/24),s=parseInt(s%24))));var i="";return t>=0&&(i=parseInt(t)+"秒"),a>0&&(i=parseInt(a)+"分"+parseInt(t)+"秒"),s>0&&(i=parseInt(s)+"小时"+parseInt(a)+"分"),n>0&&(i=parseInt(n)+"天"+parseInt(s)+"小时"),i},editClick:function(e){var t=this;this.viewInfo=!0,this.infoList=!1,this.$nextTick((function(){t.$refs.details.viewTaskDetails(e)}))},getlistData:function(){var e=this;this.listLoading=!0,this.query.projectUuid=this.$store.state.community_uuid,this.query.projectName=this.$store.state.community_name,this.query.queryMode=this.historyType,0!=this.targetType&&(this.query.targetType=this.targetType,this.query.targetUuid=this.targetUuid),1==this.$route.query.dangerSource&&(this.query.planModel=0,this.query.dangerSource=1),Object(i["R"])(this.query).then((function(t){0==t.code&&(e.listTable=t.data.records,e.pageTotal=t.data.rowsCount),sessionStorage.setItem(e.$route.name,JSON.stringify(e.query))})),this.listLoading=!1},exportExcelList:function(){var e=this;if(this.query.projectUuid=this.$store.state.community_uuid,this.query.projectName=this.$store.state.community_name,this.query.queryMode=this.historyType,0!=this.targetType&&(this.query.targetType=this.targetType,this.query.targetUuid=this.targetUuid),this.taskDate?(this.query.taskStartDateStart=this.taskDate[0]+" 00:00:00",this.query.taskStartDateEnd=this.taskDate[1]+" 23:59:59"):(this.query.taskStartDateStart="",this.query.taskStartDateEnd=""),""!=this.query.taskStartDateStart&&""!=this.query.taskStartDateEnd){var t=d()(this.query.taskStartDateStart),a=d()(this.query.taskStartDateEnd),s=a.diff(t,"day");if(s>92)return void this.$message("只支持下载三个月内的数据,请重新设置时间区间!")}if(""!=this.query.taskEndDateStart&&""!=this.query.taskEndDateStart){var n=d()(this.query.taskEndDateStart),l=d()(this.query.taskEndDateEnd),r=l.diff(n,"day");if(r>92)return void this.$message("只支持下载三个月内的数据,请重新设置时间区间!")}if(""!=this.query.realEndTimeStart&&""!=this.query.realEndTimeEnd){var o=d()(this.query.realEndTimeStart),c=d()(this.query.realEndTimeEnd),u=c.diff(o,"day");if(u>92)return void this.$message("只支持下载三个月内的数据,请重新设置时间区间!")}this.downloading=!0,Object(i["o"])(this.query).then((function(t){e.downloading=!1;var a=new Blob([t],{type:"application/vnd.ms-excel;charset=UTF-8"}),s=(new Date).valueOf();if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(a);else{var n=document.createElement("a");n.download="".concat(e.content,"导出列表_").concat(s,".xls"),n.href=URL.createObjectURL(a),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n)}})).catch((function(t){e.downloading=!1}))},onSearch:function(){this.query.pageNumber=1,this.getlistData()},getJobListPeople:function(){var e=this,t={projectUuid:this.$store.state.community_uuid};Object(i["q"])(t).then((function(t){0===t.code&&(e.postExecuteArr=t.data)}))},handleSizeChange:function(e){this.query.pageSize=e,this.getlistData()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getlistData()},resetForm:function(e){this.query.pageNumber=1,this.taskDate="",this.query.jobName="",this.query.cautionLight="",this.query.status="",this.endDate="",this.completeDate="",this.$refs[e].resetFields(),this.getlistData()},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"},upAndDown:function(){this.is_show=!this.is_show}}},"watch",{taskDate:function(e,t){Array.isArray(e)?this.query.taskStartDateStart=this.taskDate[0]+" 00:00:00":this.query.taskStartDateStart="",Array.isArray(e)?this.query.taskStartDateEnd=this.taskDate[1]+" 23:59:59":this.query.taskStartDateEnd=""},endDate:function(e,t){Array.isArray(e)?this.query.taskEndDateStart=this.endDate[0]:this.query.taskEndDateStart="",Array.isArray(e)?this.query.taskEndDateEnd=this.endDate[1]:this.query.taskEndDateEnd=""},completeDate:function(e,t){Array.isArray(e)?this.query.realEndTimeStart=this.completeDate[0]:this.query.realEndTimeStart="",Array.isArray(e)?this.query.realEndTimeEnd=this.completeDate[1]:this.query.realEndTimeEnd=""}}),h=g,_=(a("bbcb"),a("829d")),b=Object(_["a"])(h,s,n,!1,null,"5469eb04",null);t["a"]=b.exports},"6f11":function(e,t,a){},"7d42":function(module,__webpack_exports__,__webpack_require__){"use strict";var _utils_dataDict__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("dce5");__webpack_exports__["a"]={props:{opentype:{type:String,default:"task"},tableData:{type:Array,default:[]},tools:{type:Boolean,default:!1},del:{type:Boolean,default:!1},search:{type:Boolean,default:!0},quote:{type:Boolean,default:!1},selection:{type:Boolean,default:!1},pageIndex:{type:Boolean,default:!1},page:{type:Boolean,default:!1}},data:function(){return{professionalList:_utils_dataDict__WEBPACK_IMPORTED_MODULE_0__["Ub"],taskType:_utils_dataDict__WEBPACK_IMPORTED_MODULE_0__["rc"],listLoading:!1,listTable:[],pageTotal:0,spaceTypeList:[],locationList:[],formInfo:{pageNumber:1,pageSize:5},selectionList:[]}},watch:{tableData:function(){}},mounted:function(){},methods:{handleSizeChange:function(e){this.formInfo.pageSize=e},handleCurrentChange:function(e){this.formInfo.pageNumber=e},formatType:function formatType(val){return val?eval(val).label:"-"},formatPlanType:function(e){if(e&&"0"!=e){var t=parseInt(e);return this.taskType[t-1].label}return"-"},thisTaskInfor:function(e,t){var a={type:e,data:t};this.$emit("tableClickInfor",a)},showOrderList:function(e){e.length>0&&this.$emit("updataOrderList",e)}}}},"803c":function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"viweTaskDetailes"},[a("el-page-header",{staticClass:"viweTaskDetailesHeader",attrs:{content:e.title},on:{back:e.goBack}}),e._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[a("span",{staticClass:"planTitle"},[e._v("任务基础信息")]),e._v(" "),a("div",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.handleCancel}},[e._v("返回")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:function(t){e.fileSetDialog=!0}}},[e._v("查看文件")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"success",disabled:3!==e.data.status||null!==e.data.taskRate},on:{click:function(t){e.taskAuditDialog=!0}}},[e._v("质量评价")])],1)]),e._v(" "),a("div",{staticClass:"house-detail"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-row",[a("el-col",{attrs:{span:8}},[e._v("\n 工单编号:"+e._s(e.data.taskNo)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 项目名称:"+e._s(e.data.projectName)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 负责岗位/资质证书:"+e._s(e.data.jobName)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 领取人:"+e._s(e.data.recipient)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 结束时间:"+e._s(e.data.taskEndDate)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 工单状态:"+e._s(e.data.statueName)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 工单计时:"+e._s(e.data.taskConsumingTime)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 工单频次:"+e._s(e.data.frequencyName)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 工单名称:"+e._s(e.data.taskName)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 开始时间:"+e._s(e.data.taskStartDate)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[3===e.data.status||9===e.data.status?a("span",[null==e.data.taskRate?a("span",[e._v("审核状态:待审核")]):null!=e.data.taskRate?a("span",[e._v("审核状态:已审核")]):e._e()]):a("span",[e._v("审核状态:- ")])]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 工单真实耗时:"+e._s(e.formatTaskTime(e.data.taskConsumingTime))+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 完成所需时长(s):"+e._s(e.data.needTime)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 关联云豆:"+e._s(e.data.laborCost)+"\n ")]),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 综合评分: "),a("el-rate",{staticClass:"comprehensiveScore",attrs:{disabled:"","show-score":"","text-color":"#ff9900"},model:{value:e.data.comprehensiveScore,callback:function(t){e.$set(e.data,"comprehensiveScore",t)},expression:"data.comprehensiveScore"}})],1),e._v(" "),a("el-col",{attrs:{span:8}},[e._v("\n 默认要求描述:"+e._s("1"===e.data.defaultRequire?"无":"2"===e.data.defaultRequire?"文件":"-")+"\n ")])],1)],1)],1)],1)]),e._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("workInfor",{ref:"workInfor",attrs:{opentype:e.opentype}})],1),e._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("material-Detailed",{ref:"materialDetailed"})],1),e._v(" "),null!=e.data.taskRate?a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("qualityStimate",{attrs:{dataInfo:e.data.workWarnRespDTO}})],1):e._e(),e._v(" "),10==e.data.planModel?a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("taskVisitRecord",{ref:"taskVisitRecord",attrs:{taskInfor:e.data}})],1):e._e(),e._v(" "),a("el-dialog",{staticClass:"dialogHead checkOrder",attrs:{title:"计划工单审核","show-close":!0,"close-on-press-escape":!1,"close-on-click-modal":!1,"custom-class":"el-dialog-s","append-to-body":"",visible:e.taskAuditDialog,width:"30%"},on:{"update:visible":function(t){e.taskAuditDialog=t}}},[a("div",{staticClass:"grade"},[e._v("请选择审核评分")]),e._v(" "),a("div",{},[a("el-rate",{model:{value:e.taskRate,callback:function(t){e.taskRate=t},expression:"taskRate"}})],1),e._v(" "),a("div",{staticClass:"btnRate"},[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.submitOk}},[e._v("确定")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){e.taskAuditDialog=!1}}},[e._v("取消")])],1)]),e._v(" "),a("el-dialog",{staticClass:"dialogHead checkOrder",attrs:{title:"文件集","show-close":!0,"close-on-press-escape":!1,"close-on-click-modal":!1,"custom-class":"el-dialog-s","append-to-body":"",visible:e.fileSetDialog,width:"30%"},on:{"update:visible":function(t){e.fileSetDialog=t}}},[e._l(e.fiellArr,(function(t){return a("div",{key:t.rulAddres},[a("div",{staticClass:"fontSize",on:{click:function(a){return e.downloadUp(t.rulAddres)}}},[e._v(e._s(t.urlName))])])})),e._v(" "),0==e.fiellArr.length?a("div",{staticStyle:{color:"#909399"}},[e._v("暂无数据")]):e._e(),e._v(" "),a("div",{staticClass:"tab-title"}),e._v(" "),a("div",{staticClass:"btnRate"},[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){e.fileSetDialog=!1}}},[e._v("取消")])],1)],2)],1)},n=[],i=a("bd30"),l=a("d68f"),r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"materialDetailed"},[a("div",{staticClass:"header"},[e._m(0),e._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:e.handleSlow}},[e._v(" \n "+e._s(e.isShow?"收起":"展开")+"\n "),a("i",{class:{icons:!0,"el-icon-arrow-down":!e.isShow,"el-icon-arrow-up":e.isShow}})])])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],staticStyle:{"padding-top":"20px"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{border:"",data:e.listTable,"header-cell-style":e.headClass,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"#",align:"center",width:"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+" ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"物料编码"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{attrs:{type:"primary"}},[e._v(e._s(t.row.codeNumber))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"物料名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.materielName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"品牌"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.brand))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"单价"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.price))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"领取数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.operateQuantity))])]}}])})],1),e._v(" "),a("div",{staticClass:"paginations"},[a("Pagination",{attrs:{total:e.pageTotal},on:{handleCurrentChange:e.handleCurrentChange,handleSizeChange:e.handleSizeChange}})],1)],1)])},o=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"left"},[a("span",{staticClass:"workOrderTitle"},[e._v("所选物料清单")])])}],c=a("333d"),u=a("49de"),d={name:"materialDetails",components:{Pagination:c["a"]},data:function(){return{pageTotal:0,isShow:!1,listLoading:!1,listTable:[],query:{pageNumber:1,pageSize:10}}},created:function(){this.headClass()},mounted:function(){},methods:{handleSlow:function(){this.isShow=!this.isShow},getlistData:function(e){var t=this;this.listLoading=!0;var a=e;this.query.communityUuid=a.projectUuid,this.query.taskOrderUuid=a.taskUuid,Object(u["e"])(this.query).then((function(e){0==e.code&&(t.listTable=e.data.records,t.pageTotal=e.data.rowsCount)})),this.listLoading=!1},handleSizeChange:function(e){this.query.pageSize=e.limit,this.getlistData()},handleCurrentChange:function(e){this.query.pageNumber=e.currentPage,this.getlistData()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},p=d,m=(a("e263"),a("829d")),v=Object(m["a"])(p,r,o,!1,null,"9cf41c22",null),f=v.exports,g=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"header"},[e._m(0),e._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:e.handleSlow}},[e._v(" "+e._s(e.isShow?"收起":"展开")),a("i",{class:{icons:!0,"el-icon-arrow-down":!e.isShow,"el-icon-arrow-up":e.isShow}})])])]),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}]},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"receivableTable",attrs:{border:"",data:e.listData,"header-cell-style":e.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center",fixed:"","min-width":"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"项目","min-width":"80","show-overflow-tooltip":"",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.projectName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"管理区","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.precinctName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"楼栋","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.buildingName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"单元","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.unitName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"房号","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.roomNum)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访时间","min-width":"160","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.visitTime)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访对象","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.houseMemberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访方式","min-width":"80","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.visitType,e.visitWayList))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访记录","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.remark)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"欠费原因","min-width":"180","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.visitReason?a("span",[e._v(e._s(e._f("getItemType")(t.row.visitReason,e.appealList)))]):a("span",[e._v("无原因")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"图片/视频","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.viewClick(t.row)}}},[e._v("查看")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"提交人","min-width":"90","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.memberName)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"提交时间","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.createTime)+"\n ")]}}])})],1),e._v(" "),a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),e._v(" "),a("el-dialog",{attrs:{title:"照片/视频",visible:e.showMedia,width:"700px"},on:{"update:visible":function(t){e.showMedia=t}}},[a("div",{staticClass:"preview-img"},[a("h3",[e._v("照片:")]),e._v(" "),e._l(e.imgList,(function(t,s){return a("el-image",{key:s,staticStyle:{width:"100px",height:"100px"},attrs:{src:t,"preview-src-list":e.imgList}})})),e._v(" "),0==e.imgList.length?a("span",[e._v("无照片数据")]):e._e()],2),e._v(" "),a("div",{staticClass:"oerview-video"},[a("h3",[e._v("视频:")]),e._v(" "),""!=e.saveData.mediaUrl?a("div",{staticClass:"video-play",on:{click:e.playVideo}},[a("i",{staticClass:"el-icon-video-play"})]):a("span",[e._v("无视频数据")])]),e._v(" "),a("el-dialog",{attrs:{width:"40%",visible:e.showVideo,"before-close":e.closePlay,"append-to-body":""},on:{"update:visible":function(t){e.showVideo=t}}},[a("video",{attrs:{src:e.videoUrl,controls:"",autoplay:"",width:"100%"}})])],1)],1)},h=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"left"},[a("span",{staticClass:"workOrderTitle"},[e._v("拜访记录")])])}],_=a("8abc"),b=a("dce5"),y={name:"taskVisitRecord",props:["taskInfor"],data:function(){return{isShow:!1,listLoading:!1,visitWayList:b["zc"],appealList:b["n"],listData:[],total:0,query:{pageNumber:1,pageSize:10},showMedia:!1,showVideo:!1,saveData:"",imgList:[],videoUrl:""}},mounted:function(){this.headClass()},methods:{getlistData:function(){var e=this,t={relTaskNo:this.taskInfor.taskNo,projectUuid:this.taskInfor.projectUuid};t=Object.assign(t,this.query),this.listLoading=!0,Object(_["e"])(t).then((function(t){t.data&&t.data.records&&(e.listData=t.data.records,e.total=t.data.rowsCount,e.listLoading=!1)})).catch((function(t){e.listLoading=!1}))},viewClick:function(e){this.saveData=JSON.parse(JSON.stringify(e)),""!=this.saveData.pictureUrl?this.imgList=this.saveData.pictureUrl.split(","):this.imgList=[],this.showMedia=!0},playVideo:function(){this.videoUrl=this.saveData.mediaUrl,this.showVideo=!0},closePlay:function(){this.showVideo=!1,this.videoUrl=""},handleSizeChange:function(e){this.query.pageSize=e,this.getlistData()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getlistData()},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},w=y,C=(a("d8f5"),Object(m["a"])(w,g,h,!1,null,"24088d2d",null)),k=C.exports,S=a("f8b7"),I=a("bee7");function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function L(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,s)}return a}function x(e){for(var t=1;t0&&e.getVideoAndNnnexUrl(e.data.fileList)}))},getVideoAndNnnexUrl:function(e){var t=this;this.fiellArr=[];var a=e||[];a.length>0&&a.forEach((function(e){var a={rulAddres:e.fullUrl,urlName:e.fileName,fileType:e.fileType};t.fiellArr.push(a)}))},downloadUp:function(e){window.open(e)},formatTaskTime:function(e){if(null==e)return"";var t=e.toFixed(0),a=0,s=0,n=0;t>60&&(a=parseInt(t/60),t=parseInt(t%60),a>60&&(s=parseInt(a/60),a=parseInt(a%60),s>24&&(n=parseInt(s/24),s=parseInt(s%24))));var i="";return t>=0&&(i=parseInt(t)+"秒"),a>0&&(i=parseInt(a)+"分"+parseInt(t)+"秒"),s>0&&(i=parseInt(s)+"小时"+parseInt(a)+"分"),n>0&&(i=parseInt(n)+"天"+parseInt(s)+"小时"),i},submitOk:function(){var e=this,t={id:this.data.id,taskRate:this.taskRate,operatorId:this.$store.state.user.userInfo.memberId,operatorName:this.$store.state.user.userInfo.memberName};Object(S["n"])(t).then((function(t){0===t.code&&e.$message({type:"success",message:"操作成功"}),e.getTaskDetailes(),e.taskAuditDialog=!1}))},taskDataList:function(e){var t=this,a={planUuid:e.planUuid,taskUuid:e.taskUuid};Object(S["s"])(a).then((function(e){e.data.forEach((function(e){e.isShow=!0})),t.standardList=e.data}))},handleCancel:function(){this.goBack()}}},U=O,A=(a("f725"),Object(m["a"])(U,s,n,!1,null,"6a6a5444",null));t["a"]=A.exports},"8abc":function(e,t,a){"use strict";a.d(t,"h",(function(){return n})),a.d(t,"b",(function(){return i})),a.d(t,"g",(function(){return l})),a.d(t,"e",(function(){return r})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return c})),a.d(t,"f",(function(){return u})),a.d(t,"d",(function(){return d}));var s=a("b775");function n(e){return Object(s["a"])({url:"/appproject/CarSubscribe/pageList",method:"POST",data:e})}function i(e){return Object(s["a"])({url:"/appproject/project/findApproveConfig",method:"POST",data:e})}function l(e){return Object(s["a"])({url:"/appproject/project/updateApproveConfig",method:"POST",data:e})}function r(e){return Object(s["a"])({url:"/appproject/CustomerVisit/pageList",method:"POST",data:e})}function o(e){return Object(s["a"])({url:"/appproject/ChargeReceivable/houseFeePage",method:"POST",data:e})}function c(e){return Object(s["a"])({url:"/appproject/CustomerVisit/export",method:"POST",responseType:"blob",data:e})}function u(e){return Object(s["a"])({url:"/appproject/CustomerVisit/removeVisitPlan",method:"POST",data:e})}function d(e){return Object(s["a"])({url:"/appproject/ChargeReceivable/houseFeePage/export",method:"POST",data:e})}},"9b1d":function(e,t,a){},"9c4c":function(e,t,a){"use strict";a("6f11")},"9d2f":function(e,t,a){},a295:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAEnUlEQVRIS5WVXWxURRTH/2dmd3t37y7tstsuLB+ptEWkKBDhwaiADz4IGo2gBpHESAREg1ASEzFBnxD1zcRgAjGiCRJ5AF80JIoCxr6AEhERbKlKKSxtd+l+3e3unXPM3bLlo9HCPN3cmfOb/8z5zzmE2xgXpiLoFO2HvKXBUOHHab1wxguj8RZ487+HQpMDIdrlfZeL8vLsYvHSeHFV8HHAH41GQzMymRwBfGvQadueZAWxWwDSDtbcVShcvnWNAP6/bDuWDYdzc1OpQhX8Z2PDfG3MSqPkawzkO9uA4RsDu6PRemj3YRBxXgWPeIE3zvclk6GsO/S0j9UqY+jDmZnsIfJUnG0IL/Fp9RFI8qR5TUuqcOpLQN9j2/FggFuN0vO0ICFEBRG3i3x80vbFLiX7+oojwvzzSaxdENRB3HWtaeenqmJPEavKKq3UIhHZlglEehuc/GLRZgOB5kIgRGS8tQLxk9BVBr6AuJ+1pZ2LPbadcC28qFj/GrCz33vJHU1eTzMsM4AJ5I8OizKrCbKFSfwK6phADrvMF7SmiGK6X4ClUJhMwA+GZdvJwfy5RYmEdTSVKj0LVAXc5AoBdFdjeLkSeh+EIWHztmUVj025iGxVLMBn43Fbc2maUtQhwDNg+cZX4s3NtzjlJnBPg9Vs/P69JJjETK+0prPfei7pmhicCqUfLBf5SM1q3VFrOmvfu0T0qBi8WU7nPm8HyrWkjoI9y02IRVZpwnYIPi0pa3t7f3/+j3g84pfhrQI84UI2zhrMH64Fd8dCC4X0PhHp1iVZPaNQSI0B/wI0ROLh9yB4TLR5ru2K0+ld1ZmoPSegab+AsiB6vqU/e77m9TNTEPOVIx8TY2GZ5fHZmfxvY8Bd4XATWbJbhFpd1102a6jU46n1UekNguoQwRFms1+LThUy2c77gMzlRMLOc3ErWF4gyEstg4XvxoDP23ZCgvoTAZrIlJe3ZEr/dIXRRHWRnaKwGIKKEHxguQKDDa1X80dPJJPB+kpuEwnWsrgdbYPOARpJ8nVXXAdLI5nKCg98GgioiZEFPmC2UlgsJCsAOuGWK6u9Ex1PJkP1w7nXFWGdYXfL3rRz4J1rJWE0eTUwgEaYchVcO9a5+voZ2md2CtEcYrXxRHrooOfXKriS26QEa424HXsHnYO3Dfae9rym4FOafR8Acqg0kH+rHUhXi9cdguPMleVtaad35AmDzsdCC5jUUgPaN2sgd7Z2kh7AcmP2JiK13rvj/1UsQKJMWBmpy/amOEkJpSQ73Ksn9COAqXC8fx44ofokCwQDpfBrBKxhMZv/E8wW7SGqFp09Ak6LUr5rT1lIlCFizYCqKmZmIfIr4BEQtRt2188cdA6OccXf0xGtFMM7BFhGQhUQ2LuG/+oUHmBkXgKKVL+YyqteubzJx9XiA/hMPNKsgbtBYl1TOl4HghjDxHoQKvBzazrt1WchwNDpieH2OoV7WcgizYYECqxuqxeO7qq52s7YVVopcYYZp6g7FtkByJMABb3dmEZezp0M79LFE0RCJCgC9BWdaQgvUZoe0EJBUWMb6Z1sQAxlSBw20vkvFPNbDgATQSEAAAAASUVORK5CYII="},bba4:function(e,t,a){"use strict";a("59b2")},bbcb:function(e,t,a){"use strict";a("06553")},be96:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"j",(function(){return i})),a.d(t,"a",(function(){return l})),a.d(t,"k",(function(){return r})),a.d(t,"e",(function(){return o})),a.d(t,"f",(function(){return c})),a.d(t,"d",(function(){return u})),a.d(t,"i",(function(){return d})),a.d(t,"h",(function(){return p})),a.d(t,"c",(function(){return m})),a.d(t,"g",(function(){return v}));var s=a("b775");function n(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/addStand",method:"post",data:e})}function i(){return Object(s["a"])({url:"/appproject/SceneMenu/sceneMenuList",method:"post"})}function l(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/create",method:"post",data:e})}function r(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/update",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/pageList",method:"post",data:e})}function c(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/listRelStand",method:"post",data:e})}function u(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/findById",method:"post",data:e})}function d(e){return Object(s["a"])({url:"/appproject/SceneMenu/standRelQuery",method:"post",data:e})}function p(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/updateStatus",method:"post",data:e})}function m(e){return Object(s["a"])({url:"/space/EmergencyPlan/execute",method:"post",data:e})}function v(e){return Object(s["a"])({url:"/appproject/EmergencyPlan/recordPageList",method:"post",data:e})}},bee7:function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"materialDetailed"},[a("div",{staticClass:"header"},[e._m(0),e._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:e.handleSlow}},[e._v("\n "+e._s(e.isShow?"收起":"展开")+"\n "),a("i",{class:{icons:!0,"el-icon-arrow-down":!e.isShow,"el-icon-arrow-up":e.isShow}})])])]),e._v(" "),e._l(e.listTable,(function(t,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"isShow"}],key:s,staticClass:"workInforItem"},[a("div",{staticClass:"workItemlocation",style:e.getColor(t)},[e._v("\n "+e._s(t.spaceName+"-"+t.location)+"\n "),e.isWeibao?a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return e.viewImplementImg(t)}}},[e._v("执行图片")]):e._e(),e._v(" "),e.isWeibao?a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return e.viewPositionImg(t)}}},[e._v("网格图片")]):e._e(),e._v(" "),e.isWeibao?e._e():a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return e.checkResultsOfEnforcement(t)}}},[e._v("作业结果")]),e._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:function(t){return e.handleSlowList(s)}}},[e._v("\n "+e._s(t.isShow?"收起":"展开")+"\n "),a("i",{class:{icons:!0,"el-icon-arrow-down":!t.isShow,"el-icon-arrow-up":t.isShow}})])])],1),e._v(" "),a("el-tabs",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"item.isShow"}],attrs:{type:"border-card"}},e._l(t.planDeviceList,(function(t,s){return a("el-tab-pane",{key:s,staticClass:"workItemPane",attrs:{label:t.targetName}},[a("standardTable",{attrs:{tableData:t.standardRespDTOList,pageIndex:!0,page:!0},on:{tableClickInfor:e.tableClickInfor,updataOrderList:e.updataOrderList}})],1)})),1)],1)})),e._v(" "),a("el-dialog",{attrs:{title:"关联整改工单",visible:e.relationOrderVisible,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","show-close":!1,"custom-class":"el-dialog-s","append-to-body":""}},[e._l(e.relationOrderList,(function(t,s){return a("div",{key:s,staticClass:"orderNoClass",on:{click:function(a){return e.showOrderDetaoles(t)}}},[e._v("\n "+e._s(t)+"\n ")])})),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.relationOrderVisible=!1}}},[e._v("关闭")])],1)],2),e._v(" "),a("el-dialog",{attrs:{title:"关联整改工单详情",visible:e.relationOrderDetailesVisible,width:"70%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","custom-class":"el-dialog-s","append-to-body":""}},[a("div",{},[a("workOrderDetails",{ref:"workOrderDetails",attrs:{content:""},on:{goBack:e.goBack,chcekWorkOrder:e.chcekWorkOrder}})],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.relationOrderDetailesVisible=!1}}},[e._v("关闭")])],1)]),e._v(" "),a("el-dialog",{attrs:{title:"执行图片",visible:e.dialogImgVisible,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":e.handleImgClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(t){e.dialogImgVisible=t}}},[a("div",{staticClass:"imgCarousel"},[e.imgList.length>0?a("el-carousel",{attrs:{interval:5e3,arrow:"always"}},e._l(e.imgList,(function(t,s){return a("el-carousel-item",{key:s},[a("div",{staticClass:"imgList"},e._l(t,(function(t,s){return a("div",{key:s,staticClass:"imgItem",on:{click:function(a){return e.queryStandByThisImg(t)}}},[a("el-image",{staticClass:"imges",attrs:{src:t.imageUrl}})],1)})),0)])})),1):a("div",{staticClass:"noImplementImg"},[e._v("暂无执行图片")])],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogImgVisible=!1}}},[e._v("关闭")])],1)]),e._v(" "),e.dialogVisible?a("el-dialog",{attrs:{title:"执行记录",visible:e.dialogVisible,width:"80%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":e.handleClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"dialogContent"},[a("div",{staticClass:"dialogContent-item"},[a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("\n 本次作业要求示例图片:\n ")]),e._v(" "),e.slImg.length>0?a("div",{staticClass:"dialogContent-item-list-itemConetnt"},e._l(e.slImg,(function(e,t){return a("div",{key:t,staticClass:"egImg"},[a("el-image",{staticClass:"egImgs",attrs:{src:e.imageUrl,"preview-src-list":[e.imageUrl]}})],1)})),0):a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._v("\n 暂无示例图片\n ")]),e._v(" "),a("el-link",{attrs:{type:"primary"},on:{click:e.openExampleImgLibrary}},[e._v("\n 当前示例图片库:"+e._s(e.slImg.length+e.examplesImageUrl.length||0)+"张")])],1),e._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("作业事项:")]),e._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._v("\n "+e._s(e.taskInfo.eventName||"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("检查标准:")]),e._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._v("\n "+e._s(e.taskInfo.checkStandard||"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("作业标准:")]),e._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._v("\n "+e._s(e.taskInfo.proStandard||"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("\n "+e._s(1===e.taskInfo.executeResult?"不合格原因":"合格说明")+":\n ")]),e._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._v("\n "+e._s(e.taskInfo.remark||"-")+"\n ")])])]),e._v(" "),a("div",{staticClass:"dialogContent-item"},[a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[a("label",{class:0===e.imgType?"currentImg":"",on:{click:function(t){return e.getImgType(0)}}},[e._v("当前记录")]),e._v(" "),a("label",{class:1===e.imgType?"currentImg":"",on:{click:function(t){return e.getImgType(1)}}},[e._v("所有记录")])]),e._v(" "),0===e.imgType?a("div",{staticClass:"dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2"},[a("p",[e._v("作业前:")]),e._v(" "),e._l(e.preImageUrlList,(function(e,t){return a("div",{key:t,staticClass:"egImg2"},[a("el-image",{staticClass:"executionImg",attrs:{src:e,"preview-src-list":[e]}})],1)})),e._v(" "),0===e.preImageUrlList.length?a("div",{staticClass:"noImgNotes"},[e._v("\n 暂无作业前图片\n ")]):e._e()],2):e._e(),e._v(" "),0===e.imgType?a("div",{staticClass:"dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2"},[a("p",[e._v("作业后:")]),e._v(" "),e._l(e.imageUrlList,(function(t,s){return a("div",{key:s,staticClass:"egImg2"},[a("el-image",{staticClass:"executionImg",attrs:{src:t,"preview-src-list":[t]}}),e._v(" "),a("div",[a("el-checkbox",{attrs:{label:t},on:{change:e.handleCheckboxChange},model:{value:e.exampleCheckList,callback:function(t){e.exampleCheckList=t},expression:"exampleCheckList"}},[e._v("加入示例图片库")])],1),e._v(" "),a("span",{staticClass:"executionRes",style:{color:1===e.taskInfo.executeResult?"red":"yellow"}},[e._v(e._s(1===e.taskInfo.executeResult?"不合格":"合格"))])],1)})),e._v(" "),0===e.imageUrlList.length?a("div",{staticClass:"noImgNotes"},[e._v("\n 暂无作业后图片\n ")]):e._e()],2):e._e(),e._v(" "),1===e.imgType?a("div",{staticClass:"dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2"},[e.paginatedAllImgList.length>0?a("div",[a("div",{staticClass:"allImgList"},e._l(e.paginatedAllImgList,(function(t,s){return a("div",{key:s,staticClass:"egImg2"},[a("el-image",{staticClass:"executionImg",attrs:{src:t.imageUrl,"preview-src-list":e.paginatedAllImgList.map((function(e){return e.imageUrl}))}}),e._v(" "),a("div",[a("el-checkbox",{attrs:{label:t.imageUrl},on:{change:e.handleCheckboxChange},model:{value:e.exampleCheckList,callback:function(t){e.exampleCheckList=t},expression:"exampleCheckList"}},[e._v("加入示例图片库")])],1),e._v(" "),a("span",{staticClass:"executionRes",style:{color:1===t.executeResult?"red":"yellow"}},[e._v(e._s(1===t.executeResult?"不合格":"合格"))])],1)})),0),e._v(" "),a("div",{staticClass:"allImgPagination"},[a("el-pagination",{attrs:{"current-page":e.allImgPage.currentPage,"page-sizes":[5,10,15,20],"page-size":e.allImgPage.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.allImgPage.total},on:{"size-change":e.handleAllImgSizeChange,"current-change":e.handleAllImgCurrentChange}})],1)]):a("div",{staticClass:"noImgNotes"},[e._v("暂无执行图片")])]):e._e()]),e._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("\n 评价对象:"+e._s(e.taskInfo.targetName)+"\n ")]),e._v(" "),a("div",{staticClass:"dialogContent-item-list-itemTitle"},[e._v("执行评价:")]),e._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"taskRate"},[a("el-rate",{attrs:{disabled:!(e.taskInfo.executeResult>0)||e.taskInfo.auditScore>0},model:{value:e.audit.taskRate,callback:function(t){e.$set(e.audit,"taskRate",t)},expression:"audit.taskRate"}})],1),e._v(" "),e.audit.taskRate<3?a("div",{staticClass:"taskMemo"},[a("el-input",{attrs:{disabled:!(e.taskInfo.executeResult>0)||e.taskInfo.auditScore>0,type:"textarea",rows:4,placeholder:"请输入内容"},model:{value:e.audit.memo,callback:function(t){e.$set(e.audit,"memo",t)},expression:"audit.memo"}})],1):e._e()])])])]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),e._v(" "),e.taskInfo.auditScore?e._e():a("el-button",{attrs:{type:"primary",disabled:!(e.taskInfo.executeResult>0)},on:{click:function(t){return e.submitAudit(-1)}}},[e._v("提 交")])],1)]):e._e(),e._v(" "),a("el-dialog",{attrs:{title:"网格图片",visible:e.dialogPosVisible,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":e.handlePosImgClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(t){e.dialogPosVisible=t}}},[a("div",{staticClass:"imgCarousel"},[e.posiotionImg.length>0?a("div",{staticClass:"imgList"},e._l(e.posiotionImg,(function(e,t){return a("div",{key:t,staticClass:"imgItem"},[a("el-image",{staticClass:"imges",attrs:{src:e,"preview-src-list":[e]}})],1)})),0):a("div",{staticClass:"noImplementImg"},[e._v("暂无图片")])]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogPosVisible=!1}}},[e._v("关闭")])],1)]),e._v(" "),a("el-dialog",{attrs:{title:e.currentResultsObj.location+"-"+e.currentResultsObj.spaceName,visible:e.resultsOfEnforcementDialog,width:"1200px","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":e.resultshandlePosImgClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(t){e.resultsOfEnforcementDialog=t}}},[a("div",{staticClass:"currentResultsContent"},e._l(e.currentResulStandardList,(function(t,s){return a("div",{key:s,staticClass:"standardItem"},[a("div",{staticClass:"standardExamplesImage"},[a("p",{staticClass:"eventName"},[e._v("\n 作业事项:\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n "+e._s(t.eventName||"-")+"\n ")]),e._v(" "),a("div",{staticClass:"tdTooltipItem"},[e._v(e._s(t.eventName||"-"))])])],1),e._v(" "),t.examplesImageUrlList.length>0?a("div",{staticClass:"standardExamplesImageBox"},e._l(t.examplesImageUrlList,(function(s,n){return a("div",{key:n,staticClass:"standardImgItem"},[a("el-image",{staticClass:"locationEgImgItemImg",attrs:{src:s,fit:"fill","preview-src-list":t.examplesImageUrlList}}),e._v(" "),a("p",[e._v("当前作业示例图片")])],1)})),0):a("div",{staticClass:"standardExamplesImageBox"},[a("div",{staticClass:"noImgsNotes"},[e._v("暂无示例图片")])])]),e._v(" "),a("div",{staticClass:"standardImage"},[a("p",[e._v("作业图片-作业前:")]),e._v(" "),t.preImageUrlList.length>0?a("div",{staticClass:"standardExamplesImageBox"},e._l(t.preImageUrlList,(function(e,s){return a("div",{key:s,staticClass:"standardImgItem"},[a("el-image",{staticClass:"locationEgImgItemImg",attrs:{src:e,fit:"fill","preview-src-list":t.preImageUrlList}})],1)})),0):a("div",{staticClass:"standardExamplesImageBox"},[a("div",{staticClass:"noImgsNotes"},[e._v("暂无作业图片")])]),e._v(" "),a("p",[e._v("作业图片-作业后:")]),e._v(" "),t.imageUrlList.length>0?a("div",{staticClass:"standardExamplesImageBox"},e._l(t.imageUrlList,(function(s,n){return a("div",{key:n,staticClass:"standardImgItem"},[a("span",{staticClass:"executionRes",style:{color:1===t.executeResult?"red":"yellow"}},[e._v(e._s(1===t.executeResult?"不合格":"合格"))]),e._v(" "),a("el-image",{staticClass:"locationEgImgItemImg",attrs:{src:s,fit:"fill","preview-src-list":t.imageUrlList}})],1)})),0):a("div",{staticClass:"standardExamplesImageBox"},[a("div",{staticClass:"noImgsNotes"},[e._v("暂无作业图片")])])]),e._v(" "),a("div",{staticClass:"standardAuditScore"},[a("p",[e._v("作业评价:")]),e._v(" "),a("div",{staticClass:"auditScoreBox"},[a("div",{staticClass:"taskRate"},[a("el-rate",{attrs:{disabled:!(t.executeResult>0)||t.auditScore>0},on:{change:e.memoInput},model:{value:t.taskRate,callback:function(a){e.$set(t,"taskRate",a)},expression:"item.taskRate"}})],1),e._v(" "),t.taskRate<3?a("div",{staticClass:"taskMemo"},[a("el-input",{attrs:{type:"textarea",disabled:!(t.executeResult>0)||t.auditScore>0,rows:4,placeholder:"请输入内容"},on:{input:e.memoInput},model:{value:t.memo,callback:function(a){e.$set(t,"memo",a)},expression:"item.memo"}})],1):e._e()]),e._v(" "),t.auditScore?e._e():a("el-button",{attrs:{type:"primary",size:"small",disabled:!(t.executeResult>0)},on:{click:function(a){return e.submitStandAudit(s,t)}}},[e._v("提 交")])],1)])})),0),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.resultsOfEnforcementDialog=!1}}},[e._v("关闭")])],1)]),e._v(" "),a("el-dialog",{attrs:{title:"示例图片库",visible:e.exampleLibraryVisible,width:"60%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(t){e.exampleLibraryVisible=t}}},[a("div",{staticClass:"exampleLibraryContent"},[e.slImg.length>0||e.examplesImageUrl.length>0?a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._l(e.slImg,(function(t,s){return a("div",{key:"slImg-"+s,staticClass:"egImg"},[a("el-image",{staticClass:"egImgs",attrs:{src:t.imageUrl,"preview-src-list":e.slImg.concat(e.examplesImageUrl).map((function(e){return e.imageUrl}))}})],1)})),e._v(" "),e._l(e.examplesImageUrl,(function(t,s){return a("div",{key:"examples-"+s,staticClass:"egImg"},[a("el-image",{staticClass:"egImgs",attrs:{src:t.imageUrl,"preview-src-list":e.slImg.concat(e.examplesImageUrl).map((function(e){return e.imageUrl}))}}),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.removeExampleLibraryImg(t)}}},[e._v("移除")])],1)}))],2):a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[e._v("\n 暂无示例图片库图片\n ")])]),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.exampleLibraryVisible=!1}}},[e._v("关闭")])],1)])],2)},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"left"},[a("span",{staticClass:"workOrderTitle"},[e._v("作业信息")])])}],i=a("333d"),l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"dataTable",attrs:{border:"",data:e.tableData.slice((e.formInfo.pageNumber-1)*e.formInfo.pageSize,e.formInfo.pageNumber*e.formInfo.pageSize),"row-key":"standUuid","header-cell-style":{background:"#FAFAFA",color:"#606266"},"tooltip-effect":"dark"}},[e.selection?a("el-table-column",{attrs:{"show-overflow-tooltip":"","reserve-selection":!0,type:"selection",width:"55"}}):e._e(),e._v(" "),e.pageIndex?a("el-table-column",{attrs:{label:"序号",width:"50",align:"center",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.formInfo.pageNumber-1)*e.formInfo.pageSize+1)+" ")])]}}],null,!1,1481381075)}):e._e(),e._v(" "),a("el-table-column",{attrs:{"min-width":"120",align:"center",fixed:"","show-overflow-tooltip":"",label:"作业对象类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.targetType?"设备":2===t.row.targetType?"空间":3===t.row.targetType?"物品":"房屋")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{"min-width":"120",align:"center",fixed:"","show-overflow-tooltip":"",label:"作业对象"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 作业对象:"+e._s(t.row.targetName||"-")),a("br"),e._v("\n 参考频次:"+e._s(t.row.recomndFreqName||"-")),a("br"),e._v("\n 专业等级:"+e._s(t.row.professionalLevel||"-")),a("br"),e._v("\n 安全等级:"+e._s(t.row.dangerousLevel||"-")),a("br"),e._v("\n 温度:"+e._s(t.row.temperatureLevel||"-")),a("br"),e._v("\n 私密度:"+e._s(t.row.privacyLevel||"-")+"\n ")]),e._v(" "),a("div",{staticClass:"tdTooltipItem"},[e._v(e._s(t.row.targetName||"-"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{"min-width":"120",align:"center","show-overflow-tooltip":"",label:"作业事项"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 作业事项:"+e._s(t.row.eventName||"-")),a("br"),e._v("\n 参考频次:"+e._s(t.row.recomndFreqName||"-")),a("br"),e._v("\n 专业等级:"+e._s(t.row.professionalLevel||"-")),a("br"),e._v("\n 安全等级:"+e._s(t.row.dangerousLevel||"-")),a("br"),e._v("\n 温度:"+e._s(t.row.temperatureLevel||"-")),a("br"),e._v("\n 私密度:"+e._s(t.row.privacyLevel||"-")+"\n ")]),e._v(" "),a("div",{staticClass:"tdTooltipItem"},[e._v(e._s(t.row.eventName||"-"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"200",label:"作业标准","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 作业标准:"+e._s(t.row.proStandard||"-")),a("br"),e._v("\n 参考频次:"+e._s(t.row.recomndFreqName||"-")),a("br"),e._v("\n 专业等级:"+e._s(t.row.professionalLevel||"-")),a("br"),e._v("\n 安全等级:"+e._s(t.row.dangerousLevel||"-")),a("br"),e._v("\n 温度:"+e._s(t.row.temperatureLevel||"-")),a("br"),e._v("\n 私密度:"+e._s(t.row.privacyLevel||"-")+"\n ")]),e._v(" "),a("div",{staticClass:"tdTooltipItem"},[e._v(e._s(t.row.proStandard||"-"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"200",label:"检查标准","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[e._v("\n 检查标准:"+e._s(t.row.checkStandard||"-")),a("br"),e._v("\n 参考频次:"+e._s(t.row.recomndFreqName||"-")),a("br"),e._v("\n 专业等级:"+e._s(t.row.professionalLevel||"-")),a("br"),e._v("\n 安全等级:"+e._s(t.row.dangerousLevel||"-")),a("br"),e._v("\n 温度:"+e._s(t.row.temperatureLevel||"-")),a("br"),e._v("\n 私密度:"+e._s(t.row.privacyLevel||"-")+"\n ")]),e._v(" "),a("div",{staticClass:"tdTooltipItem"},[e._v(e._s(t.row.checkStandard||"-"))])])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.spuQuantity||0))]),e._v(" "),"add"!==e.opentype&&"edit"!==e.opentype&&"copy"!==e.opentype||1===e.attrData.planStatus||3===e.attrData.planStatus?e._e():a("i",{staticClass:"el-icon-edit editIcon",on:{click:function(a){return e.editClick(t.row,t.$index)}}})]}}])},[a("template",{slot:"header"},[e._v("\n 定量\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"数量,例如面积、窗户数量等",placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])],1)],2),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.spuSpend||0))]),e._v(" "),"add"!==e.opentype&&"edit"!==e.opentype&&"copy"!==e.opentype||1===e.attrData.planStatus||3===e.attrData.planStatus?e._e():a("i",{staticClass:"el-icon-edit editIcon",on:{click:function(a){return e.editClick(t.row,t.$index)}}})]}}])},[a("template",{slot:"header"},[e._v("\n 定价\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"工时单价",placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])],1)],2),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.spuLaborResource||0))])]}}])},[a("template",{slot:"header"},[e._v("\n 价值\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"人工成本,SPU-R1 = SPU-Q*SPU-T*SPU-S/3600",placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])],1)],2),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"120",label:"上传照片"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.isShowCapture?"是":"否")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"120",label:"允许相册"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(1===t.row.photoAlbum?"是":"否")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"130",label:"关联整改工单"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{class:t.row.orderList.length>0?"orderNoClass":"",on:{click:function(a){return e.showOrderList(t.row.orderList)}}},[e._v(e._s(t.row.orderList.length>0?t.row.orderList.length:0))])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"是否合格"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(0===t.row.executeResult?"未开始":1===t.row.executeResult?"不合格":"合格")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",fixed:"right",label:"评估结果"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("el-rate",{attrs:{value:e.row.auditScore?e.row.auditScore:0,disabled:"","show-score":"","text-color":"#ff9900"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"更新人"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.updateUserName||"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"更新时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.updateDate||"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","min-width":"150",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.thisTaskInfor(0,t.row)}}},[e._v("执行记录")])]}}])})],1),e._v(" "),e.page?a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":e.formInfo.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":e.formInfo.pageSize,layout:"total, prev, pager, next, jumper",total:e.tableData.length},on:{"update:currentPage":function(t){return e.$set(e.formInfo,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.formInfo,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1):e._e()],1)},r=[],o=a("7d42"),c=o["a"],u=(a("5e98"),a("829d")),d=Object(u["a"])(c,l,r,!1,null,null,null),p=d.exports,m=a("f8b7"),v=a("be2e"),f=a("bb77");function g(e){return y(e)||b(e)||_(e)||h()}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){if(e){if("string"==typeof e)return w(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?w(e,t):void 0}}function b(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function y(e){if(Array.isArray(e))return w(e)}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,s=Array(t);a0?this.isWeibao=!0:this.isWeibao=!1},methods:{openExampleImgLibrary:function(){this.exampleLibraryVisible=!0},getColor:function(e){var t=!1;return t=e.planDeviceList.some((function(e){return e.standardRespDTOList.some((function(e){return 1===e.isShowCapture}))})),t?{color:"red"}:void 0},checkResultsOfEnforcement:function(e){var t=this;if(1!==this.data.status){this.currentResultsObj=e;var a=e,s=[],n=a.planDeviceList;n.map((function(e){var a=e.standardRespDTOList;a.map((function(e){var a=t.getImgList(e.examplesImageUrl),n=t.getImgList(e.imageUrl),i=t.getImgList(e.preImageUrl);s.push(Object.assign(e,{examplesImageUrlList:a,imageUrlList:n,preImageUrlList:i,taskRate:e.auditScore?e.auditScore:null,memo:e.auditRemark?e.auditRemark:null}))}))})),this.currentResulStandardList=s,console.log("this.currentResulStandardList",this.currentResulStandardList),this.resultsOfEnforcementDialog=!0,this.$forceUpdate()}else this.$message({type:"error",message:"该工单还未执行,暂无作业结果"})},resultshandlePosImgClose:function(){this.audit.taskRate=0,this.audit.taskUuid="",this.audit.standUuid="",this.audit.memo="",this.audit.taskInspectionsStandardInfoId="",this.audit.id="",this.resultsOfEnforcementDialog=!1},getImgList:function(e){var t=[];return t=e&&e.length>0?e.indexOf(";")>0?e.split(";"):[e]:[],t},memoInput:function(){this.$forceUpdate()},handleSlow:function(){this.isShow=!this.isShow},handleSlowList:function(e){var t=this,a=!this.listTable[e].isShow;this.$nextTick((function(){t.$set(t.listTable[e],"isShow",a)})),this.$forceUpdate()},getlistData:function(e){var t=this,a=e;this.data=e,this.query.planUuid=a.planUuid,this.query.taskUuid=a.taskUuid,this.listLoading=!0,Object(m["t"])(this.query).then((function(e){0==e.code&&(t.listTable=e.data,t.listTable.map((function(e){return e.isShow=!1})))})),this.listLoading=!1},handleSizeChange:function(e){this.query.pageSize=e.limit,this.getlistData(this.data)},handleCurrentChange:function(e){this.query.pageNumber=e.currentPage,this.getlistData(this.data)},headClass:function(){return"text-align:center;background:#FAFAFA;"},handleImgClose:function(){this.imgList=[],this.dialogImgVisible=!1},handlePosImgClose:function(){this.posiotionImg=[],this.dialogPosVisible=!1},handleClose:function(){this.exampleCheckList=[],this.imgType=0,this.allImgList=[],this.allImgListFlat=[],this.allImgPage={currentPage:1,pageSize:6,total:0},this.examplesImageUrl=[],this.slImg=[],this.dialogVisible=!1},chunkArray:function(e,t){for(var a=null,s=null,n=[],i=0;i0?this.imgList=this.chunkArray(t,6):this.imgList=[],this.dialogImgVisible=!0},getImgType:function(e){this.imgType=e,this.exampleCheckList=[],1===e&&this.queryAllImgByStandard()},queryStandByThisImg:function(e){var t=this,a={locationId:this.viewLocationgImgItem.locationUuid,planUuid:this.query.planUuid,projectUuid:this.$store.state.community_uuid,standardUuid:e.standardUuid,targetUuid:e.targetUuid,taskUuid:this.query.taskUuid};Object(m["r"])(a).then((function(e){if(0===e.code){t.dialogImgVisible=!1;var a={type:0,data:e.data};t.imgType=0,t.tableClickInfor(a)}}))},queryAllImgByStandard:function(){var e=this,t=this.taskInfo,a={locationId:t.locationUuid,planUuid:t.planUuid,projectUuid:this.$store.state.community_uuid,standardUuid:t.standardUuid,targetUuid:t.targetUuid,taskUuid:t.taskUuid};Object(m["u"])(a).then((function(t){if(0===t.code){var a=t.data;a.length>0?(e.allImgListFlat=a,e.allImgPage.total=a.length,e.allImgPage.currentPage=1):(e.allImgListFlat=[],e.allImgPage.total=0)}}))},handleAllImgSizeChange:function(e){this.allImgPage.pageSize=e,this.allImgPage.currentPage=1},handleAllImgCurrentChange:function(e){this.allImgPage.currentPage=e},submitStandAudit:function(e,t){return 0===t.executeResult?(this.$message({type:"error",message:"请先执行作业标准之后再做评价!"}),!1):(console.log("val",t),t.taskRate?t.taskRate&&t.taskRate<3&&!t.memo?(this.$message({type:"error",message:"低于三分请输入评价"}),!1):(this.audit.taskRate=t.taskRate?t.taskRate:0,this.audit.taskUuid=t.taskUuid,this.audit.standUuid=t.standardUuid,this.audit.memo=t.memo,this.audit.taskInspectionsStandardInfoId=t.taskInspectionsStandardInfoId,this.audit.id=t.id,void this.submitAudit(e)):(this.$message({type:"error",message:"请选择评分"}),!1))},submitAudit:function(e){var t=this;if(-1===e&&0===this.taskInfo.executeResult)return this.$message({type:"error",message:"请先执行作业标准之后再做评价!"}),!1;this.audit.taskRate||this.$message({type:"error",message:"请选择评分"}),Object(m["P"])(this.audit).then((function(a){0===a.code?(t.$message({type:"success",message:"提交成功"}),t.handleClose(),e>=0&&(t.$set(t.currentResulStandardList[e],"auditScore",t.audit.taskRate),t.$set(t.currentResulStandardList[e],"auditRemark",t.audit.memo),t.$forceUpdate()),t.getlistData(t.data)):t.$message({type:"error",message:"提交失败"})}))},tableClickInfor:function(e){1!==this.data.status?(console.log("tableClickInfor",e),this.exampleCheckList=[],this.imgType=0,this.allImgList=[],this.allImgListFlat=[],this.allImgPage={currentPage:1,pageSize:5,total:0},this.slImg=[],this.examplesImageUrl=[],this.taskInfo=e.data,this.audit.taskRate=e.data.auditScore?e.data.auditScore:0,this.audit.taskUuid=e.data.taskUuid,this.audit.standUuid=e.data.standardUuid,this.audit.memo=e.data.auditRemark,this.audit.taskInspectionsStandardInfoId=e.data.taskInspectionsStandardInfoId,this.imageUrlList=e.data.imageUrl&&e.data.imageUrl.length>0?e.data.imageUrl.split(";"):[],this.preImageUrlList=e.data.preImageUrl&&e.data.preImageUrl.length>0?e.data.preImageUrl.split(";"):[],this.audit.id=e.data.id,this.getExampleImgList(),this.dialogVisible=!0):this.$message({type:"error",message:"该工单的执行标准还未执行,暂无执行记录"})},getExampleImgList:function(){var e=this;this.examplesImageUrl=[],this.slImg=[];var t={spaceUuid:this.taskInfo.spaceUuid,locationUuid:this.taskInfo.locationId,planUuid:this.taskInfo.planUuid,standardUuid:this.taskInfo.standardUuid,isPtuImage:1};Object(v["gb"])(t).then((function(t){0==t.code&&t.data&&(t.data.forEach((function(t){var a={imageUrl:t.examplesImageUrl,id:t.id};1==t.selected?e.examplesImageUrl.push(a):2==t.selected&&e.slImg.push(a)})),console.log(e.examplesImageUrl,"this.examplesImageUrl"),console.log(e.slImg,"this.slImg"))}))},handleCheckboxChange:function(){this.exampleCheckList.length>0&&this.setExampleImg(this.exampleCheckList)},setExampleImg:function(e){var t=this,a=e.map((function(e){return{imageUrl:e,id:e}})),s=g(this.examplesImageUrl);a.forEach((function(e){s.some((function(t){return t.imageUrl===e.imageUrl}))||s.push(e)}));var n={taskInspectionsStandardAddReqDTOS:s.map((function(e){return{spaceUuid:t.taskInfo.spaceUuid,locationId:t.taskInfo.locationId,planUuid:t.taskInfo.planUuid,standardUuid:t.taskInfo.standardUuid,examplesImageUrl:e.imageUrl,id:e.id}}))};Object(v["cb"])(n).then((function(e){t.$message({message:"设置成功!",type:"success"}),t.getExampleImgList(),t.exampleCheckList=[]}))},removeExampleImg:function(e){var t=this;console.log(e,"val"),this.slImg=this.slImg.filter((function(t){return!(t.imageUrl===e.imageUrl&&t.id===e.id)}));var a,s=[].concat(g(this.slImg),g(this.examplesImageUrl));a=0===s.length?{taskInspectionsStandardAddReqDTOS:[{spaceUuid:this.taskInfo.spaceUuid,locationId:this.taskInfo.locationId,planUuid:this.taskInfo.planUuid,standardUuid:this.taskInfo.standardUuid,examplesImageUrl:null,id:null}]}:{taskInspectionsStandardAddReqDTOS:s.map((function(e){return{spaceUuid:t.taskInfo.spaceUuid,locationId:t.taskInfo.locationId,planUuid:t.taskInfo.planUuid,standardUuid:t.taskInfo.standardUuid,examplesImageUrl:e.imageUrl,id:e.id}}))},Object(v["cb"])(a).then((function(e){t.$message({message:"移除成功!",type:"success"}),t.getExampleImgList()}))},removeExampleLibraryImg:function(e){var t=this;console.log(e,"val"),this.examplesImageUrl=this.examplesImageUrl.filter((function(t){return!(t.imageUrl===e.imageUrl&&t.id===e.id)}));var a,s=[].concat(g(this.slImg),g(this.examplesImageUrl));a=0===s.length?{taskInspectionsStandardAddReqDTOS:[{spaceUuid:this.taskInfo.spaceUuid,locationId:this.taskInfo.locationId,planUuid:this.taskInfo.planUuid,standardUuid:this.taskInfo.standardUuid,examplesImageUrl:null,id:null}]}:{taskInspectionsStandardAddReqDTOS:s.map((function(e){return{spaceUuid:t.taskInfo.spaceUuid,locationId:t.taskInfo.locationId,planUuid:t.taskInfo.planUuid,standardUuid:t.taskInfo.standardUuid,examplesImageUrl:e.imageUrl,id:e.id}}))},Object(v["cb"])(a).then((function(e){t.$message({message:"移除成功!",type:"success"}),t.getExampleImgList()}))},viewPositionImg:function(e){this.posiotionImg=e.locationImageDataList?e.locationImageDataList:[],this.dialogPosVisible=!0},updataOrderList:function(e){this.relationOrderList=e,this.relationOrderVisible=!0},showOrderDetaoles:function(e){var t=this,a={type:"new",postponeOrderNo:e};this.relationOrderDetailesVisible=!0,this.$nextTick((function(){t.$refs.workOrderDetails.getInfoLst(a)}))},chcekWorkOrder:function(e){},goBack:function(){this.relationOrderDetailesVisible=!1}}},k=C,S=(a("3369"),Object(u["a"])(k,s,n,!1,null,"0d515290",null));t["a"]=S.exports},cfb6:function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return l})),a.d(t,"e",(function(){return r})),a.d(t,"g",(function(){return o})),a.d(t,"h",(function(){return c})),a.d(t,"d",(function(){return u})),a.d(t,"f",(function(){return d}));var s=a("b775");function n(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/createBatch",method:"post",data:e})}function i(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/findById",method:"post",data:e})}function l(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/pageList",method:"post",data:e})}function r(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/unrelatedPageList",method:"post",data:e})}function o(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/updateNextResetTime",method:"post",data:e})}function c(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/updateStatus",method:"post",data:e})}function u(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/relStandPageList",method:"post",data:e})}function d(e){return Object(s["a"])({url:"/space/DangerousSourceMonitor/updateMonitorStartTime",method:"post",data:e})}},d31e:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container bgHeight"},[a("el-tabs",{attrs:{value:e.activeName,type:"border-card"},on:{"tab-click":e.tabClick}},[a("el-tab-pane",{attrs:{label:"危险源云库",name:"hazardDescriptionList"}},[a("hazardDescriptionList",{ref:"hazardDescriptionList"})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"危险源识别",name:"hazardIdentificationList"}},[a("hazardIdentificationList",{ref:"hazardIdentificationList"})],1)],1)],1)},n=[],i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.servicelist?a("div",[a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{ref:"box",staticClass:"searchStys transition_dom"},[a("el-form",{ref:"query",attrs:{model:e.query}},[a("div",{ref:"form_box",staticClass:"searchBar"},[a("div",{staticClass:"searchInput"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"jobCategory"}},[a("el-select",{attrs:{placeholder:"危险源类",clearable:""},model:{value:e.query.jobCategory,callback:function(t){e.$set(e.query,"jobCategory",t)},expression:"query.jobCategory"}},e._l(e.workType2,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"dangerousTypeId"}},[a("el-select",{attrs:{placeholder:"危险源子类",filterable:"",clearable:""},model:{value:e.query.dangerousTypeId,callback:function(t){e.$set(e.query,"dangerousTypeId",t)},expression:"query.dangerousTypeId"}},e._l(e.dangerousSource,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"eventTypeList"}},[a("el-select",{attrs:{multiple:"","collapse-tags":"",placeholder:"事故后果",filterable:"",clearable:""},model:{value:e.query.eventTypeList,callback:function(t){e.$set(e.query,"eventTypeList",t)},expression:"query.eventTypeList"}},e._l(e.taskType2,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"dangerousLevel"}},[a("el-select",{attrs:{placeholder:"无销项风险等级",clearable:""},model:{value:e.query.dangerousLevel,callback:function(t){e.$set(e.query,"dangerousLevel",t)},expression:"query.dangerousLevel"}},e._l(e.hazardLevel,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"currentDangerousLevel"}},[a("el-select",{attrs:{placeholder:"屏蔽后风险等级",clearable:""},model:{value:e.query.currentDangerousLevel,callback:function(t){e.$set(e.query,"currentDangerousLevel",t)},expression:"query.currentDangerousLevel"}},e._l(e.hazardLevel,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"locationName"}},[a("el-input",{attrs:{placeholder:"危险源网格/ID",clearable:""},model:{value:e.query.locationName,callback:function(t){e.$set(e.query,"locationName",t)},expression:"query.locationName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"targetName"}},[a("el-input",{attrs:{placeholder:"危险源名称/对象",clearable:""},model:{value:e.query.targetName,callback:function(t){e.$set(e.query,"targetName",t)},expression:"query.targetName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"status"}},[a("el-select",{attrs:{placeholder:"危险源状态",clearable:""},model:{value:e.query.status,callback:function(t){e.$set(e.query,"status",t)},expression:"query.status"}},e._l(e.hazardStatus,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"betweenDays"}},[a("el-input",{attrs:{placeholder:"危险源呈现间隔天数",clearable:""},model:{value:e.query.betweenDays,callback:function(t){e.$set(e.query,"betweenDays",t)},expression:"query.betweenDays"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"searchBtn"},[a("el-form-item",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){return e.resetForm("query")}}},[e._v("重置")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.is_show||"80px"==e.height?e._e():a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("展开"),a("i",{staticClass:"el-icon-arrow-down"})]),e._v(" "),e.is_show&&"80px"!=e.height?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("收起"),a("i",{staticClass:"el-icon-arrow-up"})]):e._e()],1)],1)])])],1)]),e._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[a("span",{staticClass:"planTitle"},[e._v("危险源识别列表")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.createdPlan}},[e._v("一键生成计划工单")])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"tableList",attrs:{border:"",data:e.listTable,"header-cell-style":e.headClass,"tooltip-effect":"dark"},on:{"selection-change":e.selectChange}},[a("el-table-column",{attrs:{type:"selection",align:"center",width:"55","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"60",label:"危险源类",prop:"sourceType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.jobCategory,e.workType2))+"\n ")]}}],null,!1,667557743)}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"危险源子类",prop:"dangerousTypeName","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"危险源名称",prop:"targetName","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"危险源网格/ID",prop:"locationName","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"120",label:"事故后果",prop:"eventType","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.filterStr(t.row.eventType))+"\n ")]}}],null,!1,1438400509)}),e._v(" "),a("el-table-column",{attrs:{label:"无销项措施前风险评价"}},[a("el-table-column",{attrs:{align:"center","min-width":"65",label:"可能性",prop:"possibility"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"65",label:"严重性",prop:"seriousness"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"65",label:"风险性",prop:"dangerousLevelScore"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"130",label:"风险等级",prop:"dangerousLevel"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tag",{class:[3==t.row.dangerousLevel?"danger-3":5==t.row.dangerousLevel?"danger-5":6==t.row.dangerousLevel?"danger-6":8==t.row.dangerousLevel?"danger-8":9==t.row.dangerousLevel?"danger-9":""],attrs:{size:"medium",effect:"dark"}},[e._v("\n "+e._s(e.filterDangerList(t.row.dangerousLevel))+"\n ")])]}}],null,!1,105619136)})],1),e._v(" "),a("el-table-column",{attrs:{label:"销项后风险评价"}},[a("el-table-column",{attrs:{align:"center","min-width":"130",label:"风险等级",prop:"currentDangerousLevel"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tag",{class:[3==t.row.currentDangerousLevel?"danger-3":5==t.row.currentDangerousLevel?"danger-5":6==t.row.currentDangerousLevel?"danger-6":8==t.row.currentDangerousLevel?"danger-8":9==t.row.currentDangerousLevel?"danger-9":""],attrs:{size:"medium",effect:"dark"}},[e._v("\n "+e._s(e.filterDangerList(t.row.currentDangerousLevel))+"\n ")])]}}],null,!1,2115835360)})],1),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"130",prop:"betweenDays"}},[a("template",{slot:"header"},[a("span",[e._v("危险源呈现间隔天数")]),e._v(" "),a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",[e._v("\n 默认危险源呈现间隔天数:根据标准里的频次来计算,日(1天),周(7天),月(30天),年(365天)\n ")]),e._v(" "),a("div",[e._v("天数/频次=间隔天数")])]),e._v(" "),a("i",{staticClass:"el-icon-question"})])],1)],2),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"160",label:"危险源上次销项时间",prop:"lastResetTime"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"160",label:"危险源下次呈现时间",prop:"nextResetTime"}},[a("template",{slot:"header"},[a("span",[e._v("危险源下次呈现时间")]),e._v(" "),a("el-tooltip",{attrs:{placement:"top"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",[e._v("\n 【如不自动更新,请检查“系统设置/项目设置/专业设置/危险源重置”检查是否配置为“重置”】\n ")])]),e._v(" "),a("i",{staticClass:"el-icon-question"})])],1)],2),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"70",label:"状态",prop:"status"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.status,e.hazardStatus))+"\n ")]}}],null,!1,2435491511)}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"危险作业场景",prop:"sceneName"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"120",label:"危险对象类型",prop:"targetType"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.targetType,e.targetTypeList))+"\n ")]}}],null,!1,1932053297)}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"操作人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.updaterName||"-")+"\n ")]}}],null,!1,2276596756)}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"160",label:"操作时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.updateTime||"-")+"\n ")]}}],null,!1,2696918868)}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",fixed:"right","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row,"view")}}},[e._v("查看")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row,"edit")}}},[e._v("编辑")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.updataStatus(t.row)}}},[e._v(e._s(1===t.row.status?"禁用":"启用"))])]}}],null,!1,781405327)})],1),e._v(" "),a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1)],1):e._e(),e._v(" "),e.serviceDetailes?a("div",[a("hazardIdentificationDel",{ref:"hazardIdentificationDel",attrs:{type:e.detailesStatus},on:{goBack:e.showViewList}})],1):e._e()])},l=[],r=a("dce5"),o=a("8f53"),c=a("fe59"),u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ruleGroupInfo"},[a("el-card",{staticClass:"box-card"},[a("el-page-header",{staticClass:"vote-title",attrs:{content:e.content},on:{back:e.goBack}}),e._v(" "),a("div",{staticClass:"vote-form"},[a("el-form",{ref:"detailes",attrs:{model:e.detailes,rules:e.detailesRelus,"label-width":e.formLabelWidth}},[a("el-row",{attrs:{gutter:24}},[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"危险源类型",prop:"dangerousTypeName"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入危险源类型"},model:{value:e.detailes.dangerousTypeName,callback:function(t){e.$set(e.detailes,"dangerousTypeName",t)},expression:"detailes.dangerousTypeName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险作业场景",prop:"sceneName"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入危险作业场景",maxlength:"30","show-word-limit":""},model:{value:e.detailes.sceneName,callback:function(t){e.$set(e.detailes,"sceneName",t)},expression:"detailes.sceneName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险源分类",prop:"sourceType"}},[a("el-select",{attrs:{placeholder:"危险源分类",disabled:""},model:{value:e.detailes.sourceType,callback:function(t){e.$set(e.detailes,"sourceType",t)},expression:"detailes.sourceType"}},e._l(e.hazardClassification,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"当前危险等级",prop:"currentDangerousLevel"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入当前危险等级",maxlength:"30","show-word-limit":""},model:{value:e.detailes.currentDangerousLevel,callback:function(t){e.$set(e.detailes,"currentDangerousLevel",t)},expression:"detailes.currentDangerousLevel"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险区域",prop:"locationName"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入危险区域",maxlength:"30","show-word-limit":""},model:{value:e.detailes.locationName,callback:function(t){e.$set(e.detailes,"locationName",t)},expression:"detailes.locationName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险源状态",prop:"status"}},[a("el-select",{attrs:{placeholder:"危险源状态",disabled:""},model:{value:e.detailes.status,callback:function(t){e.$set(e.detailes,"status",t)},expression:"detailes.status"}},e._l(e.hazardStatus,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险源上次销项时间",prop:"lastResetTime"}},[a("el-input",{attrs:{disabled:"",placeholder:"危险源上次销项时间",maxlength:"30","show-word-limit":""},model:{value:e.detailes.lastResetTime,callback:function(t){e.$set(e.detailes,"lastResetTime",t)},expression:"detailes.lastResetTime"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险对象类型",prop:"targetType"}},[a("el-select",{attrs:{placeholder:"危险对象类型",disabled:""},model:{value:e.detailes.targetType,callback:function(t){e.$set(e.detailes,"targetType",t)},expression:"detailes.targetType"}},e._l(e.targetTypeList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"事故后果",prop:"eventType"}},[a("el-select",{attrs:{placeholder:"事故后果",clearable:"","collapse-tags":"",filterable:"",multiple:"",disabled:""},model:{value:e.detailes.eventType,callback:function(t){e.$set(e.detailes,"eventType",t)},expression:"detailes.eventType"}},e._l(e.taskType2,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"呈现间隔天数",prop:"betweenDays"}},[a("el-input-number",{attrs:{disabled:"edit"!=e.type,min:1,max:365},model:{value:e.detailes.betweenDays,callback:function(t){e.$set(e.detailes,"betweenDays",t)},expression:"detailes.betweenDays"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险对象",prop:"targetName"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入危险对象"},model:{value:e.detailes.targetName,callback:function(t){e.$set(e.detailes,"targetName",t)},expression:"detailes.targetName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"默认危险等级",prop:"dangerousLevel"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入默认危险等级",maxlength:"30","show-word-limit":""},model:{value:e.detailes.dangerousLevel,callback:function(t){e.$set(e.detailes,"dangerousLevel",t)},expression:"detailes.dangerousLevel"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"危险源下次呈现时间",prop:"nextResetTime"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入危险源下次呈现时间",maxlength:"30","show-word-limit":""},model:{value:e.detailes.nextResetTime,callback:function(t){e.$set(e.detailes,"nextResetTime",t)},expression:"detailes.nextResetTime"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"创建人",prop:"creatorName"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入创建人",maxlength:"30","show-word-limit":""},model:{value:e.detailes.creatorName,callback:function(t){e.$set(e.detailes,"creatorName",t)},expression:"detailes.creatorName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"创建时间",prop:"createTime"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入创建时间",maxlength:"30","show-word-limit":""},model:{value:e.detailes.createTime,callback:function(t){e.$set(e.detailes,"createTime",t)},expression:"detailes.createTime"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"更新人",prop:"updaterName"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入更新人",maxlength:"30","show-word-limit":""},model:{value:e.detailes.updaterName,callback:function(t){e.$set(e.detailes,"updaterName",t)},expression:"detailes.updaterName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"更新时间",prop:"updateTime"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入更新时间",maxlength:"30","show-word-limit":""},model:{value:e.detailes.updateTime,callback:function(t){e.$set(e.detailes,"updateTime",t)},expression:"detailes.updateTime"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"默认危险源等级类型",prop:"dangerousLevel"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入默认危险等级",maxlength:"30","show-word-limit":""},model:{value:e.detailes.filterDangerousLevel,callback:function(t){e.$set(e.detailes,"filterDangerousLevel",t)},expression:"detailes.filterDangerousLevel"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"当前危险源等级类型",prop:"currentDangerousLevel"}},[a("el-input",{attrs:{disabled:"",placeholder:"请输入当前危险等级",maxlength:"30","show-word-limit":""},model:{value:e.detailes.filterCurrentDangerousLevel,callback:function(t){e.$set(e.detailes,"filterCurrentDangerousLevel",t)},expression:"detailes.filterCurrentDangerousLevel"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"启动时间",prop:"currentDangerousLevel"}},[a("el-date-picker",{attrs:{disabled:e.changeMonitorStartTimeDisabled(),type:"datetime",placeholder:"选择日期时间",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.detailes.monitorStartTime,callback:function(t){e.$set(e.detailes,"monitorStartTime",t)},expression:"detailes.monitorStartTime"}})],1)],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"vote-submit-options"},[a("el-button",{on:{click:e.goBack}},[e._v("返回")]),e._v(" "),"edit"==e.type?a("el-button",{attrs:{type:"primary",loading:e.btnLoading},on:{click:e.submitDetailes}},[e._v("保存")]):e._e()],1),e._v(" "),a("div",{staticClass:"detail_action"},[a("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"措施",name:"measure"}},[a("measureList",{attrs:{detail:e.detailes}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"措施计划",name:"action"}},[a("actionPlan",{attrs:{detail:e.detailes}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"安全措施",name:"safe"}},[a("safeList",{attrs:{detail:e.detailes,typeList:e.sceneList}})],1),e._v(" "),a("el-tab-pane",{attrs:{label:"紧急事件预案",name:"plan"}},[a("planList",{attrs:{detail:e.detailes,typeList:e.sceneList}})],1)],1)],1)],1)],1)},d=[],p=a("cfb6"),m=a("be96"),v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",[a("el-table",{attrs:{data:e.tableData,border:"","header-cell-style":e.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center","min-width":"50",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"危险源描述",fixed:"","min-width":"160",prop:"eventName","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"作业标准","min-width":"120",prop:"serviceDesc","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"后果描述","min-width":"120",prop:"checkDesc","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"标准分值","min-width":"100",prop:"performanceScore","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"扣分标准","min-width":"120",prop:"deductionStandard","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"单项扣分比例","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.deductionRate?(100*t.row.deductionRate).toFixed(2)+"%":"-"))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"整改措施","min-width":"100",prop:"rectificationMeasures","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"当前发生可能性","min-width":"140",prop:"currentPossibility","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"当前严重性","min-width":"100",prop:"currentSeriousness","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"作业菜单分类","min-width":"120","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.controlType,e.planModeLArr))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"作业分类","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.jobCategory,e.workType))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"专业分类","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.professionalCategory,e.professionalList))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"最近更新人","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.updateUserName||"-"))]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"180",label:"更新时间","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.updateDate||"-"))]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",fixed:"right","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":e.query.pageNumber,"page-sizes":[10,20,30,100],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleOrderSizeChange,"current-change":e.handleOrderCurrentChange}})],1)],1),e._v(" "),a("el-drawer",{attrs:{title:"措施详情",size:"20%",visible:e.drawerShow,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawerShow=t}}},[a("div",{staticClass:"showSeeMain"},[a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("危险源描述:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.eventName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("作业标准:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.serviceDesc||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("后果描述:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.checkDesc||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("图片上传:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(1==e.info.isShowCapture?"是":2==e.info.isShowCapture?"否":"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("轻量化标准:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(1==e.info.isLightWeight?"是":2==e.info.isLightWeight?"否":"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("允许照片来自相册:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(1==e.info.photoAlbum?"是":2==e.info.photoAlbum?"否":"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("定量:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(e.info.spuQuantity?e.info.spuQuantity:"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("定价:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.spuSpend?e.info.spuSpend:"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("价值:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(e.info.spuLaborResource?e.info.spuLaborResource:"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("标准分值:")]),e._v(" "),a("span",[e._v(e._s(e.info.performanceScore||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("扣分标准:")]),e._v(" "),a("div",[e._v(e._s(e.info.deductionStandard||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("单项扣分比例:")]),e._v(" "),a("span",[e._v(e._s(e.info.deductionRate?(100*e.info.deductionRate).toFixed(2)+"%":"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("整改措施:")]),e._v(" "),a("div",[e._v(e._s(e.info.rectificationMeasures||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("版本号:")]),e._v(" "),a("span",[e._v(e._s(e.info.versionNumber?"v"+e.info.versionNumber:"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("作业菜单分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.controlType,e.planModeLArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("作业分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.jobCategory,e.workType)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("事故后果:")]),e._v(" "),a("span",[e._v(e._s(e.filterStr(e.info.eventType)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("专业分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.professionalCategory,e.professionalList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("危险源类型:")]),e._v(" "),a("span",[e._v(e._s(e.info.subcontractingCategoryName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("内外分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.internalExternalCategory,e.aroundClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("固移分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.movementCategory,e.fixedClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("查办分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.investigationCategory,e.investigationClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("对象分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.objectCategory,e.objClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("发生可能性:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.possibility,e.seriousnessList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("严重性:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.seriousness,e.seriousnessList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("风险度:")]),e._v(" "),a("span",[e._v(e._s(e.culRiskLevel(e.info)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("专业等级:")]),e._v(" "),a("span",[e._v(e._s(e.info.professionalLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("安全等级:")]),e._v(" "),a("span",[e._v(e._s(e.info.dangerousLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("重要等级:")]),e._v(" "),a("span",[e._v(e._s(e.info.importantLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("温度:")]),e._v(" "),a("span",[e._v(e._s(e.info.temperatureLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("私密度:")]),e._v(" "),a("span",[e._v(e._s(e.info.privacyLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("职责归属:")]),e._v(" "),a("span",[e._v(e._s(e.info.jobName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("参考频次:")]),e._v(" "),a("span",[e._v(e._s(e.info.freName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("人:")]),e._v(" "),a("span",[e._v(e._s(e.info.c1||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("财:")]),e._v(" "),a("span",[e._v(e._s(e.info.c2||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("事:")]),e._v(" "),a("span",[e._v(e._s(e.info.c3||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("物:")]),e._v(" "),a("span",[e._v(e._s(e.info.c4||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("星级:")]),e._v(" "),a("span",[e._v(e._s(e.info.star||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("四个全员:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.fullParticipation,e.allList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("引用次数:")]),e._v(" "),a("span",[e._v(e._s(e.info.citedNum||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("最近更新人:")]),e._v(" "),a("span",[e._v(e._s(e.info.updateUserName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("更新时间:")]),e._v(" "),a("span",[e._v(e._s(e.info.updateDate||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("备注:")]),e._v(" "),a("div",[e._v(e._s(e.info.remark||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("图片:")]),e._v(" "),e.info.standImageUrl?a("div",e._l(e.formatImg(e.info.standImageUrl),(function(t,s){return a("el-image",{key:s,staticStyle:{width:"100px"},attrs:{src:t,"preview-src-list":e.formatImg(e.info.standImageUrl)}})})),1):a("span",[e._v("-")])])])])],1)},f=[],g=a("0b37");function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var _={props:{detail:{type:Object,default:function(){return{}}}},data:function(){return{planModeLArr:o["w"],workType:o["M"],professionalList:o["A"],allList:o["d"],seriousnessList:r["fc"],objClsssArr:o["q"],investigationClsssArr:o["m"],fixedClsssArr:o["h"],aroundClsssArr:o["e"],taskType2:r["sc"],tableData:[],query:{pageSize:10,pageNumber:1},pageTotal:0,drawerShow:!1,direction:"rtl",info:{}}},watch:{detail:{handler:function(e){this.getRelStandList()},deep:!0}},mounted:function(){},methods:{filterStr:function(e){var t=this;if(e||0===e){var a="string"===typeof e?e:String(e);if(console.log(a,"str"),console.log(h(a),"str++++++++++++++"),"string"===typeof a&&a.includes(",")){var s=a.split(",").map((function(e){return Number(e)}));return s.map((function(e){var a=t.taskType2.find((function(t){return t.value==e}));return a?a.label:"未知"})).join("/")}var n=this.taskType2.find((function(e){return e.value==Number(a)}));return n?n.label:"-"}return"-"},getRelStandList:function(){var e=this,t={id:this.detail.id,pageSize:this.query.pageSize,pageNumber:this.query.pageNumber};Object(p["d"])(t).then((function(t){0===t.code?(e.tableData=t.data.records,e.pageTotal=t.data.rowsCount):(e.tableData=[],e.pageTotal=0)}))},handleOrderSizeChange:function(e){this.query.pageSize=e,this.query.pageNumber=1,this.getRelStandList()},handleOrderCurrentChange:function(e){this.query.pageNumber=e,this.getRelStandList()},resetForm:function(){this.query.pageNumber=1,this.getRelStandList()},seeDetail:function(e){this.info=e,this.drawerShow=!0},handleClose:function(e){e()},culRiskLevel:function(e){return e&&e.possibility&&e.seriousness?Object(g["c"])(e.possibility,e.seriousness):"-"},formatImg:function(e){if(e)return e.split(",")},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},b=_,y=(a("df0c"),a("829d")),w=Object(y["a"])(b,v,f,!1,null,"0e317c42",null),C=w.exports,k=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-table",{attrs:{data:e.tableData,border:"","header-cell-style":e.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center",width:"80",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"计划名称","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.planName||"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"计划类型","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.planModel,e.planModeLArr))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"计划编码","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.planNo||"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",fixed:"right","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":e.query.pageNumber,"page-sizes":[10,20,30,100],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleOrderSizeChange,"current-change":e.handleOrderCurrentChange}})],1),e._v(" "),a("el-dialog",{attrs:{title:"危险源计划详情",visible:e.detailVisible,width:"80%"},on:{"update:visible":function(t){e.detailVisible=t},close:e.handleClose}},[a("taskHistory",{attrs:{planModel:e.planModel,planNo:e.planNo}})],1)],1)},S=[],I=a("f8b7"),T=a("5cfe"),L={props:{detail:{type:Object,default:function(){return{}}}},components:{taskHistory:T["a"]},data:function(){return{detailVisible:!1,planModeLArr:o["w"],workType:o["M"],professionalList:o["A"],tableData:[],query:{pageSize:10,pageNumber:1},pageTotal:0,planModel:0,planNo:""}},watch:{detail:{handler:function(e){this.getList()},deep:!0}},mounted:function(){},methods:{getList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,dangerSource:1,dangerousSourceMonitorId:this.detail.id,pageSize:this.query.pageSize,pageNumber:this.query.pageNumber};Object(I["A"])(t).then((function(t){0===t.code?(e.tableData=t.data.records,e.pageTotal=t.data.rowsCount):(e.tableData=[],e.pageTotal=0)}))},handleOrderSizeChange:function(e){this.query.pageSize=e,this.query.pageNumber=1,this.getList()},handleOrderCurrentChange:function(e){this.query.pageNumber=e,this.getList()},resetForm:function(){this.query.pageNumber=1,this.getList()},seeDetail:function(e){this.detailVisible=!0,this.planNo=e.planNo},handleClose:function(){this.detailVisible=!1},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},x=L,D=(a("51bc"),Object(y["a"])(x,k,S,!1,null,"4bf8772b",null)),N=D.exports,q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-table",{attrs:{data:e.tableData,border:"","header-cell-style":e.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center",width:"80",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预案名称","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.name||"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预案场景","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.sceneMenuId,e.typeList))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预案类型","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.type,e.sceneTypeList))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"执行实战","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.actualTimes)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"执行演练","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.drillTimes||0)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",fixed:"right","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":e.query.pageNumber,"page-sizes":[10,20,30,100],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleOrderSizeChange,"current-change":e.handleOrderCurrentChange}})],1)],1)},O=[],U={props:{detail:{type:Object,default:function(){return{}}},typeList:{type:Array,default:function(){return[]}}},data:function(){return{planModeLArr:o["w"],workType:o["M"],professionalList:o["A"],sceneTypeList:r["ec"],tableData:[],query:{pageSize:10,pageNumber:1},pageTotal:0}},watch:{detail:{handler:function(e){this.getList()},deep:!0}},mounted:function(){},methods:{getList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,dangerousSourceMonitorId:this.detail.id,type:1,pageSize:this.query.pageSize,pageNumber:this.query.pageNumber};Object(m["e"])(t).then((function(t){0===t.code?(e.tableData=t.data.records,e.pageTotal=t.data.rowsCount):(e.tableData=[],e.pageTotal=0)}))},handleOrderSizeChange:function(e){this.query.pageSize=e,this.query.pageNumber=1,this.getList()},handleOrderCurrentChange:function(e){this.query.pageNumber=e,this.getList()},resetForm:function(){this.query.pageNumber=1,this.getList()},seeDetail:function(e){this.$router.push({path:"/propertySMG/securityProduction/rectificationImplementation/emergencyPlan",query:{name:e.name,type:e.type,sceneMenuId:e.sceneMenuId}})},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},A=U,j=(a("e284"),Object(y["a"])(A,q,O,!1,null,"53a8c678",null)),M=j.exports,R=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-table",{attrs:{data:e.tableData,border:"","header-cell-style":e.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center",width:"80",fixed:""},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预案名称","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.name||"-")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预案场景","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.sceneMenuId,e.typeList))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"预案类型","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.type,e.sceneTypeList))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"执行实战","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.actualTimes)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"执行演练","min-width":"100","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.drillTimes||0)+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",fixed:"right","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("div",{staticClass:"pagination"},[a("el-pagination",{attrs:{"current-page":e.query.pageNumber,"page-sizes":[10,20,30,100],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleOrderSizeChange,"current-change":e.handleOrderCurrentChange}})],1)],1)},z=[],E={props:{detail:{type:Object,default:function(){return{}}},typeList:{type:Array,default:function(){return[]}}},data:function(){return{planModeLArr:o["w"],workType:o["M"],professionalList:o["A"],sceneTypeList:r["ec"],tableData:[],query:{pageSize:10,pageNumber:1},pageTotal:0}},watch:{detail:{handler:function(e){this.getList()},deep:!0}},mounted:function(){},methods:{getList:function(){var e=this,t={projectUuid:this.$store.state.community_uuid,dangerousSourceMonitorId:this.detail.id,type:2,pageSize:this.query.pageSize,pageNumber:this.query.pageNumber};Object(m["e"])(t).then((function(t){0===t.code?(e.tableData=t.data.records,e.pageTotal=t.data.rowsCount):(e.tableData=[],e.pageTotal=0)}))},handleOrderSizeChange:function(e){this.query.pageSize=e,this.query.pageNumber=1,this.getList()},handleOrderCurrentChange:function(e){this.query.pageNumber=e,this.getList()},resetForm:function(){this.query.pageNumber=1,this.getList()},seeDetail:function(e){this.$router.push({path:"/propertySMG/securityProduction/rectificationImplementation/emergencyPlan",query:{name:e.name,type:e.type,sceneMenuId:e.sceneMenuId}})},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},$=E,P=(a("3f44"),Object(y["a"])($,R,z,!1,null,"722f03e7",null)),B=P.exports,V={name:"hazardIdentificationDel",components:{measureList:C,actionPlan:N,safeList:M,planList:B},props:{type:{type:String,default:"add"},content:{type:String,default:"危险源识别详情"}},data:function(){return{taskType2:r["sc"],targetTypeList:r["oc"],hazardLevel:r["cb"],hazardClassification:[{value:1,label:"一类"},{value:2,label:"二类"}],hazardStatus:[{value:0,label:"已禁用"},{value:1,label:"已启用"}],formLabelWidth:"140px",detailes:{betweenDays:"",createTime:"",creatorId:"",creatorName:"",currentDangerousLevel:"",dangerousLevel:"",dangerousTypeId:"",dangerousTypeName:"",eventType:[],lastResetTime:"",locationName:"",locationUuid:"",nextResetTime:"",sceneId:"",sceneName:"",sourceType:"",status:"",targetName:"",targetType:"",targetUuid:"",updateTime:"",updaterId:"",updaterName:"",monitorStartTime:""},detailesRelus:{},btnLoading:!1,activeName:"measure",sceneList:[],oneChangeMonitorStartTimeDisabled:!1}},mounted:function(){this.getSceneMenuList()},methods:{changeMonitorStartTimeDisabled:function(){return!this.oneChangeMonitorStartTimeDisabled||"edit"!=this.type},initData:function(e){if(e){var t=this.hazardLevel.find((function(t){return t.value==e.dangerousLevel})),a=this.hazardLevel.find((function(t){return t.value==e.currentDangerousLevel}));this.detailes=e,this.detailes.eventType.includes(",")?this.detailes.eventType=e.eventType.split(",").map((function(e){return Number(e)})):this.detailes.eventType=[Number(e.eventType)],this.detailes.filterDangerousLevel=t.label,this.detailes.filterCurrentDangerousLevel=a.label,null==this.detailes.monitorStartTime?this.oneChangeMonitorStartTimeDisabled=!0:this.oneChangeMonitorStartTimeDisabled=!1}},getDetailes:function(){var e=this,t={id:this.detailes.id};Object(p["b"])(t).then((function(t){0===t.code&&t.data&&(e.detailes=t.data,null==e.detailes.monitorStartTime?e.oneChangeMonitorStartTimeDisabled=!0:e.oneChangeMonitorStartTimeDisabled=!1)}))},getSceneMenuList:function(){var e=this;Object(m["j"])().then((function(t){0===t.code&&(e.sceneList=t.data.map((function(e){return{label:e.sceneName,value:e.id}})))}))},submitDetailes:function(){var e=this,t={id:this.detailes.id,betweenDays:this.detailes.betweenDays,updaterId:this.$store.state.user.userInfo.memberId,updaterName:this.$store.state.user.userInfo.memberName};this.btnLoading=!0,Object(p["g"])(t).then((function(t){0===t.code?(e.$message({message:"更新成功",type:"success"}),e.getDetailes()):e.$message({message:"更新失败",type:"error"}),e.btnLoading=!1})).catch((function(){e.btnLoading=!1})),this.oneChangeMonitorStartTimeDisabled&&Object(p["f"])({id:this.detailes.id,monitorStartTime:this.detailes.monitorStartTime,updaterId:this.$store.state.user.userInfo.memberId,updaterName:this.$store.state.user.userInfo.memberName}).then((function(t){0==t.code&&e.getDetailes()}))},goBack:function(){this.$emit("goBack")}}},F=V,W=(a("f80e"),Object(y["a"])(F,u,d,!1,null,"4855868d",null)),H=W.exports;function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}var Q={name:"hazardIdentificationList",components:{hazardIdentificationDel:H},data:function(){return{workType2:o["N"],detailesStatus:"add",taskType2:r["sc"],targetTypeList:r["oc"],hazardLevel:r["cb"],hazardClassification:[{value:1,label:"一类"},{value:2,label:"二类"}],hazardStatus:[{value:0,label:"已禁用"},{value:1,label:"已启用"}],hazardLevel2:[{value:"低风险",label:3},{value:"一般风险",label:5},{value:"中风险",label:6},{value:"重大风险",label:8},{value:"特大风险",label:9}],dangerousSource:[],is_show:!1,height:"",servicelist:!0,serviceDetailes:!1,listLoading:!1,listTable:[],pageTotal:0,query:{pageNumber:1,pageSize:10,locationName:"",targetName:"",jobCategory:"",status:1,eventType:"",eventTypeList:[],currentDangerousLevel:"",dangerousLevel:"",betweenDays:"",dangerousTypeId:"",projectUuid:"",selectionList:[]}}},created:function(){this.query.projectUuid=this.$store.state.community_uuid},mounted:function(){if(this.$route.query.dangerousType&&this.$route.query.dangerousValue&&("wu"==this.$route.query.type&&(this.query.jobCategory=4),"shi"==this.$route.query.type&&(this.query.jobCategory=3),this.$route.query.type,"one"==this.$route.query.dangerousType&&(this.query.currentDangerousLevel=9),"two"==this.$route.query.dangerousType&&(this.query.currentDangerousLevel=8),"three"==this.$route.query.dangerousType&&(this.query.currentDangerousLevel=6)),this.headClass(),this.getDangerousSourceList(),Number(this.$route.query.currentDangerousLevel)>0){var e=Number(this.$route.query.currentDangerousLevel);1==e&&(this.query.currentDangerousLevel=0),this.query.currentDangerousLevel=e}this.getlistData()},methods:{filterStr:function(e){var t=this;if(e||0===e){var a="string"===typeof e?e:String(e);if(console.log(a,"str"),console.log(K(a),"str++++++++++++++"),"string"===typeof a&&a.includes(",")){var s=a.split(",").map((function(e){return Number(e)}));return s.map((function(e){var a=t.taskType2.find((function(t){return t.value==e}));return a?a.label:"未知"})).join("/")}var n=this.taskType2.find((function(e){return e.value==Number(a)}));return n?n.label:"-"}return"-"},selectChange:function(e){this.selectionList=e},createdPlan:function(){if(this.selectionList&&this.selectionList.length>0)if(this.selectionList.every((function(e){return 1==e.status}))){var e=[];this.selectionList.map((function(t){e.push(t.id)}));var t=this.$router.resolve({path:"/ptuToPlan",query:{dangerSourceIds:e.toString()}});this.$refs.tableList.clearSelection(),window.open(t.href,"_blank")}else this.$message.error("有禁用的危险源识别项,请检查.");else this.$message.error("请选择危险源识别项")},filterDangerList:function(e){var t=this.hazardLevel2.find((function(t){return t.label==e}));return t.value},getlistData:function(){var e=this,t=this.query;this.listLoading=!0,Object(p["c"])(t).then((function(t){0===t.code&&t.data.records?(e.listTable=t.data.records,e.pageTotal=t.data.rowsCount):e.listTable=[],e.listLoading=!1})).catch((function(){e.listTable=[],e.listLoading=!1}))},getDangerousSourceList:function(){var e=this,t={pageNumber:-1,pageSize:-1,status:1};Object(c["a"])(t).then((function(t){0===t.code&&t.data.records?e.dangerousSource=t.data.records:e.dangerousSource=[]}))},seeDetail:function(e,t){var a=this;this.servicelist=!1,this.serviceDetailes=!0,this.detailesStatus=t,this.$nextTick((function(){a.$refs.hazardIdentificationDel.initData(Object.assign({},e))}))},updataStatus:function(e){var t=this,a=JSON.parse(JSON.stringify(e)),s=Object.assign(a,{status:0==a.status?1:0,updaterId:this.$store.state.user.userInfo.memberId,updaterName:this.$store.state.user.userInfo.memberName}),n=1==a.status?"启用":"禁用";this.$confirm("确定".concat(n,"该数据吗?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"info"}).then((function(){Object(p["h"])(s).then((function(e){0==e.code?(t.$message({message:"".concat(n,"成功"),type:"success"}),t.getlistData()):t.$message({message:"".concat(n,"失败"),type:"error"})})).catch((function(){}))}))},onSearch:function(){this.query.pageNumber=1,this.getlistData()},handleSizeChange:function(e){this.query.pageSize=e,this.getlistData()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getlistData()},resetForm:function(e){this.query.pageNumber=1,this.getlistData(),this.$refs[e].resetFields()},showViewList:function(){this.getlistData(),this.servicelist=!0,this.serviceDetailes=!1},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px"}))}}},X=Q,Y=(a("9c4c"),Object(y["a"])(X,i,l,!1,null,null,null)),J=Y.exports,G=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{ref:"box",staticClass:"searchStys transition_dom"},[a("el-form",{ref:"query",attrs:{model:e.query}},[a("div",{ref:"form_box",staticClass:"searchBar"},[a("div",{staticClass:"searchInput"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"jobCategory"}},[a("el-select",{attrs:{placeholder:"危险源分类",clearable:""},model:{value:e.query.jobCategory,callback:function(t){e.$set(e.query,"jobCategory",t)},expression:"query.jobCategory"}},e._l(e.workType2,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"dangerousTypeId"}},[a("el-select",{attrs:{placeholder:"危险源子类",filterable:"",clearable:""},model:{value:e.query.dangerousTypeId,callback:function(t){e.$set(e.query,"dangerousTypeId",t)},expression:"query.dangerousTypeId"}},e._l(e.dangerousSource,(function(e,t){return a("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"eventName"}},[a("el-input",{attrs:{placeholder:"危险源描述",clearable:""},model:{value:e.query.eventName,callback:function(t){e.$set(e.query,"eventName",t)},expression:"query.eventName"}})],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"eventTypeList"}},[a("el-select",{attrs:{placeholder:"事故后果",filterable:"",clearable:"",multiple:"","collapse-tags":""},model:{value:e.query.eventTypeList,callback:function(t){e.$set(e.query,"eventTypeList",t)},expression:"query.eventTypeList"}},e._l(e.taskType2,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"dangerousLevel"}},[a("el-select",{attrs:{placeholder:"风险等级",clearable:""},model:{value:e.query.dangerousLevel,callback:function(t){e.$set(e.query,"dangerousLevel",t)},expression:"query.dangerousLevel"}},e._l(e.hazardLevel,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1)],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"checkDesc"}},[a("el-input",{attrs:{placeholder:"后果描述",clearable:""},model:{value:e.query.checkDesc,callback:function(t){e.$set(e.query,"checkDesc",t)},expression:"query.checkDesc"}})],1)],1)],1)],1),e._v(" "),a("div",{staticClass:"searchBtn"},[a("el-form-item",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(t){return e.resetForm("query")}}},[e._v("重置")]),e._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:e.onSearch}},[e._v("查询")]),e._v(" "),e.is_show||"80px"==e.height?e._e():a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("展开"),a("i",{staticClass:"el-icon-arrow-down"})]),e._v(" "),e.is_show&&"80px"!=e.height?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:e.upAndDown}},[e._v("收起"),a("i",{staticClass:"el-icon-arrow-up"})]):e._e()],1)],1)])])],1)]),e._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[a("span",{staticClass:"planTitle"},[e._v("危险源描述列表")])]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],attrs:{border:"",data:e.listTable,"header-cell-style":e.headClass,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"#",align:"center","min-width":"50"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+(e.query.pageNumber-1)*e.query.pageSize+1)+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"60",label:"危险源类","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("getItemType")(t.row.jobCategory,e.workType2))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"危险源子类",prop:"dangerousTypeName","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"事故后果",prop:"eventType","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.filterStr(t.row.eventType))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"无销项措施前风险评价"}},[a("el-table-column",{attrs:{align:"center","min-width":"60",label:"可能性",prop:"possibility"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"60",label:"严重性",prop:"seriousness"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"60",label:"风险性",prop:"dangerousLevelScore"}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"90",label:"风险等级",prop:"dangerousLevel"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-tag",{class:[3==t.row.dangerousLevel?"danger-3":5==t.row.dangerousLevel?"danger-5":6==t.row.dangerousLevel?"danger-6":8==t.row.dangerousLevel?"danger-8":9==t.row.dangerousLevel?"danger-9":""],attrs:{size:"medium",effect:"dark"}},[e._v("\n "+e._s(e.filterDangerList(t.row.dangerousLevel))+"\n ")])]}}])})],1),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"销项/控制措施",prop:"serviceDesc","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"危险源描述",prop:"eventName","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",label:"后果描述",prop:"checkDesc","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:function(a){return e.seeDetail(t.row)}}},[e._v("查看")])]}}])})],1),e._v(" "),a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":e.query.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":e.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.pageTotal},on:{"update:currentPage":function(t){return e.$set(e.query,"pageNumber",t)},"update:current-page":function(t){return e.$set(e.query,"pageNumber",t)},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)],1),e._v(" "),a("el-drawer",{attrs:{title:"危险源描述详情",size:"20%",visible:e.drawerShow,direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawerShow=t}}},[a("div",{staticClass:"showSeeMain"},[a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("危险源描述:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.eventName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("作业标准:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.serviceDesc||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("后果描述:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.checkDesc||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("图片上传:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(1==e.info.isShowCapture?"是":2==e.info.isShowCapture?"否":"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("轻量化标准:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(1==e.info.isLightWeight?"是":2==e.info.isLightWeight?"否":"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("允许照片来自相册:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(1==e.info.photoAlbum?"是":2==e.info.photoAlbum?"否":"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("定量:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(e.info.spuQuantity?e.info.spuQuantity:"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("定价:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v(e._s(e.info.spuSpend?e.info.spuSpend:"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("价值:")]),e._v(" "),a("div",{staticClass:"txtStyle"},[e._v("\n "+e._s(e.info.spuLaborResource?e.info.spuLaborResource:"-")+"\n ")])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("标准分值:")]),e._v(" "),a("span",[e._v(e._s(e.info.performanceScore||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("扣分标准:")]),e._v(" "),a("div",[e._v(e._s(e.info.deductionStandard||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("单项扣分比例:")]),e._v(" "),a("span",[e._v(e._s(e.info.deductionRate?(100*e.info.deductionRate).toFixed(2)+"%":"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("整改措施:")]),e._v(" "),a("div",[e._v(e._s(e.info.rectificationMeasures||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("版本号:")]),e._v(" "),a("span",[e._v(e._s(e.info.versionNumber?"v"+e.info.versionNumber:"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("作业菜单分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.controlType,e.planModeLArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("作业分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.jobCategory,e.workType2)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("事故后果:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.eventType,e.taskType2)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("专业分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.professionalCategory,e.professionalList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("危险源类型:")]),e._v(" "),a("span",[e._v(e._s(e.info.subcontractingCategoryName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("内外分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.internalExternalCategory,e.aroundClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("固移分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.movementCategory,e.fixedClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("查办分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.investigationCategory,e.investigationClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("对象分类:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.objectCategory,e.objClsssArr)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("发生可能性:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.possibility,e.seriousnessList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("严重性:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.seriousness,e.seriousnessList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("风险度:")]),e._v(" "),a("span",[e._v(e._s(e.culRiskLevel(e.info)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("专业等级:")]),e._v(" "),a("span",[e._v(e._s(e.info.professionalLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("安全等级:")]),e._v(" "),a("span",[e._v(e._s(e.info.dangerousLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("重要等级:")]),e._v(" "),a("span",[e._v(e._s(e.info.importantLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("温度:")]),e._v(" "),a("span",[e._v(e._s(e.info.temperatureLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("私密度:")]),e._v(" "),a("span",[e._v(e._s(e.info.privacyLevel||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("职责归属:")]),e._v(" "),a("span",[e._v(e._s(e.info.jobName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("参考频次:")]),e._v(" "),a("span",[e._v(e._s(e.info.freName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("人:")]),e._v(" "),a("span",[e._v(e._s(e.info.c1||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("财:")]),e._v(" "),a("span",[e._v(e._s(e.info.c2||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("事:")]),e._v(" "),a("span",[e._v(e._s(e.info.c3||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("物:")]),e._v(" "),a("span",[e._v(e._s(e.info.c4||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("星级:")]),e._v(" "),a("span",[e._v(e._s(e.info.star||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("四个全员:")]),e._v(" "),a("span",[e._v(e._s(e._f("getItemType")(e.info.fullParticipation,e.allList)))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("引用次数:")]),e._v(" "),a("span",[e._v(e._s(e.info.citedNum||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("最近更新人:")]),e._v(" "),a("span",[e._v(e._s(e.info.updateUserName||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("更新时间:")]),e._v(" "),a("span",[e._v(e._s(e.info.updateDate||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("备注:")]),e._v(" "),a("div",[e._v(e._s(e.info.remark||"-"))])]),e._v(" "),a("div",{staticClass:"seeModel"},[a("span",{staticClass:"modelTitle"},[e._v("图片:")]),e._v(" "),e.info.standImageUrl?a("div",e._l(e.formatImg(e.info.standImageUrl),(function(t,s){return a("el-image",{key:s,staticStyle:{width:"100px"},attrs:{src:t,"preview-src-list":e.formatImg(e.info.standImageUrl)}})})),1):a("span",[e._v("-")])])])])],1)},Z=[],ee=a("8826");function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}var ae={name:"hazardDescriptionList",data:function(){return{workType2:o["N"],hazardLevel:r["cb"],taskType2:r["sc"],seriousnessList:r["fc"],controlTypeList:o["g"],professionalList:o["A"],taskType:o["I"],workType:o["M"],professionalLevel:o["z"],frequencyLevel:o["i"],allList:o["d"],mouldLevel:o["p"],subClassArr:o["H"],aroundClsssArr:o["e"],fixedClsssArr:o["h"],investigationClsssArr:o["m"],objClsssArr:o["q"],planModeLArr:o["w"],dangerousSource:[],drawerShow:!1,is_show:!1,height:"",servicelist:!0,serviceDetailes:!1,listLoading:!1,listTable:[],hazardLevel2:[{value:"低风险",label:3},{value:"一般风险",label:5},{value:"中风险",label:6},{value:"重大风险",label:8},{value:"特大风险",label:9}],pageTotal:0,query:{pageNumber:1,pageSize:10,eventName:"",checkDesc:"",eventType:"",eventTypeList:[],dangerousTypeId:"",objectCategory:"",currentDangerousLevel:""},direction:"rtl",info:{}}},mounted:function(){this.getRealHeight(),this.query.projectUuid=this.$store.state.community_uuid,this.headClass(),this.getDangerousSourceList(),this.getlistData()},methods:{filterStr:function(e){var t=this;if(e||0===e){var a="string"===typeof e?e:String(e);if(console.log(a,"str"),console.log(te(a),"str++++++++++++++"),"string"===typeof a&&a.includes(",")){var s=a.split(",").map((function(e){return Number(e)}));return s.map((function(e){var a=t.taskType2.find((function(t){return t.value==e}));return a?a.label:"未知"})).join("/")}var n=this.taskType2.find((function(e){return e.value==Number(a)}));return n?n.label:"-"}return"-"},filterDangerList:function(e){var t=this.hazardLevel2.find((function(t){return t.label==e}));return t.value},getlistData:function(){var e=this,t=this.query;Object(p["e"])(t).then((function(t){0===t.code&&t.data?(e.listTable=t.data.records,e.pageTotal=t.data.rowsCount):(e.listTable=[],e.pageTotal=0)}))},getDangerousSourceList:function(){var e=this,t={pageNumber:-1,pageSize:-1,status:1};Object(c["a"])(t).then((function(t){0===t.code&&t.data.records?e.dangerousSource=t.data.records:e.dangerousSource=[]}))},getStandDetailes:function(e){var t=this,a={uuid:e.standUuid,projectUuid:this.$store.state.community_uuid};Object(ee["g"])(a).then((function(e){0==e.code&&e.data&&(t.info=e.data,t.drawerShow=!0)}))},formatImg:function(e){if(e)return e.split(",")},seeDetail:function(e){this.getStandDetailes(e)},handleClose:function(e){e()},culRiskLevel:function(e){return e&&e.possibility&&e.seriousness?Object(g["c"])(e.possibility,e.seriousness):"-"},onSearch:function(){this.query.pageNumber=1,this.getlistData()},handleSizeChange:function(e){this.query.pageSize=e,this.getlistData()},handleCurrentChange:function(e){this.query.pageNumber=e,this.getlistData()},resetForm:function(e){this.query.pageNumber=1,this.getlistData(),this.$refs[e].resetFields()},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px"}))}}},se=ae,ne=(a("bba4"),Object(y["a"])(se,G,Z,!1,null,"71cf87be",null)),ie=ne.exports,le={name:"hazardIdentification",components:{hazardIdentificationList:J,hazardDescriptionList:ie},data:function(){return{activeName:"hazardDescriptionList"}},methods:{tabClick:function(e){"hazardIdentificationList"==e.name?this.$refs.hazardIdentificationList.getRealHeight():this.$refs.hazardDescriptionList.getRealHeight()}},mounted:function(){this.$route.query.dangerousType&&this.$route.query.dangerousValue&&(this.activeName="hazardIdentificationList",this.$refs.hazardIdentificationList.getRealHeight())}},re=le,oe=Object(y["a"])(re,s,n,!1,null,null,null);t["default"]=oe.exports},d8f5:function(e,t,a){"use strict";a("43fc")},df0c:function(e,t,a){"use strict";a("3388")},e263:function(e,t,a){"use strict";a("f35c")},e284:function(e,t,a){"use strict";a("4771")},eccf:function(e,t,a){},f35c:function(e,t,a){},f725:function(e,t,a){"use strict";a("9b1d")},f80e:function(e,t,a){"use strict";a("4f9b")},fe59:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var s=a("b775");function n(e){return Object(s["a"])({url:"/appproject/DangerousSourceType/pageList",method:"post",data:e})}}}]);