2 lines
9.4 KiB
JavaScript
2 lines
9.4 KiB
JavaScript
|
import{a6 as qt,b as zt,P as Gt,Q as Ht,J as Kt,w as Ot,M as Xt,R as Yt}from"./element-plus.ff90c99c.js";import{t as Zt}from"./task.1f158437.js";import{d as te,r as f,$ as St,o as e,P as p,Q as u,a as o,W as a,U as F,R as ee,V as i,c as s,F as D,a9 as E,T as g,u as Pt,bg as ae,bf as oe}from"./@vue.f8dfc830.js";import{d as le}from"./index.c5585224.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const c=y=>(ae("data-v-70aa7ab5"),y=y(),oe(),y),se={class:"card-header"},ie=c(()=>o("span",{class:"tit"},"\u4EFB\u52A1\u540D\u79F0\uFF1A",-1)),ue={style:{"margin-top":"1vh",display:"flex"}},re={key:0,style:{display:"flex","justify-content":"space-between",width:"100%"},class:"tit"},ne={key:1},de={key:0,style:{width:"25.5vw"}},pe=c(()=>o("div",{class:"tit"},"\u7B2C\u4E00\u9636\u6BB5",-1)),_e={key:1,style:{width:"25.5vw"}},ce=c(()=>o("div",{class:"tit"},"\u7B2C\u4E8C\u9636\u6BB5",-1)),ve={key:2,style:{width:"25.5vw"}},me=c(()=>o("div",{class:"tit"},"\u7B2C\u4E09\u9636\u6BB5",-1)),ge={key:3,style:{width:"25.5vw"}},he=c(()=>o("div",{class:"tit"},"\u7B2C\u56DB\u9636\u6BB5",-1)),we={key:2,style:{width:"100%"}},ke={class:"tit"},ye={key:3,style:{width:"100%"}},fe={class:"tit"},Fe={key:4,style:{width:"100%"}},De={key:5,class:"tit"},Ee={key:0,style:{"margin-top":"1vh"}},Be=c(()=>o("div",{class:"tit"}," \u5B8C\u6210\u8BE6\u60C5\uFF1A ",-1)),xe={key:1,style:{"margin-top":"1vh"}},be=c(()=>o("div",{class:"tit"}," \u5B8C\u6210\u8BE6\u60C5\uFF1A ",-1)),Ce={class:"dialog-footer"},Ae=te({__name:"popTaskDetail",setup(y,{expose:$t}){const v=f(!1),B=f(!0),b=f(""),t=f(""),Qt=St(["town_task_type_marketing_director_4","town_task_type_marketing_director_9","town_task_type_marketing_director_8"]),Rt=St(["town_task_type_marketing_director_3","town_task_type_marketing_director_7"]),Ut=h=>{B.value=!0,b.value=h,v.value=!0,Zt({task_id:h.task.id}).then(r=>{t.value=r,B.value=!1,console.log(t.value)})},C=(h,r)=>h.reduce((m,l)=>m+l[r],0),jt=()=>{v.value=!1};return $t({openDeatl:Ut}),(h,r)=>{const w=zt,m=qt,l=Gt,k=Ht,Jt=Kt,x=Ot,Mt=Xt,Wt=Yt;return e(),p(Mt,{modelValue:v.value,"onUpdate:modelValue":r[2]||(r[2]=n=>v.value=n),title:"\u4EFB\u52A1\u8BE6\u60C5",width:"30%"},{footer:u(()=>{var n;return[o("span",Ce,[a(x,{onClick:r[0]||(r[0]=_=>v.value=!1)},{default:u(()=>[F("\u53D6\u6D88")]),_:1}),((n=b.value)==null?void 0:n.task.status)==2?(e(),p(x,{key:0,type:"primary",onClick:jt},{default:u(()=>[F(" \u7ED3\u7B97 ")]),_:1})):(e(),p(x,{key:1,type:"primary",onClick:r[1]||(r[1]=_=>v.value=!1)},{default:u(()=>[F(" \u786E\u5B9A ")]),_:1}))])]}),default:u(()=>[ee((e(),p(Jt,{class:"box-card"},{header:u(()=>{var n,_;return[o("div",se,[ie,o("span",null,i((_=(n=t.value)==null?void 0:n.detail)==null?void 0:_.title),1)])]}),default:u(()=>{var n,_,A,T,V,I,L,N,S,P,$,Q,R,U,j,J,M,W,q,z,G,H,K,O,X,Y,Z,tt,et,at,ot,lt,st,it,ut,rt,nt,dt,pt,_t,ct,vt,mt,gt,ht,wt,kt,yt,ft,Ft,Dt,Et,Bt,xt,bt,Ct,At,Tt,Vt,It,Lt,Nt;return[o("div",ue,[((_=(n=t.value)==null?void 0:n.detail)==null?void 0:_.task_type_value)=="town_task_type_5"?(e(),s("div",re,[o("div",null," \u4EA4\u6613\u91
|