2 lines
3.8 KiB
JavaScript
2 lines
3.8 KiB
JavaScript
import{R as k,a2 as w,S as A}from"./element-plus.258bf9e7.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as R}from"./index.9492d03b.js";import{a as P}from"./custom.13e75d58.js";import{d as f,s as c,a0 as _,o as i,c as m,V as e,M as t,T as s,U as n,W as S,a8 as V}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as j}from"./index.ec401e3b.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const I={class:"detail-popup"},L={key:0},N={style:{"margin-left":"5px",display:"block"}},T={key:1},M=f({name:"customdetail"}),U=f({...M,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(d,{expose:b,emit:g}){c();const u=c();_({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=_({}),p=async a=>{Object.assign(l,a)},y=async a=>{const r=await P({id:a.id});p(r)},B=async()=>{var a;(a=u.value)==null||a.close()},E=()=>{var a;console.log("1111111"),(a=u.value)==null||a.open()},F=()=>{g("close")};return b({open:E,setFormData:p,getDetail:y}),(a,r)=>{const o=k,D=O,v=w,x=A;return i(),m("div",I,[e(R,{ref_key:"popupRef",ref:u,title:"\u5BA2\u6237\u8DDF\u8FDB\u8BB0\u5F55\u8BE6\u60C5",async:!0,width:"80%",onConfirm:B,onClose:F},{default:t(()=>[e(x,{column:2,border:""},{default:t(()=>[e(o,{label:"\u4E3B\u9898","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.name),1)]),_:1}),e(o,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.custom_name),1)]),_:1}),e(o,{label:"\u8054\u7CFB\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.custom_master_name),1)]),_:1}),e(o,{label:"\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.date),1)]),_:1}),e(o,{label:"\u7C7B\u578B","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[e(D,{options:d.dictData.follow_type,value:l.types},null,8,["options","value"])]),_:1}),e(o,{label:"\u6267\u884C\u4EBA","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.executor),1)]),_:1}),e(o,{label:"\u884C\u52A8\u63CF\u8FF0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.description),1)]),_:1}),e(o,{label:"\u4E0B\u6B21\u56DE\u8BBF\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(n(l.next_follow_date),1)]),_:1}),e(o,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[l.annex&&l.annex.length>0?(i(),m("div",L,[(i(!0),m(S,null,V(l.annex,(h,C)=>(i(),m("div",N,[e(v,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:h,target:"_blank"},{default:t(()=>[s("\u6587\u4EF6"+n(C+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(i(),m("div",T," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1})]),_:1},512)])}}});const xe=j(U,[["__scopeId","data-v-75245902"]]);export{xe as default};
|