You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3 lines
20 KiB
3 lines
20 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-apply-apply~pages-communist-communist"],{"12dd":function(t,e,r){"use strict";r("7a82");var n=r("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("acd8"),r("ac1f"),r("00b4");var o=n(r("0122")),i={data:function(){return{}},required:{message:"该字段必填",check:function(t){var e=(0,o.default)(t);return"string"===e?""!==t:"array"===e?t.length>0:"boolean"===e?t:"number"===e||("object"!==e||null!==t&&void 0!==t)}},min:{message:"超过最小限制",check:function(t,e){return parseFloat(t)>=parseFloat(e)||""===t}},max:{message:"超过最小限制",check:function(t,e){return parseFloat(t)<=parseFloat(e)||""===t}},user:{message:"只能数字、字母、下划线组合,下划线不能在开头或结尾",check:function(t){return/^(?!_)(?!.*?_$)(\w)*$/.test(t)||""===t}},idCard:{message:"",check:function(t){return/^([1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3})$|^([1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx]))$|(^[a-zA-Z]{2}\d{7}$|^[a-zA-Z]{1}\d{8}$)/.test(t)||""===t}},mobile:{message:"手机号格式不正确",check:function(t){return/^1[23456789]{1}[0-9]{9}$/.test(t)||""===t}},url:{message:"url地址格式不正确",check:function(t){return/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)||""===t}},chinese:{message:"仅限汉字",check:function(t){return/^[\u4e00-\u9fa5]*$/.test(t)||""===t}},number:{message:"仅限数字",check:function(t){return/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)||""===t}},alphaNum:{message:"仅限字母或数字",check:function(t){return/^[A-Za-z0-9]+$/.test(t)||""===t}},digits:{message:"仅限整数",check:function(t){return/^\d+$/.test(t)||""===t}},rangeLength:{message:"请输入指定范围长度",check:function(t,e){var r=t.length;return Array.isArray(e)?r>=e[0]&&r<=e[1]||""===t:r==e||""===t}},range:{message:"",check:function(t,e){return t>=e[0]&&t<=e[1]||""===t}},equal:{message:"两次输入不一致",check:function(t,e){return t==e||""===t}}};e.default=i},"41e6":function(t,e,r){"use strict";r("7a82");var n=r("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.RegexTool=void 0,e.arrayToString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(t.length<=0)return"";return t.join(",")},e.byteConvert=function(t){if(isNaN(t))return"";var e=Math.floor(Math.log(t)/Math.log(2));e<1&&(e=0);var r=Math.floor(e/10);t/=Math.pow(2,10*r),t.toString().length>t.toFixed(2).toString().length&&(t=t.toFixed(2));return t+" "+["bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]},e.compare=function(t,e){return function(r,n){var o=r[t],i=n[t];return 1==e?o-i:i-o}},e.debounce=function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){var i=arguments,a=this;return e&&clearTimeout(e),o?e||(r=t.apply(this,arguments)):e=setTimeout((function(){r=t.apply(a,i)}),n),r}},e.doAfterLogin=function(){return u.apply(this,arguments)},e.formatNull=function(t){return null===t?"":t},e.formatnumber=c,e.gcj02_to_wgs84=function(t,e){var r=h(t-105,e-35),n=p(t-105,e-35),o=e/180*f,i=Math.sin(o);i=1-d*i*i;var a=Math.sqrt(i);r=180*r/(l*(1-d)/(i*a)*f),n=180*n/(l/a*Math.cos(o)*f);var u=e+r,c=t+n;return[2*t-c,2*e-u]},e.gcj02tobd09=function(t,e){var r=Math.sqrt(t*t+e*e)+2e-5*Math.sin(e*s),n=Math.atan2(e,t)+3e-6*Math.cos(t*s),o=r*Math.cos(n)+.0065,i=r*Math.sin(n)+.0064;return[o,i]},e.getFileType=function(t){return t.substring(t.lastIndexOf(".")+1)},e.isObject=g,e.round=function(t,e){for(var r,n=1,o=0;o<e;o++)n*=10;return r=t*n,r=Math.round(r),c(r/n,e)},e.strin
|
||
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
e.default=function(){return t};var t={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(T){f=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),u=new _(n||[]);return i(a,"_invoke",{value:M(t,r,u)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(T){return{type:"throw",arg:T}}}t.wrap=l;var h={};function p(){}function v(){}function g(){}var m={};f(m,u,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(j([])));y&&y!==r&&o.call(y,u)&&(m=y);var w=g.prototype=p.prototype=Object.create(m);function P(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var r;i(this,"_invoke",{value:function(i,a){function u(){return new e((function(r,u){(function r(i,a,u,c){var s=d(t[i],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==(0,n.default)(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):e.resolve(l).then((function(t){f.value=t,u(f)}),(function(t){return r("throw",t,u,c)}))}c(s.arg)})(i,a,r,u)}))}return r=r?r.then(u,u):u()}})}function M(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=d(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function O(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator["return"]&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=d(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function j(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:L}}function L(){return{value:void 0,done:!0}}return v.prototype=g,i(w,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:v,configurable:!0}),v.displayName=f(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,f(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},P(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.do
|