(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-064f007c"],{"0487":function(t,e,u){},"71f6":function(t,e,u){"use strict";u.d(e,"a",(function(){return i}));u("ac6a"),u("456d");var r=u("b775");function i(t,e){t=t||{};var u=Object.keys(t);return u.forEach((function(u){var i=t[u];"string"===typeof i&&(i={url:i}),i.url="".concat(e).concat(i.url),t[u]=function(t,e){return Object(r["a"])(i,t,e)}})),t}},"81a0":function(t,e,u){"use strict";var r=u("0487"),i=u.n(r);i.a},"96b6":function(t,e,u){"use strict";var r=u("71f6"),i={getReview:"/audit/audit-list",getWxEnterprise:"/auth-enterprise-list",getStaffInfo:"/get-staff-info",postAudit:{url:"/audit/agree",method:"post",useFormData:!0,useIntercept:!1},postBatchApprove:{url:"/audit/batch-agree",method:"post",useFormData:!0,useIntercept:!1},postRefuse:{url:"/audit/refuse",method:"post",useFormData:!0,useIntercept:!1},getAuditDetail:"/audit/batch-log-list",getAuditGroupList:"/auditGroup/audit-group-list",delAuditGroup:"/auditGroup/del-audit-group",auditGroupDetail:"/auditGroup/audit-group-detail",editAuditGroup:{url:"/auditGroup/edit-audit-group",method:"post",useFormData:!0},addAuditGroup:{url:"/auditGroup/add-audit-group",method:"post",useFormData:!0},getAdminList:"/auditGroup/select-manager-list",auditItemList:"/auditGroup/audit-item-list",delAuditItem:"/auditGroup/del-audit-item",addAuditItem:"/auditGroup/add-audit-item",editAuditItem:"/auditGroup/edit-audit-item",auditItemDetail:"/auditGroup/audit-item-detail",findAuditSetting:"/audit/find-audit-setting",saveAuditSetting:"/audit/save-audit-setting"};i=Object(r["a"])(i,"/hb-manage-web"),e["a"]=i},ff23:function(t,e,u){"use strict";u.r(e);var r=function(){var t=this,e=t.$createElement,u=t._self._c||e;return u("div",{staticClass:"audit-group-list"},[u("div",{staticClass:"audit-group-header"},[u("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.toCreateGroup()}}},[t._v("新建审核组")])],1),u("el-table",{attrs:{data:t.groupList}},[u("el-table-column",{attrs:{label:"审核组",prop:"auditGroupName",formatter:function(t,e,u){return u||"--"},"show-overflow-tooltip":""}}),u("el-table-column",{attrs:{label:"管理员","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){var u=e.row;return[t._v(t._s(t._f("formatAuditer")(u.auditPerson)))]}}])}),u("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[u("el-button",{attrs:{type:"text"},on:{click:function(e){return t.toCreateGroup(r)}}},[t._v("编辑")]),u("el-button",{attrs:{type:"text"},on:{click:function(e){return t.onDelGroup(r)}}},[t._v("删除")])]}}])})],1)],1)},i=[],a=u("96b6"),o=a["a"].getAuditGroupList,n=a["a"].delAuditGroup,d={name:"AuditGroupList",data:function(){return{groupList:[]}},created:function(){var t=JSON.parse(localStorage.getItem("haoBanUser")||"{}");this.wxEnterpriseId=t.wxEnterpriseId,this.$emit("showTab","/audit-group-list"),this.getGroupList()},methods:{getGroupList:function(){var t=this;o({wxEnterpriseId:this.wxEnterpriseId}).then((function(e){t.groupList=e.result||[]}))},onDelGroup:function(t){var e=this,u=t.auditGroupName,r=t.auditGroupId;this.$confirm("确定删除【 ".concat(u," 】吗？"),"提示",{type:"warning"}).then((function(){n({auditGroupId:r}).then((function(t){e.$message.success("删除成功！"),e.getGroupList()}))}))},toCreateGroup:function(t){var e=t||{},u=e.auditGroupId,r="/create-audit-group";this.$router.push(u?"".concat(r,"?auditGroupId=").concat(u):r)}},filters:{formatAuditer:function(t){if(!Array.isArray(t))return"--";var e=t.map((function(t){return t.staffName||"--"}));return e.length>0?e.join("、"):"--"}}},s=d,p=(u("81a0"),u("2877")),c=Object(p["a"])(s,r,i,!1,null,"09472d2c",null);e["default"]=c.exports}}]);