1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66397596"],{"0232":function(e,t,l){"use strict";l("1c6b")},"1c6b":function(e,t,l){},"25b7":function(e,t,l){"use strict";l.d(t,"a",(function(){return o}));var a=l("b775");const c="/mosty-api/mosty-base",o=e=>Object(a["a"])({url:c+"/sysUser/selectPage",method:"GET",params:e})},"2e9d":function(e,t,l){"use strict";var a=l("7a23");const c={class:"title"},o={key:0,class:"flex"},n=["onClick"],r={key:1,class:"font"},d={class:"cnetr"},b={class:"right"};var i={__name:"PageTitle",props:{title:{type:String,default:""},marginBottom:{type:Number,default:0},active:{type:Number,default:0},backgroundColor:{type:String,default:"rgb(255, 255, 255, 0)"}},emits:["update:active","change"],setup(e,{emit:t}){const l=(e,l)=>{t("update:active",l),t("change",l)};return(t,i)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"pageTitle",style:Object(a["normalizeStyle"])(`margin-bottom: ${e.marginBottom}px;background-color: ${e.backgroundColor}`)},[Object(a["createElementVNode"])("div",c,[Array.isArray(e.title)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("ul",o,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(e.title,(t,c)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("li",{class:Object(a["normalizeClass"])([c==e.active?"hedBtn":"","pointer ml10 mr10"]),onClick:e=>l(t,c),key:t},Object(a["toDisplayString"])(t),11,n))),128))])):(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",r,Object(a["toDisplayString"])(e.title),1))]),Object(a["createElementVNode"])("div",d,[Object(a["renderSlot"])(t.$slots,"center")]),Object(a["createElementVNode"])("div",b,[Object(a["renderSlot"])(t.$slots,"default")])],4))}},u=(l("7a6f"),l("6b0d")),s=l.n(u);const j=s()(i,[["__scopeId","data-v-7d703107"]]);t["a"]=j},6641:function(e,t,l){},"76f0":function(e,t,l){},"7a6f":function(e,t,l){"use strict";l("6641")},9660:function(e,t,l){"use strict";l.r(t);var a=l("7a23"),c=l("3ef4"),o=l("7902"),n=l("c5cb"),r=l("2e9d"),d=l("ad28"),b=l("1090"),i=l("2d16"),u=(l("caad"),l("7beb")),s=l("85f9"),j=l("793d"),O=l("25b7");const p={key:0,class:"dialog"},m={class:"head_box"},h={class:"title"},v=Object(a["createTextVNode"])("保存"),f=Object(a["createTextVNode"])("关闭"),V={class:"cntinfo"},C={class:"my_transfer"},g={class:"tree"},N={class:"left"},k={class:"serch"},y=Object(a["createTextVNode"])("查询"),w={class:"btn"},_={class:"right",style:{height:"700px",border:"1px solid #07376d"}};var x={__name:"editAddForm",setup(e,{expose:t}){const{proxy:l}=Object(a["getCurrentInstance"])(),{D_BZ_SF:c}=l.$dict("D_BZ_SF"),n=Object(a["ref"])(null),r=Object(a["ref"])(!1),d={edit:{title:"编辑",url:""},add:{title:"新增",url:""},detail:{title:"详情"}};let b=Object(a["ref"])("add");const i=Object(a["ref"])([]),x=Object(a["ref"])([]),B=Object(a["ref"])({loginName:"",phone:"",idEntityCard:"",fzzt:""}),E=Object(a["reactive"])({size:10,current:1,deptId:""}),z=Object(a["ref"])(0),D=()=>{const e={...E,...B.value};Object(O["a"])(e).then(e=>{z.value=e.total,i.value=e.records})};D();const Z=Object(a["ref"])([]),S=Object(a["ref"])([]),U=Object(a["ref"])([]),I=Object(a["ref"])(),T=e=>{Z.value=e},F=e=>{S.value=e},H=()=>{S.value.forEach(e=>{const t=i.value.indexOf(e),l=x.value.indexOf(e);-1==t&&(i.value.push(e),x.value.splice(l,1))})},L=()=>{let e=Z.value.length;Z.value.forEach(t=>{const l=x.value.indexOf(t),a=i.value.indexOf(t);-1==l&&-1==U.value.indexOf(t.idEntityCard)&&(x.value.push(t),I.value.toggleRowSelection(t,!0),i.value.splice(a,1),e--)}),0!=e&&ElMessage({message:"请勿重复添加",type:"warning"})},M=(e,t)=>{b.value=e,r.value=!0,P()},$=()=>{const e=x.value.map(e=>{const t={ryid:e.id,ssbmid:e.deptId,ssbm:e.deptName,ssbmdm:e.deptCode,lxdh:e.mobile,xm:e.userName,sfzh:e.idEntityCard,whcddm:e.whcd,fl:"01",jh:e.inDustRialId,zzmm:e.politic,hyzk:e.marital,lx:e.type,xbdm:e.sex,mzdm:e.nation};return Object(u["bb"])(t)});Promise.all(e).then(e=>{ElMessage({message:"添加成功",type:"success"}),W()})},R=e=>{E.size=e,D()},X=e=>{E.curre
|