Your Name
2022-10-25 df7046445cfdb39857f9fe1dc747ab04a61c860e
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-0d69"],{"6Mdz":function(t,e,n){"use strict";n.d(e,"h",function(){return r}),n.d(e,"b",function(){return a}),n.d(e,"m",function(){return c}),n.d(e,"c",function(){return s}),n.d(e,"e",function(){return u}),n.d(e,"g",function(){return l}),n.d(e,"j",function(){return h}),n.d(e,"l",function(){return d}),n.d(e,"a",function(){return p}),n.d(e,"d",function(){return f}),n.d(e,"f",function(){return k}),n.d(e,"k",function(){return b}),n.d(e,"i",function(){return m});var o=n("X4fA"),i=n("t3Un");function r(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkWork/select/getCheckWorkPage",method:"post",data:t})}function a(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkWork/insert/saveCheckWork",method:"post",data:t})}function c(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkWork/update/updateCheckWork",method:"post",data:t})}function s(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/safecheck/work/close?workId="+t,method:"post"})}function u(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkWork/delete/deleteCheckWork",method:"post",data:t})}function l(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkTask/select/getTaskPage",method:"post",data:t})}function h(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkTask/update/updateTask",method:"post",data:t})}function d(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/prevent/checkTask/update/taskToUser",method:"post",data:t})}function p(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/safecheck/work/content/add?workId="+t.workId+"&measureId="+t.measureId,method:"post"})}function f(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/safecheck/work/content/del?workId="+t.workId+"&measureId="+t.measureId,method:"post"})}function k(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/safecheck/work/get/id?workId="+t,method:"post"})}function b(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/safecheck/task/exec/unitOne",method:"post",data:t})}function m(t){return Object(i.a)({headers:{Authorization:Object(o.a)()},url:"http://222.92.213.22:8006/zhongtai/safecheck/task/exec/submit",method:"post",data:t})}},HgkZ:function(t,e,n){"use strict";n.r(e);var o=n("cLjf"),i=n.n(o),r=n("hDQ3"),a=n.n(r),c=n("d75D"),s=n("6Mdz"),u={props:["title","inspectionTaskForm"],name:"inpectionPoint",data:function(){return{tableKey:"",listLoading:!1,ifEdit:!1,ifShowControl:!0,controlActionVisible:!1,riskControlMeasureVisible:!1,riskControlMeasureForm:[],inspectionPointData:[],keepValueList:[],controlActionForm:{workId:"",measureId:""}}},components:{controlAction:c.default},methods:{showControlAction:function(){var t=this;this.controlActionVisible=!0,setTimeout(function(){t.$refs.controlAction.ifShowButton(t.inspectionPointData,t.title)})},showMeasureDetail:function(t){var e=this;this.controlActionVisible=!0,setTimeout(function(){e.$refs.controlAction.showMeasureDetail(t),e.$refs.controlAction.ifShowSelf=!1})},closeDialog:function(){this.controlActionVisible=!1},receiveRiskControlId:function(t){var e=this;return a()(i.a.mark(function n(){return i.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:e.controlActionVisible=!1,e.inspectionPointData=t,e.$emit("giveToForm",t);case 3:case"end":return n.stop()}},n,e)}))()},deleteById:function(t,e){this.inspectionPointData.splice(t,1),this.$emit("giveToForm",this.inspectionPointData)},getControlActionList:function(){var t=this;return a()(i.a.mark(function e(){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(s.f)(t.inspectionTaskForm.workId);case 2:n=e.sent,t.inspectionPointData=n.data.result.checkContents;case 4:case"end":return e.stop()}},e,t)}))()},keepValue:function(t){this.keepValueList=t}}},l=(n("Morh"),n("ZrdR")),h=Object(l.a)(u,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-plus"},on:{click:function(e){t.showControlAction()}}},[t._v("选择风险管控措施")])],1),t._v(" "),n("div",{staticClass:"table_content"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.inspectionPointData,border:"",fit:"","highlight-current-row":""}},[n("el-table-column",{attrs:{label:"序号",type:"index",width:"150",align:"center"}}),t._v(" "),n("el-table-column",{attrs:{label:"隐患排查内容",prop:"checkContent",align:"center","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{label:"操作",align:"center",width:"280","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{staticStyle:{color:"red"},attrs:{type:"text"},on:{click:function(n){t.deleteById(e.$index,e.row)}}},[t._v("删除")])]}}])})],1)],1),t._v(" "),n("el-dialog",{attrs:{visible:t.controlActionVisible,"append-to-body":"","close-on-click-modal":!1,width:"80%"},on:{"update:visible":function(e){t.controlActionVisible=e}}},[n("control-action",{ref:"controlAction",on:{closeDialog:t.closeDialog,giveRiskControlId:t.receiveRiskControlId,keepValue:t.keepValue}})],1)],1)},[],!1,null,"2b5ebfe1",null);h.options.__file="inpectionPoint.vue";e.default=h.exports},KtQm:function(t,e,n){},Morh:function(t,e,n){"use strict";var o=n("KtQm");n.n(o).a}}]);