25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

2 satır
2.5KB

  1. import{c as R}from"./index.b88ae75b.js";import{d as j,r as i,J as L,L as w,c as l,e as O,G as h,i as t,g as A,h as a,j as f}from"./index.149277cd.js";const G={class:"flex justify-center"},I=j({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),_=i([]),u=async(s=o.value.pageParams)=>{var m;const e=await R({...s,...n.value});_.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()},v=i(),x=s=>{v.value=s},D=async()=>{d("getBaseProvManDeprt",v.value),d("close",!0)},d=C;return L(()=>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"),P=l("el-dialog");return O(),h(P,{"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:_.value,total:k.value,"row-key":"appId",pagination:!1,onRadioChange:x,onGetTableData:u},null,8,["column","data","total"])]),_:1},8,["model-value"])}}});export{$ as default};