添加功能效验
Showing
14 changed files
with
1209 additions
and
0 deletions
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx,dyfs) { | ||
7 | var formRules={ | ||
8 | 'diyaq.djyy': [ | ||
9 | { required: false, message: '请输入登记原因', trigger: 'blur' } | ||
10 | ], | ||
11 | 'diyaq.zxdyyy': [ | ||
12 | { required: false, message: '请输入注销登记原因', trigger: 'blur' } | ||
13 | ], | ||
14 | 'diyaq.zwlxqssj': [ | ||
15 | { required: false, message: '请选择债务履行起始时间', trigger: 'blur' } | ||
16 | ], | ||
17 | 'diyaq.zwlxjssj': [ | ||
18 | { required: false, message: '请选择债务履行起始时间', trigger: 'blur' } | ||
19 | ], | ||
20 | 'diyaq.bdbzzqse': [ | ||
21 | { required: false, message: '请输入被担保主债权数额', trigger: 'blur' } | ||
22 | ], | ||
23 | 'diyaq.zgzqse': [ | ||
24 | { required: false, message: '请输入最高债权额', trigger: 'blur' } | ||
25 | ] | ||
26 | } | ||
27 | if (djlx=="400") { | ||
28 | formRules["diyaq.zxdyyy"][0].required=true; | ||
29 | }else{ | ||
30 | if(dyfs=="1"){ | ||
31 | formRules["diyaq.bdbzzqse"][0].required=true; | ||
32 | }else{ | ||
33 | formRules["diyaq.zgzqse"][0].required=true; | ||
34 | } | ||
35 | formRules["diyaq.zwlxqssj"][0].required=true; | ||
36 | formRules["diyaq.zwlxjssj"][0].required=true; | ||
37 | formRules["diyaq.djyy"][0].required=true; | ||
38 | } | ||
39 | return formRules; | ||
40 | } | ||
41 | |||
42 | /** | ||
43 | * @description: 首次登记效验 | ||
44 | * @param {*} data | ||
45 | * @author: renchao | ||
46 | */ | ||
47 | export function fristValidate (formRules,dyfs) { | ||
48 | |||
49 | return formRules; | ||
50 | } | ||
51 | |||
52 | |||
53 | /** | ||
54 | * @description: 转移登记效验 | ||
55 | * @param {*} data | ||
56 | * @author: renchao | ||
57 | */ | ||
58 | export function transferValidate (data) { | ||
59 | |||
60 | } | ||
61 | |||
62 | /** | ||
63 | * @description: 变更登记效验 | ||
64 | * @param {*} data | ||
65 | * @author: renchao | ||
66 | */ | ||
67 | export function changeValidate (data) { | ||
68 | |||
69 | } | ||
70 | |||
71 | /** | ||
72 | * @description: 注销登记效验 | ||
73 | * @param {*} data | ||
74 | * @author: renchao | ||
75 | */ | ||
76 | export function logoutValidate (data) { | ||
77 | |||
78 | } | ||
79 | |||
80 | /** | ||
81 | * @description: 更正登记效验 | ||
82 | * @param {*} data | ||
83 | * @author: renchao | ||
84 | */ | ||
85 | export function riviseValidate (data) { | ||
86 | |||
87 | } | ||
88 | |||
89 | /** | ||
90 | * @description: 补证登记效验 | ||
91 | * @param {*} data | ||
92 | * @author: renchao | ||
93 | */ | ||
94 | export function renewalValidate (data) { | ||
95 | |||
96 | } | ||
97 | |||
98 | /** | ||
99 | * @description: 换证登记效验 | ||
100 | * @param {*} data | ||
101 | * @author: renchao | ||
102 | */ | ||
103 | export function replaceValidate (data) { | ||
104 | |||
105 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | /** | ||
2 | * @description: 首次登记效验 | ||
3 | * @param {*} data | ||
4 | * @author: renchao | ||
5 | */ | ||
6 | export function formValidate (djlx) { | ||
7 | switch (djlx) { | ||
8 | case "100": | ||
9 | return fristValidate(); | ||
10 | case "200": | ||
11 | return transferValidate(); | ||
12 | case "300": | ||
13 | return changeValidate(); | ||
14 | case "400": | ||
15 | return logoutValidate(); | ||
16 | case "500": | ||
17 | return riviseValidate(); | ||
18 | case "901": | ||
19 | return renewalValidate(); | ||
20 | case "902": | ||
21 | return replaceValidate(); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * @description: 首次登记效验 | ||
27 | * @param {*} data | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | export function fristValidate () { | ||
31 | var formRules={ | ||
32 | 'diyaq.djyy': [ | ||
33 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
34 | ] | ||
35 | } | ||
36 | return formRules; | ||
37 | } | ||
38 | |||
39 | |||
40 | /** | ||
41 | * @description: 转移登记效验 | ||
42 | * @param {*} data | ||
43 | * @author: renchao | ||
44 | */ | ||
45 | export function transferValidate (data) { | ||
46 | |||
47 | } | ||
48 | |||
49 | /** | ||
50 | * @description: 变更登记效验 | ||
51 | * @param {*} data | ||
52 | * @author: renchao | ||
53 | */ | ||
54 | export function changeValidate (data) { | ||
55 | |||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 注销登记效验 | ||
60 | * @param {*} data | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | export function logoutValidate (data) { | ||
64 | |||
65 | } | ||
66 | |||
67 | /** | ||
68 | * @description: 更正登记效验 | ||
69 | * @param {*} data | ||
70 | * @author: renchao | ||
71 | */ | ||
72 | export function riviseValidate (data) { | ||
73 | |||
74 | } | ||
75 | |||
76 | /** | ||
77 | * @description: 补证登记效验 | ||
78 | * @param {*} data | ||
79 | * @author: renchao | ||
80 | */ | ||
81 | export function renewalValidate (data) { | ||
82 | |||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: 换证登记效验 | ||
87 | * @param {*} data | ||
88 | * @author: renchao | ||
89 | */ | ||
90 | export function replaceValidate (data) { | ||
91 | |||
92 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment