選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

2 行
2.5KB

  1. import{c as P}from"./index.52f0c4e2.js";import{d as R,r as i,J as j,L as w,c as l,e as L,G as O,i as t,g as A,h as a,j as f}from"./index.88314652.js";const G={class:"flex justify-center"},I=R({name:"relatedIrsAppDialog"}),$=Object.assign(I,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object,column:{type:Array,default:()=>[{type:"radio",key:"businessStripCode",width:"60"},{label:"\u5355\u4F4D\u540D\u79F0",key:"businessStripName",prop:"businessStripName",minWidth:"150",showOverflowTooltip:!0},{label:"\u5355\u4F4D\u7F16\u7801",key:"businessStripCode",prop:"businessStripCode",minWidth:"150",showOverflowTooltip:!0}]}},emits:["close","getBaseProvManDeprt"],setup(c,{emit:C}){const r=c,n=i({name:void 0}),o=i(),k=i(0),v=i([]),u=async(s=o.value.pageParams)=>{var m;const e=await P({...s,...n.value});v.value=e.data,await w(),o.value.setRadio(((m=r==null?void 0:r.data)==null?void 0:m.businessStripCode)||"")},S=()=>{o.value.pageParams.pageNumber=1,u()},N=()=>{o.value.pageParams.pageNumber=1,n.value.businessStripName=void 0,u()},_=i(),x=s=>{_.value=s},D=async()=>{d("getBaseProvManDeprt",_.value),d("close",!0)},d=C;return j(()=>r.visible,async s=>{s?(await w(),await u()):o.value.tableRef.clearSelection()}),(s,e)=>{const m=l("el-input"),g=l("el-form-item"),y=l("el-col"),p=l("el-button"),B=l("el-row"),T=l("el-form"),V=l("table-list"),h=l("el-dialog");return L(),O(h,{"model-value":c.visible,title:"\u9009\u62E9\u5355\u4F4D",width:840,onClose:e[2]||(e[2]=b=>d("close"))},{footer:t(()=>[A("div",G,[a(p,{type:"primary",onClick:D},{default:t(()=>e[5]||(e[5]=[f("\u786E\u5B9A")])),_:1}),a(p,{onClick:e[1]||(e[1]=b=>d("close"))},{default:t(()=>e[6]||(e[6]=[f("\u53D6\u6D88")])),_:1})])]),default:t(()=>[a(T,{model:n.value,"label-suffix":":"},{default:t(()=>[a(B,{gutter:24},{default:t(()=>[a(y,{span:12},{default:t(()=>[a(g,{label:"\u5355\u4F4D\u540D\u79F0"},{default:t(()=>[a(m,{modelValue:n.value.businessStripName,"onUpdate:modelValue":e[0]||(e[0]=b=>n.value.businessStripName=b),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(y,{span:12},{default:t(()=>[a(g,{class:"search_btn"},{default:t(()=>[a(p,{type:"primary",onClick:S},{default:t(()=>e[3]||(e[3]=[f("\u641C\u7D22")])),_:1}),a(p,{onClick:N},{default:t(()=>e[4]||(e[4]=[f("\u91CD\u7F6E")])),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(V,{ref_key:"tableListRef",ref:o,column:c.column,data:v.value,total:k.value,"row-key":"appId",pagination:!1,style:{height:"600px",overflow:"auto"},onRadioChange:x,onGetTableData:u},null,8,["column","data","total"])]),_:1},8,["model-value"])}}});export{$ as default};