(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48e83371"],{"5e71":function(t,i,s){},"8b20":function(t,i,s){"use strict";s.r(i);var a=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"app-container1 flex"},[t._l(t.list,(function(i,e){return a("div",{key:e,staticClass:"flex"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"flex2"},[a("span",[t._v(t._s(i.auditName))]),a("i",[t._v(t._s(1==i.auditType?"固定环节":"自定义环节"))])]),a("div",{staticClass:"btn"},[2==i.auditType?a("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(s){return t.deleteFun(i.passAuditId)}}},[t._v("删除")]):t._e(),9!=i.auditMarkStep?a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(s){return t.create("编辑环节",i)}}},[t._v("编辑")]):t._e()],1)]),[1,2,9].indexOf(i.auditMarkStep)>-1?t._l(i.documentVoList,(function(i,s){return a("div",{key:s,staticClass:"content"},[a("div",{staticClass:"flex unit-name"},[a("i",{staticClass:"text name1"},[t._v(t._s(i.username))]),a("i",{staticClass:"text"},[t._v("审核员列表")])]),a("div",{staticClass:"user flex"},t._l(i.documentList,(function(i,s){return a("div",{key:s,staticClass:"flex1"},[i.avatar?a("el-image",{staticClass:"photo",attrs:{src:i.avatar,"preview-src-list":[i.avatar]}}):a("span",{staticClass:"photo"},[t._v("暂无")]),a("span",{staticClass:"name"},[t._v(t._s(i.name))])],1)})),0)])})):[a("div",{staticClass:"content"},[a("i",{staticClass:"text"},[t._v("审核员列表")]),a("div",{staticClass:"user flex"},[a("div",[a("i",{staticClass:"el-icon-plus photo",on:{click:function(s){return t.adduserFun(i)}}})]),t._l(i.userList,(function(i,s){return a("div",{key:s,staticClass:"flex1"},[i.avatar?a("el-image",{staticClass:"photo",attrs:{src:i.avatar,"preview-src-list":[i.avatar]}}):a("span",{staticClass:"photo"},[t._v("暂无")]),a("span",{staticClass:"name"},[t._v(t._s(i.name))])],1)}))],2)])]],2),a("img",{staticClass:"arrow",attrs:{src:s("c5d4"),alt:""}}),9!=i.auditMarkStep?a("el-button",{staticClass:"add-link",attrs:{type:"primary",size:"mini"},on:{click:function(i){return t.create("增加环节",e)}}},[t._v("增加环节")]):t._e()],1)})),t.userDialogVisible?a("addUser",{attrs:{form1:t.form,dialogVisible:t.userDialogVisible},on:{close:function(i){t.userDialogVisible=!1},getform:t.getform}}):t._e(),t.dialogVisible?a("handleLink",{attrs:{form1:t.form,dialogTitle:t.dialogTitle,dialogVisible:t.dialogVisible},on:{close:function(i){t.dialogVisible=!1},getform:t.getform}}):t._e()],2)])},e=[],n=(s("e9c4"),s("b64b"),s("f156")),l=s("63f3"),o=s("77c4"),r={components:{handleLink:n["a"],addUser:l["a"]},filters:{},computed:{},data:function(){return{list:[],listLoading:!0,dialogVisible:!1,userDialogVisible:!1,dialogTitle:null,form_copy:null,form:{personAdminType:1,personAdminId:null,userIdList:[],isExtra:!1,auditType:2,auditName:null,checkContent:null,rectificationContent:null,rejectContent:null}}},created:function(){this.fetchData(),this.form_copy=JSON.parse(JSON.stringify(this.form))},watch:{"form.aaaaa":{handler:function(t,i){this.form.addCustomList=[]}}},methods:{fetchData:function(){var t=this;this.listLoading=!0,Object(o["g"])().then((function(i){t.list=i.data,t.total=i.data.total,t.listLoading=!1}))},create:function(t,i){"增加环节"===t?(this.form=JSON.parse(JSON.stringify(this.form_copy)),this.list[i+1]&&(this.form.nextStepId=this.list[i+1].passAuditId)):this.form=Object.assign(this.form,i),this.dialogTitle=t,this.dialogVisible=!0},adduserFun:function(t){this.form=Object.assign(this.form,t),this.userDialogVisible=!0},getform:function(t,i){var s=this;Object(o["f"])(t).then((function(t){s.fetchData(),i?s.userDialogVisible=!1:s.dialogVisible=!1,s.$message({type:"success",message:"操作成功!"})}))},deleteFun:function(t){var i=this;this.$confirm("确定要删除吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then((function(){Object(o["e"])(t).then((function(t){i.fetchData(),i.$message({type:"success",message:"删除成功!"})}))}))}}},c=r,u=(s("96da"),s("2877")),d=Object(u["a"])(c,a,e,!1,null,"2de3978d",null);i["default"]=d.exports},"96da":function(t,i,s){"use strict";s("5e71")}}]);