(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e16aa36","chunk-3ee1970c","chunk-2d207803","chunk-2d0da01e"],{"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},1694:function(e,t,n){"use strict";var o=n("7a23"),r=Object(o["withScopeId"])("data-v-571a5ff5");Object(o["pushScopeId"])("data-v-571a5ff5");var a={key:0},c={class:"avatar-uploader"},i={class:"avatar-uploader"},l={class:"ant-upload-text"},u={key:1,class:"avatar-uploader-wrap"},d={class:"avatar-uploader"},s={class:"ant-upload-text"};Object(o["popScopeId"])();var b=r((function(e,t,n,b,m,f){var O=Object(o["resolveComponent"])("a-image"),j=Object(o["resolveComponent"])("LoadingOutlined"),p=Object(o["resolveComponent"])("CloseCircleOutlined"),h=Object(o["resolveComponent"])("PlusOutlined"),v=Object(o["resolveComponent"])("a-row");return Object(o["openBlock"])(),Object(o["createBlock"])("div",null,[n.urls.length>0?(Object(o["openBlock"])(),Object(o["createBlock"])("div",a,[Object(o["createVNode"])(v,{wrap:!0},{default:r((function(){return[(Object(o["openBlock"])(!0),Object(o["createBlock"])(o["Fragment"],null,Object(o["renderList"])(n.urls,(function(e,r){return Object(o["openBlock"])(),Object(o["createBlock"])("div",{class:"avatar-uploader-wrap",style:{margin:"5px"},key:r},[Object(o["createVNode"])("div",c,[e?(Object(o["openBlock"])(),Object(o["createBlock"])(O,{key:0,onClick:t[1]||(t[1]=Object(o["withModifiers"])((function(){}),["stop"])),style:{overflow:"hidden","max-width":"100%","max-height":"100%"},width:"100%",preview:!0,src:e.url,alt:n.alt},null,8,["src","alt"])):Object(o["createCommentVNode"])("",!0),Object(o["createVNode"])("div",null,[Object(o["withDirectives"])(Object(o["createVNode"])(j,null,null,512),[[o["vShow"],n.loading]])])]),n.disabled?Object(o["createCommentVNode"])("",!0):Object(o["withDirectives"])((Object(o["openBlock"])(),Object(o["createBlock"])(p,{key:0,class:"close-btn",onClick:Object(o["withModifiers"])((function(e){return f.remove(r)}),["stop"])},null,8,["onClick"])),[[o["vShow"],e]])])})),128)),Object(o["withDirectives"])(Object(o["createVNode"])("div",{class:"avatar-uploader-wrap",style:{margin:"5px"},onClick:t[2]||(t[2]=function(){return f.handleImg&&f.handleImg.apply(f,arguments)})},[Object(o["createVNode"])("div",i,[Object(o["createVNode"])("div",null,[Object(o["withDirectives"])(Object(o["createVNode"])(j,null,null,512),[[o["vShow"],n.loading]]),Object(o["withDirectives"])(Object(o["createVNode"])(h,null,null,512),[[o["vShow"],!n.loading]]),Object(o["createVNode"])("div",l,Object(o["toDisplayString"])(n.tips),1)])])],512),[[o["vShow"],n.urls.length0?(Object(o["openBlock"])(),Object(o["createBlock"])(T,{key:0},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(R,{title:"确认审核通过这".concat(V.selected.length,"条数据?"),"ok-text":"确定","cancel-text":"取消",onConfirm:t[4]||(t[4]=function(e){return k.handleAuditMul(20)})},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(B,{type:"primary"},{default:Object(o["withCtx"])((function(){return[O]})),_:1})]})),_:1},8,["title"]),Object(o["createVNode"])(R,{title:"确认审核拒绝这".concat(V.selected.length,"条数据?"),"ok-text":"确定","cancel-text":"取消",onConfirm:t[5]||(t[5]=function(e){return k.handleAuditMul(30)})},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(B,{type:"primary"},{default:Object(o["withCtx"])((function(){return[j]})),_:1})]})),_:1},8,["title"])]})),_:1})):Object(o["createCommentVNode"])("",!0)]})),status:Object(o["withCtx"])((function(e){var t=e.record;return[Object(o["withDirectives"])(Object(o["createVNode"])(L,{color:"success"},{default:Object(o["withCtx"])((function(){return[p]})),_:2},1536),[[o["vShow"],"20"==t.status]]),Object(o["withDirectives"])(Object(o["createVNode"])(L,{color:"error"},{default:Object(o["withCtx"])((function(){return[h]})),_:2},1536),[[o["vShow"],"30"==t.status]]),Object(o["withDirectives"])(Object(o["createVNode"])(L,{color:"processing"},{default:Object(o["withCtx"])((function(){return[v]})),_:2},1536),[[o["vShow"],"10"==t.status]])]})),cover:Object(o["withCtx"])((function(e){var t=e.record;return[Object(o["createVNode"])(U,{src:t.cover,width:"66px",height:"66px"},null,8,["src"])]})),action:Object(o["withCtx"])((function(n){var r=n.record;return[Object(o["createVNode"])("div",null,[Object(o["createVNode"])(T,null,{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(B,{size:"small",type:"link",onClick:function(t){return e.handleDetail(r)}},{default:Object(o["withCtx"])((function(){return[g]})),_:2},1032,["onClick"]),Object(o["createVNode"])(J,{type:"vertical"}),Object(o["createVNode"])(E,null,{overlay:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(z,null,{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(q,{disabled:"10"!==r.status},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(B,{size:"small",type:"link",disabled:"10"!==r.status,onClick:function(e){return k.handleAudit(r,20)}},{default:Object(o["withCtx"])((function(){return[C]})),_:2},1032,["disabled","onClick"])]})),_:2},1032,["disabled"]),Object(o["createVNode"])(q,{disabled:"10"!==r.status},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(B,{size:"small",type:"link",disabled:"10"!==r.status,onClick:function(e){return k.handleAudit(r,30)}},{default:Object(o["withCtx"])((function(){return[x]})),_:2},1032,["disabled","onClick"])]})),_:2},1032,["disabled"])]})),_:2},1024)]})),default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])("a",{class:"ant-dropdown-link",onClick:t[6]||(t[6]=Object(o["withModifiers"])((function(){}),["prevent"]))},[w,Object(o["createVNode"])(P)])]})),_:2},1024)]})),_:2},1024)])]})),_:1},8,["where","parseData","selection","onDone","datasource","columns"])]})),_:1}),Object(o["createVNode"])(H,{ref:"addedit",onReload:e.reload},null,8,["onReload"])])}var V=n("5530"),k=(n("4de4"),n("d81d"),n("d3b7"),n("25f0"),n("6a85")),y=n("2c2a"),_=n("2085"),S=n("c1df"),D=n.n(S),I=n("5502"),B=n("35c8"),T={status:void 0,name:void 0,number:void 0},F={components:{applyEdit:_["default"],DownOutlined:B["a"]},mixins:[k["listMixin"]],computed:Object(V["a"])(Object(V["a"])({},Object(I["b"])(["userInfo"])),{},{customColumns:function(){var e=this;return this.columns.filter((function(t){return"saas"==e.userInfo.adminable_type||"partner"!==t.dataIndex}))}}),data:function(){return{selected:[],my_creating_card_nums:0,moment:D.a,agentOptions:[],toDateString:y["toDateString"],defaultWhere:JSON.parse(JSON.stringify(T)),whereFormData:{},total:0,url:"/manager/travelPeopleCommentActive/getApplyList",columns:[{title:"编号",align:"center",dataIndex:"number"},{title:"名称",align:"center",dataIndex:"name"},{title:"封面",align:"center",dataIndex:"cover",slots:{customRender:"cover"}},{title:"状态",align:"center",dataIndex:"status",slots:{customRender:"status"}},{title:"票数",align:"center",dataIndex:"vote_nums",customRender:function(e){var t=e.record;return"20"==t.status?t.vote_nums||0:"--"}},{title:"操作",dataIndex:"action",width:150,align:"center",slots:{customRender:"action"}}]}},methods:{handleAudit:function(e,t){var n=this,o=Object.assign({},e);o.status=t,this.$post("/manager/travelPeopleCommentActive/editApply",o).then((function(e){n.reload(),n.$message.success(e.msg)}))},handleAuditMul:function(e){var t=this,n=this.selected.map((function(e){return e.id}));n.length&&(n=n.toString());var o={ids:n};o.status=e,this.$post("/manager/travelPeopleCommentActive/editStatus",o).then((function(e){t.reload(),t.$message.success(e.msg)}))},handleMultiple:function(){this.selectd.length<2?this.$message.error("请至少选择一条数据"):console.log("this.selected",this.selected)}}},$=n("6b0d"),A=n.n($);const M=A()(F,[["render",N]]);t["default"]=M},6556:function(e,t,n){"use strict";n("35ff")},"6a85":function(e,t,n){"use strict";n.r(t),n.d(t,"listMixin",(function(){return o}));var o={data:function(){return{total:0}},methods:{eleTableDone:function(e,t,n){this.total=n},reload:function(){this.$refs.table.reload()},search:function(){this.$refs.table.reload({page:1})},parseData:function(e){return console.log("res",e),console.log("res.data.data",e.data.data.length),{code:1==e.code?0:e.code,data:e.data.data,count:e.data.total,msg:e.msg}},handleDelete:function(e){var t=this,n=e.id;this.$post(this.deleteUrl,{id:n},!0).then((function(){t.reload()}))},handleDetail:function(e){this.$refs.addedit.openDetail(e)},reset:function(){var e=this;this.whereFormData=JSON.parse(JSON.stringify(this.defaultWhere)),this.$nextTick((function(){e.reload()}))}},created:function(){this.whereFormData=JSON.parse(JSON.stringify(this.defaultWhere))}}},"841c":function(e,t,n){"use strict";var o=n("d784"),r=n("825a"),a=n("1d80"),c=n("129f"),i=n("14c3");o("search",(function(e,t,n){return[function(t){var n=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,this,e);if(o.done)return o.value;var a=r(this),l=String(e),u=a.lastIndex;c(u,0)||(a.lastIndex=0);var d=i(a,l);return c(a.lastIndex,u)||(a.lastIndex=u),null===d?-1:d.index}]}))},a196:function(e,t,n){"use strict";n.r(t),n.d(t,"chooseImgMixin",(function(){return o}));var o={data:function(){return{currentFiled:"",imgVisible:!1}},methods:{handleImg:function(e){this.currentFiled=e,this.imgVisible=!0},imgConfirm:function(e){this.form[this.currentFiled]=e.imageList[e.imageList.length-1].url,this.imgVisible=!1}}}},fe02:function(e,t,n){"use strict";n("55a4")}}]);