(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4aa959c4"],{"207c":function(e,t,c){"use strict";c.r(t);var a=c("733d"),r=c("e8f3"),n=c("2e1b"),o=(c("22fa"),c("7150")),i=c("a410"),l=(c("14d9"),c("7a23")),s=c("69dd"),d=c.n(s),b=c("6c43"),j=c("2849"),O=c("6605"),m=c("e8dc"),p=c("aeeb"),u=c("7222"),k=c("ed08"),_=c("6be8"),v=c("5d2d");const f=e=>(Object(l["pushScopeId"])("data-v-6699c230"),e=e(),Object(l["popScopeId"])(),e),g={class:"bounty-audit-detail"},y={class:"user-info"},N={class:"avatar-wrapper"},V={class:"title-wrapper"},E={class:"title"},B={class:"time-wrapper"},h={class:"time-wrapper"},C={key:0,class:"submit-content"},w={class:"label"},S=["onClick"],D={class:"text-box"},x=f(()=>Object(l["createElementVNode"])("img",{src:d.a},null,-1)),F={class:"label"},I={class:"value"},A={key:1,class:"submit-content"},z={class:"label"},T={class:"time"},q={class:"value"},J={key:2,class:"bottom-action"},L={key:3,class:"bottom-action"};var M={__name:"bountyAuditDetail",setup(e){const t=Object(O["d"])(),c=Object(l["reactive"])({item:{step_group:[],reject_mark:[]}}),s=()=>{t.push({path:"/message/chat/detail",query:{user_hid:c.item.d_user_hid,task_id:c.item.task_id,did:c.item.did}})},d=()=>{t.push({path:"/bounty/reportUser/"+c.item.task_id,query:{did:c.item.did,user_hid:c.item.d_user_hid}})};Object(l["onMounted"])(async()=>{const e=v["a"].getItem("audit_item"),t=await Object(u["l"])({did:e.did,task_id:e.task_id});t.data.reject_mark&&(t.data.reject_mark=JSON.parse(t.data.reject_mark)),c.item=t.data});const f=()=>{Object(p["i"])({onConfirm:async e=>{await Object(u["c"])({did:c.item.did,state:m["c"].Reject,re_pic:e.re_pic,re_content:e.re_content}),Object(b["c"])("拒绝成功"),t.go(-1)}})},M=async()=>{await Object(j["a"])({message:"是否通过悬赏任务",title:"审核通过"}),await Object(u["c"])({did:c.item.did,state:m["c"].Success,re_pic:"",re_content:""}),Object(b["c"])("审核成功"),t.go(-1)};return(e,t)=>{const b=i["a"],j=o["a"],O=n["a"],p=r["a"],u=a["a"];return Object(l["openBlock"])(),Object(l["createElementBlock"])("div",g,[Object(l["createVNode"])(b,{title:"审核任务",fixed:!1,border:!1},{right:Object(l["withCtx"])(()=>[Object(l["createElementVNode"])("span",{style:{color:"white"},onClick:d},"举报用户")]),_:1}),Object(l["createElementVNode"])("div",y,[Object(l["createElementVNode"])("div",N,[Object(l["createVNode"])(j,{src:c.item.d_avatar},null,8,["src"]),Object(l["createVNode"])(O,{icon:"chat-o",plain:"",color:"#FF431D",size:"small",round:"",onClick:s},{default:Object(l["withCtx"])(()=>[Object(l["createTextVNode"])(" 联系 ")]),_:1})]),Object(l["createElementVNode"])("div",V,[Object(l["createElementVNode"])("div",E,Object(l["toDisplayString"])(c.item.title),1),Object(l["createElementVNode"])("div",{class:"user-id",onClick:t[0]||(t[0]=e=>Object(l["unref"])(k["b"])(c.item.d_user_hid))}," 提交用户ID: "+Object(l["toDisplayString"])(c.item.d_user_hid),1),Object(l["createElementVNode"])("div",B," 报名时间: "+Object(l["toDisplayString"])(Object(l["unref"])(_["c"])(1e3*c.item.grab_time)),1),Object(l["createElementVNode"])("div",h," 提交时间: "+Object(l["toDisplayString"])(Object(l["unref"])(_["c"])(1e3*c.item.submit_time)),1)])]),c.item.step_group.length?(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",C,[Object(l["createVNode"])(p,{type:"blue",title:"用户提交信息"}),(Object(l["openBlock"])(!0),Object(l["createElementBlock"])(l["Fragment"],null,Object(l["renderList"])(c.item.step_group,(e,t)=>(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{class:"submit-item",key:t},[e.step_type===Object(l["unref"])(m["e"]).CollectInfo?(Object(l["openBlock"])(),Object(l["createElementBlock"])(l["Fragment"],{key:0},[Object(l["createElementVNode"])("div",w,Object(l["toDisplayString"])(e.step_desc),1),Object(l["createElementVNode"])("div",{class:"value info-box",onClick:t=>Object(l["unref"])(k["b"])(e.user_content)},[Object(l["createElementVNode"])("span",D,Object(l["toDisplayString"])(e.user_content),1),x],8,S)],64)):Object(l["createCommentVNode"])("",!0),e.step_type===Object(l["unref"])(m["e"]).CollectPic?(Object(l["openBlock"])(),Object(l["createElementBlock"])(l["Fragment"],{key:1},[Object(l["createElementVNode"])("div",F,Object(l["toDisplayString"])(e.step_desc),1),Object(l["createElementVNode"])("div",I,[Object(l["createVNode"])(u,{url:e.user_content},null,8,["url"])])],64)):Object(l["createCommentVNode"])("",!0)]))),128))])):Object(l["createCommentVNode"])("",!0),c.item.reject_mark.length?(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",A,[Object(l["createVNode"])(p,{type:"primary",title:"拒绝信息"}),(Object(l["openBlock"])(!0),Object(l["createElementBlock"])(l["Fragment"],null,Object(l["renderList"])(c.item.reject_mark,e=>(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{class:"submit-item",key:e.re_content},[Object(l["createElementVNode"])("div",z,[Object(l["createElementVNode"])("span",null,Object(l["toDisplayString"])(e.re_content),1),Object(l["createElementVNode"])("span",T,"("+Object(l["toDisplayString"])(Object(l["unref"])(_["c"])(1e3*e.re_time))+")",1)]),Object(l["createElementVNode"])("div",q,[Object(l["createVNode"])(u,{url:e.re_pic},null,8,["url"])])]))),128))])):Object(l["createCommentVNode"])("",!0),c.item.d_state===Object(l["unref"])(m["c"]).Submit?(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",J,[Object(l["createVNode"])(O,{onClick:f},{default:Object(l["withCtx"])(()=>[Object(l["createTextVNode"])("拒绝悬赏")]),_:1}),Object(l["createVNode"])(O,{block:"",color:"linear-gradient(320deg, #FB4724, #FD8141)",onClick:M},{default:Object(l["withCtx"])(()=>[Object(l["createTextVNode"])(" 通过悬赏 ")]),_:1})])):(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",L,[Object(l["createVNode"])(O,{block:"",color:Object(l["unref"])(m["c"]).Success===c.item.d_state?"linear-gradient(90deg, #93EFA8, #3EAB57)":"linear-gradient(90deg, #4F93D2, #2BA8F9)",disabled:[Object(l["unref"])(m["c"]).Abort].includes(c.item.d_state)},{default:Object(l["withCtx"])(()=>[Object(l["createTextVNode"])(Object(l["toDisplayString"])(Object(l["unref"])(m["g"])(c.item.d_state)),1)]),_:1},8,["color","disabled"])]))])}}},P=(c("94df"),c("6b0d")),R=c.n(P);const U=R()(M,[["__scopeId","data-v-6699c230"]]);t["default"]=U},"69dd":function(e,t,c){e.exports=c.p+"img/copy_data.f19dbeea.png"},"6ae1":function(e,t,c){},7150:function(e,t,c){"use strict";var a=c("7a23"),r=c("f286");const n=["src"],o={key:0,class:"overlay"},i=["src"];var l={__name:"avatar",props:{src:{type:String,default:"",required:!0},overlayIcon:{type:String,default:""},size:{type:String,default:""},shape:{type:String,default:""},vip:{type:Number,default:0}},setup(e){const t=e,c=Object(r["a"])(),l=Object(a["reactive"])({avatar:""});Object(a["watch"])(()=>t.src,()=>{l.avatar=t.src||c.appConfig.icon},{immediate:!0});const s=()=>{l.avatar=c.appConfig.icon};return(t,c)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:Object(a["normalizeClass"])(["common-avatar",[e.shape,e.size,"vip-"+e.vip]]),onClick:c[0]||(c[0]=(...e)=>t.handleClick&&t.handleClick(...e))},[Object(a["createElementVNode"])("img",{src:l.avatar,class:"avatar",onError:s},null,40,n),e.overlayIcon?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",o,[Object(a["createElementVNode"])("img",{src:e.overlayIcon},null,8,i)])):Object(a["createCommentVNode"])("",!0)],2))}},s=(c("9945"),c("6b0d")),d=c.n(s);const b=d()(l,[["__scopeId","data-v-49c09412"]]);t["a"]=b},"733d":function(e,t,c){"use strict";var a=c("aee2"),r=(c("68ef"),c("cb51"),c("3743"),c("09fe"),c("7a23"));const n={key:0,class:"tips-wrapper"};function o(e,t,c,o,i,l){const s=a["a"];return Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{class:"image-preview",onClick:t[0]||(t[0]=e=>l.preview(c.url))},[Object(r["createVNode"])(s,{src:c.url},null,8,["src"]),c.info?(Object(r["openBlock"])(),Object(r["createElementBlock"])("div",n,Object(r["toDisplayString"])(c.info),1)):Object(r["createCommentVNode"])("",!0)])}var i=c("6c43"),l=c("0ae8"),s={props:{url:{type:String,default:""},disabled:{type:Boolean,default:!1},info:{type:String,default:""}},methods:{preview(e){this.disabled?Object(i["c"])("报名后即可查看大图"):Object(l["a"])([e])}}},d=(c("86e1"),c("6b0d")),b=c.n(d);const j=b()(s,[["render",o],["__scopeId","data-v-caba0366"]]);t["a"]=j},7972:function(e,t,c){},"86e1":function(e,t,c){"use strict";c("b4c0")},"94df":function(e,t,c){"use strict";c("6ae1")},9945:function(e,t,c){"use strict";c("7972")},b4c0:function(e,t,c){}}]);