Files
dy_web/pc/static/js/chunk-40ba7075.c8308d09.js

1 line
17 KiB
JavaScript
Raw Permalink Normal View History

2026-02-09 09:17:06 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-40ba7075"],{"0792":function(e,t,l){"use strict";l.d(t,"d",(function(){return o})),l.d(t,"c",(function(){return n})),l.d(t,"a",(function(){return u})),l.d(t,"b",(function(){return i}));l("d9e2");function a(e){return!e||("{}"===JSON.stringify(e)||"[]"===JSON.stringify(e))}const r=()=>(e,t,l)=>{if(t){const e=/^1[3|4|5|7|8][0-9]\d{8}$/;if(!e.test(t))return l(new Error("请输入正确的手机号"));l()}else;},o=(e,t="phone")=>{if(a(e))return[];const{require:l,validator:o}=e&&{...e},c=[];l&&c.push({required:!0,message:"请输入手机号",trigger:"blur"}),o&&c.push({min:11,message:"手机号格式不正确",trigger:"blur"},{trigger:"blur",validator:r()});const n={};return n[t]=c,{...n}},c=()=>(e,t,l)=>{t&&(/(^\d{15}$)|(^\d{17}(\d|X|x)$)/.test(t)||l(new Error("输入的身份证长度或格式错误")));var a={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外"};a[parseInt(null===t||void 0===t?void 0:t.substr(0,2))]||l(new Error("身份证地区非法"));var r=(t.substr(6,4)+"-"+Number(t.substr(10,2))+"-"+Number(t.substr(12,2))).replace(/-/g,"/"),o=new Date(r);r!==o.getFullYear()+"/"+(o.getMonth()+1)+"/"+o.getDate()&&l(new Error("身份证上的出生日期非法"));for(var c=0,n=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],u="10X98765432",d=0;d<t.length-1;d++)c+=t[d]*n[d];var i=u[c%11];t[t.length-1]!==i&&l(new Error("输入的身份证号非法")),l()},n=(e,t="idEntityCard")=>{if(a(e))return[];const{require:l,validator:r}=e&&{...e},o=[];l&&o.push({required:!0,message:"请输入身份证号",trigger:"blur"}),r&&o.push({trigger:"blur",validator:c()});const n={};return n[t]=o,{...n}},u=(e,t="addredd")=>{if(a(e))return[];const{require:l}=e&&{...e},r=[];l&&r.push({required:!0,message:"请选择地址",trigger:"change"});const o={};return o[t]=r,{...o}},d=()=>(e,t,l)=>{const a=/^([a-zA-Z0-9]+[-_\.]?)+@[a-zA-Z0-9]+\.[a-z]+$/;if(t){if(!a.test(t))return l(new Error("请输入正确的邮箱地址"));l()}else;},i=(e,t="email")=>{if(a(e))return[];const{require:l,validator:r}=e&&{...e},o=[];l&&o.push({required:!0,message:"请输入邮箱",trigger:"blur"}),r&&o.push({trigger:"change",validator:d()});const c={};return c[t]=o,{...c}}},"306e":function(e,t,l){},"323c":function(e,t,l){"use strict";l.r(t);var a=l("7a23"),r=l("7824"),o=l("7902"),c=(l("5d2d"),l("b775"));const n="/mosty-api/mosty-qwzx";function u(e){return Object(c["a"])({url:n+"/tbQwQxj",method:"GET",params:e})}function d(e){return Object(c["a"])({url:n+"/tbQwQxj",method:"POST",data:e})}function i(e){return Object(c["a"])({url:n+"/tbQwQxj/"+e,method:"delete"})}function s(e){return Object(c["a"])({url:n+"/tbQwQxj/"+e,method:"GET"})}function b(e){return Object(c["a"])({url:n+"/tbQwQxj",method:"put",data:e})}var j=l("0792");const m=e=>(Object(a["pushScopeId"])("data-v-79337d83"),e=e(),Object(a["popScopeId"])(),e),O={class:"titleBox"},p=m(()=>Object(a["createElementVNode"])("div",{class:"title"},"人员请休假",-1)),h={class:"btnBox"},v=m(()=>Object(a["createElementVNode"])("span",{style:{"vertical-align":"middle"}},"新增",-1)),f=Object(a["createTextVNode"])(" 查询 "),g=Object(a["createTextVNode"])(" 重置 "),V={class:"tabBox"},w=Object(a["createTextVNode"])("修改"),x=Object(a["createTextVNode"])("删除"),q={key:0,class:"dialog"},C={class:"head_box"},N={class:"title"},y=Object(a["createTextVNode"])("保存"),k=Object(a["createTextVNode"])("关闭");var _={__name:"index",setup(e){const{proxy:t}=Object(a["getCurrentInstance"])(),{D_BZ_QXJLX:l,D_BZ_SQRLX:c}=t.$dict("D_BZ_QXJLX","D_BZ_SQRLX"),n=Object(a["ref"])({pageCurrent:1,pageSize:20}),m=Object(a["ref"])(null),_=Object(a["ref"])([]),z=Object(a["ref"])(!1),B=Object(a["ref"])(!1),E=Object(a["ref"])(