(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-5800"],{"0NsV":function(t,e,n){"use strict";var a=n("0YeT");n.n(a).a},"0YeT":function(t,e,n){},sZnh:function(t,e,n){"use strict";n.d(e,"h",function(){return o}),n.d(e,"j",function(){return i}),n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"p",function(){return s}),n.d(e,"q",function(){return d}),n.d(e,"g",function(){return h}),n.d(e,"f",function(){return l}),n.d(e,"e",function(){return p}),n.d(e,"o",function(){return f}),n.d(e,"n",function(){return m}),n.d(e,"k",function(){return b}),n.d(e,"i",function(){return g}),n.d(e,"m",function(){return j}),n.d(e,"c",function(){return O}),n.d(e,"d",function(){return z}),n.d(e,"l",function(){return k});var a=n("X4fA"),r=n("t3Un");function o(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/info/review",method:"get",params:t||{}})}function i(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/info/viewable",method:"get",params:t||{}})}function u(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/create",method:"post",data:t})}function c(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/create/second",method:"post",data:t})}function s(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/update",method:"post",data:t})}function d(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/update/second",method:"post",data:t})}function h(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/getSelfCheck",method:"get",params:t||{}})}function l(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/getFiles",method:"post",params:t||{}})}function p(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/deleteFile",method:"post",params:t||{}})}function f(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/submit",method:"post",params:t||{}})}function m(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/construction/review",method:"post",data:t})}function b(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/part/review",method:"post",data:t})}function g(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/involve/review",method:"post",data:t})}function j(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/security/review",method:"post",data:t})}function O(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/changeSupervisor",method:"post",data:t})}function z(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/changeWorker",method:"post",data:t})}function k(t){return Object(r.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/workCert-regenerate?code="+t,method:"get"})}},wI7J:function(t,e,n){"use strict";n.r(e);n("sZnh");var a={props:["basicInformation"],name:"index",data:function(){return{typeList:[{id:1,name:"安全防护设备及工具"},{id:2,name:"安全施工防护用具"},{id:3,name:"有毒有害防护设备"},{id:4,name:"个人防护设备"},{id:5,name:"安全措施设备及工器具"}],equipmentData:[]}},created:function(){},methods:{addEquipment:function(){this.equipmentData.push({createdat:"",createdby:"",flag:0,id:0,modifiedat:"",modifiedby:"",name:"",num:"",taskcode:this.basicInformation.code,type:""})},deleteEquipment:function(t){this.equipmentData.splice(t,1)}}},r=(n("0NsV"),n("ZrdR")),o=Object(r.a)(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.equipmentData,border:"",fit:"","highlight-current-row":"","header-cell-style":{"text-align":"center"}}},[n("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"60"}}),t._v(" "),n("el-table-column",{attrs:{prop:"taskcode",label:"作业编号",align:"left"}}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"设备名称",align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-input",{model:{value:e.row.name,callback:function(n){t.$set(e.row,"name",n)},expression:"scope.row.name"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"type",label:"设备类型",align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-select",{model:{value:e.row.type,callback:function(n){t.$set(e.row,"type",n)},expression:"scope.row.type"}},t._l(t.typeList,function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.name}})}))]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"num",label:"设备数量",align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-input",{model:{value:e.row.num,callback:function(n){t.$set(e.row,"num",n)},expression:"scope.row.num"}})]}}])})],1)],1)},[],!1,null,"cfdd6278",null);o.options.__file="index.vue";e.default=o.exports}}]);