cloud-web-corejs 1.0.226 → 1.0.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/xform/form-designer/designer.js +708 -378
- package/src/components/xform/form-designer/form-widget/container-widget/containerMixin.js +1 -110
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -282
- package/src/components/xform/form-designer/form-widget/container-widget/detail-pane-widget.vue +3 -2
- package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +29 -5
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +104 -62
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +38 -38
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +65 -46
- package/src/components/xform/form-designer/form-widget/indexMixin.js +1 -179
- package/src/components/xform/form-designer/indexMixin.js +1 -823
- package/src/components/xform/form-designer/refMixinDesign.js +1 -28
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +1 -324
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +3 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +102 -36
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +68 -24
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClick-editor.vue +14 -6
- package/src/components/xform/form-designer/toolbar-panel/indexMixin.js +1 -566
- package/src/components/xform/form-designer/widget-panel/indexMixin.js +1 -290
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +3 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -378
- package/src/components/xform/form-render/container-item/data-table-mixin.js +214 -180
- package/src/components/xform/form-render/container-item/detail-item.vue +72 -48
- package/src/components/xform/form-render/container-item/table2-item.vue +40 -10
- package/src/components/xform/form-render/dynamicDialogRender.js +1 -195
- package/src/components/xform/form-render/refMixin.js +1 -29
- package/src/components/xform/mixins/scriptHttp.js +1 -172
- package/src/components/xform/utils/smart-vue-i18n/index.js +2 -1
- package/src/components/xform/utils/util.js +7 -1
- package/src/components/xform/utils/validators.js +1 -133
- package/src/router/index.js +2 -2
|
@@ -4,176 +4,5 @@ import {decrypt} from "@base/utils/aes";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
let modules = {};
|
|
7
|
-
modules = {
|
|
8
|
-
methods: {
|
|
9
|
-
/*formScriptHttp(opts){
|
|
10
|
-
return this.formHttp({
|
|
11
|
-
...opts
|
|
12
|
-
});
|
|
13
|
-
},*/
|
|
14
|
-
handleDecryptData(data) {
|
|
15
|
-
if (data) {
|
|
16
|
-
if (Array.isArray(data)) {
|
|
17
|
-
data.forEach(item => {
|
|
18
|
-
this.handleDecryptData(item)
|
|
19
|
-
})
|
|
20
|
-
} else if (Object.prototype.toString.call(data) === "[object Object]") {
|
|
21
|
-
Object.keys(data).forEach(key => {
|
|
22
|
-
|
|
23
|
-
let value = data[key];
|
|
24
|
-
if (value !== null && value !== undefined) {
|
|
25
|
-
if (Object.prototype.toString.call(data[key]) === "[object String]") {
|
|
26
|
-
let str = "ATEN*-";
|
|
27
|
-
if (value.startsWith(str)) {
|
|
28
|
-
data[key] = decrypt(value.slice(str.length));
|
|
29
|
-
}
|
|
30
|
-
} else {
|
|
31
|
-
this.handleDecryptData(data[key])
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
})
|
|
35
|
-
} else if (Object.prototype.toString.call(data) === "[object String]") {
|
|
36
|
-
let str = "ATEN*-";
|
|
37
|
-
if (data.startsWith(str)) {
|
|
38
|
-
data = decrypt(data.slice(str.length));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return data;
|
|
43
|
-
},
|
|
44
|
-
getHttpTarget() {
|
|
45
|
-
return this.getFormRef ? this.getFormRef() : this;
|
|
46
|
-
},
|
|
47
|
-
formHttp(opts) {
|
|
48
|
-
let data = opts.data;
|
|
49
|
-
let scriptCode = opts.scriptCode ? opts.scriptCode.trim() : null;
|
|
50
|
-
let formCode = opts.formCode ? opts.formCode.trim() : null;
|
|
51
|
-
let isLoading = opts.isLoading ?? true;
|
|
52
|
-
let success = opts.success;
|
|
53
|
-
let fail = opts.fail;
|
|
54
|
-
let error = opts.error;
|
|
55
|
-
|
|
56
|
-
let that = this;
|
|
57
|
-
let reportTemplate = that.getFormRef ? that.getFormRef().reportTemplate : that.reportTemplate;
|
|
58
|
-
if (scriptCode && !formCode) {
|
|
59
|
-
let arr = scriptCode.split("/").filter(item => item)
|
|
60
|
-
if (arr.length > 1) {
|
|
61
|
-
formCode = arr[0];
|
|
62
|
-
scriptCode = arr[1];
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
if (!formCode) {
|
|
66
|
-
formCode = reportTemplate.formCode
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
delete opts.data
|
|
70
|
-
delete opts.scriptCode
|
|
71
|
-
delete opts.formCode
|
|
72
|
-
delete opts.isLoading
|
|
73
|
-
delete opts.success
|
|
74
|
-
delete opts.fail
|
|
75
|
-
delete opts.error
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
let getServiceName = (callback) => {
|
|
79
|
-
|
|
80
|
-
if (formCode && formCode !== reportTemplate.formCode) {
|
|
81
|
-
this.getHttpTarget().$http({
|
|
82
|
-
aes: true,
|
|
83
|
-
url: USER_PREFIX + `/formScript/getServiceName`,
|
|
84
|
-
method: `post`,
|
|
85
|
-
data: {
|
|
86
|
-
formCode,
|
|
87
|
-
scriptCode
|
|
88
|
-
},
|
|
89
|
-
isLoading,
|
|
90
|
-
// loadingTarget: this.getLoadingTarget(),
|
|
91
|
-
// modalStrictly: true,
|
|
92
|
-
success: res => {
|
|
93
|
-
let serviceName = res.objx;
|
|
94
|
-
if (serviceName) {
|
|
95
|
-
callback(serviceName)
|
|
96
|
-
} else {
|
|
97
|
-
this.$baseAlert("服务名不存在")
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
} else {
|
|
102
|
-
callback(reportTemplate.serviceName)
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
let toDo = () => {
|
|
107
|
-
return new Promise((resolve, reject) => {
|
|
108
|
-
getServiceName(searviceName => {
|
|
109
|
-
let reqData;
|
|
110
|
-
reqData = data;
|
|
111
|
-
|
|
112
|
-
let reportGlobalMap = getReportGlobalMap() || {};
|
|
113
|
-
let url = `/${searviceName}/bd_api/${formCode}/${scriptCode}`;
|
|
114
|
-
return this.getHttpTarget().$http({
|
|
115
|
-
aes: true,
|
|
116
|
-
url: url,
|
|
117
|
-
method: `post`,
|
|
118
|
-
// loadingTarget: this.getLoadingTarget(),
|
|
119
|
-
isLoading,
|
|
120
|
-
...opts,
|
|
121
|
-
data: {
|
|
122
|
-
// scriptCode: scriptCode,
|
|
123
|
-
fixeData: reportGlobalMap,
|
|
124
|
-
...reqData
|
|
125
|
-
},
|
|
126
|
-
success: res => {
|
|
127
|
-
if (res.objx) {
|
|
128
|
-
res.objx = this.handleDecryptData(res.objx);
|
|
129
|
-
}
|
|
130
|
-
if (opts.successMsg) {
|
|
131
|
-
this.$message({
|
|
132
|
-
message: res.content,
|
|
133
|
-
type: 'success',
|
|
134
|
-
duration: 1000
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
success && success(res);
|
|
138
|
-
if (opts.wfConfig) {
|
|
139
|
-
let formTarget = this.getFormRef ? this.getFormRef() : this;
|
|
140
|
-
let wfConfig = opts.wfConfig(res);
|
|
141
|
-
if (wfConfig) {
|
|
142
|
-
// let reportTemplate = this.getFormRef ? this.getFormRef().reportTemplate : this.reportTemplate;
|
|
143
|
-
let serviceId = wfConfig.serviceId || reportTemplate?.serviceName;
|
|
144
|
-
let opt2 = Object.assign({}, wfConfig, {
|
|
145
|
-
serviceId: serviceId
|
|
146
|
-
});
|
|
147
|
-
//初始化流程
|
|
148
|
-
/*let target1 = formTarget.$attrs['parent-target'];
|
|
149
|
-
let target2 = target1?.$attrs['parent-target'];
|
|
150
|
-
let target = !target2 ? this : target1;*/
|
|
151
|
-
let target = formTarget;
|
|
152
|
-
initWf.call(target, opt2);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
resolve(res);
|
|
156
|
-
},
|
|
157
|
-
fail: res => {
|
|
158
|
-
fail && fail(res);
|
|
159
|
-
resolve(res);
|
|
160
|
-
},
|
|
161
|
-
error: e => {
|
|
162
|
-
error && error(e);
|
|
163
|
-
reject(e);
|
|
164
|
-
}
|
|
165
|
-
});
|
|
166
|
-
})
|
|
167
|
-
})
|
|
168
|
-
}
|
|
169
|
-
if (opts.isConfirm) {
|
|
170
|
-
this.$baseConfirm(opts.confirmText).then(() => {
|
|
171
|
-
return toDo();
|
|
172
|
-
});
|
|
173
|
-
} else {
|
|
174
|
-
return toDo();
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
7
|
+
function _0x5046(_0x53112d,_0x3197a8){const _0x5046ff=_0x3197();_0x5046=function(_0x1d0562,_0x3a81b6){_0x1d0562=_0x1d0562-0x0;let _0x346f2f=_0x5046ff[_0x1d0562];if(_0x5046["\u0076\u0071\u0062\u0075\u0047\u004f"]===undefined){var _0x301952=function(_0xfe37b7){const _0xf85ffa="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x19b57a='';let _0x58173a='';for(let _0x131c58=0x0,_0x3bc18c,_0x147550,_0x36d8d9=0x0;_0x147550=_0xfe37b7["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x36d8d9++);~_0x147550&&(_0x3bc18c=_0x131c58%0x4?_0x3bc18c*0x40+_0x147550:_0x147550,_0x131c58++%0x4)?_0x19b57a+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x3bc18c>>(-0x2*_0x131c58&0x6)):0x0){_0x147550=_0xf85ffa["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x147550);}for(let _0x29dd1f=0x0,_0xccc4c1=_0x19b57a["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x29dd1f<_0xccc4c1;_0x29dd1f++){_0x58173a+="\u0025"+("00".split("").reverse().join("")+_0x19b57a["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x29dd1f)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x58173a);};_0x5046["\u004a\u0058\u006b\u0072\u004f\u0056"]=_0x301952;_0x53112d=arguments;_0x5046['vqbuGO']=!![];}const _0x161e26=_0x5046ff[0x0];const _0x10cd64=_0x1d0562+_0x161e26;const _0x12e6ce=_0x53112d[_0x10cd64];if(!_0x12e6ce){_0x346f2f=_0x5046["\u004a\u0058\u006b\u0072\u004f\u0056"](_0x346f2f);_0x53112d[_0x10cd64]=_0x346f2f;}else{_0x346f2f=_0x12e6ce;}return _0x346f2f;};return _0x5046(_0x53112d,_0x3197a8);}function pFCAmj(_0x579458,_0xfaaab7){if(!![]!=![])return;pFCAmj=function(_0x453bcd,_0x1d0138){_0x453bcd=_0x453bcd-(0x973c9^0x973c9);var _0x16278c=_0x5e50e6[_0x453bcd];return _0x16278c;};return pFCAmj(_0x579458,_0xfaaab7);}function _0x12e6(_0x53112d,_0x3197a8){const _0x5046ff=_0x3197();_0x12e6=function(_0x1d0562,_0x3a81b6){_0x1d0562=_0x1d0562-0x0;let _0x346f2f=_0x5046ff[_0x1d0562];if(_0x12e6['ZeMeDg']===undefined){var _0x301952=function(_0xf85ffa){const _0x19b57a="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x58173a='';let _0x131c58='';for(let _0x3bc18c=0x0,_0x147550,_0x36d8d9,_0x29dd1f=0x0;_0x36d8d9=_0xf85ffa["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x29dd1f++);~_0x36d8d9&&(_0x147550=_0x3bc18c%0x4?_0x147550*0x40+_0x36d8d9:_0x36d8d9,_0x3bc18c++%0x4)?_0x58173a+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x147550>>(-0x2*_0x3bc18c&0x6)):0x0){_0x36d8d9=_0x19b57a["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x36d8d9);}for(let _0xccc4c1=0x0,_0x579458=_0x58173a["\u006c\u0065\u006e\u0067\u0074\u0068"];_0xccc4c1<_0x579458;_0xccc4c1++){_0x131c58+="\u0025"+("\u0030\u0030"+_0x58173a['charCodeAt'](_0xccc4c1)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x131c58);};const _0xfe37b7=function(_0xfaaab7,_0x453bcd){let _0x1d0138=[],_0x16278c=0x0,_0x2abe4e,_0x2778a7='';_0xfaaab7=_0x301952(_0xfaaab7);let _0x30b6a6;for(_0x30b6a6=0x0;_0x30b6a6<0x100;_0x30b6a6++){_0x1d0138[_0x30b6a6]=_0x30b6a6;}for(_0x30b6a6=0x0;_0x30b6a6<0x100;_0x30b6a6++){_0x16278c=(_0x16278c+_0x1d0138[_0x30b6a6]+_0x453bcd['charCodeAt'](_0x30b6a6%_0x453bcd["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x2abe4e=_0x1d0138[_0x30b6a6];_0x1d0138[_0x30b6a6]=_0x1d0138[_0x16278c];_0x1d0138[_0x16278c]=_0x2abe4e;}_0x30b6a6=0x0;_0x16278c=0x0;for(let _0xca329f=0x0;_0xca329f<_0xfaaab7["\u006c\u0065\u006e\u0067\u0074\u0068"];_0xca329f++){_0x30b6a6=(_0x30b6a6+0x1)%0x100;_0x16278c=(_0x16278c+_0x1d0138[_0x30b6a6])%0x100;_0x2abe4e=_0x1d0138[_0x30b6a6];_0x1d0138[_0x30b6a6]=_0x1d0138[_0x16278c];_0x1d0138[_0x16278c]=_0x2abe4e;_0x2778a7+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0xfaaab7['charCodeAt'](_0xca329f)^_0x1d0138[(_0x1d0138[_0x30b6a6]+_0x1d0138[_0x16278c])%0x100]);}return _0x2778a7;};_0x12e6['ZTtcLe']=_0xfe37b7;_0x53112d=arguments;_0x12e6['ZeMeDg']=!![];}const _0x161e26=_0x5046ff[0x0];const _0x10cd64=_0x1d0562+_0x161e26;const _0x12e6ce=_0x53112d[_0x10cd64];if(!_0x12e6ce){if(_0x12e6["\u0074\u004f\u0056\u0067\u0065\u006a"]===undefined){_0x12e6['tOVgej']=!![];}_0x346f2f=_0x12e6["\u005a\u0054\u0074\u0063\u004c\u0065"](_0x346f2f,_0x3a81b6);_0x53112d[_0x10cd64]=_0x346f2f;}else{_0x346f2f=_0x12e6ce;}return _0x346f2f;};return _0x12e6(_0x53112d,_0x3197a8);}function iioWkG(_0x3ea5a3,_0x3fc616){if(!![]!=![])return;iioWkG=function(_0x15b40d,_0x17c1c1){_0x15b40d=_0x15b40d-(0x973c9^0x973c9);var _0x25ee84=_0x5e50e6[_0x15b40d];return _0x25ee84;};return iioWkG(_0x3ea5a3,_0x3fc616);}iioWkG();pFCAmj();(function(_0xa4bc63,_0x53c6fc){function _0x7d8dc5(_0x56d2a6,_0x3785f2,_0x2b3452,_0x38d1f4,_0x465117){return _0x5046(_0x56d2a6- -0x2cc,_0x2b3452);}function _0xd73585(_0x8b9f51,_0x1f30cd,_0x3b7b63,_0x5b913b,_0x4f5088){return _0x5046(_0x8b9f51-0x9a,_0x3b7b63);}function _0x34f2ab(_0x11bfdf,_0x45ca67,_0x1ff18d,_0xa7aae7,_0x558094){return _0x12e6(_0x558094- -0x1c,_0x45ca67);}function _0x13b484(_0x40878f,_0x165317,_0x46e249,_0x5b838e,_0x13cc1c){return _0x12e6(_0x165317-0x2ef,_0x40878f);}function _0x1d8c14(_0x41f4e2,_0x2747a1,_0x1e5906,_0xa24d16,_0x2dcf75){return _0x5046(_0x2747a1- -0x217,_0xa24d16);}function _0x2ceb1a(_0x2a6136,_0x5e0413,_0x37dde2,_0x2d6fce,_0x468b08){return _0x5046(_0x2a6136-0x2df,_0x5e0413);}function _0x4f65f8(_0x259720,_0x495922,_0x71a775,_0x5e28fa,_0x596131){return _0x5046(_0x71a775-0x3d2,_0x259720);}const _0x63a2d8=_0xa4bc63();function _0x4e55c1(_0x7a0714,_0x5bb527,_0x44b1ab,_0x6885b0,_0x5d93fc){return _0x12e6(_0x6885b0- -0x9a,_0x5d93fc);}function _0x1f031b(_0xbd6772,_0x405c43,_0x415c01,_0x91594a,_0x1b17a9){return _0x12e6(_0xbd6772- -0x2c0,_0x91594a);}function _0x1fa866(_0x3a4640,_0x36d6a0,_0x3db788,_0x5d1162,_0x2bc003){return _0x12e6(_0x2bc003- -0x36b,_0x36d6a0);}do{try{const _0x3e8ddd=-parseInt(_0x34f2ab(-0x3d,"\u0021\u0024\u004a\u0029",0x1c,-0x35,-0x15))/0x1+-parseInt(_0x34f2ab(0x16,"\u0043\u005b\u0056\u0053",-0x25,0x9,-0xf))/0x2*(-parseInt(_0x4f65f8(0x40f,0x3d8,0x3dd,0x3dd,0x3b7))/0x3)+-parseInt(_0x7d8dc5(-0x2bb,-0x2de,-0x291,-0x2d4,-0x2a2))/0x4+parseInt(_0xd73585(0xe4,0xe2,0xd5,0xe1,0xcc))/0x5+parseInt(_0x1f031b(-0x273,-0x2a1,-0x24f,"YJ])".split("").reverse().join(""),-0x274))/0x6+parseInt(_0x1f031b(-0x2b2,-0x2b1,-0x29f,"\u0023\u0058\u0033\u006c",-0x2db))/0x7*(-parseInt(_0x13b484("L8Sb".split("").reverse().join(""),0x344,0x357,0x32c,0x344))/0x8)+parseInt(_0xd73585(0xb6,0xc1,0x98,0x95,0xb8))/0x9*(parseInt(_0xd73585(0xaa,0x7c,0x9c,0x81,0xd6))/0xa);if(_0x3e8ddd===_0x53c6fc){break;}else{_0x63a2d8['push'](_0x63a2d8["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x332622){_0x63a2d8["\u0070\u0075\u0073\u0068"](_0x63a2d8['shift']());}}while(!![]);})(_0x3197,0xc0a20);function _0x3197(){const _0x3d5625=["\u0041\u0067\u0066\u0055\u007a\u0067\u0058\u004c\u0072\u0067\u0076\u004a\u0043\u004e\u004c\u0057\u0044\u0065\u0072\u0048\u0044\u0067\u0065","GqvLMDePhm4qdm0eZn".split("").reverse().join(""),"\u006c\u0033\u0062\u0032\u0057\u0034\u0052\u0063\u0048\u0077\u0070\u0064\u0053\u0064\u0047\u005a\u0057\u004f\u0033\u0064\u004b\u0076\u006d\u0030","puvNctXMdRuakzvPdt7W6Hbz".split("").reverse().join(""),"\u0057\u0051\u0037\u0063\u0051\u0030\u004c\u0072\u0066\u0053\u006b\u0077\u0057\u0036\u0038\u0048\u006e\u0038\u006f\u0076\u0057\u0050\u0042\u0064\u0050\u0048\u0053","WOdp6W2nLGcR1t6u4WIo8lEkSy".split("").reverse().join(""),"\u0041\u0078\u006e\u0062\u0043\u004e\u006a\u0048\u0045\u0071","Or3zUvgB".split("").reverse().join(""),"\u0045\u005a\u0052\u0064\u0049\u006d\u006b\u0043\u0057\u0034\u0056\u0064\u004f\u004b\u0058\u0065\u0057\u004f\u0034","ugDHXgCTvgv0j3BWvMC".split("").reverse().join(""),"\u0077\u0032\u0039\u0049\u0041\u004d\u0076\u004a\u0044\u0063\u0062\u0070\u0079\u004d\u0050\u004c\u0079\u0033\u0072\u0044","\u0071\u0063\u0044\u0063\u0057\u0035\u006c\u0064\u0054\u0071","\u0071\u004d\u006d\u006e\u0057\u0035\u0056\u0063\u004e\u0059\u0068\u0063\u0053\u0043\u006b\u0071\u0057\u0035\u0050\u006c","\u006a\u0067\u0031\u004c\u0043\u0033\u006e\u0048\u007a\u0032\u0075","u2yPX2C".split("").reverse().join(""),"\u0075\u0031\u0050\u0066\u0043\u0032\u0043","Wg8kSKdNaTdJ6W5Xsu".split("").reverse().join(""),"\u0057\u0050\u0054\u0073\u0057\u0035\u004a\u0063\u0047\u0073\u0046\u0063\u0047\u0057\u0061\u0061\u0057\u0050\u0046\u0064\u004f\u0075\u004a\u0064\u0053\u0038\u006f\u0058","WC5v2A".split("").reverse().join(""),"ugzVnuBY9Mz".split("").reverse().join(""),"\u0043\u0033\u0062\u0053\u0041\u0078\u0071","WCZv2yJv3C".split("").reverse().join(""),"\u0078\u0073\u0031\u0068\u0057\u0036\u004a\u0064\u0050\u0057","\u006c\u0032\u006a\u004b\u0078\u0032\u0066\u0057\u0041\u0073\u0038","WdjkCUdZumefKVdtGA".split("").reverse().join(""),"CMBPjhDt9gD".split("").reverse().join(""),"\u0044\u0068\u006a\u0050\u0042\u0071","GBLHgD".split("").reverse().join(""),"GySkSMdRMJdJcPc76W4H7W3oSoPkSGcpQW".split("").reverse().join(""),"aOddRWhX3B".split("").reverse().join(""),"SXQchLp".split("").reverse().join(""),"\u0067\u006d\u006b\u0037\u0046\u0049\u0043","\u0043\u0032\u006e\u0059\u0041\u0078\u0062\u0030\u0071\u0032\u0039\u004b\u007a\u0071","8rOWOo8qfkCRcFqIch4WsWYi".split("").reverse().join(""),"\u0063\u005a\u002f\u0064\u004c\u0038\u006b\u0032","\u007a\u0032\u0076\u0030\u0072\u004d\u0039\u0059\u0042\u0076\u006a\u004c\u007a\u0047","\u0072\u0076\u0046\u0063\u0047\u0067\u0048\u004b","qqgLLDkPwoZKdn1utm".split("").reverse().join(""),"\u0076\u0030\u007a\u0057\u0076\u004e\u0065","ZomTdhvBDo8IdZOW".split("").reverse().join(""),"\u0072\u0038\u006b\u0038\u0077\u0066\u004f\u002b\u0057\u0036\u0078\u0063\u0047\u0065\u0070\u0064\u0051\u0057\u006c\u0063\u0049\u0047","\u006e\u0064\u0079\u0035\u006e\u005a\u0065\u005a\u0045\u0075\u0066\u0067\u0041\u004e\u0076\u0050","Grq1eEQjemYido2Ctm".split("").reverse().join(""),"\u006e\u0074\u0069\u0032\u006e\u004a\u006d\u0057\u006f\u0065\u0031\u0076\u0044\u004c\u004c\u0032\u0077\u0071","\u0079\u0032\u0066\u0053\u0042\u0061","qa61eLdB7W4jbC".split("").reverse().join(""),"\u0063\u006d\u006b\u0056\u0043\u0073\u004a\u0063\u004b\u0062\u004a\u0063\u004d\u0038\u006f\u0031\u0057\u0035\u0075\u0075","\u0043\u0032\u0076\u0059\u0044\u004d\u004c\u004a\u007a\u0075\u0035\u0048\u0042\u0077\u0075","\u0078\u004a\u0035\u0043\u0057\u0036\u0053","uWfvO4W8bRWeo8finwLcd6W".split("").reverse().join(""),"\u0042\u0032\u006a\u0051\u0045\u0061","KLuzJLMDYv2C".split("").reverse().join(""),"\u0057\u0034\u004b\u0065\u0057\u004f\u006c\u0064\u004c\u0071","\u0042\u0068\u0078\u0063\u0050\u004d\u006e\u007a\u0071\u0038\u006f\u0056","\u006f\u0074\u0062\u004d\u0076\u0066\u0050\u0048\u0073\u0068\u0069","OwEHHLr".split("").reverse().join(""),"coSOchfMdVRWzomB".split("").reverse().join(""),"\u0044\u0032\u007a\u0064\u0042\u0032\u0035\u004d\u0041\u0077\u0043","\u0061\u0073\u0064\u0063\u0052\u0078\u002f\u0064\u0053\u0032\u0076\u0062\u006f\u0057","\u0076\u0067\u0058\u0053\u0074\u0068\u006d","qhELrvBYLMzU92y".split("").reverse().join(""),"\u0071\u0076\u0072\u0066\u0074\u0049\u004f\u0054","aAJfwrY9Mz".split("").reverse().join(""),"mwzVr0C".split("").reverse().join(""),"Uo8Jc3vB".split("").reverse().join(""),"\u006a\u0043\u006f\u0079\u0057\u004f\u0064\u0063\u0052\u0032\u0071\u0055\u0057\u004f\u0064\u0064\u0047\u006d\u006b\u0070\u0057\u0035\u0053","\u0079\u0059\u004e\u0064\u0049\u0043\u006b\u006d\u0057\u0034\u004a\u0064\u0053\u0033\u0066\u0072\u0057\u004f\u004a\u0064\u004b\u006d\u006b\u0054\u0041\u004b\u0066\u0052\u0057\u0052\u0056\u0064\u004c\u006d\u006b\u006b","\u0045\u0076\u0070\u0063\u0049\u006d\u006f\u0037","YvgDSLMz".split("").reverse().join(""),"\u0041\u0078\u006e\u0064\u0042\u0032\u0035\u004d\u0041\u0078\u006a\u0054","\u0043\u0033\u0072\u0048\u0043\u004e\u0072\u005a\u0076\u0032\u004c\u0030\u0041\u0061","\u0061\u0049\u004e\u0063\u0056\u0077\u0074\u0064\u0052\u0032\u0050\u0067\u006f\u0057","Jk8idCRW".split("").reverse().join(""),"\u0073\u004c\u007a\u0062\u0071\u004d\u004f","no8PcJwTdJRWcomo".split("").reverse().join(""),"aDZ9gC".split("").reverse().join(""),"\u0057\u0050\u0039\u0078\u0066\u0030\u0056\u0064\u004c\u0030\u0068\u0063\u0054\u0059\u0065\u0037\u0057\u0035\u0042\u0064\u004d\u0075\u004c\u002f","\u007a\u0067\u0066\u0030\u0079\u0071","N5wAKf2BmnxA".split("").reverse().join(""),"LbxE09gDVjhC".split("").reverse().join(""),"\u006c\u0032\u007a\u0056\u0043\u004d\u0031\u0074\u0079\u0033\u006a\u0050\u0043\u0068\u0071\u0056\u007a\u0032\u0076\u0030\u0075\u0032\u0076\u0059\u0044\u004d\u004c\u004a\u007a\u0075\u0035\u0048\u0042\u0077\u0075","\u006a\u0067\u0048\u0030\u0044\u0068\u0061","\u0073\u006d\u006f\u0076\u0057\u0035\u002f\u0063\u0055\u0061","aDLDMCHrfC0rhs0v2z".split("").reverse().join(""),"mKGddNMd3OWqK5W".split("").reverse().join(""),"KZKchQWp96WIoCo5kSJcVOW".split("").reverse().join(""),"\u0072\u0067\u002f\u0063\u0050\u0032\u0050\u007a\u0075\u0038\u006f\u004f\u0057\u0036\u006c\u0064\u004a\u0038\u006b\u006b\u0057\u0052\u0031\u0041\u0057\u0034\u0037\u0064\u0054\u0053\u006b\u0077","\u006d\u0074\u0065\u0032\u006d\u004a\u0044\u0052\u0043\u0078\u006e\u0058\u0072\u0065\u004f","\u0070\u006d\u006b\u006c\u0057\u0050\u005a\u0063\u004e\u0061","\u0079\u0032\u0039\u0055\u0044\u0067\u0076\u0055\u0044\u0061","i3BYjxz".split("").reverse().join(""),"b+z5r6A5gIl55cz5PIy5l2P5".split("").reverse().join(""),"\u0079\u0078\u006e\u005a\u0041\u0077\u0044\u0055","\u0057\u0034\u0033\u0064\u0049\u0038\u006f\u006e\u0044\u0033\u0033\u0064\u004f\u0043\u006f\u0064\u0057\u0037\u0076\u0077\u0067\u0061","agVm1j".split("").reverse().join(""),"i3eLvRW5k8AdoCm".split("").reverse().join(""),"MomTch4WFo8a".split("").reverse().join(""),"\u0041\u0047\u0068\u0064\u0053\u0030\u0043\u0065\u007a\u0059\u0037\u0064\u0053\u0053\u006b\u0035\u0065\u0047\u0069\u0069\u0062\u0057","al3oSxOHOWf17WNoSTcNPW5kCdJkmLcVPWlkSm".split("").reverse().join("")];_0x3197=function(){return _0x3d5625;};return _0x3197();}modules={"\u006d\u0065\u0074\u0068\u006f\u0064\u0073":{"\u0068\u0061\u006e\u0064\u006c\u0065\u0044\u0065\u0063\u0072\u0079\u0070\u0074\u0044\u0061\u0074\u0061"(_0x1ffade){function _0x53ec30(_0x51352a,_0x115fb6,_0x2aac30,_0x37e92f,_0xf3326a){return _0x12e6(_0x51352a-0x2b,_0x37e92f);}function _0x418589(_0x1251cc,_0x3e16d2,_0x459781,_0xf0fd0d,_0x167724){return _0x5046(_0x3e16d2-0x189,_0xf0fd0d);}const _0x15fbe9={"\u0073\u0044\u006f\u0065\u0063":_0x311b40(-0x3c3,-0x3ce,-0x3a1,-0x3a9,"\u0072\u004a\u0058\u0044"),"\u0053\u005a\u0045\u0073\u0067":function(_0x5eab8c,_0x30c4e6){return _0x5eab8c===_0x30c4e6;},'FXayj':_0xd2ca41(0x213,0x1fc,0x20e,0x1f4,0x23d),"\u004a\u0056\u0041\u0042\u006a":function(_0x1caa58,_0x4faa91){return _0x1caa58(_0x4faa91);}};function _0xd2ca41(_0x3be631,_0x49b80c,_0x5b6f35,_0x543ebc,_0x466323){return _0x5046(_0x5b6f35-0x1bb,_0x49b80c);}function _0x311b40(_0x5867a2,_0xc2ed20,_0x1c425b,_0x227f93,_0x393402){return _0x12e6(_0x227f93- -0x3e5,_0x393402);}if(_0x1ffade){if(Array["\u0069\u0073\u0041\u0072\u0072\u0061\u0079"](_0x1ffade)){_0x1ffade["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x473912=>{this["\u0068\u0061\u006e\u0064\u006c\u0065\u0044\u0065\u0063\u0072\u0079\u0070\u0074\u0044\u0061\u0074\u0061"](_0x473912);});}else if(_0x15fbe9['SZEsg'](Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"]['call'](_0x1ffade),_0x15fbe9["\u0046\u0058\u0061\u0079\u006a"])){Object['keys'](_0x1ffade)["\u0066\u006f\u0072\u0045\u0061\u0063\u0068"](_0x38e270=>{function _0x20d61e(_0x1b17e2,_0x341a07,_0x1c1872,_0x1c4a07,_0xfc9ada){return _0x5046(_0x1c4a07- -0x29f,_0x1b17e2);}let _0x51b205=_0x1ffade[_0x38e270];if(_0x51b205!==null&&_0x51b205!==undefined){if(Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"]["\u0063\u0061\u006c\u006c"](_0x1ffade[_0x38e270])===_0x15fbe9['sDoec']){let _0x1ff6e0=_0x20d61e(-0x252,-0x25f,-0x264,-0x27c,-0x264);if(_0x51b205["\u0073\u0074\u0061\u0072\u0074\u0073\u0057\u0069\u0074\u0068"](_0x1ff6e0)){_0x1ffade[_0x38e270]=decrypt(_0x51b205["\u0073\u006c\u0069\u0063\u0065"](_0x1ff6e0['length']));}}else{this['handleDecryptData'](_0x1ffade[_0x38e270]);}}});}else if(Object["\u0070\u0072\u006f\u0074\u006f\u0074\u0079\u0070\u0065"]["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"]['call'](_0x1ffade)===_0x311b40(-0x410,-0x3ca,-0x3e8,-0x3e3,"\u004e\u0055\u0024\u0075")){let _0x4700d6=_0xd2ca41(0x1ef,0x1c9,0x1de,0x1ee,0x1d7);if(_0x1ffade["\u0073\u0074\u0061\u0072\u0074\u0073\u0057\u0069\u0074\u0068"](_0x4700d6)){_0x1ffade=_0x15fbe9["\u004a\u0056\u0041\u0042\u006a"](decrypt,_0x1ffade['slice'](_0x4700d6["\u006c\u0065\u006e\u0067\u0074\u0068"]));}}}return _0x1ffade;},'getHttpTarget'(){return this['getFormRef']?this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]():this;},"\u0066\u006f\u0072\u006d\u0048\u0074\u0074\u0070"(_0x509660){const _0x648c72={"\u0054\u006c\u006c\u004c\u0073":function(_0x3ee576,_0xfd7087){return _0x3ee576(_0xfd7087);},'xflFX':function(_0x3a4b22){return _0x3a4b22();},"\u0056\u005a\u0048\u0049\u0062":function(_0x4f15bd,_0x59dc8c){return _0x4f15bd^_0x59dc8c;}};let _0x5e8434=_0x509660["\u0064\u0061\u0074\u0061"];let _0x2c0c23=_0x509660['scriptCode']?_0x509660['scriptCode']['trim']():null;let _0x2e2f05=_0x509660["\u0066\u006f\u0072\u006d\u0043\u006f\u0064\u0065"]?_0x509660['formCode']["\u0074\u0072\u0069\u006d"]():null;let _0x4217b1=_0x509660["\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067"]??!![];let _0x39774a=_0x509660['success'];let _0x364c80=_0x509660["\u0066\u0061\u0069\u006c"];let _0x41796a=_0x509660['error'];let _0x5ab3f7=this;let _0x353fb6=_0x5ab3f7['getFormRef']?_0x5ab3f7["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]()['reportTemplate']:_0x5ab3f7["\u0072\u0065\u0070\u006f\u0072\u0074\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065"];if(_0x2c0c23&&!_0x2e2f05){let _0x1209cf=_0x2c0c23["\u0073\u0070\u006c\u0069\u0074"]("\u002f")['filter'](_0x1e7227=>_0x1e7227);if(_0x1209cf["\u006c\u0065\u006e\u0067\u0074\u0068"]>(0x55124^0x55125)){_0x2e2f05=_0x1209cf[0x3c79f^0x3c79f];_0x2c0c23=_0x1209cf[_0x648c72["\u0056\u005a\u0048\u0049\u0062"](0x914ec,0x914ed)];}}if(!_0x2e2f05){_0x2e2f05=_0x353fb6['formCode'];}delete _0x509660['data'];delete _0x509660["\u0073\u0063\u0072\u0069\u0070\u0074\u0043\u006f\u0064\u0065"];delete _0x509660['formCode'];delete _0x509660["\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067"];delete _0x509660["\u0073\u0075\u0063\u0063\u0065\u0073\u0073"];delete _0x509660["\u0066\u0061\u0069\u006c"];delete _0x509660["\u0065\u0072\u0072\u006f\u0072"];let _0x594cf4=_0x3bf7ae=>{function _0x467fdc(_0x43262c,_0x585e8f,_0x1713a5,_0x8bc95,_0x1a20c6){return _0x5046(_0x585e8f-0x3a8,_0x1a20c6);}function _0x253e3a(_0x50bf2a,_0x34edd2,_0x4d7d19,_0x3ac7aa,_0x1de9a5){return _0x12e6(_0x50bf2a-0x380,_0x34edd2);}const _0xa2fd74={'WFpVq':function(_0x46ec68,_0x4dbd49){return _0x648c72['TllLs'](_0x46ec68,_0x4dbd49);}};if(_0x2e2f05&&_0x2e2f05!==_0x353fb6["\u0066\u006f\u0072\u006d\u0043\u006f\u0064\u0065"]){this["\u0067\u0065\u0074\u0048\u0074\u0074\u0070\u0054\u0061\u0072\u0067\u0065\u0074"]()["\u0024\u0068\u0074\u0074\u0070"]({"\u0061\u0065\u0073":!![],"\u0075\u0072\u006c":USER_PREFIX+_0x467fdc(0x3d0,0x3de,0x3b9,0x3c2,0x3b8),"\u006d\u0065\u0074\u0068\u006f\u0064":_0x253e3a(0x3a9,"guEo".split("").reverse().join(""),0x3a0,0x3bf,0x39a),'data':{'formCode':_0x2e2f05,"\u0073\u0063\u0072\u0069\u0070\u0074\u0043\u006f\u0064\u0065":_0x2c0c23},"\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067":_0x4217b1,'success':_0x4ffe35=>{let _0x1c72e4=_0x4ffe35["\u006f\u0062\u006a\u0078"];function _0x57a5d6(_0x344bfe,_0x1b8b65,_0x356f04,_0x43cceb,_0x1f4898){return _0x12e6(_0x43cceb- -0x2f3,_0x1f4898);}if(_0x1c72e4){_0xa2fd74["\u0057\u0046\u0070\u0056\u0071"](_0x3bf7ae,_0x1c72e4);}else{this['$baseAlert'](_0x57a5d6(-0x287,-0x28a,-0x2e0,-0x2b2,"\u0062\u0049\u0043\u0044"));}}});}else{_0x3bf7ae(_0x353fb6['serviceName']);}};let _0x3bccc6=()=>{return new Promise((_0xa8cee8,_0x57eea3)=>{const _0x40b145={"\u005a\u0057\u0045\u0068\u0058":function(_0x3ae572,_0x3b909d){return _0x3ae572(_0x3b909d);}};_0x594cf4(_0x3d33a7=>{let _0x1e1514;_0x1e1514=_0x5e8434;function _0x55d7b4(_0x40815f,_0x34b325,_0x2c492f,_0x49cdf5,_0x5493f5){return _0x5046(_0x5493f5-0x14a,_0x34b325);}let _0x595196=getReportGlobalMap()||{};let _0x4c919a="\u002f"+_0x3d33a7+_0x55d7b4(0x1c2,0x17b,0x1d0,0x195,0x1aa)+_0x2e2f05+"\u002f"+_0x2c0c23;function _0xe9977b(_0xfbf3e6,_0x2ccce0,_0x26015f,_0x1835a7,_0x33fd0e){return _0x5046(_0xfbf3e6-0x256,_0x1835a7);}return this['getHttpTarget']()['$http']({"\u0061\u0065\u0073":!![],'url':_0x4c919a,"\u006d\u0065\u0074\u0068\u006f\u0064":_0x55d7b4(0x15e,0x18a,0x168,0x1a0,0x17b),"\u0069\u0073\u004c\u006f\u0061\u0064\u0069\u006e\u0067":_0x4217b1,..._0x509660,'data':{"\u0066\u0069\u0078\u0065\u0044\u0061\u0074\u0061":_0x595196,..._0x1e1514},'success':_0xfe94d0=>{if(_0xfe94d0["\u006f\u0062\u006a\u0078"]){_0xfe94d0["\u006f\u0062\u006a\u0078"]=this['handleDecryptData'](_0xfe94d0["\u006f\u0062\u006a\u0078"]);}if(_0x509660["\u0073\u0075\u0063\u0063\u0065\u0073\u0073\u004d\u0073\u0067"]){this["\u0024\u006d\u0065\u0073\u0073\u0061\u0067\u0065"]({"\u006d\u0065\u0073\u0073\u0061\u0067\u0065":_0xfe94d0['content'],"\u0074\u0079\u0070\u0065":_0x2183b5(0xbe,0xc4,0xf4,0xc3,0xb6),"\u0064\u0075\u0072\u0061\u0074\u0069\u006f\u006e":0x3e8});}_0x39774a&&_0x39774a(_0xfe94d0);function _0x2183b5(_0x20cb29,_0x2438bf,_0x4aae53,_0x19db15,_0x549996){return _0x5046(_0x19db15-0x65,_0x2438bf);}if(_0x509660["\u0077\u0066\u0043\u006f\u006e\u0066\u0069\u0067"]){let _0xc12e15=this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]?this["\u0067\u0065\u0074\u0046\u006f\u0072\u006d\u0052\u0065\u0066"]():this;let _0x1a7d0d=_0x509660["\u0077\u0066\u0043\u006f\u006e\u0066\u0069\u0067"](_0xfe94d0);if(_0x1a7d0d){let _0x11506e=_0x1a7d0d['serviceId']||_0x353fb6?.["emaNecivres".split("").reverse().join("")];let _0x1d2443=Object['assign']({},_0x1a7d0d,{"\u0073\u0065\u0072\u0076\u0069\u0063\u0065\u0049\u0064":_0x11506e});let _0x3b2207=_0xc12e15;initWf["\u0063\u0061\u006c\u006c"](_0x3b2207,_0x1d2443);}}_0xa8cee8(_0xfe94d0);},'fail':_0x53497c=>{_0x364c80&&_0x364c80(_0x53497c);_0x40b145['ZWEhX'](_0xa8cee8,_0x53497c);},'error':_0x122355=>{_0x41796a&&_0x41796a(_0x122355);_0x57eea3(_0x122355);}});});});};if(_0x509660['isConfirm']){this["\u0024\u0062\u0061\u0073\u0065\u0043\u006f\u006e\u0066\u0069\u0072\u006d"](_0x509660["\u0063\u006f\u006e\u0066\u0069\u0072\u006d\u0054\u0065\u0078\u0074"])['then'](()=>{return _0x648c72["\u0078\u0066\u006c\u0046\u0058"](_0x3bccc6);});}else{return _0x3bccc6();}}}};
|
|
179
8
|
export default modules;
|
|
@@ -694,6 +694,8 @@ export const columnFormatMap = {
|
|
|
694
694
|
text: "text",
|
|
695
695
|
checkbox: "checkbox",
|
|
696
696
|
radio: "radio",
|
|
697
|
+
dropdown: "dropdown",
|
|
698
|
+
textarea: "textarea",
|
|
697
699
|
};
|
|
698
700
|
|
|
699
701
|
export function getFieldWidgetById(widgetList, fieldId, staticWidgetsIncluded) {
|
|
@@ -876,7 +878,11 @@ export function buildDefaultFormJson() {
|
|
|
876
878
|
export function cloneFormConfigWithoutEventHandler(e) {
|
|
877
879
|
var t = deepClone(e);
|
|
878
880
|
return (
|
|
879
|
-
(t.onFormCreated = ""),
|
|
881
|
+
(t.onFormCreated = ""),
|
|
882
|
+
(t.onFormBeforeMounted = ""),
|
|
883
|
+
(t.onFormMounted = ""),
|
|
884
|
+
(t.onFormDataChange = ""),
|
|
885
|
+
t
|
|
880
886
|
);
|
|
881
887
|
}
|
|
882
888
|
|
|
@@ -1,134 +1,2 @@
|
|
|
1
1
|
import {evalFn, isNull} from "./util";
|
|
2
|
-
|
|
3
|
-
export const getRegExp = function (validatorName) {
|
|
4
|
-
const commonRegExp = {
|
|
5
|
-
number: '/^[-]?\\d+(\\.\\d+)?$/',
|
|
6
|
-
letter: '/^[A-Za-z]+$/',
|
|
7
|
-
letterAndNumber: '/^[A-Za-z0-9]+$/',
|
|
8
|
-
mobilePhone: '/^[1][3-9][0-9]{9}$/',
|
|
9
|
-
letterStartNumberIncluded: '/^[A-Za-z]+[A-Za-z\\d]*$/',
|
|
10
|
-
noChinese: '/^[^\u4e00-\u9fa5]+$/',
|
|
11
|
-
chinese: '/^[\u4e00-\u9fa5]+$/',
|
|
12
|
-
email: '/^([-_A-Za-z0-9.]+)@([_A-Za-z0-9]+\\.)+[A-Za-z0-9]{2,3}$/',
|
|
13
|
-
url: '/^([hH][tT]{2}[pP]:\\/\\/|[hH][tT]{2}[pP][sS]:\\/\\/)(([A-Za-z0-9-~]+)\\.)+([A-Za-z0-9-~\\/])+$/',
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return commonRegExp[validatorName]
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const validateFn = function (validatorName, rule, value, callback, defaultErrorMsg) {
|
|
20
|
-
//空值不校验
|
|
21
|
-
if (isNull(value) || (value.length <= 0)) {
|
|
22
|
-
callback()
|
|
23
|
-
return
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const reg = evalFn(getRegExp(validatorName))
|
|
27
|
-
|
|
28
|
-
if (!reg.test(value)) {
|
|
29
|
-
let errTxt = rule.errorMsg || defaultErrorMsg
|
|
30
|
-
callback(new Error(errTxt))
|
|
31
|
-
} else {
|
|
32
|
-
callback()
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const FormValidators = {
|
|
37
|
-
|
|
38
|
-
/* 数字 */
|
|
39
|
-
number(rule, value, callback) {
|
|
40
|
-
validateFn('number', rule, value, callback, '[' + rule.label + ']包含非数字字符')
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
/* 字母 */
|
|
44
|
-
letter(rule, value, callback) {
|
|
45
|
-
validateFn('letter', rule, value, callback, '[' + rule.label + ']包含非字母字符')
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
/* 字母和数字 */
|
|
49
|
-
letterAndNumber(rule, value, callback) {
|
|
50
|
-
validateFn('letterAndNumber', rule, value, callback, '[' + rule.label + ']只能输入字母或数字')
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
/* 手机号码 */
|
|
54
|
-
mobilePhone(rule, value, callback) {
|
|
55
|
-
validateFn('mobilePhone', rule, value, callback, '[' + rule.label + ']手机号码格式有误')
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
/* 禁止空白字符开头 */
|
|
59
|
-
noBlankStart(rule, value, callback) {
|
|
60
|
-
//暂未实现
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
/* 禁止空白字符结尾 */
|
|
64
|
-
noBlankEnd(rule, value, callback) {
|
|
65
|
-
//暂未实现
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
/* 字母开头,仅可包含数字 */
|
|
69
|
-
letterStartNumberIncluded(rule, value, callback) {
|
|
70
|
-
validateFn('letterStartNumberIncluded', rule, value, callback, '[' + rule.label + ']必须以字母开头,可包含数字')
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
/* 禁止中文输入 */
|
|
74
|
-
noChinese(rule, value, callback) {
|
|
75
|
-
validateFn('noChinese', rule, value, callback, '[' + rule.label + ']不可输入中文字符')
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
/* 必须中文输入 */
|
|
79
|
-
chinese(rule, value, callback) {
|
|
80
|
-
validateFn('chinese', rule, value, callback, '[' + rule.label + ']只能输入中文字符')
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
/* 电子邮箱 */
|
|
84
|
-
email(rule, value, callback) {
|
|
85
|
-
validateFn('email', rule, value, callback, '[' + rule.label + ']邮箱格式有误')
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
/* URL网址 */
|
|
89
|
-
url(rule, value, callback) {
|
|
90
|
-
validateFn('url', rule, value, callback, '[' + rule.label + ']URL格式有误')
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
/*测试
|
|
94
|
-
test(rule, value, callback, errorMsg) {
|
|
95
|
-
//空值不校验
|
|
96
|
-
if (isNull(value) || (value.length <= 0)) {
|
|
97
|
-
callback()
|
|
98
|
-
return
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (value < 100) {
|
|
102
|
-
callback(new Error('[' + rule.label + ']不能小于100'))
|
|
103
|
-
} else {
|
|
104
|
-
callback()
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
*/
|
|
108
|
-
|
|
109
|
-
regExp(rule, value, callback) {
|
|
110
|
-
//空值不校验
|
|
111
|
-
if (isNull(value) || (value.length <= 0)) {
|
|
112
|
-
callback()
|
|
113
|
-
return
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
if (rule.regExp.length > 0 && rule.regExp[0] !== '/') {
|
|
117
|
-
rule.regExp = '/' + rule.regExp
|
|
118
|
-
}
|
|
119
|
-
if (rule.regExp.length > 0 && rule.regExp[rule.regExp.length - 1] !== '/') {
|
|
120
|
-
rule.regExp = rule.regExp + '/'
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
const pattern = evalFn(rule.regExp)
|
|
124
|
-
if (!pattern.test(value)) {
|
|
125
|
-
let errTxt = rule.errorMsg || '[' + rule.label + ']invalid value'
|
|
126
|
-
callback(new Error(errTxt))
|
|
127
|
-
} else {
|
|
128
|
-
callback()
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export default FormValidators
|
|
2
|
+
(function(_0x43fce3,_0xea853e){function _0x12997f(_0x14a5bb,_0x5f3c36,_0x45dcce,_0x232b90,_0x40c97e){return _0x328c(_0x40c97e- -0x36c,_0x45dcce);}function _0x280656(_0x2a8b13,_0x1efe6b,_0x274a22,_0x2854ed,_0x293333){return _0x3b11(_0x293333- -0x33b,_0x1efe6b);}function _0x56a208(_0x87bf78,_0x56c0c8,_0x6612be,_0x3451aa,_0x1d2bce){return _0x3b11(_0x6612be-0x32c,_0x3451aa);}function _0x25f7c2(_0x2a7c9c,_0x23f30c,_0x35d7ca,_0x91b189,_0x70a9c9){return _0x3b11(_0x91b189- -0x1e3,_0x2a7c9c);}function _0x248c01(_0x1be48f,_0x4afa25,_0x189cf5,_0x4c17ec,_0x933e6b){return _0x328c(_0x933e6b- -0x2cb,_0x1be48f);}function _0x57db4f(_0x2de6c5,_0x21fa5f,_0x4bab96,_0xfd826c,_0x2aa195){return _0x3b11(_0xfd826c- -0x26,_0x2aa195);}function _0x5a5086(_0x4c0971,_0x3e94ff,_0x1b3ce8,_0x57c2c6,_0x18c039){return _0x3b11(_0x4c0971- -0x8e,_0x18c039);}function _0x1a245d(_0x19d572,_0x2e83a0,_0xe85bb7,_0x103e0e,_0x515c15){return _0x328c(_0x19d572-0x203,_0x103e0e);}function _0x1a76cd(_0x330bf6,_0x464b06,_0x37f44f,_0x7d53f2,_0x5b6544){return _0x328c(_0x464b06- -0x11a,_0x330bf6);}const _0x5e1b30=_0x43fce3();function _0x5d67bc(_0x4ee59e,_0x17dc00,_0x300edb,_0x2482de,_0x488e90){return _0x328c(_0x488e90-0xf9,_0x300edb);}do{try{const _0x14c7b6=parseInt(_0x280656(-0x2f6,-0x307,-0x312,-0x342,-0x31f))/0x1*(parseInt(_0x57db4f(0x3c,0x22,0x36,0x26,0x45))/0x2)+-parseInt(_0x248c01("\u0051\u0058\u0031\u0058",-0x296,-0x2b3,-0x2e7,-0x2c0))/0x3*(-parseInt(_0x56a208(0x316,0x362,0x339,0x318,0x353))/0x4)+parseInt(_0x248c01("ksxo".split("").reverse().join(""),-0x2a3,-0x281,-0x2ad,-0x2a2))/0x5+parseInt(_0x248c01("KyJa".split("").reverse().join(""),-0x2ac,-0x29a,-0x2cd,-0x2b6))/0x6+parseInt(_0x1a76cd("2IX3".split("").reverse().join(""),-0x111,-0x128,-0xe8,-0x12d))/0x7*(parseInt(_0x56a208(0x370,0x387,0x36c,0x396,0x36b))/0x8)+parseInt(_0x280656(-0x326,-0x325,-0x30d,-0x2ff,-0x310))/0x9+-parseInt(_0x12997f(-0x357,-0x373,"\u0056\u004e\u004d\u006e",-0x350,-0x353))/0xa;if(_0x14c7b6===_0xea853e){break;}else{_0x5e1b30['push'](_0x5e1b30["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x124bdc){_0x5e1b30["\u0070\u0075\u0073\u0068"](_0x5e1b30["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0xe3fb,0x32f89);export const getRegExp=function(_0x547f86){const _0x279736={'QImRP':_0x3e6aa4(-0x62,-0x48,-0x81,-0x7a,-0x69),"\u0058\u0074\u004b\u006b\u0079":_0x459adb(-0x15,-0x3f,-0xc,-0x11,-0x24),"\u0054\u0079\u0074\u0077\u0059":_0x33b152(0x372,0x37d,0x385,0x359,0x36a)};function _0x1c4918(_0x510384,_0x10d3ac,_0x342c38,_0x54c1ed,_0x373a86){return _0x3b11(_0x10d3ac-0x3a3,_0x373a86);}function _0x33b152(_0x5465bc,_0x525f25,_0x2f86d4,_0x5f1885,_0x38fbde){return _0x3b11(_0x5465bc-0x350,_0x38fbde);}function _0x3e6aa4(_0x51c3a3,_0x5d019b,_0x396c50,_0x2bc4b1,_0x9a5b86){return _0x3b11(_0x9a5b86- -0x8c,_0x51c3a3);}function _0x459adb(_0xefd82,_0x5eda09,_0xce344,_0x541421,_0x27b502){return _0x3b11(_0xefd82- -0x68,_0x27b502);}const _0x1287ee={'number':_0x279736["\u0051\u0049\u006d\u0052\u0050"],"\u006c\u0065\u0074\u0074\u0065\u0072":_0x3e6aa4(-0x77,-0x90,-0x56,-0x7f,-0x7a),"\u006c\u0065\u0074\u0074\u0065\u0072\u0041\u006e\u0064\u004e\u0075\u006d\u0062\u0065\u0072":_0x279736['XtKky'],"\u006d\u006f\u0062\u0069\u006c\u0065\u0050\u0068\u006f\u006e\u0065":_0x1c4918(0x408,0x3f1,0x3e5,0x3e0,0x41a),"\u006c\u0065\u0074\u0074\u0065\u0072\u0053\u0074\u0061\u0072\u0074\u004e\u0075\u006d\u0062\u0065\u0072\u0049\u006e\u0063\u006c\u0075\u0064\u0065\u0064":_0x3e6aa4(-0x72,-0x9f,-0x79,-0x6c,-0x84),'noChinese':_0x279736["\u0054\u0079\u0074\u0077\u0059"],'chinese':_0x2311dd("A^ja".split("").reverse().join(""),0x362,0x373,0x33a,0x348),"\u0065\u006d\u0061\u0069\u006c":_0x33b152(0x39a,0x389,0x3bc,0x3a8,0x39c),'url':_0x3e6aa4(-0x60,-0x6c,-0x71,-0x53,-0x57)};function _0x2311dd(_0x247818,_0x43de93,_0x604586,_0x25e2e5,_0x1d04a3){return _0x328c(_0x43de93-0x311,_0x247818);}function _0x5e8418(_0x4bb579,_0x5444b6,_0x4a18b8,_0x5962a2,_0x42d335){return _0x3b11(_0x4a18b8- -0x385,_0x5962a2);}return _0x1287ee[_0x547f86];};function _0x3b11(_0x47abdb,_0xe3fb96){const _0x3b1161=_0xe3fb();_0x3b11=function(_0x51181e,_0x3a5423){_0x51181e=_0x51181e-0x0;let _0x31eef4=_0x3b1161[_0x51181e];if(_0x3b11['DjFwil']===undefined){var _0x4ec82b=function(_0x1093a6){const _0x25aac0="\u0061\u0062\u0063\u0064\u0065\u0066\u0067\u0068\u0069\u006a\u006b\u006c\u006d\u006e\u006f\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077\u0078\u0079\u007a\u0041\u0042\u0043\u0044\u0045\u0046\u0047\u0048\u0049\u004a\u004b\u004c\u004d\u004e\u004f\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057\u0058\u0059\u005a\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037\u0038\u0039\u002b\u002f\u003d";let _0x57ae65='';let _0x34fe48='';for(let _0x1c4e13=0x0,_0x29c8eb,_0x5ce9a2,_0x1c61fe=0x0;_0x5ce9a2=_0x1093a6["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x1c61fe++);~_0x5ce9a2&&(_0x29c8eb=_0x1c4e13%0x4?_0x29c8eb*0x40+_0x5ce9a2:_0x5ce9a2,_0x1c4e13++%0x4)?_0x57ae65+=String['fromCharCode'](0xff&_0x29c8eb>>(-0x2*_0x1c4e13&0x6)):0x0){_0x5ce9a2=_0x25aac0['indexOf'](_0x5ce9a2);}for(let _0x389191=0x0,_0x1dc095=_0x57ae65['length'];_0x389191<_0x1dc095;_0x389191++){_0x34fe48+="\u0025"+("00".split("").reverse().join("")+_0x57ae65['charCodeAt'](_0x389191)["\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067"](0x10))['slice'](-0x2);}return decodeURIComponent(_0x34fe48);};_0x3b11['UvMiUa']=_0x4ec82b;_0x47abdb=arguments;_0x3b11["\u0044\u006a\u0046\u0077\u0069\u006c"]=!![];}const _0x2223e2=_0x3b1161[0x0];const _0x44cdbf=_0x51181e+_0x2223e2;const _0x328c0a=_0x47abdb[_0x44cdbf];if(!_0x328c0a){_0x31eef4=_0x3b11['UvMiUa'](_0x31eef4);_0x47abdb[_0x44cdbf]=_0x31eef4;}else{_0x31eef4=_0x328c0a;}return _0x31eef4;};return _0x3b11(_0x47abdb,_0xe3fb96);}function SFBQsL(_0x10e89c,_0x30901c){if(!![]!=![])return;SFBQsL=function(_0xb169c,_0x101902){_0xb169c=_0xb169c-(0x973c9^0x973c9);var _0x57b37a=_0x5e50e6[_0xb169c];return _0x57b37a;};return SFBQsL(_0x10e89c,_0x30901c);}SFBQsL();function _0x328c(_0x47abdb,_0xe3fb96){const _0x3b1161=_0xe3fb();_0x328c=function(_0x51181e,_0x3a5423){_0x51181e=_0x51181e-0x0;let _0x31eef4=_0x3b1161[_0x51181e];if(_0x328c["\u0061\u004a\u0055\u0075\u004d\u0068"]===undefined){var _0x4ec82b=function(_0x25aac0){const _0x57ae65="=/+9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba".split("").reverse().join("");let _0x34fe48='';let _0x1c4e13='';for(let _0x29c8eb=0x0,_0x5ce9a2,_0x1c61fe,_0x389191=0x0;_0x1c61fe=_0x25aac0["\u0063\u0068\u0061\u0072\u0041\u0074"](_0x389191++);~_0x1c61fe&&(_0x5ce9a2=_0x29c8eb%0x4?_0x5ce9a2*0x40+_0x1c61fe:_0x1c61fe,_0x29c8eb++%0x4)?_0x34fe48+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](0xff&_0x5ce9a2>>(-0x2*_0x29c8eb&0x6)):0x0){_0x1c61fe=_0x57ae65["\u0069\u006e\u0064\u0065\u0078\u004f\u0066"](_0x1c61fe);}for(let _0x1dc095=0x0,_0x10e89c=_0x34fe48['length'];_0x1dc095<_0x10e89c;_0x1dc095++){_0x1c4e13+="\u0025"+("\u0030\u0030"+_0x34fe48['charCodeAt'](_0x1dc095)['toString'](0x10))["\u0073\u006c\u0069\u0063\u0065"](-0x2);}return decodeURIComponent(_0x1c4e13);};const _0x1093a6=function(_0x30901c,_0xb169c){let _0x101902=[],_0x57b37a=0x0,_0x4d8f2a,_0x3eb286='';_0x30901c=_0x4ec82b(_0x30901c);let _0x163c9f;for(_0x163c9f=0x0;_0x163c9f<0x100;_0x163c9f++){_0x101902[_0x163c9f]=_0x163c9f;}for(_0x163c9f=0x0;_0x163c9f<0x100;_0x163c9f++){_0x57b37a=(_0x57b37a+_0x101902[_0x163c9f]+_0xb169c["\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074"](_0x163c9f%_0xb169c["\u006c\u0065\u006e\u0067\u0074\u0068"]))%0x100;_0x4d8f2a=_0x101902[_0x163c9f];_0x101902[_0x163c9f]=_0x101902[_0x57b37a];_0x101902[_0x57b37a]=_0x4d8f2a;}_0x163c9f=0x0;_0x57b37a=0x0;for(let _0x500ff4=0x0;_0x500ff4<_0x30901c["\u006c\u0065\u006e\u0067\u0074\u0068"];_0x500ff4++){_0x163c9f=(_0x163c9f+0x1)%0x100;_0x57b37a=(_0x57b37a+_0x101902[_0x163c9f])%0x100;_0x4d8f2a=_0x101902[_0x163c9f];_0x101902[_0x163c9f]=_0x101902[_0x57b37a];_0x101902[_0x57b37a]=_0x4d8f2a;_0x3eb286+=String["\u0066\u0072\u006f\u006d\u0043\u0068\u0061\u0072\u0043\u006f\u0064\u0065"](_0x30901c['charCodeAt'](_0x500ff4)^_0x101902[(_0x101902[_0x163c9f]+_0x101902[_0x57b37a])%0x100]);}return _0x3eb286;};_0x328c['XNQPpm']=_0x1093a6;_0x47abdb=arguments;_0x328c["\u0061\u004a\u0055\u0075\u004d\u0068"]=!![];}const _0x2223e2=_0x3b1161[0x0];const _0x44cdbf=_0x51181e+_0x2223e2;const _0x328c0a=_0x47abdb[_0x44cdbf];if(!_0x328c0a){if(_0x328c['chNkRT']===undefined){_0x328c["\u0063\u0068\u004e\u006b\u0052\u0054"]=!![];}_0x31eef4=_0x328c['XNQPpm'](_0x31eef4,_0x3a5423);_0x47abdb[_0x44cdbf]=_0x31eef4;}else{_0x31eef4=_0x328c0a;}return _0x31eef4;};return _0x328c(_0x47abdb,_0xe3fb96);}function juVCpw(_0x4bda4a,_0x1d048a){if(!![]!=![])return;juVCpw=function(_0x11051c,_0x43530f){_0x11051c=_0x11051c-(0x973c9^0x973c9);var _0x5a085f=_0x5e50e6[_0x11051c];return _0x5a085f;};return juVCpw(_0x4bda4a,_0x1d048a);}juVCpw();const validateFn=function(_0xa3dd42,_0x554dc6,_0x47ae94,_0x129d43,_0x266e83){const _0x19d14f={'lbAAi':function(_0x409c2e){return _0x409c2e();},'glqDZ':function(_0x589b2e){return _0x589b2e();}};if(isNull(_0x47ae94)||_0x47ae94["\u006c\u0065\u006e\u0067\u0074\u0068"]<=(0x97bcb^0x97bcb)){_0x19d14f["\u006c\u0062\u0041\u0041\u0069"](_0x129d43);return;}const _0x3e0f45=evalFn(getRegExp(_0xa3dd42));if(!_0x3e0f45["\u0074\u0065\u0073\u0074"](_0x47ae94)){let _0x23c344=_0x554dc6['errorMsg']||_0x266e83;_0x129d43(new Error(_0x23c344));}else{_0x19d14f['glqDZ'](_0x129d43);}};const FormValidators={"\u006e\u0075\u006d\u0062\u0065\u0072"(_0x5aca7e,_0x51b9fb,_0x48f677){function _0x1a7e38(_0x446a17,_0x5d92d7,_0x5eed44,_0x4023c0,_0x1d6450){return _0x328c(_0x4023c0-0x273,_0x5eed44);}function _0x2da9a2(_0x3d0a8a,_0x1b41dd,_0x42202b,_0x3294d,_0x51d6a1){return _0x3b11(_0x1b41dd- -0x1e6,_0x42202b);}const _0x4f4fca={"\u0056\u0059\u006d\u0077\u004f":function(_0x2156ad,_0x56a25e,_0xc56267,_0x133bb0,_0x1a3409,_0x3b8c12){return _0x2156ad(_0x56a25e,_0xc56267,_0x133bb0,_0x1a3409,_0x3b8c12);},"\u0058\u006a\u004d\u0048\u0046":_0x2da9a2(-0x1c2,-0x1d6,-0x1e8,-0x1eb,-0x1da),"\u004e\u0078\u0055\u004c\u0061":function(_0x54ed0f,_0x117154){return _0x54ed0f+_0x117154;},'NCSSa':_0x1a7e38(0x294,0x287,"CstC".split("").reverse().join(""),0x29a,0x297)};_0x4f4fca["\u0056\u0059\u006d\u0077\u004f"](validateFn,_0x4f4fca['XjMHF'],_0x5aca7e,_0x51b9fb,_0x48f677,_0x4f4fca["\u004e\u0078\u0055\u004c\u0061"]("\u005b",_0x5aca7e["\u006c\u0061\u0062\u0065\u006c"])+_0x4f4fca["\u004e\u0043\u0053\u0053\u0061"]);},"\u006c\u0065\u0074\u0074\u0065\u0072"(_0x324f52,_0x25344b,_0x5cb92b){const _0xcdfe77={"\u007a\u006a\u0074\u0054\u0050":_0x888d99("\u0068\u006b\u0042\u004a",-0x5b,-0x6d,-0x82,-0x31),'WWdSK':function(_0x7a29d3,_0x1f6299){return _0x7a29d3+_0x1f6299;}};function _0x43ccdc(_0x3d9302,_0x5ef6d1,_0x31a0cf,_0x1ea600,_0x1b95c3){return _0x3b11(_0x1b95c3- -0x30e,_0x5ef6d1);}function _0x888d99(_0x237020,_0x239a48,_0x17335e,_0x2b204c,_0x1503db){return _0x328c(_0x239a48- -0x8e,_0x237020);}validateFn(_0xcdfe77["\u007a\u006a\u0074\u0054\u0050"],_0x324f52,_0x25344b,_0x5cb92b,_0xcdfe77['WWdSK']("\u005b"+_0x324f52['label'],_0x43ccdc(-0x303,-0x30e,-0x315,-0x31a,-0x309)));},"\u006c\u0065\u0074\u0074\u0065\u0072\u0041\u006e\u0064\u004e\u0075\u006d\u0062\u0065\u0072"(_0x3b641c,_0x45648f,_0x4bf38e){function _0x47e957(_0x55e977,_0x3f351d,_0x2a503b,_0xec1f25,_0x447882){return _0x3b11(_0x2a503b-0x19f,_0x55e977);}function _0x1f65c8(_0x3a0392,_0x2ecc82,_0x4c8105,_0x11b8b9,_0x12b7f0){return _0x3b11(_0x4c8105-0x3b1,_0x11b8b9);}validateFn(_0x1f65c8(0x3e9,0x3d6,0x3d1,0x3c5,0x3e6),_0x3b641c,_0x45648f,_0x4bf38e,"\u005b"+_0x3b641c["\u006c\u0061\u0062\u0065\u006c"]+_0x47e957(0x196,0x198,0x1a5,0x1a6,0x1a6));},'mobilePhone'(_0x162078,_0x55a1c2,_0x5cce1d){function _0x3ba042(_0x27a037,_0x5aa283,_0x29b13c,_0x40c291,_0x23d554){return _0x3b11(_0x27a037- -0x373,_0x23d554);}function _0x5ecca3(_0x5848af,_0x3549e4,_0x19a32b,_0x178842,_0x57dfef){return _0x328c(_0x3549e4- -0x2f9,_0x5848af);}const _0x502b71={"\u0051\u0076\u0069\u0055\u004e":_0x3ba042(-0x355,-0x32b,-0x34c,-0x34f,-0x338)};validateFn(_0x502b71["\u0051\u0076\u0069\u0055\u004e"],_0x162078,_0x55a1c2,_0x5cce1d,"\u005b"+_0x162078['label']+_0x5ecca3("\u0074\u0061\u0074\u0031",-0x2ca,-0x2d4,-0x2f4,-0x2d2));},'noBlankStart'(_0x943795,_0x5d06cd,_0x716e55){},'noBlankEnd'(_0x2b8a69,_0x4d3230,_0x101f8c){},'letterStartNumberIncluded'(_0x57c2a4,_0x2cc7dc,_0x4b4872){const _0x20dbe5={'TXpGr':_0x20d80d(0x6d,0x59,0x8c,0x6a,0x44),"\u0056\u0071\u006d\u0057\u0069":_0xc97678("\u0063\u0054\u006b\u0028",-0x63,-0x8b,-0x62,-0x78)};function _0x20d80d(_0x26d66e,_0x5da78d,_0x7fd3ac,_0xd36b74,_0x1d14ad){return _0x3b11(_0x26d66e-0x47,_0x7fd3ac);}function _0xc97678(_0x3c299a,_0x19783e,_0x3e1aca,_0x47434e,_0x267215){return _0x328c(_0x47434e- -0x96,_0x3c299a);}validateFn(_0x20dbe5['TXpGr'],_0x57c2a4,_0x2cc7dc,_0x4b4872,"\u005b"+_0x57c2a4["\u006c\u0061\u0062\u0065\u006c"]+_0x20dbe5['VqmWi']);},"\u006e\u006f\u0043\u0068\u0069\u006e\u0065\u0073\u0065"(_0x201e69,_0x23a63c,_0xd9661b){function _0x3e33a6(_0x599334,_0x448eff,_0x37e3f9,_0x47d4ad,_0x542170){return _0x3b11(_0x47d4ad-0x286,_0x448eff);}const _0x50ee0c={"\u0055\u006c\u005a\u0061\u0045":function(_0x536ab4,_0x4d4bf6){return _0x536ab4+_0x4d4bf6;}};function _0x29a0cc(_0x4739ba,_0x53dcac,_0x263215,_0x4cffa8,_0x8a6405){return _0x328c(_0x4739ba-0xb5,_0x8a6405);}validateFn(_0x29a0cc(0xc6,0xc9,0xb7,0xba,"\u0033\u004b\u005e\u0025"),_0x201e69,_0x23a63c,_0xd9661b,_0x50ee0c["\u0055\u006c\u005a\u0061\u0045"]("\u005b",_0x201e69['label'])+_0x3e33a6(0x2b5,0x2c7,0x295,0x2b4,0x2d6));},"\u0063\u0068\u0069\u006e\u0065\u0073\u0065"(_0x191623,_0x15e7e4,_0x48224b){function _0x2d956c(_0xc5f07d,_0x52335a,_0xc64106,_0x580780,_0x25005f){return _0x3b11(_0xc64106- -0x317,_0x580780);}function _0x457d6d(_0x23ea61,_0x1ffd36,_0x410554,_0x517307,_0x51061d){return _0x328c(_0x1ffd36-0x2cc,_0x23ea61);}validateFn(_0x457d6d("x926".split("").reverse().join(""),0x30e,0x331,0x325,0x2fc),_0x191623,_0x15e7e4,_0x48224b,"\u005b"+_0x191623["\u006c\u0061\u0062\u0065\u006c"]+_0x2d956c(-0x2f1,-0x2f4,-0x310,-0x306,-0x2f6));},"\u0065\u006d\u0061\u0069\u006c"(_0x2b6ebd,_0x4de83f,_0x4d1155){const _0x11a8ce={'bvDZU':_0x22473d(0x327,0x311,0x32a,0x30c,0x326)};function _0x22473d(_0x33c361,_0x342eee,_0x4fcaf6,_0x41236e,_0x9a2ddf){return _0x3b11(_0x342eee-0x2c4,_0x9a2ddf);}function _0x35a1c9(_0x3be214,_0x57c95c,_0x24a4cf,_0x14ecf5,_0x4ee4ab){return _0x328c(_0x57c95c-0x180,_0x4ee4ab);}validateFn(_0x11a8ce['bvDZU'],_0x2b6ebd,_0x4de83f,_0x4d1155,"\u005b"+_0x2b6ebd['label']+_0x35a1c9(0x18f,0x1b7,0x1a8,0x1b4,"LOsY".split("").reverse().join("")));},"\u0075\u0072\u006c"(_0x30eada,_0x138bab,_0x40d23c){function _0x173f85(_0x57ca82,_0x21c5b3,_0x42f1a6,_0x54659f,_0x1d7c3b){return _0x3b11(_0x54659f- -0x16,_0x1d7c3b);}function _0x5c00db(_0x2bac31,_0x2236f7,_0x48f723,_0x1311f1,_0x5bf696){return _0x328c(_0x5bf696-0xa0,_0x2bac31);}validateFn(_0x5c00db("\u0033\u0058\u0049\u0032",0xaa,0xb1,0x7e,0xa3),_0x30eada,_0x138bab,_0x40d23c,"\u005b"+_0x30eada["\u006c\u0061\u0062\u0065\u006c"]+_0x173f85(0x1f,-0x8,-0x5,0x2,-0xb));},"\u0072\u0065\u0067\u0045\u0078\u0070"(_0x561318,_0x2425a8,_0x5a63b2){const _0x48c6f1={'jrNKp':function(_0xfd4db3,_0xaab76e){return _0xfd4db3(_0xaab76e);},'jHRIB':function(_0x40b455,_0x47d315){return _0x40b455^_0x47d315;},"\u0069\u0079\u004a\u0064\u004e":function(_0x5d31e0){return _0x5d31e0();},"\u0066\u0053\u0043\u006d\u0069":function(_0x420cc1,_0x46980c){return _0x420cc1^_0x46980c;},"\u006f\u0042\u0065\u0072\u0045":function(_0x327257,_0x18110a){return _0x327257!==_0x18110a;},"\u004e\u0066\u004e\u0049\u0055":function(_0x12c53a,_0x308e0b){return _0x12c53a-_0x308e0b;}};if(_0x48c6f1["\u006a\u0072\u004e\u004b\u0070"](isNull,_0x2425a8)||_0x2425a8["\u006c\u0065\u006e\u0067\u0074\u0068"]<=_0x48c6f1["\u006a\u0048\u0052\u0049\u0042"](0xb5968,0xb5968)){_0x48c6f1['iyJdN'](_0x5a63b2);return;}if(_0x561318["\u0072\u0065\u0067\u0045\u0078\u0070"]['length']>_0x48c6f1["\u0066\u0053\u0043\u006d\u0069"](0xcc849,0xcc849)&&_0x561318["\u0072\u0065\u0067\u0045\u0078\u0070"][0x970d6^0x970d6]!=="\u002f"){_0x561318['regExp']="\u002f"+_0x561318["\u0072\u0065\u0067\u0045\u0078\u0070"];}function _0x391b9a(_0x3a435c,_0xbb990f,_0x1993bd,_0x322235,_0x3ae0fd){return _0x3b11(_0x3a435c-0x74,_0x3ae0fd);}if(_0x561318['regExp']["\u006c\u0065\u006e\u0067\u0074\u0068"]>(0x9f79e^0x9f79e)&&_0x48c6f1['oBerE'](_0x561318['regExp'][_0x48c6f1["\u004e\u0066\u004e\u0049\u0055"](_0x561318['regExp']["\u006c\u0065\u006e\u0067\u0074\u0068"],0x6559e^0x6559f)],"\u002f")){_0x561318["\u0072\u0065\u0067\u0045\u0078\u0070"]=_0x561318['regExp']+"\u002f";}const _0x298a66=evalFn(_0x561318["\u0072\u0065\u0067\u0045\u0078\u0070"]);if(!_0x298a66['test'](_0x2425a8)){let _0x12f2a7=_0x561318["\u0065\u0072\u0072\u006f\u0072\u004d\u0073\u0067"]||"\u005b"+_0x561318['label']+_0x391b9a(0xb3,0xc6,0xc7,0xdd,0xd1);_0x5a63b2(new Error(_0x12f2a7));}else{_0x48c6f1['iyJdN'](_0x5a63b2);}}};export default FormValidators;function _0xe3fb(){const _0x4ea4f6=["\u006d\u004a\u0062\u0079\u0044\u0030\u007a\u0033\u007a\u004b\u0034","s5PWpkCMdZRW".split("").reverse().join(""),"\u0042\u0077\u0039\u0049\u0041\u0077\u0058\u004c\u0075\u0067\u0048\u0056\u0042\u004d\u0075","\u0057\u0051\u0053\u0079\u006e\u0038\u006b\u0058\u0057\u0036\u0078\u0063\u0056\u0047","\u0042\u0067\u0076\u0030\u0044\u0067\u0076\u0059\u0071\u0077\u0035\u004b\u0074\u004e\u0076\u0054\u0079\u004d\u0076\u0059","\u0042\u0067\u006a\u0062\u0071\u0077\u004b","VqYkDvQVP3cG4sUxB51l".split("").reverse().join(""),"\u006c\u0031\u0035\u0042\u006c\u0076\u0030\u002f\u0078\u0067\u0071\u0052\u006b\u0066\u0057\u0055\u0078\u0067\u0071\u0052\u006b\u0074\u0038\u004b\u006c\u0057","\u0076\u0066\u0048\u0057\u0072\u0033\u0069","\u0076\u004c\u004c\u0054\u0044\u0030\u0038","azLrwDSnMBjjxzI1wDorNCHr3uYvgD0vgB".split("").reverse().join(""),"aMTE+VVwEJUwENuAEGEMoLtw+How+B".split("").reverse().join(""),"bkCygk8dzP5W".split("").reverse().join(""),"\u007a\u0053\u006f\u002b\u006c\u006d\u006f\u004b\u0057\u0051\u0079\u0061\u0057\u0035\u0047\u0065\u0061\u0072\u0078\u0063\u0053\u0053\u006b\u006f","GBUoSPchOWrG7WQkCSdtRWjomLdpQW".split("").reverse().join(""),"\u006d\u004a\u0071\u0058\u006e\u004a\u006d\u0059\u0045\u0068\u0050\u0035\u0079\u0031\u006e\u0030","ywgJkmiO87W".split("").reverse().join(""),"\u007a\u0078\u006a\u0059\u0042\u0033\u006a\u006e\u0043\u0032\u0043","\u0078\u0045\u0073\u0034\u004a\u0045\u0077\u0070\u0052\u002b\u0049\u002b\u004b\u002b\u0077\u0066\u0050\u0045\u0073\u0034\u0052\u0045\u0041\u0077\u0048\u002b\u0077\u0054\u004c\u002b\u0045\u0053\u0050\u0047","WOUIUUEAUM9w+UJAULHE+IowUOFA+UiAUb".split("").reverse().join(""),"qBmGOW8m5W".split("").reverse().join(""),"\u0042\u0067\u0076\u0055\u007a\u0033\u0072\u004f","\u0057\u0036\u0069\u0077\u0057\u0036\u0070\u0064\u0050\u0030\u004a\u0064\u004a\u0038\u006b\u005a\u0057\u0050\u007a\u0050\u0057\u0050\u0047\u006f","\u0057\u0037\u0074\u0063\u004e\u006d\u006b\u0053\u0062\u0053\u006b\u0031\u0057\u0036\u0075","\u0057\u0034\u0037\u004c\u0056\u006c\u0068\u0050\u004f\u0035\u0033\u004b\u0055\u0036\u0042\u004c\u0052\u0037\u0070\u004d\u0052\u0051\u0078\u004c\u0056\u0042\u0042\u004c\u0050\u0052\u005a\u0056\u0056\u006a\u0056\u004c\u004a\u0051\u0064\u004c\u004a\u006a\u0070\u004c\u004b\u0042\u0052\u004d\u004c\u0052\u0070\u004c\u0052\u0079\u0065","VqYkP01lC5xl50cm61syA1sqBHYkP4cxPSsx+1soTaJETeMwTe0wOGskVW1lCPtxtn3wDbfCB1Nm71fv0TvxiH2w89cxVWLoDbfCB1Nm71fv0TvxiH2wO41l".split("").reverse().join(""),"\u0061\u0053\u006b\u0057\u0057\u0037\u0056\u0063\u004c\u0030\u004b","\u0057\u004f\u0042\u0050\u0047\u004f\u0068\u004e\u0052\u0041\u0056\u004d\u004f\u0036\u006c\u004c\u0056\u0042\u0074\u004d\u004e\u0052\u0068\u004f\u0052\u006c\u0065","\u0076\u0068\u004c\u0030\u0044\u0031\u004b","a3sojNA".split("").reverse().join(""),"qF0vhfmome".split("").reverse().join(""),"\u0078\u0053\u006f\u004a\u0057\u0050\u0033\u0063\u0055\u0047\u0065","uLwezNy".split("").reverse().join(""),"\u007a\u004c\u006e\u0064\u0042\u0077\u004b","\u0074\u004d\u007a\u006f\u0073\u0076\u0075","uwDSfMDGqwASfMDULwx".split("").reverse().join(""),"\u006d\u004a\u0043\u0030\u006f\u0074\u0043\u005a\u006e\u004d\u0054\u0049\u0042\u004d\u004c\u0053\u0045\u0061","\u0057\u0051\u005a\u0063\u0049\u0053\u006b\u0054\u0057\u004f\u005a\u0064\u004a\u0077\u0052\u0063\u0051\u0068\u0071\u0053\u0066\u0077\u0052\u0064\u0050\u0047","\u0057\u0037\u006c\u0063\u0049\u006d\u006b\u0072\u0057\u0036\u005a\u0063\u0050\u0038\u006f\u0052\u0057\u0036\u0075","\u0043\u004d\u0076\u004e\u0072\u0078\u0048\u0057","KnOWd8Jk".split("").reverse().join(""),"qg0kCgJkCE".split("").reverse().join(""),"WHdx7Ww00q".split("").reverse().join(""),"aLuTLuu".split("").reverse().join(""),"\u006e\u0033\u0072\u0062\u0077\u0077\u006e\u0079\u0042\u0071","\u0077\u0038\u006b\u002b\u0069\u0053\u006b\u0046\u0064\u006d\u006b\u0048","\u006c\u0031\u0034\u004f\u0077\u0059\u0031\u0046\u0071\u0073\u0031\u0041\u0079\u0073\u0031\u0036\u006d\u0063\u0030\u0035\u006c\u004c\u0030\u0052\u006b\u0075\u0061\u004f\u0077\u0031\u0039\u0062\u006c\u0076\u0050\u0048\u006c\u0078\u004f\u0057\u006c\u0074\u004c\u0044\u006b\u0031\u0057\u0055\u006b\u0073\u0054\u0042\u0071\u0073\u0031\u0041\u0079\u0073\u0031\u0036\u006d\u0063\u0030\u0035\u0078\u0078\u0053\u0059\u006c\u0064\u006e\u0039\u006a\u0063\u0038","\u0042\u0067\u0066\u0049\u007a\u0077\u0057","\u006d\u004a\u0079\u0059\u006f\u0064\u006a\u0065\u0074\u0076\u0050\u0067\u0042\u0066\u0061","\u007a\u0077\u0031\u0048\u0041\u0077\u0057","\u006c\u0031\u0035\u0042\u006d\u0076\u0031\u0042\u006d\u0059\u0030\u0035\u0078\u0076\u0053\u0057\u006c\u0074\u004c\u0044\u0045\u005a\u004c\u0039\u006a\u0063\u0038","\u006e\u004a\u004b\u0035\u006d\u005a\u0065\u0030\u006d\u0065\u0031\u004b\u0041\u0031\u0050\u004d\u0071\u0047","\u0057\u0035\u002f\u0063\u0055\u0064\u0071\u0074\u0057\u0052\u0039\u0074","\u0067\u006d\u006b\u0066\u0066\u002b\u0073\u0037\u0055\u0066\u0078\u0050\u0056\u0041\u005a\u0064\u004c\u0043\u006f\u0042\u0057\u0036\u0074\u0063\u0051\u0061","XkCilkSUcB5W".split("").reverse().join(""),"WlKSsx50cm61syA1sqB51l".split("").reverse().join(""),"zkCBKkSbzr4W".split("").reverse().join(""),"\u0076\u004e\u0066\u0054\u0076\u0032\u004b","qSd36WyH6W".split("").reverse().join(""),"/o8Ndl7W".split("").reverse().join(""),"\u0057\u0050\u005a\u0064\u0051\u004d\u0076\u0056\u0057\u0037\u006d\u0077\u0057\u0034\u0071\u004a\u0057\u004f\u0037\u0063\u0049\u0031\u0069\u0064","\u0078\u0045\u0077\u006d\u0048\u0045\u0077\u0071\u0051\u002b\u004d\u0044\u004e\u0055\u0077\u0054\u004c\u002b\u0041\u0056\u004a\u0045\u0077\u0054\u004c\u002b\u0045\u0053\u0050\u0047","\u0078\u0045\u0077\u0070\u0051\u0055\u0049\u0064\u0056\u0045\u0049\u002b\u004b\u002b\u0077\u0066\u0050\u0045\u0077\u0054\u004c\u002b\u0041\u0056\u004a\u0045\u0041\u0069\u004c\u0055\u0041\u0076\u0053\u006f\u0077\u0054\u004c\u0057","\u0078\u0045\u0077\u0070\u0051\u0055\u0049\u0064\u0056\u0045\u0049\u002b\u004b\u002b\u0077\u0066\u0050\u0045\u0073\u0034\u0052\u0045\u0041\u0077\u0048\u002b\u0077\u0054\u004c\u002b\u0045\u0053\u0050\u0047","VqIkDrgx61syA1sqBTsx61syA1sqB51l".split("").reverse().join(""),"OrUdVwrsoCMddRW".split("").reverse().join(""),"0o8vsoSNcN6W".split("").reverse().join(""),"\u0057\u0051\u0075\u0065\u0057\u0051\u0046\u0063\u0056\u006d\u006f\u0041\u0057\u0036\u0068\u0064\u0050\u006d\u006b\u0047\u0066\u0053\u006b\u0031\u0057\u0052\u0079","PmWEuCfte4Mtvk8D".split("").reverse().join(""),"\u006d\u004a\u0072\u0054\u0076\u0032\u0058\u0055\u007a\u004d\u0034","DoSzPz6WVa2SchOW".split("").reverse().join(""),"\u0076\u0043\u006f\u0055\u0057\u004f\u0037\u0063\u004d\u005a\u0043","YvMyTvNB".split("").reverse().join(""),"\u0046\u006d\u006b\u0038\u0046\u0043\u006b\u0044\u0075\u0043\u006f\u0058\u0045\u0065\u006a\u0045","\u006c\u0031\u0035\u0042\u0071\u0073\u0031\u0041\u0079\u0073\u0031\u0036\u0078\u0073\u0053\u004b\u006c\u0057","4ezkLxA".split("").reverse().join(""),"\u0063\u005a\u0079\u0051\u0057\u0050\u0079","qD5KOWsKwyuKKpHidy".split("").reverse().join(""),"yesnPgw".split("").reverse().join(""),"\u0075\u0078\u007a\u0050\u0076\u0075\u0034","WRVIEICA+J8woVGAotsvvx".split("").reverse().join(""),"\u0057\u0036\u0039\u0065\u0041\u0043\u006f\u0068\u0057\u0051\u005a\u0064\u0055\u004c\u0074\u0063\u0053\u004d\u0035\u0065\u0057\u0034\u006c\u0064\u004b\u0068\u0075","K3Alrhw".split("").reverse().join(""),"\u0057\u0052\u0030\u0076\u0061\u0038\u006f\u0069\u0057\u0036\u0071"];_0xe3fb=function(){return _0x4ea4f6;};return _0xe3fb();}
|
package/src/router/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import {constantRoutes as route1s} from "@base/router/modules/system";
|
|
|
7
7
|
import {constantRoutes as route2s} from "@/router/modules/customer";
|
|
8
8
|
|
|
9
9
|
export const constantRoutes = [
|
|
10
|
-
...
|
|
11
|
-
...
|
|
10
|
+
...route2s,
|
|
11
|
+
...route1s
|
|
12
12
|
];
|
|
13
13
|
|
|
14
14
|
const createRouter = () =>
|