(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-70e3"],{eeKy:function(t,e,n){},q8GM:function(t,e,n){"use strict";n.r(e);n("sZnh");var a={props:["basicInformation","title"],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})},deleteEquipment:function(t){this.equipmentData.splice(t,1)},goNext:function(){"施工单位确认"===this.title?this.$emit("changeToConstructionConfirm"):"施工单位信息填写"===this.title?this.$emit("confirmConstruction"):this.$emit("changeToCardFile")}}},o=(n("v6yw"),n("ZrdR")),r=Object(o.a)(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticStyle:{"padding-bottom":"10px"}},[n("el-button",{attrs:{type:"primary"},on:{click:t.addEquipment}},[t._v("添加设备")])],1),t._v(" "),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"}})]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"text"},on:{click:function(n){t.deleteEquipment(e.$index)}}},[t._v("删除")])]}}])})],1),t._v(" "),"新增"===t.title||"编辑"===t.title||"施工单位确认"===t.title||"施工单位信息填写"===t.title||"复制"===t.title?n("div",{staticStyle:{"padding-top":"20px"},attrs:{align:"center"}},[n("el-button",{attrs:{type:"primary"},on:{click:t.goNext}},[t._v("下一步")])],1):t._e()],1)},[],!1,null,"644f7a96",null);r.options.__file="index.vue";e.default=r.exports},sZnh:function(t,e,n){"use strict";n.d(e,"h",function(){return r}),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 l}),n.d(e,"g",function(){return d}),n.d(e,"f",function(){return h}),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 k}),n.d(e,"d",function(){return O}),n.d(e,"l",function(){return z});var a=n("X4fA"),o=n("t3Un");function r(t){return Object(o.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(o.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(o.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(o.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(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/update",method:"post",data:t})}function l(t){return Object(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/update/second",method:"post",data:t})}function d(t){return Object(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/getSelfCheck",method:"get",params:t||{}})}function h(t){return Object(o.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(o.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(o.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(o.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(o.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(o.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(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/security/review",method:"post",data:t})}function k(t){return Object(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/changeSupervisor",method:"post",data:t})}function O(t){return Object(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/changeWorker",method:"post",data:t})}function z(t){return Object(o.a)({headers:{Authorization:Object(a.a)()},url:"http://222.92.213.21:8006/zhongtai/task/workCert-regenerate?code="+t,method:"get"})}},v6yw:function(t,e,n){"use strict";var a=n("eeKy");n.n(a).a}}]);