Compare commits
2006 Commits
master
...
apps_dev_y
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9c5116b36 | ||
|
|
fbaad6cea2 | ||
|
|
9e9a11cf1b | ||
|
|
a34f388521 | ||
|
|
613b37e207 | ||
|
|
786d656b7e | ||
|
|
4f70b4fee6 | ||
|
|
cb5538f108 | ||
|
|
b35860647a | ||
|
|
e1fc03901f | ||
| 956efce616 | |||
| 66897fe5df | |||
| 2bad471977 | |||
| 3ac0c7c81e | |||
|
|
b59f4448c4 | ||
|
|
1f4b41f92e | ||
|
|
562c246836 | ||
|
|
c887460d04 | ||
| b64b79d0a6 | |||
| 1386bc7008 | |||
| 2693a2e346 | |||
|
|
05511ebb4e | ||
|
|
1389c67257 | ||
|
|
f98c9e2d7d | ||
|
|
daa0ade806 | ||
| df3b39a526 | |||
|
|
e0c90a5f99 | ||
| 95e577a8ee | |||
|
|
ce3f674c6c | ||
|
|
60e85d25d9 | ||
| 4ce0d9b522 | |||
|
|
fcb48378ca | ||
|
|
c9bbdcff22 | ||
|
|
2e1e35d2d8 | ||
|
|
4b986509d2 | ||
|
|
e5741c33c1 | ||
|
|
bacb1b49ce | ||
|
|
81620168cb | ||
|
|
603e3b18dc | ||
|
|
940f568587 | ||
|
|
289960baf4 | ||
|
|
83fcb19cd4 | ||
|
|
fc3c9bdc59 | ||
|
|
5bce2fff5d | ||
|
|
969ed256f3 | ||
|
|
ee0e60f001 | ||
| e8ba2ceb00 | |||
| 297fb1d0ea | |||
| 29a89b421e | |||
|
|
3792568d08 | ||
| 110c016c59 | |||
| 3ac8502545 | |||
| 4894088647 | |||
| a4744c931f | |||
| 59f73f2e14 | |||
| 394b355b95 | |||
|
|
e5ddf62af4 | ||
|
|
8ff5ce9295 | ||
| 0702114385 | |||
| 0534397440 | |||
| a4488b98eb | |||
|
|
f47f4e3ac5 | ||
|
|
5ec054dfad | ||
|
|
2aa2d0be2d | ||
|
|
5517ec0461 | ||
|
|
d2e02fe88c | ||
| b6d895c82c | |||
| e669ae473f | |||
|
|
8d0078a8ca | ||
| a648ba62c1 | |||
| 2e2849f91c | |||
| 672dbc5807 | |||
| 203b17ca46 | |||
| e03d9cbb4a | |||
|
|
42a985e3b0 | ||
| 10b0e90e48 | |||
| 94941dccec | |||
| 3541ad4004 | |||
| 5fbd8fd5cc | |||
| 4609c00f7b | |||
|
|
ac52900d70 | ||
|
|
54a7dca316 | ||
|
|
129725cbd4 | ||
| 1ce963fcf9 | |||
| f4368736cc | |||
|
|
41882bd841 | ||
|
|
ef4be3f26f | ||
|
|
1671680584 | ||
|
|
9ed39bf57e | ||
|
|
a76e4f17f5 | ||
|
|
d9925d41d2 | ||
|
|
5179c7da33 | ||
|
|
41eb3e592f | ||
| d00164c3ff | |||
| 12143b9853 | |||
| 0428f7eb9b | |||
| 3380faa410 | |||
|
|
927def8665 | ||
| ad90c06acb | |||
|
|
f00ddaaf5d | ||
|
|
3f961cc155 | ||
|
|
e04eaf0bdc | ||
| 01ed4ba72d | |||
| 7d7f33c6b8 | |||
| e9b0147be8 | |||
| b12d3d7dfe | |||
|
|
a133ae385a | ||
|
|
bb7dc61ba2 | ||
|
|
b23766cb36 | ||
|
|
5ba9659e72 | ||
|
|
ccd14f5213 | ||
|
|
053fe9785d | ||
|
|
12f8f452db | ||
|
|
4cc44902c6 | ||
|
|
fc38bbdbd2 | ||
|
|
c7e2048703 | ||
|
|
037824201a | ||
|
|
01c2022472 | ||
|
|
c511fb0cd6 | ||
|
|
254a70413c | ||
|
|
63db31f602 | ||
|
|
c5bfec25b1 | ||
|
|
898056f454 | ||
|
|
1c63df09b7 | ||
|
|
24d96d89c4 | ||
|
|
a2e2a8686d | ||
|
|
8d0e7fbcb0 | ||
|
|
f244da16ec | ||
|
|
263cbae214 | ||
|
|
5c005df374 | ||
|
|
926d3d7a94 | ||
|
|
9d28c5a65d | ||
|
|
e9ef26783f | ||
|
|
9584d6704d | ||
|
|
6bac744265 | ||
|
|
f1d2e47a93 | ||
|
|
fe533014f2 | ||
|
|
ff1382fe01 | ||
|
|
caa1246857 | ||
| 7c62f5d9e5 | |||
| a664edf514 | |||
|
|
0cbad1d821 | ||
|
|
cf819289a0 | ||
| 1b1e5b4b1d | |||
| da0b82a8a6 | |||
| 9b3e75e44c | |||
| fe8900e52b | |||
| 4b9318ae59 | |||
| bc792bd492 | |||
| 402e4c6c5c | |||
| c8f7c0611d | |||
| fb2e0ac38d | |||
| 14eafd4f1d | |||
| c904a90762 | |||
| 95011aa704 | |||
| 78711520b1 | |||
| da5c87484e | |||
|
|
e031b05e85 | ||
|
|
7c11497920 | ||
|
|
031b2ac6bf | ||
|
|
708c6fbdba | ||
| bf07f23f9b | |||
| 05ea496a36 | |||
| 696af37dca | |||
|
|
9b73250023 | ||
| deca56e4e4 | |||
|
|
f40fff07f3 | ||
|
|
64af5a88a6 | ||
|
|
5499b0662f | ||
|
|
c69ba1bfe4 | ||
|
|
2d586372a9 | ||
|
|
2788f331b2 | ||
|
|
c11cf1c358 | ||
| cd0b51ef72 | |||
|
|
2733e2ae0e | ||
|
|
6de16e6618 | ||
|
|
256e20ee23 | ||
|
|
e8babcc270 | ||
| cd053664bc | |||
| a1e0cb7894 | |||
| 2d377beec9 | |||
|
|
a7ff9a43ba | ||
|
|
301a4d84d0 | ||
|
|
24408e2659 | ||
|
|
fe4781ebf1 | ||
|
|
7150be359a | ||
|
|
c38686f0e8 | ||
| 675eba698a | |||
| bf333085a0 | |||
| 4876c6adb1 | |||
| 742174a615 | |||
| a908f35ffc | |||
| 3d45f7bf5e | |||
| 6935405ca2 | |||
| 3dbe45bc56 | |||
| 6c08ca6398 | |||
| 7a62322c29 | |||
| 237b7a691c | |||
| 5874c2a16d | |||
|
|
66f02980c0 | ||
| c90e54d487 | |||
| 0db1332a24 | |||
| 7729306a11 | |||
| 40bd9f8ea4 | |||
| abb778d2fa | |||
| 1de4be853b | |||
| 06abd44c28 | |||
| afedc82251 | |||
| 892c5743fa | |||
| a9d5c29b81 | |||
| b05c71e7e1 | |||
| 8a91f048b9 | |||
| 33216e2a51 | |||
| ee7186cd0c | |||
|
|
2df4dcfee7 | ||
|
|
f5dddf8c65 | ||
|
|
53e7b9c16c | ||
|
|
4e911fc60a | ||
| 8251c65ef7 | |||
| 3a5de94d13 | |||
|
|
a111afae43 | ||
|
|
48398c335a | ||
| 4a3ce050ff | |||
| 2c615471d3 | |||
| 35733c91ae | |||
| e59f837c67 | |||
| 17a1f43dca | |||
|
|
ec400a93a2 | ||
|
|
1168f074e0 | ||
|
|
95a3359946 | ||
| 3bee184df7 | |||
| 691fd5e12d | |||
|
|
be33c093e6 | ||
|
|
6d18a46d74 | ||
|
|
9e2102a5eb | ||
| 12f1d4fd7c | |||
| 3a0f29f9f2 | |||
|
|
70c4d1146e | ||
| 232d44c0fb | |||
| 05f6efe700 | |||
| 290a8ed2e4 | |||
|
|
0389d98b4b | ||
| 78d0db0a2c | |||
| dda43bcefe | |||
|
|
26ee4ef30f | ||
|
|
403277ecef | ||
| 9941779e02 | |||
| c6baf0e75d | |||
| c4bb76fe69 | |||
| f861e49423 | |||
| 4ab535856f | |||
| f8f90e8765 | |||
|
|
bea55677ce | ||
|
|
16b911a9d8 | ||
|
|
e3ecf998db | ||
|
|
8eda7b749a | ||
| 9d19fb7eae | |||
| 8b602b3a47 | |||
| 82ab4c2de0 | |||
|
|
651a5a1e66 | ||
| a8281a757b | |||
| 9a3bd51e6c | |||
|
|
3f39349643 | ||
| b32a19a115 | |||
| 02623c7ca3 | |||
| 0f054fb3cd | |||
| 0fbd7194c4 | |||
|
|
66392f37b0 | ||
| 4de2da1eac | |||
| a2c3f4bbd6 | |||
| 8b1b3e7daf | |||
| 44806670f4 | |||
|
|
fc669650ec | ||
|
|
398e52fd6e | ||
| 38b3c10c19 | |||
|
|
2c86dd443e | ||
| a70f725ee4 | |||
|
|
597c5173a3 | ||
|
|
438f217a77 | ||
| 78afcec93b | |||
|
|
daa67e14e3 | ||
|
|
1473e3787e | ||
| e00368afd4 | |||
| 463766de7c | |||
| ccae909979 | |||
| 08b40cdfb9 | |||
| 821d8cc797 | |||
| 0ffc7dad26 | |||
|
|
16b0f20147 | ||
|
|
acc8f8d4f7 | ||
| bfd6504439 | |||
|
|
85a8e3cdd9 | ||
| d789b5294f | |||
| b2f0f03c9f | |||
| 5ab902d47c | |||
|
|
9237bbf35b | ||
| 149fe66ed5 | |||
|
|
7feab1c358 | ||
| 3af7a4e582 | |||
| a2ef518fc5 | |||
| 730d734f98 | |||
| daaf4e0332 | |||
| 62501778ec | |||
| ac4a054450 | |||
| 0401407838 | |||
| fb8f8f1c79 | |||
|
|
6d6f525f9c | ||
|
|
134b56edf7 | ||
| 50f0412f5a | |||
| 5a7893867b | |||
| 62af6202cd | |||
| 7bc0a7b929 | |||
| 5c745160de | |||
|
|
b01f4d168c | ||
| 55f190d261 | |||
| 06c890e894 | |||
| 8871a88c53 | |||
| 8a72e1ce07 | |||
| 1a8aa13ca0 | |||
| 9e6d37ab67 | |||
| a57daa2cbd | |||
| 94c97b580d | |||
|
|
5af8bbfd62 | ||
|
|
467c965471 | ||
|
|
cb9f80fea0 | ||
| f5dc6ed03c | |||
|
|
c761b91ed2 | ||
|
|
0e23df6a78 | ||
|
|
c3efda91b4 | ||
| e05a46ca3e | |||
| af7d2cdb0c | |||
| 52ab49755d | |||
|
|
747bbb47b1 | ||
|
|
5e9727821a | ||
|
|
222af80abc | ||
| 7627c95023 | |||
|
|
d80f7d2571 | ||
| d552ed0259 | |||
| c516369647 | |||
| 6f090d7ee3 | |||
|
|
b9625a5207 | ||
| 79e0c7c969 | |||
| ace9d1b3c9 | |||
|
|
508593e80a | ||
|
|
aebc289d97 | ||
|
|
ce2a1403be | ||
|
|
f2a509bfff | ||
|
|
61404d5dfb | ||
|
|
a5f8594fa7 | ||
|
|
a348ccfc4c | ||
| 8e7cd7a639 | |||
| ab68485de9 | |||
|
|
1cbf88415a | ||
|
|
825f704851 | ||
| d3aceea5e7 | |||
|
|
a99d369901 | ||
| 5162b7e469 | |||
| b2c167afb7 | |||
| a6ccdbfad1 | |||
| bc969529f0 | |||
|
|
d28f81a738 | ||
|
|
5c4d344173 | ||
| 1244759402 | |||
|
|
225c27821d | ||
|
|
52de8519f4 | ||
|
|
7aa183907b | ||
| e33fa5e05e | |||
| 72199f31dc | |||
|
|
c237c6ef43 | ||
|
|
6ee565d31a | ||
| 345a9ad66e | |||
|
|
063c13819d | ||
|
|
67fea26fbf | ||
|
|
8c4b8855e6 | ||
|
|
a30632d6dd | ||
|
|
0d1201a756 | ||
|
|
559b8d1e9b | ||
| 676e37ec9e | |||
|
|
2f3c8ee063 | ||
|
|
e97a0bab32 | ||
|
|
8b36fd38db | ||
|
|
bc541ac7ed | ||
|
|
cd19309569 | ||
|
|
40602abf58 | ||
|
|
434cff69a6 | ||
| 4a6c560244 | |||
|
|
2a08379fa6 | ||
|
|
2f98c1ff72 | ||
|
|
1fd2a85e0a | ||
| 95adf703a9 | |||
| da8800fe2b | |||
| 482c51028f | |||
|
|
54a4a5fcbd | ||
|
|
4562fb28c5 | ||
|
|
c17fab4e84 | ||
| b3a2b9b8f7 | |||
| c216a2ce5f | |||
| 001685700f | |||
| ed772c66b8 | |||
| e163004cee | |||
| 8e29e33430 | |||
|
|
243b795796 | ||
|
|
1a79ec6256 | ||
| 11d759b1b2 | |||
| e13ace8423 | |||
| 82b5b5cdfd | |||
| 187c38adb5 | |||
|
|
d08bb40b40 | ||
| 0d9bf98ed1 | |||
|
|
f011b4c62d | ||
|
|
b0c88e20d3 | ||
|
|
56c39716d5 | ||
| 333e05903e | |||
| ce6505c24d | |||
|
|
c59ad7cf96 | ||
|
|
df3ce4b57e | ||
|
|
640dbee2a2 | ||
| 8396c1bc43 | |||
|
|
abb5e75d6d | ||
|
|
725c10b5d0 | ||
|
|
a6103fb312 | ||
|
|
c02d5cda5a | ||
| 262e0774da | |||
|
|
dd3ed0b597 | ||
| add022ae34 | |||
| 21cd546de3 | |||
| 6443ac3e81 | |||
|
|
c43efd20dd | ||
| c96a7121f1 | |||
|
|
eab14d9b47 | ||
|
|
966975d319 | ||
|
|
3ffd63607f | ||
| dda8cd06e9 | |||
|
|
845e13b335 | ||
|
|
65f4ad8ed4 | ||
|
|
2861e578af | ||
| 0326526591 | |||
|
|
6c21801238 | ||
| 2ffcd1f860 | |||
|
|
5f76df9680 | ||
| 7f639b910e | |||
| 341bf7ff2e | |||
| 6dda0941af | |||
|
|
c46f0526be | ||
|
|
3d685ce674 | ||
|
|
05ee3103e2 | ||
|
|
d19941f013 | ||
| 883f3bb5c1 | |||
| 4e0f80a284 | |||
|
|
a9bc15f09b | ||
|
|
83ad5a256c | ||
| b4aceb39c3 | |||
| c1f26781be | |||
|
|
9e55f3a96d | ||
|
|
c37c87e4b5 | ||
|
|
dbfd0e0b00 | ||
|
|
2faeafe757 | ||
| b54118c293 | |||
| f7245555df | |||
| 2d1667b2a9 | |||
| d82e3372c5 | |||
|
|
0576704a1d | ||
|
|
0dfd310c55 | ||
|
|
48c61c1c4c | ||
| ba539f9ea3 | |||
|
|
c16a3598a8 | ||
|
|
eee981a926 | ||
|
|
d5ffcfc271 | ||
|
|
623c08c88c | ||
|
|
a3c58db588 | ||
|
|
740e8b2d9c | ||
|
|
bea31b9b3e | ||
|
|
86f9a91e66 | ||
|
|
4870cc240f | ||
|
|
bd27df8813 | ||
|
|
f628a7df74 | ||
|
|
843692ff53 | ||
|
|
520c384259 | ||
|
|
0194c57f44 | ||
|
|
cd3d1f7841 | ||
|
|
1f91e64c79 | ||
|
|
ac8233ed6d | ||
|
|
9da178e32f | ||
| f69129f0b5 | |||
| ea80ef1746 | |||
| 13762410aa | |||
| 47b24795a7 | |||
| 69b9f6ad7e | |||
|
|
828f298f40 | ||
| fc609ac56f | |||
| ffb729eb49 | |||
| cdbbda28b8 | |||
| b5ec981ca6 | |||
| b6d701ff78 | |||
| b37d3c1b7f | |||
| 1833df077c | |||
| 9ed01349e4 | |||
| 88ab5ea27c | |||
| a664a4d81c | |||
| 28600f1888 | |||
| d43d929de6 | |||
| 0605070b6b | |||
| 306ae3c5c1 | |||
| 278c81db20 | |||
| 911e344463 | |||
| f930e6b3da | |||
| e4a45795e4 | |||
| 29dd0df70e | |||
| 67df3f954e | |||
|
|
4c6181dd8b | ||
|
|
d0747e1168 | ||
|
|
d9e6d59145 | ||
|
|
8eb7929cdb | ||
| c362bbd17e | |||
|
|
ab3c8b735e | ||
| 1011661668 | |||
| e8b8f90b49 | |||
| c2e2c85a48 | |||
| 2a96fc57e2 | |||
|
|
05b1aa9120 | ||
| 0eaa9e1fd9 | |||
| 8bdf8bf12c | |||
| 4e313c2257 | |||
| 7e939be346 | |||
| f77d209832 | |||
| 15fde894fe | |||
|
|
38afc82186 | ||
|
|
c4eeed354f | ||
|
|
de69f94099 | ||
| e18acb9d0b | |||
| 93dd06f15d | |||
| a437d32e28 | |||
| 8fe872eff1 | |||
| 5610c296e6 | |||
| 97c1ee9dc5 | |||
| b36ea97e06 | |||
| 385a40a8c9 | |||
| 570cb414c1 | |||
| 1359aeee00 | |||
| 5487847e2a | |||
| 19183913e0 | |||
| 267b4dda35 | |||
|
|
963b468bfa | ||
|
|
e248066129 | ||
|
|
48b501de18 | ||
| 2eebf969d2 | |||
| a6dac891a4 | |||
| c297e62873 | |||
| 33d3b62e22 | |||
|
|
d9c9af0cd1 | ||
| 860ed6e216 | |||
| a912149346 | |||
| 9dc8fb7a68 | |||
| 259c100fe9 | |||
| 42689e9d2f | |||
| d41d248057 | |||
| 1be670348a | |||
| 704c43dbcc | |||
| 79b92b32c5 | |||
| 6ee7558f5f | |||
| 0035889de5 | |||
| 8b9a5d9bb0 | |||
| 49092200d2 | |||
| a76dd77470 | |||
| 7e05891a29 | |||
|
|
f3a41e1b27 | ||
| 347af553a3 | |||
|
|
f68451b494 | ||
|
|
e92d778049 | ||
| 136df6e8df | |||
| a7efce5691 | |||
| 4f0bdc1323 | |||
| 558f8457be | |||
|
|
9f53d2a287 | ||
|
|
d00e8236bb | ||
| 8220989aa1 | |||
| bbffddcf6e | |||
|
|
cd7c725d43 | ||
|
|
b120ff61bb | ||
|
|
4aafb9a27a | ||
|
|
195c8f7ff2 | ||
|
|
dc4bf5aac0 | ||
|
|
3c25d84a35 | ||
|
|
f6f57b225d | ||
|
|
ef968b55c1 | ||
|
|
7cc9c53871 | ||
|
|
0b8b163daf | ||
|
|
29b750e0f7 | ||
| 44a8724d10 | |||
| 67dcd110ba | |||
| 4edd2979a6 | |||
| dce7059a02 | |||
| e7307e3d5c | |||
|
|
2e57d2b17f | ||
| d33aa94392 | |||
| 1ea43abc31 | |||
| 853de80dae | |||
| d73dd8c7cd | |||
| 98ddac1270 | |||
| 6fdbdd2b2c | |||
| f02753e1c0 | |||
| 935a169cb0 | |||
| d571cad4a3 | |||
| 638688868a | |||
|
|
ef1ed72d6e | ||
| aeae3d499e | |||
|
|
3a67cfc45b | ||
| a8bf6a2b45 | |||
| 1b377a8682 | |||
| 7398f7aae3 | |||
| 59f76bca40 | |||
| 255bda523c | |||
| 7dadf6acf3 | |||
| 3bfb366e43 | |||
| 98544e49b7 | |||
| 7f9f8bd9a6 | |||
| 51f6400ca5 | |||
| 3dd48103b9 | |||
| d8bdb24019 | |||
| 50f534eec5 | |||
| c42176c3b1 | |||
| aaeaac8219 | |||
| 03de15b0a4 | |||
| 4c1e931f11 | |||
| 68bf0a0ebd | |||
| f859fccff8 | |||
|
|
a7cfe16dc7 | ||
| 28433c4c59 | |||
| 4a228ac936 | |||
| 58794136d9 | |||
| 4922064aa6 | |||
| ca72061bb4 | |||
| 348cc955d3 | |||
| 0228d036d6 | |||
| 8ed48a806c | |||
|
|
0cb5f11514 | ||
| 2bd2a2422b | |||
|
|
1dd5fa577e | ||
| 629cb9c298 | |||
| c4e945a9b6 | |||
| df2c33bbc0 | |||
| 4dffe51987 | |||
| d1f387da69 | |||
| 6a7112943d | |||
| 4f658d5c3e | |||
| 1d296095e1 | |||
| 38b11b4c07 | |||
| 99ba27bed4 | |||
| 44813f359f | |||
|
|
65069648a6 | ||
| 7a7ec7ef04 | |||
|
|
76d9ff76eb | ||
|
|
1ba2e458cc | ||
| ec05979b39 | |||
| f9ff770b16 | |||
| c08b09685f | |||
| 4944ab4ce5 | |||
| 181c6e8f89 | |||
| 572e49ace3 | |||
| 515f289e05 | |||
| 3ed4d1268c | |||
| ed183e154f | |||
| 2692664007 | |||
| ed61d9be11 | |||
| a0871aca8c | |||
| e9e0b2ec7d | |||
| b4451c23c5 | |||
| 1a8848a390 | |||
| 2a9f325f74 | |||
| 3089023fd8 | |||
| bfeb68eae5 | |||
| 5a9d854198 | |||
| 68a5044df7 | |||
| 8a11e03ca0 | |||
| 7d1966d204 | |||
| 0282498a56 | |||
| e7e560ee63 | |||
| bf468e50a4 | |||
| b1b26797d2 | |||
| cd7a231da8 | |||
| 0b84c043a0 | |||
| 7943b46859 | |||
| e8f787d8cd | |||
| eaa283abe8 | |||
| 7f35386693 | |||
| a39f097687 | |||
| e5be8bb8df | |||
| 6e411c48a9 | |||
| ae5c140b95 | |||
| 5cfdf752fe | |||
|
|
94413a9387 | ||
| 2da6bb8ba0 | |||
| 4ded7bdf94 | |||
| 442a207c52 | |||
| 18c1062b9f | |||
| 0b2f7b53f0 | |||
| 77707e68ad | |||
| f6703d2d2c | |||
| 1a2e04673e | |||
| 893e1ee0c3 | |||
| 44fe4e5146 | |||
| 28849309cb | |||
| 2d59d8621c | |||
| f5f8cae9b8 | |||
|
|
37ae6b91f9 | ||
| bad348056a | |||
| 4f3417cfc7 | |||
| 905c99aff0 | |||
| 6e77404b96 | |||
| a18d3fb305 | |||
| 2d26f508b5 | |||
| fdf1f7376b | |||
| a75e92ea73 | |||
| d5247f30a1 | |||
| 068fbeb0b6 | |||
| 9722a1b6d0 | |||
| 5f87f91891 | |||
| a5f675635d | |||
|
|
dffeadb11c | ||
| 583792e616 | |||
|
|
f1e1bc366c | ||
| e4bf4617f3 | |||
| 6df8eb72f9 | |||
| 01e359dbf5 | |||
| 809683c3fc | |||
| 97eb73e2ca | |||
| 88c19f4a2d | |||
| 542986ccd7 | |||
|
|
7437cffd98 | ||
| 27d8c31f3f | |||
| 96865b2c13 | |||
| a97f72899e | |||
| b002f69150 | |||
| 926a1dce1c | |||
|
|
f7ed0d00c8 | ||
|
|
d9bebc7bf8 | ||
| 67d434de9e | |||
| 357deca287 | |||
|
|
5f331b4071 | ||
| 8f2fde86a4 | |||
|
|
7e3173c7b2 | ||
| 70e8c22204 | |||
| 98c133fd11 | |||
| 4a3066f09a | |||
| 85f8cee2ce | |||
| 24ff9f2764 | |||
| d22e6e5158 | |||
| feef39e96b | |||
| 034c0bea81 | |||
|
|
184ee74f10 | ||
| 39d2f3158f | |||
| 81979353d2 | |||
| e531d44b8e | |||
| a6168734f4 | |||
| 419028cf17 | |||
| 9f41faea21 | |||
| a209efb3d3 | |||
| 5bbde6f43b | |||
|
|
291ecaa793 | ||
| b56031417f | |||
| bd3dbafcc6 | |||
|
|
04c7ca4ccf | ||
| ebf4a754de | |||
| e42c9970c4 | |||
| a5be307594 | |||
| ed9c277d7e | |||
| 745b072171 | |||
| 353c634c10 | |||
| f94cdd8bb1 | |||
| e09bbaa61b | |||
| ead9ca459d | |||
| eaba833a02 | |||
| 5c42d24f2e | |||
| 368e079d95 | |||
| 76134d5b14 | |||
|
|
115359eb43 | ||
| 326ea88fce | |||
| e6230929f6 | |||
|
|
2bd40bc771 | ||
|
|
e1221d4d21 | ||
|
|
59e2e0187a | ||
| c0968c16e4 | |||
| d5bed8f8fe | |||
| 6418210f54 | |||
| 90d105bc3e | |||
| 912c76b29f | |||
| 4375e34393 | |||
| 8d7286833d | |||
| e2ceae2f81 | |||
| 32ccca18a3 | |||
| ac50b06e26 | |||
| 87ab23652a | |||
| 168d63a9ca | |||
| deb01bfb78 | |||
| 045b1cc173 | |||
| 9390b3580c | |||
|
|
596357b009 | ||
| 03f30b7e8f | |||
| da34bfdead | |||
| 819a35ac24 | |||
| 47cce5d933 | |||
| efd81e5eb5 | |||
| d11a4a3dca | |||
| 4b05df7bc5 | |||
| f760ba1b73 | |||
| fa859115ec | |||
| 702ccacfd3 | |||
|
|
4b1d967cfa | ||
| 8057a06476 | |||
| 172d2220d2 | |||
| 6da81a90b7 | |||
| 7c2864a246 | |||
| 7e4e97f3f7 | |||
| 9f41b03788 | |||
| db1ef96d41 | |||
| 24fd1ab36d | |||
| 93c5147b47 | |||
| ae13f74497 | |||
| 88703ecf9f | |||
| 63b29b4e0e | |||
| b0bf1119ad | |||
| 1642c43f4d | |||
| d7361973ce | |||
| 88946dc738 | |||
|
|
d8cb9d2791 | ||
| 538646b97a | |||
| ae5db96f5a | |||
| 7d80b96236 | |||
|
|
321ba2ceca | ||
| 1ea8334cd9 | |||
| 23cf1a0816 | |||
| 0c95139822 | |||
| 29674d0471 | |||
| 296ed73f8e | |||
| b38999a959 | |||
| 6c24910a36 | |||
|
|
e9a2274016 | ||
| 21330baac3 | |||
|
|
9ad0aaa2f2 | ||
| 1b1858106c | |||
| 0b16fa0373 | |||
|
|
90d4ea3020 | ||
| e748b93f57 | |||
| 297c68760e | |||
|
|
6e44cecf3f | ||
|
|
6b60c9a557 | ||
| c211173b8e | |||
| 215d52de8e | |||
|
|
856ddc6b07 | ||
|
|
e380479207 | ||
|
|
1953a9aa1a | ||
| 19df749406 | |||
| 9942e92ace | |||
| 35044f232e | |||
| 443b5b1041 | |||
| 17ed14370e | |||
| aced37d143 | |||
| 597ae08e50 | |||
| 1743a0d58e | |||
| 0769e75e8a | |||
| eb6301781f | |||
|
|
8c894e7c51 | ||
| 84d9ffb931 | |||
|
|
be4a711ac6 | ||
| c52f433153 | |||
| 46e54a8bec | |||
| 2935707204 | |||
| ebd83ebb42 | |||
| 4b5d0d6628 | |||
| a624518ee6 | |||
| a332b2dd19 | |||
|
|
73f340ccee | ||
| e5d4d4a1df | |||
| 78f28f7bdf | |||
|
|
c5739637df | ||
|
|
8e933cc1ca | ||
| 2f8705f714 | |||
| 7ac4e04d9c | |||
|
|
3513333aad | ||
|
|
6c78a374f8 | ||
|
|
78c8c19c94 | ||
|
|
391ec0256d | ||
| 030e6488ea | |||
| 28ffdedb99 | |||
| f796545496 | |||
|
|
18018f8c7b | ||
| 99edb3460c | |||
| 70357a2ee3 | |||
|
|
75bf8f0942 | ||
| 4fd7c74484 | |||
| e1fd412254 | |||
| bb3445f5a9 | |||
| f54e31b0b5 | |||
| 0dbba648cd | |||
|
|
3100ad5904 | ||
| 08c0c92a9d | |||
| 711f4fff70 | |||
|
|
49e4f61d34 | ||
| 48722c9bc8 | |||
| 3a7582940a | |||
| df063e5589 | |||
|
|
83424f1af9 | ||
|
|
0430aa6205 | ||
|
|
b59b8ed3f9 | ||
|
|
6b00e2e46c | ||
|
|
9a28bdf7c0 | ||
| 9bb5f1197e | |||
|
|
84404ab69a | ||
|
|
38a6156f85 | ||
|
|
e1f554b449 | ||
|
|
64792581d0 | ||
|
|
99c43f7571 | ||
| 1e600221fd | |||
| cb8107de87 | |||
| a84b05836b | |||
|
|
ac1abfc792 | ||
|
|
0e50564887 | ||
|
|
e7b489532a | ||
|
|
54f1793929 | ||
|
|
08e8ba42a7 | ||
| 9c4ab6bf42 | |||
|
|
9d42041fab | ||
|
|
ea80535d27 | ||
| f7f93e1f9f | |||
| 8e1bc7a8fd | |||
|
|
57124ad5dd | ||
|
|
a91dd7482b | ||
|
|
bb07770c4e | ||
|
|
69247ee624 | ||
|
|
0a682ee169 | ||
|
|
fc8e0747ca | ||
|
|
5571bba060 | ||
|
|
fa88df10b3 | ||
| 0963e601a4 | |||
| 3a69ac79e6 | |||
|
|
bce486dd1c | ||
|
|
f789cb2fa4 | ||
|
|
f73e6abdec | ||
|
|
7a4b003ede | ||
|
|
9cdc103056 | ||
|
|
b61529beee | ||
| c848aea192 | |||
|
|
05c67c3c2c | ||
|
|
a2dc09cdd5 | ||
| d6a2e32cec | |||
| cbf1438d34 | |||
| 6fac2f6cd1 | |||
|
|
db77c8892d | ||
|
|
3c9f5a8a84 | ||
|
|
acd3a86f5d | ||
| 803e142b59 | |||
|
|
aaa423e4ab | ||
|
|
9174ad16bc | ||
|
|
97b2b47d72 | ||
| bede329000 | |||
| 179825dc44 | |||
|
|
95415a3f4b | ||
|
|
0c3a58ce1b | ||
|
|
8a6f6544fb | ||
|
|
05cf6d772e | ||
| 9e2605b648 | |||
| 88f94eac90 | |||
|
|
1436ab758c | ||
|
|
8ab7b2a38e | ||
|
|
cc3f35a635 | ||
|
|
89e1b82652 | ||
|
|
b47e182781 | ||
|
|
c2a4fed841 | ||
|
|
0861887839 | ||
| 18e444723b | |||
|
|
8e64b1e6f5 | ||
|
|
d563f44d36 | ||
|
|
5bd745ee3e | ||
|
|
7e4770bc14 | ||
|
|
9ca7ae12d2 | ||
|
|
acb645d381 | ||
|
|
07350f350d | ||
|
|
0ecbc0e3dc | ||
|
|
17e75db1c0 | ||
|
|
07a09e3a88 | ||
| 2d7507440b | |||
|
|
1a0a4cd15f | ||
|
|
a9ea67c8da | ||
| 8d2f525b8b | |||
|
|
73e009d436 | ||
|
|
c247332530 | ||
|
|
b6c23fdcfe | ||
|
|
f087279d5e | ||
|
|
75bc7cb791 | ||
|
|
8003bcc707 | ||
|
|
de24bafa66 | ||
|
|
cd06cb0e70 | ||
|
|
b51a2a8a6b | ||
|
|
c068e9195f | ||
|
|
d8b9ac9fe6 | ||
|
|
1506bf1270 | ||
|
|
f99c09f33f | ||
| 35d1369daf | |||
| 5d3014bd65 | |||
|
|
fe7caec033 | ||
|
|
52e7e047de | ||
| 7544f72a87 | |||
|
|
075507553c | ||
| a46cba6ceb | |||
|
|
057c4762b8 | ||
| 6ca569f7c0 | |||
|
|
7d76405fff | ||
| 890239354a | |||
|
|
016a3eca2b | ||
| c008985d94 | |||
| 8becd9ecce | |||
| cd9ef6fea2 | |||
|
|
ec180c2ecc | ||
|
|
69c949e6b0 | ||
|
|
2a5378a9df | ||
| 90b1d0af07 | |||
|
|
d51705aea4 | ||
|
|
3cfeb914c1 | ||
|
|
11f32941f0 | ||
|
|
94c4d43bf8 | ||
|
|
ccc1b62545 | ||
|
|
4aaa69a671 | ||
| d0e3428cd5 | |||
|
|
2ac749b95b | ||
| 4a2cb8d82d | |||
|
|
66178adde6 | ||
| 81ad660ce8 | |||
| cd5f61e630 | |||
|
|
87e84d6b37 | ||
|
|
781a17337e | ||
|
|
49c26905a9 | ||
| 4b8f7c67ca | |||
| 8a8c4a1953 | |||
|
|
b6bae20484 | ||
|
|
80eb0ea8cd | ||
| 22dcfe7a0e | |||
| 5e099e480d | |||
| 7d938636e6 | |||
| 07e4202fd0 | |||
| 008d75bf43 | |||
| 2c0e28288d | |||
| 459f9177c0 | |||
|
|
97a27211fd | ||
| 5a22c7584a | |||
| 359a2d0711 | |||
|
|
bab1fa784c | ||
| 0522307389 | |||
| 7f70305592 | |||
| 13e4e6cce1 | |||
| d3e5ea4367 | |||
|
|
c042319d49 | ||
|
|
0b4864503c | ||
|
|
196b49c68e | ||
|
|
449b5cc2ec | ||
|
|
63b1b82e36 | ||
| 899a7e6e56 | |||
| b19c143be1 | |||
| de12e4fad1 | |||
| b3a9c3eab9 | |||
|
|
a9d21891ad | ||
| 38a3dac969 | |||
| fe0e3ba494 | |||
| d49f93bcfd | |||
|
|
35b5b0c426 | ||
| 722d0f068b | |||
| 676ff0c65a | |||
| db44418195 | |||
| d83318f519 | |||
| be52bcd966 | |||
|
|
4a93b6553f | ||
|
|
e6ac2f5eba | ||
|
|
f8bf840f34 | ||
| de6da5efb5 | |||
| e5f64407af | |||
| 43e6298d09 | |||
| c35629be39 | |||
| 27b8b76cea | |||
|
|
c96a2a681c | ||
| a0202ceddd | |||
| f9d751687f | |||
| c59d79830c | |||
| e947053131 | |||
|
|
e4f08b74e7 | ||
| 4e83453c93 | |||
| cc36c77ea6 | |||
|
|
e9c8701cc0 | ||
|
|
901f047405 | ||
| 29b29ea7f9 | |||
| eeb32482c1 | |||
| e27f04c51c | |||
| f9a5f16780 | |||
|
|
27595d769f | ||
| f4a12e158e | |||
|
|
000b1ab5ac | ||
|
|
ba49f71402 | ||
|
|
715840e8a6 | ||
|
|
74cc0cc6dd | ||
| c4db99c679 | |||
|
|
dc644d5823 | ||
| 3d00447255 | |||
| bb053c2e7c | |||
| 658641e993 | |||
| e8b27c99c9 | |||
| 15b216d4fb | |||
| be4c1cc53b | |||
| 3d3ecad7df | |||
| 5db2645f83 | |||
|
|
5eeccf41fe | ||
| 2c4056a284 | |||
| a98158e9b4 | |||
| f0c955103a | |||
| 397853a68e | |||
| bba471fc4e | |||
| b093205609 | |||
| 75e853b0b4 | |||
| 24a0a3532b | |||
| 9083f2b399 | |||
| 772e3a6778 | |||
| 309bceadd6 | |||
| b679781397 | |||
| 04aca728a7 | |||
| aa5fc98a1f | |||
| 70dd07546a | |||
|
|
4e11cd28e7 | ||
| c1a7f583f6 | |||
| e048203d2c | |||
| 7c9ea41692 | |||
| 13bc4a006d | |||
| 0177a06443 | |||
| de06841ea4 | |||
| 40f34e1e1a | |||
| 5acbf4963a | |||
| 9d2c27142f | |||
|
|
f37662f0e9 | ||
| d0618c1b92 | |||
| 78af4d28bc | |||
| 04a6595712 | |||
| e6fb9ce129 | |||
| 110bcc04df | |||
|
|
daf762aeeb | ||
|
|
a991288c31 | ||
| 1dc1b986ab | |||
| cb9532f977 | |||
| 9a2f1ce7e3 | |||
| 9d7f2e0475 | |||
|
|
2cf503713a | ||
| 140a9ada10 | |||
| c895595738 | |||
| b7b1b6cae5 | |||
| 64e0b8fc81 | |||
| 5d5f3a0533 | |||
| 6195a008d7 | |||
| 96e976e0a8 | |||
| 646a4984fc | |||
| 4a6c7513a5 | |||
| 75480f3fb8 | |||
| 84a27d589a | |||
|
|
60b612b751 | ||
| b6e7902e76 | |||
| 06d6f9b2e6 | |||
| 5c665f3aab | |||
| 07d8018b11 | |||
| 9b483442c7 | |||
| 994db05838 | |||
| b9ca541124 | |||
| 39f6c38261 | |||
| c04e2e3b3b | |||
| 747cfc2849 | |||
| fad02c77e1 | |||
| 947d646a5b | |||
| 57b0556cff | |||
| 422377c19c | |||
| b8f90fd4fa | |||
| 859402c698 | |||
| ed7e3f55d5 | |||
| 16c0b40946 | |||
|
|
2d697f5ba4 | ||
|
|
f5b471a225 | ||
| 7258cce851 | |||
| 944e8e6b94 | |||
| 1acf327c93 | |||
| c216fdc4bf | |||
| 99ea49859b | |||
|
|
58e6170283 | ||
|
|
74813fe082 | ||
|
|
02894b8bd4 | ||
|
|
77a7457de4 | ||
| ce20a019b1 | |||
| 8f751bbc9d | |||
| 23d8c047bb | |||
|
|
4c9bc569ac | ||
|
|
67f63b8486 | ||
| dac9c4bf3f | |||
|
|
868b561924 | ||
|
|
89523b8852 | ||
| 99b651be2f | |||
| ab5518fd8e | |||
| 796db2b193 | |||
|
|
2dbf2f8cc8 | ||
| da2207c9ae | |||
| 21606d6a1d | |||
| f63f607023 | |||
| 4c0cf05bd9 | |||
| db82ee8528 | |||
| bc7b0c7df9 | |||
| f8d2496248 | |||
| ebf6ac2e2e | |||
| c6fbb2fc6c | |||
|
|
0470c7cee8 | ||
| 9e7a4a5d72 | |||
|
|
18692464c2 | ||
| 7d4fc49f3e | |||
| 53f4f8d588 | |||
|
|
bee7166d5b | ||
| 4e0971d550 | |||
| dad440b539 | |||
| 9b8789bf4c | |||
| 4e4e33c36f | |||
| 5e672a7f1a | |||
| 2eb4fd3b2d | |||
| fe71eadb19 | |||
| fdef468c5a | |||
|
|
eec46bd9bd | ||
| 40b532e959 | |||
| 130d37e7cd | |||
| 21f6bf8a5e | |||
| 432e000c40 | |||
| 3351d6daff | |||
| d37aa0ac68 | |||
|
|
00e86e09a9 | ||
| 6f1f5ac5d0 | |||
| 117e10145c | |||
| 2ee86fdec3 | |||
| 0e3e13a62f | |||
| 098a2ea603 | |||
| 9dfaf0b4c2 | |||
| 4e70e6115d | |||
| a8d70089b5 | |||
| 997d76df44 | |||
| bba2bde3e8 | |||
| 6769230581 | |||
| c53c9a2697 | |||
|
|
84cca3442c | ||
| ff4e5ec531 | |||
| 10a73a8441 | |||
| 9b3cb619dd | |||
| 3778713e25 | |||
| b48c65c7c2 | |||
| b065dac7a5 | |||
| 6b980f5ebc | |||
| 57acf46091 | |||
|
|
f8db013c41 | ||
|
|
8fb8d65def | ||
| 5dc9b4c98c | |||
|
|
d18abe4238 | ||
| bde98c11af | |||
| 3cf09bf7b9 | |||
| 61ab95f2c2 | |||
| 4b2e87fa85 | |||
| ab32a2b396 | |||
| 4e44fac003 | |||
| 4f80ce5c7e | |||
| e4fa7d7297 | |||
| 964d377f4f | |||
| acb58c0185 | |||
| d8f518a223 | |||
| b3b871a773 | |||
| 5614c61d8b | |||
| 696794b294 | |||
| 7b80f17144 | |||
| d5b5a5433e | |||
| 0597193421 | |||
| 6359a04870 | |||
| 4063176d04 | |||
| 60d74c7325 | |||
|
|
6cde3c51c1 | ||
| 0a2153792e | |||
|
|
326179e1ec | ||
| 10f4e2e655 | |||
|
|
a702286895 | ||
| a414ac07f1 | |||
| ea338a7a8d | |||
|
|
afabcb990d | ||
| 42ed863012 | |||
|
|
326b9592c3 | ||
|
|
f3b5cc9b78 | ||
| a720cd0418 | |||
| 3a372e3944 | |||
| 890282071a | |||
|
|
94219d7cbd | ||
| c3859b2745 | |||
| 572dcc02b6 | |||
|
|
0ceb6fcfec | ||
| 4500661a91 | |||
|
|
f67e5f89e4 | ||
|
|
cc0f1e538b | ||
|
|
881a988d76 | ||
| 226d5937dc | |||
| 543e5b9744 | |||
| ee44c1ba3b | |||
| bf66607edb | |||
| 79f24052db | |||
| 7c2c31b750 | |||
| 8eecb32070 | |||
| 86af05c9ef | |||
| cd6010a4fe | |||
| ce00194f08 | |||
| 5616a4705d | |||
| c6a42d9e25 | |||
| 48e1db1248 | |||
| 5b22a86563 | |||
| 8ff7ea081a | |||
| 61f8e1b76f | |||
| 033567c81b | |||
|
|
634bbf559b | ||
|
|
c274442117 | ||
| 435a42bbed | |||
| fabf0823f2 | |||
| edaef30e73 | |||
| b52f59f00f | |||
| 4cdef1ca46 | |||
|
|
df82af1102 | ||
|
|
f9404552a3 | ||
| e486a02b05 | |||
| a586da5760 | |||
| 0dcf5b5daf | |||
| 85eb9ce15b | |||
| 1dcaafc5a4 | |||
| e438d147b8 | |||
| b778b4c989 | |||
| 718dbe56c0 | |||
| b505c7960a | |||
| ff8e2f11e0 | |||
| bf79b80ca3 | |||
| b60210c7ef | |||
| ade5c57d89 | |||
|
|
d4cfd08180 | ||
|
|
9c735dd93e | ||
|
|
8deeb21922 | ||
| 00cde76469 | |||
|
|
8aad23428d | ||
|
|
651f57dd9f | ||
| 9f4f683f41 | |||
|
|
98e5af9d7b | ||
|
|
5653f21c1d | ||
|
|
fc05fa4548 | ||
|
|
b38e4a78a1 | ||
|
|
ce8b780fc6 | ||
|
|
bb07c395c2 | ||
|
|
8c80c182dd | ||
| ce86de37df | |||
|
|
2c3b4c2186 | ||
| 3c8ca416d9 | |||
| 1247191e0f | |||
|
|
7e36bbd9a7 | ||
|
|
ceac3b68fb | ||
|
|
5c78ee865c | ||
|
|
f3c5c72c57 | ||
| 6778201fff | |||
| 2976b627ce | |||
| 1ac9f3203b | |||
| 84a8927704 | |||
|
|
4bdb5aeaa9 | ||
| 00d5b8a776 | |||
| b8bd989205 | |||
|
|
8ac17fda4b | ||
| ebcc65bcd3 | |||
| 398d8a43f6 | |||
| c03990bcf0 | |||
|
|
06d18114af | ||
|
|
d7a6f9be2f | ||
| 5806832d73 | |||
|
|
71c87ec088 | ||
| 0d919bbc4b | |||
| 0e4069aef1 | |||
| 898a048d24 | |||
| 34e9fca02b | |||
| 850519881d | |||
|
|
79ac034d27 | ||
|
|
9f49423c3f | ||
| d4f193b164 | |||
| a074976fec | |||
|
|
a3589d6071 | ||
|
|
f7b6051fcc | ||
|
|
229743c1a6 | ||
| 703f6bfcca | |||
| 0438023fec | |||
| db85aae55a | |||
| 6c2b68184b | |||
|
|
a742c34d5a | ||
| c6179a3d90 | |||
| a89a241d38 | |||
| f679fbd894 | |||
| 0d2bcc3f38 | |||
| 12a376a0c7 | |||
| b5255bec7f | |||
| 23bc93931d | |||
|
|
598976016d | ||
|
|
0790e9664e | ||
|
|
7c8e0d59b2 | ||
| bd889d2e38 | |||
|
|
7c18223db9 | ||
| 36c70877ce | |||
| c5352999bc | |||
|
|
37613b195d | ||
| 20b80bf135 | |||
| ecab246b21 | |||
| 2d9c0377e6 | |||
| 46accadd7d | |||
| b5a90fb37e | |||
| b7c5361e2e | |||
|
|
beceab7742 | ||
|
|
7bf27bd05b | ||
|
|
a45de11bc5 | ||
|
|
a6f3133cf3 | ||
|
|
a1d74c2c33 | ||
| f50640681d | |||
| 66ec529a15 | |||
|
|
88bd2336ee | ||
|
|
cedd42df6f | ||
| 14c8689aaa | |||
| 4008529b27 | |||
| 49233303d7 | |||
| f0dbb38185 | |||
| decf2b5e7e | |||
| a1e291fc59 | |||
|
|
e59a2ac5b5 | ||
|
|
6e90ec158f | ||
|
|
3dcd195748 | ||
| 57a1964b2b | |||
| 3656f581c4 | |||
|
|
ab325df8fd | ||
|
|
53f4c15ad7 | ||
| 50afa0712c | |||
|
|
36cff36d30 | ||
|
|
292a586878 | ||
| 0c63edf9ed | |||
|
|
5e9b754db7 | ||
|
|
df51a1e4c9 | ||
| b831b5c3a1 | |||
| 1973dd4e05 | |||
| e124d86664 | |||
| d5a6413a10 | |||
| 32f86b220d | |||
| 2505eeb62b | |||
| 9a6ef25f1a | |||
|
|
b7bd5ff8d3 | ||
|
|
97cb0f291d | ||
| d4e8eab923 | |||
|
|
55488bff4d | ||
| 33aaa548c1 | |||
|
|
c83e12d889 | ||
|
|
0de36d27d1 | ||
|
|
1f51ebb7ba | ||
|
|
95bfd19f42 | ||
| 569b360daf | |||
| e3ec3b2de8 | |||
|
|
b0d5955d39 | ||
|
|
9f14194b8b | ||
|
|
f6f11a5df2 | ||
| 5f0f6b2ee5 | |||
| 6d0c276845 | |||
| b68c09fa4e | |||
| 9f28231075 | |||
| e09732b2a2 | |||
| 48828f3528 | |||
| 1b5e215082 | |||
|
|
3eeeaf837b | ||
| 9f851a07b5 | |||
| f00580d145 | |||
| d2862d0170 | |||
| c7cb5a41cb | |||
| bb8451af4c | |||
| 414c34106e | |||
| a11f3f4180 | |||
| 9a4c4e9c13 | |||
|
|
ca007e6ef4 | ||
| 970210629e | |||
| 9021ac50b9 | |||
| f40dcc1a22 | |||
|
|
d86a1facb0 | ||
| f32acebef0 | |||
| 6caeaa1522 | |||
|
|
72ad86fba2 | ||
| 30a85dd65a | |||
| 10305f2c9d | |||
| 9a8979dea4 | |||
| 319f63eec7 | |||
| 6faa304340 | |||
| c7515c042d | |||
| e1e0cdfaa4 | |||
| 8a27c4169d | |||
| 06275e2f4e | |||
| bffae6ae2a | |||
|
|
02e87d2141 | ||
| b5372b1120 | |||
| 4d47744dd4 | |||
| 13373655fe | |||
|
|
64673298ea | ||
| 070b816c09 | |||
| e5dda7ff31 | |||
| 5457a09dad | |||
| 016a9cc0dc | |||
| cf2b9ade2f | |||
|
|
6ea0e5615c | ||
|
|
dbdf20b00f | ||
|
|
e2ca6bcf72 | ||
| 0234f05964 | |||
| 80ae983790 | |||
| cf739d35a0 | |||
| 8f479d3793 | |||
| 750dc07eaf | |||
|
|
4ea29cc3ff | ||
| e1f21815f3 | |||
| 7fa8cfc8fc | |||
| 14d58d256c | |||
| a31bb4211a | |||
| a302e5923f | |||
| fccdc1f3df | |||
| 8a6a99432b | |||
|
|
38658a371a | ||
| 430fda4509 | |||
|
|
0cdad4c3ea | ||
| ec9941678e | |||
| 0e0b4a5961 | |||
| 8bc13c901e | |||
|
|
3b68106b0a | ||
| 5090aac0d1 | |||
| 09439f8e72 | |||
| 74c6ecfb83 | |||
|
|
6992ddffe2 | ||
|
|
694c1f15d7 | ||
|
|
66527ad69d | ||
|
|
d3ae4612fc | ||
| 483064000e | |||
| 8ca8e124e0 | |||
| 0dc12b19d9 | |||
| 855e29d9eb | |||
| 2426c25957 | |||
| 139b4618bc | |||
| b3e91f8c78 | |||
| 23c442187d | |||
| ba2d01c18f | |||
| b248056865 | |||
| 778790bc85 | |||
|
|
cdca3c6aa1 | ||
|
|
3a3a709eb2 | ||
|
|
86cf8fa119 | ||
|
|
9100a27973 | ||
|
|
3e1b882b2f | ||
| db2732e608 | |||
| e7f17b0230 | |||
| b74ba2be7d | |||
| f56514adeb | |||
| 366142d5a0 | |||
| f3440c992f | |||
| 62a69aa7da | |||
| e131207950 | |||
|
|
04374f62a3 | ||
|
|
ba5ace1719 | ||
|
|
80328f1f91 | ||
| c171fd6124 | |||
| d6d2b49325 | |||
| 75af5d4111 | |||
| 109a9c401d | |||
|
|
1fb1abc02b | ||
| 99ea8b5565 | |||
|
|
0e266fcd27 | ||
| a21a504b5e | |||
| bc6d0f9d01 | |||
|
|
f99d4702eb | ||
| e30d117925 | |||
| a643d10f53 | |||
|
|
dd846b124a | ||
|
|
b089ab6504 | ||
| ec0e868b2d | |||
| 4d232178f8 | |||
| 0a47d957d3 | |||
| 30318d7a04 | |||
| 68d02d9012 | |||
| 1cc0f8c758 | |||
| f27ee6601e | |||
| a0cfb4bd64 | |||
| 755b1b27ce | |||
|
|
aadbf8e3ca | ||
| 4a4c7908b7 | |||
| 018472163f | |||
| 0403a575a5 | |||
| d9be5165fe | |||
| 2240c127d2 | |||
| adcf5000b3 | |||
| b04c5dd02e | |||
| be5f05ec12 | |||
| 4e6a3c0870 | |||
| 4f0d9f0cbe | |||
| 74f4e2e321 | |||
| 53f4bdf8c0 | |||
| eb6d295f46 | |||
| 30ae2de3be | |||
| 05d66684ce | |||
| a464fcbe6c | |||
| 3d897c3702 | |||
|
|
247eb159a9 | ||
| d49c745a93 | |||
|
|
4a522847ed | ||
| 0a91b9ac54 | |||
| b76f94a95a | |||
| ba3daff2d9 | |||
| e2f239dad3 | |||
| 72271b8059 | |||
| c28416e7ab | |||
| fba4cbb975 | |||
|
|
ffceb30e19 | ||
| e505c72835 | |||
| 8d1b7ffd5c | |||
| 7f524f1894 | |||
| ed6400380b | |||
| 7ada17edc1 | |||
|
|
4fd85b40ac | ||
|
|
249433695a | ||
| 741259e242 | |||
|
|
3c4ea84c4b | ||
| 7ab63c3b14 | |||
| a94f882b37 | |||
| 7dc30fc62a | |||
|
|
f9fd2d6b2b | ||
| dcaf1d304e | |||
|
|
605da603ec | ||
|
|
3959b4a20e | ||
| ab54960df7 | |||
| f3313e0a0b | |||
| 50d7717efb | |||
|
|
3825e8a38a | ||
|
|
58216f91e6 | ||
| 79f983449d | |||
|
|
2bdfbacf46 | ||
| 87d06d636e | |||
|
|
9c66c31b7a | ||
|
|
572208ab3d | ||
|
|
dea0b8d773 | ||
|
|
9f79f45f66 | ||
| d98504b882 | |||
|
|
ccbebb1df3 | ||
|
|
c2cda37621 | ||
| dc220e6909 | |||
| 8a5414e41c | |||
|
|
6d2582509d | ||
|
|
3c20462a03 | ||
| 9f17ea3a40 | |||
| 61b45b276f | |||
| f50ec35b18 | |||
|
|
fdbc0b4887 | ||
| c67c3a77dd | |||
|
|
34435cfcf4 | ||
| b8b42abee8 | |||
| ed16209afc | |||
| 4f46851301 | |||
|
|
5406729607 | ||
|
|
11c17c1f65 | ||
|
|
7798c7245a | ||
| f5fa52e33d | |||
| 85342cee7d | |||
|
|
88562bd58e | ||
|
|
38f38bf910 | ||
| 8109487746 | |||
|
|
d3480de121 | ||
| 5e4a5c34ad | |||
| bbf7442582 | |||
|
|
f216587024 | ||
|
|
3febda4f78 | ||
|
|
9c4e2453b4 | ||
| 8ad88e88d4 | |||
| 7313b267c9 | |||
| f8e6f5b35c | |||
| 1536395f82 | |||
| 4fda6295e0 | |||
| 35ff9079dc | |||
| 8caacd0000 | |||
| b025ed00f0 | |||
| a8acbec09a | |||
| db01139d4b | |||
| 82638881c9 | |||
| ffe331dd2c | |||
| 58c664ef8e | |||
|
|
29ecababd6 | ||
|
|
83996ec549 | ||
| 18f7ee99df | |||
| fbc8f3b0a7 | |||
| 2616e51c46 | |||
| 434c3a483a | |||
| 3488433f23 | |||
| 6e717f7d67 | |||
| ef3e989b60 | |||
| 0942aa6758 | |||
| 5f72f8c94f | |||
|
|
a047959917 | ||
|
|
46930c3263 | ||
| 9cd1847f82 | |||
|
|
eae0d30fb9 | ||
|
|
af03e6f7d2 | ||
| 8db0d2b887 | |||
| 0241f08927 | |||
| 3d420b58cd | |||
| b6c67eddf0 | |||
| 0366609459 | |||
| f4f5a8ae4c | |||
| 6a06f73f91 | |||
| 5ec2bd9f77 | |||
| 1ba1ae4846 | |||
| d68356f581 | |||
| e9448d1ec4 | |||
|
|
66377dcc60 | ||
|
|
c9b8e64e42 | ||
|
|
b51fd7caf0 | ||
| 531cbdab8c | |||
|
|
58c3cfe082 | ||
|
|
ec69962340 | ||
| 16a6ddac78 | |||
|
|
2f6497be99 | ||
|
|
dd74174bc1 | ||
|
|
87a5655055 | ||
| cd6c95c1e8 | |||
|
|
d8b5450ad8 | ||
| 2e1f6cb992 | |||
| 62b8c9e9db | |||
| 47efd58293 | |||
| 3e430e9814 | |||
| 110070ca4f | |||
|
|
1cc903f2bc | ||
|
|
eaaaf91070 | ||
| 3a9f8502d5 | |||
| ce193cbbf9 | |||
| 042746b30c | |||
|
|
df89414c9f | ||
| 778208bfe4 | |||
|
|
fdfa97cca1 | ||
| 3ea1ae0295 | |||
| f302442c5d | |||
|
|
a12d0b7a9f | ||
| 452f190ef8 | |||
| 2c11fff360 | |||
|
|
1d4fab8f99 | ||
| daa00c2bd3 | |||
|
|
d2488b1267 | ||
|
|
537e5959e6 | ||
| 1ac505834f | |||
| f59e55cb35 | |||
| 3043b3f60e | |||
| 030ffc6ef5 | |||
| adeaf36dad | |||
| a54f92862e | |||
| 113ee7a347 | |||
| 8d3b2fe390 | |||
| 7b243b5c81 | |||
|
|
8f216e4fd1 | ||
|
|
4f6d48fbcd | ||
|
|
f4ecdd3d7b | ||
|
|
a7b776ac26 | ||
| 99e00896d6 | |||
|
|
3daf591279 | ||
|
|
7611ddc84a | ||
| dca7a13130 | |||
| 7b8563cc99 | |||
| 62187b10b7 | |||
| e2a2dbd798 | |||
| 6e13f64974 | |||
|
|
3c54455b08 | ||
| 6554e9c8d4 | |||
| aaca239de6 | |||
| 0b4faa07c1 | |||
| 143f236d66 | |||
| 3f857a240a | |||
|
|
585ee8fc5f | ||
|
|
8fde76011f | ||
| 4f21babf44 | |||
| 97bbe46e3c | |||
| 13c83e51c2 | |||
|
|
cd2b9a0f2f | ||
| 2d90714d40 | |||
| 6402e7e380 | |||
|
|
f4acf026c2 | ||
|
|
8416c3fe8e | ||
|
|
b75c7b4cff | ||
|
|
d34cf0caa7 | ||
|
|
7ffda8f96f | ||
|
|
e5eb8171fb | ||
|
|
728273fa63 | ||
|
|
831d577934 | ||
|
|
b288796f42 | ||
|
|
1a12d272df | ||
| f7059b9083 | |||
| 987e83daaf | |||
| efe25d3a3a | |||
| 76971d8faa | |||
| d7bfba2bd8 | |||
| 278fa60501 | |||
| e5fc52ae58 | |||
| cc4c25abfd | |||
| f33dc0e8ea | |||
| ba29ae96f1 | |||
| 94cdd26808 | |||
| 0df5a1c5b3 | |||
| 1b832aef0b | |||
| 82b170c5a4 | |||
| 45aaf7b125 | |||
| 1af79cd34b | |||
| 907896a160 | |||
| 27c6d3e661 | |||
| 02310a6a8b | |||
|
|
0b5d3521bc | ||
|
|
058f983b52 | ||
| 3138235494 | |||
| 4b3fb8aeb7 | |||
| 2ee8c87c91 | |||
|
|
cd004ace48 | ||
|
|
b0697f2b4e | ||
| 0a4f49e0ca | |||
| 3d7431ccd1 | |||
| 4d25005c7d | |||
| 40db89b964 | |||
| e3f4a0cabd | |||
| 3d156a8515 | |||
| 9a355b05f0 | |||
|
|
54b0fe1cb2 | ||
|
|
53d18f902c | ||
|
|
a824b91df2 | ||
|
|
0e23a1c9c9 | ||
|
|
584bf78cf1 | ||
|
|
1085b2d56b | ||
|
|
b3eb880eba | ||
| 70137ba1f8 | |||
|
|
17dbfd1a62 | ||
| 46f87c615f | |||
| ed53d164ad | |||
| 0aaa9e6816 | |||
|
|
54784c9e46 | ||
| 9b2914639a | |||
| 4c62da1dd3 | |||
| 4fc974cf75 | |||
|
|
49c224f06d | ||
| ab47b1ed82 | |||
| 6911f659ae | |||
| 8f77654e1c | |||
|
|
8482a4f8e8 | ||
| ac36722437 | |||
| ec6a1593a6 | |||
| ae7e06483c | |||
| 204ea2b06e | |||
| daea478b17 | |||
| c52bf34946 | |||
| 4c81fc2665 | |||
| 6b6511d84b | |||
| eb32550df8 | |||
| aa316e1c05 | |||
| e20f385f08 | |||
|
|
977f81e6cc | ||
| a1eb26a92b | |||
| 4b20cdd776 | |||
|
|
87679773e8 | ||
|
|
9a57d7b1af | ||
|
|
4881367d8d | ||
| 5b05527370 | |||
| cd95fa25d9 | |||
|
|
20ecadd637 | ||
| b006c3239a | |||
| 43bca8cc7b | |||
| 2b3a242987 | |||
| 89d4e0e600 | |||
| 5f335f3424 | |||
|
|
54407cc5d5 | ||
| db4a62e202 | |||
|
|
08cf3bd272 | ||
|
|
955eb1af8e | ||
|
|
9f96f4ce22 | ||
|
|
c3d9d2b34e | ||
|
|
00b11f9e77 | ||
| 6ff82acba7 | |||
|
|
fd980562b0 | ||
| 9ea775a926 | |||
|
|
6ef6bae0df | ||
| f83671e669 | |||
|
|
9181eaccdc | ||
| ae797ea4ee | |||
|
|
ef4ef28b3d | ||
| cab618f799 | |||
|
|
80cdf5e29c | ||
|
|
d20000285e | ||
|
|
6e650730bc | ||
|
|
826626ff91 | ||
| 93440efe45 | |||
| 3dd016a0b0 | |||
| 8d22e76a7e | |||
| 7a32a3cd57 | |||
|
|
f09d864e00 | ||
| 0680923052 | |||
|
|
6830304a99 | ||
| e29ef114b6 | |||
|
|
1d5f612269 | ||
|
|
7732f03930 | ||
|
|
e172ef4465 | ||
|
|
7bf0f41a35 | ||
| 6371d4f7a2 | |||
| 73abf91fc7 | |||
| 8d3be44e0f | |||
| fe06430d4b | |||
| 22860eae1a | |||
| 694ccaf09b | |||
| c2deee5393 | |||
|
|
393b1aa077 | ||
| f08360fc7e | |||
| f73e1711b8 | |||
| 97fabd9b62 | |||
|
|
d23d1fea1b | ||
| 1316b12a24 | |||
| f9e6e38c44 | |||
| 97b3f06a8b | |||
|
|
696884f88d | ||
|
|
15b283a6f2 | ||
| e9e6f0aece | |||
|
|
f7c5e64078 | ||
| f9d83c4887 | |||
|
|
e33a76830a | ||
| bed0115591 | |||
|
|
dc4f6f854c | ||
|
|
ff90201068 | ||
|
|
e82a344bb9 | ||
| e1538433d2 | |||
|
|
e4242c7938 | ||
|
|
59fe81184d | ||
|
|
bbe0305cee | ||
|
|
901c9e2026 | ||
|
|
1ec4153809 | ||
|
|
ce0ad1440f | ||
|
|
2fe1797f78 | ||
|
|
5a612cb3c3 | ||
|
|
0d7dabea15 | ||
| b327e3cc5d | |||
|
|
9cacaa0c09 | ||
| 7c5e79f3ab | |||
| dc9bda80a0 | |||
| f82d0f1d14 | |||
|
|
c63f516e43 | ||
|
|
ae17a87ce1 | ||
| 28f2dfb99c | |||
|
|
d958482768 | ||
|
|
ad98fbdf69 | ||
| 8a552d6ff6 | |||
|
|
76cbc973f0 | ||
|
|
74aae4340d | ||
|
|
11746f7740 | ||
|
|
3f3241dd8c | ||
|
|
aa036a9df2 | ||
|
|
9c0eeace67 | ||
|
|
0707195233 | ||
| ae15bb96f6 | |||
| bea273a029 | |||
|
|
df1aa23f2f | ||
|
|
f3eb591543 | ||
|
|
87b3da3227 | ||
| 04ac5a7a43 | |||
|
|
47317525be | ||
|
|
7b8976232a | ||
|
|
d167471668 | ||
|
|
dc93cdb5e7 | ||
|
|
c99b56e8e1 | ||
|
|
fb5d615feb | ||
|
|
3bba0108b5 | ||
| 71792fb2b0 | |||
|
|
0634e01536 | ||
|
|
22efe47eff | ||
|
|
6f4cfa31bf | ||
|
|
9f0dbf3649 | ||
|
|
ba0be264f0 | ||
|
|
6d23317ccb | ||
|
|
47f1e3dd87 | ||
| 051c082e09 | |||
| 4fa5b2df07 | |||
|
|
f840fa0549 | ||
|
|
4f4b7ec6c3 | ||
|
|
57c4b4a2a0 | ||
|
|
346d068623 | ||
|
|
1cf2ee40d0 | ||
|
|
c69c3b4ae4 | ||
|
|
1c6fde8131 | ||
|
|
37abb827d6 | ||
|
|
25276e4184 | ||
|
|
ee955c8d6a | ||
|
|
aff4b3ad7c | ||
|
|
dd3dcf3884 | ||
|
|
5cc09e7db9 | ||
|
|
044cbd1db0 | ||
| 727bd19462 | |||
| 337ba55ca0 | |||
|
|
68f29f4e54 | ||
| e01dc189e3 | |||
|
|
448ca807c2 | ||
| 873c698649 | |||
| 495e367c4d | |||
| fd23a9a5d0 | |||
| c765b30846 | |||
| ec2e220be3 | |||
| 4c299f0abc | |||
|
|
960a62dd8c | ||
| 8056617943 | |||
|
|
81f05da119 | ||
|
|
bdf6d9e3a1 |
7
SynUser/.classpath
Normal file
7
SynUser/.classpath
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/aws"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
17
SynUser/.project
Normal file
17
SynUser/.project
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>SynUser</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
12
SynUser/.settings/org.eclipse.jdt.core.prefs
Normal file
12
SynUser/.settings/org.eclipse.jdt.core.prefs
Normal file
@ -0,0 +1,12 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
33
SynUser/src/com/yili/org/CreateProcessController.java
Normal file
33
SynUser/src/com/yili/org/CreateProcessController.java
Normal file
@ -0,0 +1,33 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import com.actionsoft.bpms.bpmn.engine.model.run.delegate.ProcessInstance;
|
||||
import com.actionsoft.bpms.bpmn.engine.model.run.delegate.TaskInstance;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Controller;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Mapping;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/*
|
||||
* 新建流程
|
||||
*/
|
||||
@Controller
|
||||
public class CreateProcessController {
|
||||
@Mapping("com.awspaas.user.apps.xitongfankui.createProcess")
|
||||
public JSONObject CheckUser(String sid,String processDefId) {
|
||||
JSONObject result = new JSONObject();
|
||||
UserContext uc = UserContext.fromSessionId(sid);
|
||||
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
ProcessInstance processInst = SDK.getProcessAPI().createProcessInstance(processDefId, uc.getUID(), "流程管理平台问题反馈"+"-"+uc.getUserName()+"-"+df.format(new Date()));
|
||||
TaskInstance taskInst = SDK.getProcessAPI().start(processInst).fetchActiveTasks().get(0);
|
||||
String portalUrl = SDK.getPortalAPI().getPortalUrl();
|
||||
String url = portalUrl + "/r/w?sid=" + uc.getSessionId()
|
||||
+ "&cmd=CLIENT_BPM_FORM_MAIN_PAGE_OPEN&processInstId=" + processInst.getId() + "&taskInstId="
|
||||
+ taskInst.getId() + "&openState=1&reloadedFile=1";
|
||||
result.put("url",url);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
52
SynUser/src/com/yili/org/DisplayController.java
Normal file
52
SynUser/src/com/yili/org/DisplayController.java
Normal file
@ -0,0 +1,52 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import com.actionsoft.bpms.commons.mvc.view.ResponseObject;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Controller;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Mapping;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
/**
|
||||
* @Description 资产库菜单权限
|
||||
* @author zlf
|
||||
* @date 2022年7月29日
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class DisplayController {
|
||||
@Mapping("com.actionsoft.apps.coe.pal.publisher_output_desk_display")
|
||||
public String display(String sid,String uid) {
|
||||
Connection open = DBSql.open();
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
try {
|
||||
if("admin".equals(uid)) {
|
||||
ro.put("roleType","true");
|
||||
}else {
|
||||
String roleType = DBSql.getString(open,"SELECT ROLETYPE FROM APP_ACT_COE_PAL_COOP_MEMBER R ,APP_ACT_COE_PAL_COOP_ROLE A WHERE R.ROLEID = A.ID AND USERID = ?", new Object[]{uid});
|
||||
System.err.println("当前登录账号:"+uid+",用户权限:"+roleType);
|
||||
if(UtilString.isEmpty(roleType)) {
|
||||
ro.put("roleType","false");
|
||||
}else {
|
||||
if("1".equals(roleType)||"0".equals(roleType)||"2".equals(roleType)||"3".equals(roleType)) {
|
||||
ro.put("roleType","true");
|
||||
}else {
|
||||
ro.put("roleType","false");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
}finally {
|
||||
try {
|
||||
open.close();
|
||||
} catch (SQLException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
return ro.toString();
|
||||
}
|
||||
}
|
||||
505
SynUser/src/com/yili/org/IntegrationJob.java
Normal file
505
SynUser/src/com/yili/org/IntegrationJob.java
Normal file
@ -0,0 +1,505 @@
|
||||
package com.yili.org;
|
||||
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.org.cache.RoleCache;
|
||||
import com.actionsoft.bpms.org.cache.UserCache;
|
||||
import com.actionsoft.bpms.org.model.DepartmentModel;
|
||||
import com.actionsoft.bpms.org.model.RoleModel;
|
||||
import com.actionsoft.bpms.org.model.UserModel;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.exception.AWSException;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.actionsoft.sdk.local.api.ORGAPI;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yili.util.UtilUrl;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentHelper;
|
||||
import org.dom4j.Element;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 同步组织架构
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class IntegrationJob implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init部门执行开始");
|
||||
initDept();
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init部门执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行开始");
|
||||
initUser();
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 先初始化以及部门
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initDept() {
|
||||
// String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
int pageNum = 30;// 暂定320页
|
||||
int pageSize = 300;// 一页300条记录
|
||||
try {
|
||||
for (int i = 1; i < pageNum; i++) {
|
||||
String whereStr = "<whereFlag>Y</whereFlag>\n"
|
||||
+ "<whereStr>ORG_CODE LIKE '%%' ORDER BY ORG_CODE</whereStr>\n";
|
||||
// 增量同步,修改3天之内的
|
||||
if (init_flag) {
|
||||
whereStr = " <whereFlag>Y</whereFlag>\n" + " <!--Optional:-->\n"
|
||||
+ " <whereStr>LAST_UPDATE_DATE BETWEEN SYSDATE -3 AND SYSDATE AND ORG_CODE LIKE '%%' ORDER BY ORG_CODE</whereStr>\n";
|
||||
}
|
||||
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n" +
|
||||
" <soapenv:Header/>\n" +
|
||||
" <soapenv:Body>\n" +
|
||||
" <ser:getMdmInfoBySelectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <selectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <currentPage>"+i+"</currentPage>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageFlag>Y</pageFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageSize>"+pageSize+"</pageSize>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <sourceAppName>LCGLPT</sourceAppName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <viewName>CUX_SIEBEL_HR_ORG_V_NEW</viewName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
whereStr +
|
||||
" </selectRequest>\n" +
|
||||
" </ser:getMdmInfoBySelectRequest>\n" +
|
||||
" </soapenv:Body>\n" +
|
||||
"</soapenv:Envelope>";
|
||||
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
//System.err.println("同步部门======》"+postSoap);
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse")
|
||||
.element("return");
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
if (resultArray.size() > 0) {
|
||||
SDK.getLogAPI().consoleInfo(">>>>>遍历部门数据第"+i +"页数据:"+resultArray.size());
|
||||
try {
|
||||
JSONArray level1Array = new JSONArray();
|
||||
JSONArray levelNo1Array = new JSONArray();
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String parent_id = resultJson.getString("PARENT_ID");
|
||||
if (UtilString.isEmpty(parent_id) || parent_id.equals("00000001")) {
|
||||
level1Array.add(resultJson);
|
||||
} else {
|
||||
levelNo1Array.add(resultJson);
|
||||
}
|
||||
}
|
||||
createDept(level1Array);
|
||||
createDept(levelNo1Array);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化人员
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initUser() {
|
||||
role_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "default_role_id");
|
||||
//String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
//加入分页
|
||||
int pageNum = 320;//暂定320页
|
||||
int pageSize = 300;//一页300条记录
|
||||
try {
|
||||
for (int i = 1; i < pageNum; i++) {
|
||||
//System.out.println(">>>>>>>>>>>>>>>人员第"+i +"页开始");
|
||||
String whereStr ="<whereFlag>Y</whereFlag>\n" +
|
||||
"<whereStr>STATUS != 'M'</whereStr>\n";
|
||||
//增量同步,修改一天之内的
|
||||
if(init_flag){
|
||||
whereStr = " <whereFlag>Y </whereFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <whereStr>LAST_UPDATE_TIME BETWEEN SYSDATE -3 AND SYSDATE</whereStr>\n";
|
||||
//" <whereStr>STATUS = 'A'</whereStr>\n";
|
||||
}
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n" +
|
||||
" <soapenv:Header/>\n" +
|
||||
" <soapenv:Body>\n" +
|
||||
" <ser:getMdmInfoBySelectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <selectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <currentPage>" + i + "</currentPage>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageFlag>Y</pageFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageSize>" + pageSize + "</pageSize>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <sourceAppName>LCGLPT</sourceAppName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <viewName>GET_PERSON_BASIC_INFO</viewName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
whereStr +
|
||||
" </selectRequest>\n" +
|
||||
" </ser:getMdmInfoBySelectRequest>\n" +
|
||||
" </soapenv:Body>\n" +
|
||||
"</soapenv:Envelope>";
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse").element("return");
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
if (resultArray.size() > 0) {
|
||||
SDK.getLogAPI().consoleInfo(">>>>>遍历人员第"+i +"页数据:"+resultArray.size());
|
||||
createUser(resultArray);
|
||||
}else{
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* 部门信息执行插入或更新
|
||||
*
|
||||
* @param resultArray
|
||||
* @return
|
||||
*/
|
||||
public static void createDept(JSONArray resultArray) {
|
||||
if (resultArray.size() == 0) {
|
||||
return;
|
||||
}
|
||||
JSONArray noParenIdArray = new JSONArray();
|
||||
String yili_company_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "YILI_COMPANY_ID");
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String org_code = resultJson.getString("ORG_CODE");
|
||||
String dept_flag = resultJson.getString("DEPT_FLAG");
|
||||
Date last_update_date = resultJson.getDate("LAST_UPDATE_DATE");
|
||||
String ehr_last_update_date = resultJson.getString("EHR_LAST_UPDATE_DATE");
|
||||
String parent_id = resultJson.getString("PARENT_ID");
|
||||
String parent_name = resultJson.getString("PARENT_NAME");
|
||||
String full_name = resultJson.getString("FULL_NAME");
|
||||
String eff_status = resultJson.getString("EFF_STATUS");
|
||||
String org_name = resultJson.getString("ORG_NAME");
|
||||
String hr_org_id = resultJson.getString("HR_ORG_ID");
|
||||
String manager_id = resultJson.getString("MANAGER_ID");//负责人id
|
||||
if (UtilString.isEmpty(full_name)) {
|
||||
full_name = "默认部门名称" + System.currentTimeMillis();
|
||||
}
|
||||
String start_date = resultJson.getString("START_DATE");
|
||||
String end_date = resultJson.getString("END_DATE");
|
||||
JSONObject ext5 = new JSONObject();
|
||||
ext5.put("ehr_last_update_date", ehr_last_update_date);
|
||||
ext5.put("parent_name", parent_name);
|
||||
if (org_code.indexOf("-") > 0 || org_code.equals("00000001")) {//已撤销的机构就过滤掉,和集团
|
||||
continue;
|
||||
}
|
||||
|
||||
String currentId = getDeptIdByOuterId(org_code);
|
||||
if (UtilString.isEmpty(currentId)) {//不存在,则走新增操作
|
||||
String parent_dept_id = "0";
|
||||
if (parent_id.equals("00000001")) {
|
||||
parent_dept_id = "";
|
||||
} else if (UtilString.isNotEmpty(parent_id)) {
|
||||
String selectParentDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
parent_dept_id = DBSql.getString(selectParentDeptSql, new Object[]{parent_id});
|
||||
if (UtilString.isEmpty(parent_dept_id)) {//如果为空,则说明没找到
|
||||
noParenIdArray.add(resultJson);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
String createDepartment = SDK.getORGAPI().createDepartment(yili_company_id, org_name, org_code, "", parent_dept_id, hr_org_id,"", full_name, manager_id, ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
String buName = "";
|
||||
//String sql ="SELECT * FROM orgdepartment WHERE DEPARTMENTNO = '"++"'";
|
||||
String sqls ="SELECT BUSINESS_UNIT FROM BO_EU_ORG_POSTS WHERE DEPTID = '"+currentId+"'";
|
||||
RowMap map = DBSql.getMap(sqls);
|
||||
if(map!=null) {
|
||||
SDK.getORGAPI().updateDepartment(createDepartment, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, map.getString("BUSINESS_UNIT"), ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
|
||||
DepartmentModel departmentModel=SDK.getORGAPI().getDepartmentById(currentId);
|
||||
String departname=departmentModel.getName();
|
||||
if(!org_name.equals(departname)){
|
||||
SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, ORGAPI.NO_UPDATE, ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
/*
|
||||
String sql ="SELECT USERID FROM ORGUSER WHERE DEPARTMENTID = '"+createDepartment+"'";
|
||||
* String userId = DBSql.getString(sql); UserModel user =
|
||||
* SDK.getORGAPI().getUser(userId); String departmentId =
|
||||
* user.getDepartmentId(); if(user!=null) { buId = user.getExt3(); buName =
|
||||
* user.getExt4(); }
|
||||
*/
|
||||
//String createDepartment = SDK.getORGAPI().createDepartment(yili_company_id, org_name, org_code, "", parent_dept_id, "", "", "", "", ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
if("I".equals(eff_status)) {
|
||||
if(!SDK.getORGAPI().getDepartmentById(createDepartment).isClosed()) {
|
||||
SDK.getORGAPI().closeDepartment(createDepartment);
|
||||
}
|
||||
}
|
||||
|
||||
} else {//存在,则走更新操作
|
||||
if(UtilString.isNotEmpty(org_name)&&"总部".equals(org_name)) {
|
||||
org_name = "伊利集团总部";
|
||||
}
|
||||
|
||||
String buName = "";
|
||||
//String sql ="SELECT * FROM orgdepartment WHERE DEPARTMENTNO = '"++"'";
|
||||
String sql ="SELECT BUSINESS_UNIT FROM BO_EU_ORG_POSTS WHERE DEPTID = '"+currentId+"'";
|
||||
RowMap map = DBSql.getMap(sql);
|
||||
if(map!=null) {
|
||||
SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, map.getString("BUSINESS_UNIT"), ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
|
||||
DepartmentModel departmentModel=SDK.getORGAPI().getDepartmentById(currentId);
|
||||
String departname=departmentModel.getName();
|
||||
|
||||
if(!org_name.equals(departname)){
|
||||
SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, ORGAPI.NO_UPDATE, ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
|
||||
if("A".equals(eff_status)) {
|
||||
if(SDK.getORGAPI().getDepartmentById(currentId).isClosed()) {
|
||||
SDK.getORGAPI().activeDepartment(currentId);
|
||||
}
|
||||
}
|
||||
// SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, "", "", "", "", ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
if("I".equals(eff_status)) {
|
||||
if(!SDK.getORGAPI().getDepartmentById(currentId).isClosed()) {
|
||||
SDK.getORGAPI().closeDepartment(currentId);
|
||||
}
|
||||
}
|
||||
|
||||
//新增父部门更新逻辑,add 2024/06/12 by yujh
|
||||
String parent_dept_id = getDeptIdByOuterId(parent_id);
|
||||
if(UtilString.isNotEmpty(parent_dept_id)){//不为空
|
||||
String parentDepartmentId = SDK.getORGAPI().getDepartmentById(currentId).getParentDepartmentId();
|
||||
if(!parentDepartmentId.equals(parent_dept_id) && !parentDepartmentId.equals("0")){//不为一级部门,且与目前部门不相符,则修改父部门
|
||||
//执行修改部门
|
||||
SDK.getLogAPI().consoleInfo(">>>>>>>>>>执行替换部门,"+currentId+"至"+parent_dept_id+"部门下");
|
||||
SDK.getORGAPI().moveDepartmentToDepartment(currentId,parent_dept_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (noParenIdArray.size() > 0) {
|
||||
createDept(noParenIdArray);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增或更新人员
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static void createUser(JSONArray resultArray) {
|
||||
JSONArray emptyArray = new JSONArray();
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String emp_id = resultJson.getString("EMP_ID");//员工编号
|
||||
String emp_name = resultJson.getString("EMP_NAME");//员工姓名
|
||||
String business_unit = resultJson.getString("BUSINESS_UNIT");//事业部id
|
||||
String bu_name = resultJson.getString("BU_NAME");//事业部名称
|
||||
String dept_id = resultJson.getString("DEPT_ID");//部门id
|
||||
String status = resultJson.getString("STATUS");//人员状态编码
|
||||
String status_name = resultJson.getString("STATUS_NAME");//人员状态编码
|
||||
String sex = resultJson.getString("SEX");//性别编码
|
||||
String sex_name = resultJson.getString("SEX_NAME");//性别描述
|
||||
String phone = resultJson.getString("PHONE");//移动电话
|
||||
String email_addr = resultJson.getString("EMAIL_ADDR");//邮箱
|
||||
String job_class = resultJson.getString("JOB_CLASS");//职级类别编码
|
||||
String job_class_name = resultJson.getString("JOB_CLASS_NAME");//职级类别描述
|
||||
String job_family = resultJson.getString("JOB_FAMILY");//职级编码
|
||||
String job_family_name = resultJson.getString("JOB_FAMILY_NAME");//职级描述
|
||||
String job_code = resultJson.getString("JOB_CODE");//职务id
|
||||
String job_name = resultJson.getString("JOB_NAME");//职务描述
|
||||
String position = resultJson.getString("POSITION");//新职务ID
|
||||
String position_name = resultJson.getString("POSITION_NAME");//新职务描述
|
||||
String supervisor_id = resultJson.getString("SUPERVISOR_ID");//直接上级id
|
||||
String currentId = getDeptIdByOuterId(dept_id);
|
||||
if (UtilString.isEmpty(currentId)) {
|
||||
System.out.println(">>>>>dept_id:"+dept_id);
|
||||
System.out.println(">>>>>currentId:"+currentId);
|
||||
emptyArray.add(resultJson);
|
||||
continue;
|
||||
}
|
||||
JSONObject ext5 = new JSONObject();
|
||||
ext5.put("business_unit", business_unit);
|
||||
ext5.put("bu_name", bu_name);
|
||||
ext5.put("sex", sex);
|
||||
UserModel model = UserCache.getModel(emp_id);
|
||||
String sql ="SELECT ID FROM ORGUSER WHERE USERID = ?";
|
||||
String Id = DBSql.getString(sql,new Object[] {emp_id});
|
||||
if(null != model||UtilString.isNotEmpty(Id)){
|
||||
//用户名合法,则存在走更新逻辑
|
||||
if("I".equals(status)) {
|
||||
//SDK.getORGAPI().removeUser(emp_id);
|
||||
disabledOrActiveUser(emp_id, status);
|
||||
System.err.println("本次同步注销人员===>:"+emp_id);
|
||||
continue;
|
||||
}else {
|
||||
Map<String,Object> map =new HashMap<String,Object>();
|
||||
map.put("departmentId",currentId);
|
||||
map.put("mobile",phone);
|
||||
map.put("position_layer",job_class);
|
||||
map.put("positionNo",position);
|
||||
map.put("positionName",position_name);
|
||||
map.put("email","");//邮件置空,规避不合法
|
||||
map.put("reportTo","");//汇报人置空,规避不合法
|
||||
map.put("ext1",job_family);
|
||||
map.put("ext2",job_family_name);
|
||||
map.put("ext3",business_unit);
|
||||
map.put("ext4",bu_name);
|
||||
map.put("ext5",ext5);
|
||||
int i = SDK.getORGAPI().updateUser(emp_id, map);
|
||||
//因为新增是,汇报人和email会强校验,则sql执行修改操作
|
||||
String updateUserSql = " UPDATE ORGUSER SET EMAIL = ?,REPORTTO = ? WHERE USERID = ?";
|
||||
if(UtilString.isNotEmpty(email_addr)){
|
||||
email_addr = email_addr.split(" ")[0];
|
||||
}
|
||||
if(UtilString.isNotEmpty(email_addr) && email_addr.indexOf("/")>0){
|
||||
email_addr = email_addr.split("/")[1];
|
||||
}
|
||||
DBSql.update(updateUserSql,new Object[]{email_addr,supervisor_id,emp_id});
|
||||
}
|
||||
}else {//不存在,则走新增逻辑,或者激活逻辑
|
||||
|
||||
//先判断角色是否存在,不存在则创建
|
||||
String roleId = checkOrCreateRole(job_name,job_code,job_class_name);
|
||||
//先判断岗位是否存在,不存在则创建
|
||||
checkOrCreatePostion(position_name,position,job_class_name);
|
||||
int createUser = 0;
|
||||
try {
|
||||
createUser = SDK.getORGAPI().createUser(currentId, emp_id, emp_name, roleId, emp_id, "", false, "", phone, "", "", job_class, position, position_name, "", job_family, job_family_name, business_unit, bu_name, ext5.toString(), dept_id);
|
||||
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
}
|
||||
if(createUser!=0) {
|
||||
System.err.println("本次同步新增人员===>"+emp_name+":"+emp_id);
|
||||
}
|
||||
//因为新增是,汇报人和email会强校验,则sql执行修改操作
|
||||
String updateUserSql = " UPDATE ORGUSER SET EMAIL = ?,REPORTTO = ? WHERE USERID = ?";
|
||||
if(UtilString.isNotEmpty(email_addr)){
|
||||
email_addr = email_addr.split(" ")[0];
|
||||
}
|
||||
if(UtilString.isNotEmpty(email_addr) && email_addr.indexOf("/")>0){
|
||||
email_addr = email_addr.split("/")[1];
|
||||
}
|
||||
DBSql.update(updateUserSql,new Object[]{email_addr,supervisor_id,emp_id});
|
||||
}
|
||||
disabledOrActiveUser(emp_id,status);
|
||||
}
|
||||
SDK.getLogAPI().consoleInfo("emptyArray.size():"+emptyArray.size() + "");
|
||||
}
|
||||
/**
|
||||
* 先判断角色是否存在,不存在则创建
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String checkOrCreateRole(String job_name, String job_code,String job_class_name) {
|
||||
RoleModel model = RoleCache.getModelByNo(job_code);
|
||||
try {
|
||||
if(UtilString.isEmpty(model)){
|
||||
String role = SDK.getORGAPI().createRole(job_name, job_class_name, job_code);
|
||||
System.err.println("本次同步新增角色===>"+job_name);
|
||||
return role;
|
||||
}
|
||||
}catch (AWSException e){
|
||||
if(e.getCause().toString().indexOf("重复")>0){
|
||||
String role = SDK.getORGAPI().createRole(job_name+System.currentTimeMillis(), job_class_name, job_code);
|
||||
System.err.println("本次同步新增角色===>"+job_name);
|
||||
return role;
|
||||
}
|
||||
e.printStackTrace();
|
||||
return role_id;
|
||||
}
|
||||
return model.getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* 先判断岗位是否存在,不存在则创建
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String checkOrCreatePostion(String position_name, String position,String job_class_name) {
|
||||
RoleModel model = RoleCache.getModelByNo(position);
|
||||
try {
|
||||
if(UtilString.isEmpty(model)){
|
||||
String role = SDK.getORGAPI().createPosition(position_name, job_class_name, position);
|
||||
System.err.println("本次同步新增岗位===>"+position_name);
|
||||
|
||||
return role;
|
||||
}
|
||||
}catch (AWSException e){
|
||||
e.printStackTrace();
|
||||
return role_id;
|
||||
}
|
||||
return model.getId();
|
||||
}
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 注销或激活用户
|
||||
* @return
|
||||
*/
|
||||
public static void disabledOrActiveUser(String userId,String status){
|
||||
if(status.equals("A")){ //有效员工
|
||||
SDK.getORGAPI().activateUser(userId);
|
||||
}else if(status.equals("I")){//无效员工
|
||||
SDK.getORGAPI().disabledUser(userId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
20
SynUser/src/com/yili/org/OrgReloadJob.java
Normal file
20
SynUser/src/com/yili/org/OrgReloadJob.java
Normal file
@ -0,0 +1,20 @@
|
||||
package com.yili.org;
|
||||
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
|
||||
/**
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: OrgReloadJob
|
||||
* @author: yujh
|
||||
* @date: 2022/5/23 9:03
|
||||
*/
|
||||
public class OrgReloadJob implements IJob {
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
OrgCache.reloadOrgCahce();
|
||||
}
|
||||
}
|
||||
235
SynUser/src/com/yili/org/SynPostJob.java
Normal file
235
SynUser/src/com/yili/org/SynPostJob.java
Normal file
@ -0,0 +1,235 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Map;
|
||||
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentHelper;
|
||||
import org.dom4j.Element;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.org.model.DepartmentModel;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.actionsoft.sdk.local.api.ORGAPI;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yili.util.UtilUrl;
|
||||
|
||||
/**
|
||||
* 同步岗位
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class SynPostJob implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行开始");
|
||||
long startTime = System.currentTimeMillis(); //获取开始时间
|
||||
initUser();
|
||||
long endTime = System.currentTimeMillis(); //获取结束时间
|
||||
System.out.println("程序运行时间:" + (endTime - startTime)/1000/60 + "min"); //输出程序运行时间
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 初始化岗位
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initUser() {
|
||||
role_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "default_role_id");
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
// String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
// 加入分页
|
||||
int num = 0;
|
||||
int count = 0;
|
||||
int pageNum = 300;// 暂定320页
|
||||
int pageSize = 300;// 一页300条记录
|
||||
Connection conn = null;
|
||||
try {
|
||||
conn = DBSql.open();
|
||||
for (int i = 1; i <= pageNum; i++) {
|
||||
System.out.println(">>>>>>>>>>>>>>>同步岗位第" + i + "页开始");
|
||||
// 增量同步,修改一个月之内的
|
||||
// System.err.println("---------------"+init_flag);
|
||||
|
||||
//String whereStr = "<whereFlag>N</whereFlag><whereStr>EFF_STATUS = 'I'</whereStr>\n";
|
||||
String whereStr = "<whereFlag>N</whereFlag><whereStr></whereStr>\n";
|
||||
if (init_flag) {
|
||||
whereStr = " <whereFlag>Y</whereFlag>\n" + " <!--Optional:-->\n"
|
||||
+ " <whereStr>LAST_UPDATE_TIME BETWEEN SYSDATE -1 AND SYSDATE </whereStr>";
|
||||
}
|
||||
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n"
|
||||
+ " <soapenv:Header/>\n" + " <soapenv:Body>\n" + " <ser:getMdmInfoBySelectRequest>\n"
|
||||
+ " <!--Optional:-->\n" + " <selectRequest>\n"
|
||||
+ " <!--Optional:-->\n" + " <currentPage>" + i + "</currentPage>\n"
|
||||
+ " <!--Optional:-->\n" + " <pageFlag>Y</pageFlag>\n"
|
||||
+ " <!--Optional:-->\n" + " <pageSize>" + pageSize + "</pageSize>\n"
|
||||
+ " <!--Optional:-->\n" + " <sourceAppName>LCGLPT</sourceAppName>\n"
|
||||
+ " <!--Optional:-->\n" + " <viewName>V_GET_POSITION</viewName>\n"
|
||||
+ " <!--Optional:-->\n" + whereStr + " </selectRequest>\n"
|
||||
+ " </ser:getMdmInfoBySelectRequest>\n" + " </soapenv:Body>\n" + "</soapenv:Envelope>";
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse")
|
||||
.element("return");
|
||||
// String pageSizes = result.element("pageSize").getData().toString();
|
||||
// System.err.println("pageSizes========"+pageSizes);
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
// String resultNum = result.element("totalRecord").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
count += resultArray.size();
|
||||
if (resultArray.size() > 0) {
|
||||
SDK.getLogAPI().consoleInfo(">>>>>遍历岗位第" + i + "页数据:" + resultArray.size());
|
||||
int createUser = createPost(resultArray, conn);
|
||||
num += createUser;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
try {
|
||||
conn.close();
|
||||
} catch (SQLException throwables) {
|
||||
throwables.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
SDK.getLogAPI().consoleInfo("本次共同步岗位数据num:" + num + "条");
|
||||
SDK.getLogAPI().consoleInfo("本次共同步岗位数据count:" + count + "条");
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 新增或更新岗位
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static int createPost(JSONArray resultArray, Connection conn) {
|
||||
int count = 0;
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String postId = resultJson.getString("POSITION_NBR");// 职位编码
|
||||
String sqt = "SELECT * FROM BO_EU_ORG_POSTS WHERE POSITION_NBR ='" + postId + "'";
|
||||
RowMap map = DBSql.getMap(sqt);
|
||||
int createData = createData(resultJson, map);
|
||||
if(createData>0) {
|
||||
count++;
|
||||
}
|
||||
|
||||
}
|
||||
return count;
|
||||
|
||||
}
|
||||
/**
|
||||
* 创建/更新数据
|
||||
* @param resultJson
|
||||
* @param map
|
||||
* @return
|
||||
*/
|
||||
public static int createData(JSONObject resultJson, RowMap map) {
|
||||
ORGAPI orgapi = SDK.getORGAPI();
|
||||
BO bo = new BO();
|
||||
if(map!=null) {
|
||||
bo= SDK.getBOAPI().get("BO_EU_ORG_POSTS", map.getString("ID"));
|
||||
}
|
||||
String outerId = resultJson.getString("DEPTID");// 部门id
|
||||
String status = resultJson.getString("EFF_STATUS");
|
||||
String postId = resultJson.getString("POSITION_NBR");// 岗位ID
|
||||
Map<String, Object> innerMap = resultJson.getInnerMap();
|
||||
String sql = "SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = '" + outerId + "'";
|
||||
String deId = DBSql.getString(sql);
|
||||
innerMap.remove("DEPTID");
|
||||
innerMap.put("OUTERID", outerId);
|
||||
innerMap.put("STATUS", status);
|
||||
if (UtilString.isNotEmpty(deId)) {
|
||||
innerMap.put("DEPTID", deId);
|
||||
DepartmentModel departmentById = orgapi.getDepartmentById(deId);
|
||||
if (null != departmentById) {
|
||||
innerMap.put("DEPTNAME", departmentById.getName());
|
||||
String parentDepartmentId = departmentById.getParentDepartmentId();
|
||||
innerMap.put("DEPTPEID", parentDepartmentId);
|
||||
if ("0".equals(parentDepartmentId)) {
|
||||
innerMap.put("DEPTPENAME", "内蒙古伊利实业集团股份有限公司");
|
||||
} else {
|
||||
innerMap.put("DEPTPENAME", orgapi.getDepartmentById(parentDepartmentId).getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
bo.setAll(innerMap);
|
||||
if(map!=null) {
|
||||
int update = SDK.getBOAPI().update("BO_EU_ORG_POSTS", bo);
|
||||
if (update > 0) {
|
||||
if ("A".equals(status)) {
|
||||
//System.err.println("更新的岗位======>" + postId);
|
||||
} else {
|
||||
System.err.println("注销的岗位======>" + postId);
|
||||
}
|
||||
}
|
||||
return update;
|
||||
}else {
|
||||
int createDataBO = 0;
|
||||
if("A".equals(status)) {
|
||||
createDataBO = SDK.getBOAPI().createDataBO("BO_EU_ORG_POSTS", bo, UserContext.fromUID("admin"));
|
||||
if(createDataBO>0) {
|
||||
System.err.println("新增的岗位======>" + postId);
|
||||
}
|
||||
}
|
||||
return createDataBO;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 岗位是否存在
|
||||
* @return
|
||||
*/
|
||||
public static String getPost(String postId, Connection conn){
|
||||
String selectUserSql = " SELECT ID FROM ORGROLE WHERE ROLENO = ? ";
|
||||
String userId = DBSql.getString(conn, selectUserSql, new Object[]{postId});
|
||||
return userId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code, Connection conn) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(conn, selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
129
SynUser/src/com/yili/org/SynPostJob2.java
Normal file
129
SynUser/src/com/yili/org/SynPostJob2.java
Normal file
@ -0,0 +1,129 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.org.model.DepartmentModel;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.actionsoft.sdk.local.api.ORGAPI;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/**
|
||||
* 同步岗位
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class SynPostJob2 implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行开始");
|
||||
long startTime = System.currentTimeMillis(); //获取开始时间
|
||||
long endTime = System.currentTimeMillis(); //获取结束时间
|
||||
System.out.println("程序运行时间:" + (endTime - startTime)/1000/60 + "min"); //输出程序运行时间
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 新增或更新岗位
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static int createUser(JSONArray resultArray, Connection conn) {
|
||||
List<RowMap> maps = DBSql.getMaps("SELECT * FROM BO_EU_ORG_POSTS");
|
||||
for (RowMap rowMap : maps) {
|
||||
String deptId = rowMap.getString("DEPTID");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
ORGAPI orgapi = SDK.getORGAPI();
|
||||
int count = 0;
|
||||
for (Object o : resultArray) {
|
||||
BO bo = new BO();
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String postId = resultJson.getString("POSITION_NBR");//职位编码
|
||||
String sqt = "SELECT ID FROM BO_EU_ORG_POSTS WHERE POSITION_NBR ='"+postId+"'";
|
||||
if(UtilString.isEmpty(DBSql.getString(sqt))) {
|
||||
String outerId = resultJson.getString("DEPTID");// 部门id
|
||||
Map<String, Object> innerMap = resultJson.getInnerMap();
|
||||
String sql = "SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = '"+outerId+"'";
|
||||
String deId = DBSql.getString(sql);
|
||||
innerMap.remove("DEPTID");
|
||||
innerMap.put("OUTERID", outerId);
|
||||
if(UtilString.isNotEmpty(deId)) {
|
||||
innerMap.put("DEPTID",deId);
|
||||
DepartmentModel departmentById = orgapi.getDepartmentById(deId);
|
||||
if (null!=departmentById) {
|
||||
innerMap.put("DEPTNAME", departmentById.getName());
|
||||
String parentDepartmentId = departmentById.getParentDepartmentId();
|
||||
innerMap.put("DEPTPEID", parentDepartmentId);
|
||||
if ("0".equals(parentDepartmentId)) {
|
||||
innerMap.put("DEPTPENAME", "内蒙古伊利实业集团股份有限公司");
|
||||
} else {
|
||||
innerMap.put("DEPTPENAME", orgapi.getDepartmentById(parentDepartmentId).getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
bo.setAll(innerMap);
|
||||
SDK.getBOAPI().createDataBO("BO_EU_ORG_POSTS", bo, UserContext.fromUID("admin"));
|
||||
}
|
||||
|
||||
}
|
||||
return count;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 岗位是否存在
|
||||
* @return
|
||||
*/
|
||||
public static String getPost(String postId, Connection conn){
|
||||
String selectUserSql = " SELECT ID FROM ORGROLE WHERE ROLENO = ? ";
|
||||
String userId = DBSql.getString(conn, selectUserSql, new Object[]{postId});
|
||||
return userId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code, Connection conn) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(conn, selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
176
SynUser/src/com/yili/org/SynPrem.java
Normal file
176
SynUser/src/com/yili/org/SynPrem.java
Normal file
@ -0,0 +1,176 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UUIDGener;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
|
||||
/**
|
||||
* 同步阅览权限
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/9/18 21:38
|
||||
*/
|
||||
public class SynPrem implements IJob {
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
UserContext uc = UserContext.fromUID("admin");
|
||||
List<BO> list = SDK.getBOAPI().query("BO_EU_PUBLISH_SCOPE_IMPORT").list();
|
||||
for (BO bos : list) {
|
||||
String palName = bos.getString("PALNAME");
|
||||
String orgPerm = bos.getString("ORGPERM");
|
||||
String postPerm = bos.getString("POSTPERM");
|
||||
String levelPrem = bos.getString("LEVELPERM");
|
||||
String sendScope = bos.getString("SEND_SCOP");
|
||||
StringBuffer orgFail = new StringBuffer();
|
||||
StringBuffer orgPermBuf = new StringBuffer();
|
||||
String[] orgPermArr = orgPerm.split(",");
|
||||
for (int i = 0; i < orgPermArr.length; i++) {
|
||||
if ("伊利集团".equals(orgPermArr[i])) {
|
||||
sendScope = "1";
|
||||
|
||||
} else {
|
||||
String dsql = "SELECT ID FROM ORGDEPARTMENT WHERE DEPARTMENTNAME = '" + orgPermArr[i].trim() + "'";
|
||||
String depId = DBSql.getString(dsql);
|
||||
if (UtilString.isNotEmpty(depId)) {
|
||||
if(orgPermBuf.length()>0) {
|
||||
String string = orgPermBuf.toString();
|
||||
if(!string.contains(depId)) {
|
||||
if(i!=orgPermArr.length-1) {
|
||||
orgPermBuf.append(depId).append(",");
|
||||
}else {
|
||||
orgPermBuf.append(depId);
|
||||
}
|
||||
}
|
||||
|
||||
}else {
|
||||
if (i!=orgPermArr.length-1) {
|
||||
orgPermBuf.append(depId).append(",");
|
||||
} else {
|
||||
orgPermBuf.append(depId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
if (UtilString.isNotEmpty(orgPermArr[i])) {
|
||||
orgFail.append(orgPermArr[i]).append(",");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
bos.set("ORGFAIL", orgFail);
|
||||
StringBuffer postFail = new StringBuffer();
|
||||
StringBuffer postPermBuf = new StringBuffer();
|
||||
String[] postPermArr = postPerm.split(",");
|
||||
|
||||
for (int i = 0; i < postPermArr.length; i++) {
|
||||
String postNbrSql = "SELECT POSITION_NBR FROM BO_EU_ORG_POSTS WHERE DESCR = '" + postPermArr[i].trim() + "'";
|
||||
String postNbr = DBSql.getString(postNbrSql);
|
||||
if (UtilString.isNotEmpty(postNbr)) {
|
||||
if(postPermBuf.length()>0) {
|
||||
String string = postPermBuf.toString();
|
||||
if(!string.contains(postNbr)) {
|
||||
if (i!=postPermArr.length-1) {
|
||||
postPermBuf.append(postNbr).append(",");
|
||||
} else {
|
||||
postPermBuf.append(postNbr);
|
||||
}
|
||||
}
|
||||
}else {
|
||||
if (i!=postPermArr.length-1) {
|
||||
postPermBuf.append(postNbr).append(",");
|
||||
} else {
|
||||
postPermBuf.append(postNbr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
if (UtilString.isNotEmpty(postPermArr[i])) {
|
||||
postFail.append(postPermArr[i]).append(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
bos.set("POSTFAIL", postFail);
|
||||
|
||||
StringBuffer levelFail = new StringBuffer();
|
||||
StringBuffer levelPremArrBuf = new StringBuffer();
|
||||
String[] levelPremArr = levelPrem.split(",");
|
||||
for (String str : levelPremArr) {
|
||||
if (UtilString.isNotEmpty(str)) {
|
||||
if (str.equals(levelPremArr[levelPremArr.length - 1])) {
|
||||
levelPremArrBuf.append(str);
|
||||
} else {
|
||||
levelPremArrBuf.append(str).append(",");
|
||||
}
|
||||
} else {
|
||||
if (UtilString.isNotEmpty(str)) {
|
||||
levelFail.append(str).append(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
bos.set("LEVELFAIL", levelFail);
|
||||
|
||||
List<BO> premlist = new ArrayList<>();
|
||||
String sqls = "SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME = '" + palName.trim() + "'";
|
||||
List<RowMap> maps = DBSql.getMaps(sqls);
|
||||
if (maps.size() == 0) {
|
||||
bos.set("RESULT", "导入失败,未匹配到模型!");
|
||||
SDK.getBOAPI().update("BO_EU_PUBLISH_SCOPE_IMPORT", bos);
|
||||
} else {
|
||||
for (RowMap rowMap : maps) {
|
||||
String sqlString = "SELECT ID FROM BO_ACT_PUBLISH_PERM_SCOPE WHERE PALVERSIONID = '"
|
||||
+ rowMap.getString("PLVERSIONID") + "'";
|
||||
List<RowMap> maps2 = DBSql.getMaps(sqlString);
|
||||
for (RowMap rowMapw : maps2) {
|
||||
SDK.getBOAPI().remove("BO_ACT_PUBLISH_PERM_SCOPE", rowMapw.getString("ID"));
|
||||
}
|
||||
BO bo = new BO();
|
||||
bo.set("PERMID", UUIDGener.getUUID());
|
||||
bo.set("WSID", rowMap.getString("WSID"));
|
||||
bo.set("PALVERSIONID", rowMap.getString("PLVERSIONID"));
|
||||
bo.set("PALNAME", rowMap.getString("PLNAME"));
|
||||
bo.set("PERMTYPE", sendScope);
|
||||
bo.set("ORGPERM", orgPermBuf);
|
||||
bo.set("POSTPERM", postPermBuf);
|
||||
bo.set("LEVELPERM", levelPremArrBuf);
|
||||
premlist.add(bo);
|
||||
}
|
||||
if (premlist.size() > 0) {
|
||||
try {
|
||||
if (orgFail.length() != 0 || postFail.length() != 0 || levelFail.length() != 0) {
|
||||
bos.set("RESULT", "导入部分成功!");
|
||||
|
||||
} else {
|
||||
bos.set("RESULT", "导入成功!");
|
||||
}
|
||||
SDK.getBOAPI().createDataBO("BO_ACT_PUBLISH_PERM_SCOPE", premlist, uc);
|
||||
SDK.getLogAPI().consoleInfo("[发布范围权限信息保存至范围权限表]更新成功");
|
||||
|
||||
} catch (Exception e) {
|
||||
bos.set("RESULT", "导入失败,字段长度超出范围!");
|
||||
}
|
||||
SDK.getBOAPI().update("BO_EU_PUBLISH_SCOPE_IMPORT", bos);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
243
SynUser/src/com/yili/org/SynUserJob.java
Normal file
243
SynUser/src/com/yili/org/SynUserJob.java
Normal file
@ -0,0 +1,243 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentHelper;
|
||||
import org.dom4j.Element;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yili.util.UtilUrl;
|
||||
|
||||
/**
|
||||
* 同步组织架构
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class SynUserJob implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行开始");
|
||||
long startTime = System.currentTimeMillis(); //获取开始时间
|
||||
initUser();
|
||||
long endTime = System.currentTimeMillis(); //获取结束时间
|
||||
System.out.println("程序运行时间:" + (endTime - startTime)/1000/60 + "min"); //输出程序运行时间
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 初始化人员
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initUser() {
|
||||
role_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "default_role_id");
|
||||
//String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
//加入分页
|
||||
int num = 0;
|
||||
int count= 0;
|
||||
int pageNum = 320;//暂定320页
|
||||
int pageSize = 300;//一页300条记录
|
||||
Connection conn = null;
|
||||
try {
|
||||
conn = DBSql.open();
|
||||
for (int i = 1; i <= pageNum; i++) {
|
||||
System.out.println(">>>>>>>>>>>>>>>同步人员第"+i +"页开始");
|
||||
String whereStr ="<whereFlag>Y</"
|
||||
+ "whereFlag>\n" +
|
||||
"<whereStr>STATUS = 'A'</whereStr>\n";
|
||||
//增量同步,修改一个月之内的
|
||||
System.err.println("---------------"+init_flag);
|
||||
/*
|
||||
* if(init_flag){ whereStr = " <whereFlag>Y</whereFlag>\n" +
|
||||
* " <!--Optional:-->\n" +
|
||||
* " <whereStr>LAST_UPDATE_TIME BETWEEN ADD_MONTHS(SYSDATE, -3) AND SYSDATE </whereStr>\n"
|
||||
* ; //" <whereStr>STATUS = 'A'</whereStr>\n"; }
|
||||
*/
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n" +
|
||||
" <soapenv:Header/>\n" +
|
||||
" <soapenv:Body>\n" +
|
||||
" <ser:getMdmInfoBySelectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <selectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <currentPage>" + i + "</currentPage>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageFlag>Y</pageFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageSize>" + pageSize + "</pageSize>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <sourceAppName>LCGLPT</sourceAppName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <viewName>GET_PERSON_BASIC_INFO</viewName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
whereStr +
|
||||
" </selectRequest>\n" +
|
||||
" </ser:getMdmInfoBySelectRequest>\n" +
|
||||
" </soapenv:Body>\n" +
|
||||
"</soapenv:Envelope>";
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse").element("return");
|
||||
// String jsonString = JSONObject.toJSONString(result);
|
||||
// System.err.println("接口返回结果:"+jsonString);
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
//String resultNum = result.element("totalRecord").getData().toString();
|
||||
String pageSizes = result.element("pageSize").getData().toString();
|
||||
String nextPageFlag = result.element("nextPageFlag").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
count+=resultArray.size();
|
||||
if (resultArray.size() > 0) {
|
||||
//SDK.getLogAPI().consoleInfo(">>>>>遍历人员第"+i +"页数据:"+resultArray.size());
|
||||
int createUser = createUser(resultArray, conn);
|
||||
num+=createUser;
|
||||
}else{
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
try {
|
||||
conn.close();
|
||||
} catch (SQLException throwables) {
|
||||
throwables.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SDK.getLogAPI().consoleInfo("本次共同步人员数据num:" + num+"条");
|
||||
SDK.getLogAPI().consoleInfo("本次共同步人员数据count:" + count+"条");
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 新增或更新人员
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static int createUser(JSONArray resultArray, Connection conn) {
|
||||
int count = 0;
|
||||
for (Object o : resultArray) {
|
||||
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String status = resultJson.getString("STATUS");//人员状态编码
|
||||
String emp_id = resultJson.getString("EMP_ID");//员工编号
|
||||
if(UtilString.isEmpty(getUserId(emp_id, conn))){
|
||||
continue;
|
||||
}
|
||||
|
||||
String emp_name = resultJson.getString("EMP_NAME");//员工姓名
|
||||
String business_unit = resultJson.getString("BUSINESS_UNIT");//事业部id
|
||||
String bu_name = resultJson.getString("BU_NAME");//事业部名称
|
||||
String dept_id = resultJson.getString("DEPT_ID");//部门id
|
||||
String status_name = resultJson.getString("STATUS_NAME");//人员状态编码
|
||||
String sex = resultJson.getString("SEX");//性别编码
|
||||
String sex_name = resultJson.getString("SEX_NAME");//性别描述
|
||||
String phone = resultJson.getString("PHONE");//移动电话
|
||||
String email_addr = resultJson.getString("EMAIL_ADDR");//邮箱
|
||||
String job_class = resultJson.getString("JOB_CLASS");//职级类别编码
|
||||
String job_class_name = resultJson.getString("JOB_CLASS_NAME");//职级类别描述
|
||||
String job_family = resultJson.getString("JOB_FAMILY");//职级编码
|
||||
String job_family_name = resultJson.getString("JOB_FAMILY_NAME");//职级描述
|
||||
String job_code = resultJson.getString("JOB_CODE");//职务id
|
||||
String job_name = resultJson.getString("JOB_NAME");//职务描述
|
||||
String position = resultJson.getString("POSITION");//新职务ID
|
||||
String position_name = resultJson.getString("POSITION_NAME");//新职务描述
|
||||
String supervisor_id = resultJson.getString("SUPERVISOR_ID");//直接上级id
|
||||
|
||||
Map<String,Object> map =new HashMap<String,Object>();
|
||||
map.put("mobile",phone);
|
||||
map.put("position_layer",job_class);
|
||||
map.put("positionNo",position);
|
||||
map.put("positionName",position_name);
|
||||
map.put("ext1",job_family);
|
||||
map.put("ext2",job_family_name);
|
||||
map.put("ext3",business_unit);
|
||||
map.put("ext4",bu_name);
|
||||
map.put("reportTo",supervisor_id);
|
||||
|
||||
String sql = "SELECT ID FROM ORGROLE WHERE ROLENO = '"+position+"'";
|
||||
List<RowMap> maps = DBSql.getMaps(sql);
|
||||
|
||||
if(UtilString.isEmpty(job_class)) {
|
||||
job_class = "空";
|
||||
}
|
||||
if(UtilString.isEmpty(supervisor_id)) {
|
||||
supervisor_id = "空";
|
||||
}
|
||||
String updateUserSql = "UPDATE ORGUSER SET POSITION_LAYER = ? ,EXT1 = ? ,EXT2 = ? ,EXT3 = ? ,EXT4 = ? ,REPORTTO = ? WHERE USERID = ?";
|
||||
count+=DBSql.update(conn,updateUserSql,new Object[]{job_class,job_family,job_family_name,business_unit,bu_name,supervisor_id,emp_id});
|
||||
}
|
||||
return count;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户是否存在
|
||||
* @return
|
||||
*/
|
||||
public static String getUserId(String emp_id, Connection conn){
|
||||
String selectUserSql = " SELECT ID FROM BO_EU_ORG_USER WHERE EMP_ID = ? ";
|
||||
String userId = DBSql.getString(conn, selectUserSql, new Object[]{emp_id});
|
||||
return userId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code, Connection conn) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(conn, selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 注销或激活用户
|
||||
* @return
|
||||
*/
|
||||
public static void disabledOrActiveUser(String userId,String status){
|
||||
if(status.equals("A")){ //有效员工
|
||||
SDK.getORGAPI().activateUser(userId);
|
||||
}else if(status.equals("I")){//无效员工
|
||||
SDK.getORGAPI().disabledUser(userId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
99
SynUser/src/com/yili/test/App.java
Normal file
99
SynUser/src/com/yili/test/App.java
Normal file
@ -0,0 +1,99 @@
|
||||
package com.yili.test;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
|
||||
public class App {
|
||||
// Basic testClient:qwertyuio0987654rfg :: Basic ???
|
||||
static String clientId = "testClient";
|
||||
static String clientSecret = "1234567890";
|
||||
static String redirect_uri = "http://10.119.254.49:33018/";
|
||||
|
||||
public static void main(String[] args) {
|
||||
// System.out.println("--startup--------");
|
||||
|
||||
|
||||
// [1] 第一个网址放在浏览器中打开,登录,然后拿url中的code
|
||||
// String firstURL="http://cs.idm.yili.com:7777/ms_oauth/oauth2/endpoints/oauthservice/authorize?client_id="+clientId+"&redirect_uri="+redirect_uri+"&response_type=code&scope=UserProfile.me";
|
||||
// System.out.println(firstURL);
|
||||
|
||||
// [2] code拿来调用第二个接口
|
||||
// =======================================================================
|
||||
//String code = "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJvcmFjbGUub2F1dGgucmVkaXJlY3QtdXJpIjoiaHR0cDovLzEwLjExOS4yMS4yMzE6MzE4NjIvZWNzLWNvbnNvbGUiLCJzdWIiOm51bGwsIm9yYWNsZS5vYXV0aC51c2VyX29yaWdpbl9pZF90eXBlIjoiTERBUF9VSUQiLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWQiOiIwMDMxODY5NiIsImlzcyI6Ind3dy5vcmFjbGUuZXhhbXBsZS5jb20iLCJvcmFjbGUub2F1dGguc3ZjX3BfbiI6Ik9BdXRoU2VydmljZVByb2ZpbGUiLCJpYXQiOjE2Mzk0OTMwMTgsIm9yYWNsZS5vYXV0aC50a19jb250ZXh0IjoiYXpjIiwiZXhwIjoxNjM5NDkzOTE4LCJwcm4iOm51bGwsImp0aSI6IjEwMzU0YjYxLTczZmYtNDAzMy04Y2U4LTcyZTFjYjFkYTg3YSIsIm9yYWNsZS5vYXV0aC5zY29wZSI6IlVzZXJQcm9maWxlLm1lIiwib3JhY2xlLm9hdXRoLmNsaWVudF9vcmlnaW5faWQiOiJNQU1DQ2xpZW50IiwidXNlci50ZW5hbnQubmFtZSI6IkRlZmF1bHREb21haW4iLCJvcmFjbGUub2F1dGguaWRfZF9pZCI6IjEyMzQ1Njc4LTEyMzQtMTIzNC0xMjM0LTEyMzQ1Njc4OTAxMiJ9.WYCIAKUIJS1LcWzDn4tfOCts78-grCHpCye4PL_gTTXamm1r2nnOdJKAZieCOdLeBhTbjyDRFldrruRFIkiqnU9Tp3RRkFXOB7vfintBK2VDpBz9_VJX3FgzoQRCGUOcX6nZu9_vBmgKu1yjJMaz6Vq13WHPFG1XLj1ttKlEBBY";
|
||||
String code = "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJvcmFjbGUub2F1dGgucmVkaXJlY3QtdXJpIjoiaHR0cDovLzEwLjExOS4yNTQuNDk6MzMwMTgvIiwic3ViIjpudWxsLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWRfdHlwZSI6IkxEQVBfVUlEIiwib3JhY2xlLm9hdXRoLnVzZXJfb3JpZ2luX2lkIjoiMDAzMTg2OTYiLCJpc3MiOiJ3d3cub3JhY2xlLmV4YW1wbGUuY29tIiwib3JhY2xlLm9hdXRoLnN2Y19wX24iOiJPQXV0aFNlcnZpY2VQcm9maWxlIiwiaWF0IjoxNjU3Nzc4NjkxLCJvcmFjbGUub2F1dGgudGtfY29udGV4dCI6ImF6YyIsImV4cCI6MTY1Nzc3OTU5MSwicHJuIjpudWxsLCJqdGkiOiI2N2UyMDgwNy0xZGFiLTRhNmEtOTM4My0yZjY4YWU1ZTM3MzciLCJvcmFjbGUub2F1dGguc2NvcGUiOiJVc2VyUHJvZmlsZS5tZSIsIm9yYWNsZS5vYXV0aC5jbGllbnRfb3JpZ2luX2lkIjoiZTQ4M2MwZTVmODEyNDU2MzliOWIwYzk0MGNhODFlODAiLCJ1c2VyLnRlbmFudC5uYW1lIjoiRGVmYXVsdERvbWFpbiIsIm9yYWNsZS5vYXV0aC5pZF9kX2lkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0.UFt7tPu-DL3fh1WhbjwuxwjkuvOpA1bDDLAiGXHx9-32JV-fv6ExeQ6GWXCjbgIVWxmnSzhGdqQuXIixsY6rN-VjXwloOoSE4tVsbxbO4imbHvaOGAjyvrWiKI3cLTokTK1In-kWr1FkkYq4_PcOgTi6PC8GYdH2_zY6_KBY1WIvyqhcVffBVLAN7yKtvjb4iT9ILYxSYq8LfZdyKJ9nwgoDH4qeOsmqsELXvny0";
|
||||
getTokens(redirect_uri, code);
|
||||
|
||||
// [2] - 的结果
|
||||
/*
|
||||
* {"expires_in":3600,"token_type":"Bearer",
|
||||
* "access_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJzdWIiOiIwMDMxODY5NiIsIm9yYWNsZS5vYXV0aC51c2VyX29yaWdpbl9pZF90eXBlIjoiTERBUF9VSUQiLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWQiOiIwMDMxODY5NiIsImlzcyI6Ind3dy5vcmFjbGUuZXhhbXBsZS5jb20iLCJvcmFjbGUub2F1dGguc3ZjX3BfbiI6Ik9BdXRoU2VydmljZVByb2ZpbGUiLCJpYXQiOjE2Mzk0OTMwNjgsIm9yYWNsZS5vYXV0aC5wcm4uaWRfdHlwZSI6IkxEQVBfVUlEIiwib3JhY2xlLm9hdXRoLnRrX2NvbnRleHQiOiJyZXNvdXJjZV9hY2Nlc3NfdGsiLCJleHAiOjE2Mzk0OTY2NjgsInBybiI6IjAwMzE4Njk2IiwianRpIjoiODQ2NWUwNGYtZmUwOS00M2ZjLTkwNzYtY2YyZTg5NWY3YjUzIiwib3JhY2xlLm9hdXRoLmNsaWVudF9vcmlnaW5faWQiOiJNQU1DQ2xpZW50Iiwib3JhY2xlLm9hdXRoLnNjb3BlIjoiVXNlclByb2ZpbGUubWUiLCJ1c2VyLnRlbmFudC5uYW1lIjoiRGVmYXVsdERvbWFpbiIsIm9yYWNsZS5vYXV0aC5pZF9kX2lkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0.hXSM1SSVcgqrldfCUK0tEz_TwbbeMvyE1qTXz8qHV3CWMuvVPbVTdaywr-fLcJxM115X3a2LMLFGdSZegS1EjVlsuIIpX0Nknfp3zrXNe_uzaJU_YeubnSMum-GER4Wlh9Yu64e8GfjZdmD9IOVr_dl4Z8R-moXF7a4VV4fgPxA"}
|
||||
* */
|
||||
//======================================================================
|
||||
|
||||
// [4] 获取上面 access_token ,传给第4个接口
|
||||
//String token = "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJzdWIiOiIwMDMxODY5NiIsIm9yYWNsZS5vYXV0aC51c2VyX29yaWdpbl9pZF90eXBlIjoiTERBUF9VSUQiLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWQiOiIwMDMxODY5NiIsImlzcyI6Ind3dy5vcmFjbGUuZXhhbXBsZS5jb20iLCJvcmFjbGUub2F1dGguc3ZjX3BfbiI6Ik9BdXRoU2VydmljZVByb2ZpbGUiLCJpYXQiOjE2Mzk0OTMwNjgsIm9yYWNsZS5vYXV0aC5wcm4uaWRfdHlwZSI6IkxEQVBfVUlEIiwib3JhY2xlLm9hdXRoLnRrX2NvbnRleHQiOiJyZXNvdXJjZV9hY2Nlc3NfdGsiLCJleHAiOjE2Mzk0OTY2NjgsInBybiI6IjAwMzE4Njk2IiwianRpIjoiODQ2NWUwNGYtZmUwOS00M2ZjLTkwNzYtY2YyZTg5NWY3YjUzIiwib3JhY2xlLm9hdXRoLmNsaWVudF9vcmlnaW5faWQiOiJNQU1DQ2xpZW50Iiwib3JhY2xlLm9hdXRoLnNjb3BlIjoiVXNlclByb2ZpbGUubWUiLCJ1c2VyLnRlbmFudC5uYW1lIjoiRGVmYXVsdERvbWFpbiIsIm9yYWNsZS5vYXV0aC5pZF9kX2lkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0.hXSM1SSVcgqrldfCUK0tEz_TwbbeMvyE1qTXz8qHV3CWMuvVPbVTdaywr-fLcJxM115X3a2LMLFGdSZegS1EjVlsuIIpX0Nknfp3zrXNe_uzaJU_YeubnSMum-GER4Wlh9Yu64e8GfjZdmD9IOVr_dl4Z8R-moXF7a4VV4fgPxA";
|
||||
//getUserInfo(token);
|
||||
|
||||
/* // [4] 的结果
|
||||
* {"uid":"00318696","mail":"A00318696@yili.com","employeenumber":"00318696","lastname":"王超",
|
||||
* "commonname":"王超","uri":"\/ms_oauth\/resources\/userprofile\/me\/00318696"}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
// http://cs.idm.yili.com:7777/ms_oauth/oauth2/endpoints/oauthservice/tokens?redirect_uri=http://192.168.88.100:8080/ecs-console/&grant_type=authorization_code&code=
|
||||
// 获取授权Token接口(authorization_code模式)
|
||||
public static String getTokens(String redirect_uri, String code) {
|
||||
String tokenJson = "";
|
||||
|
||||
String url = "http://cs.idm.yili.com:7777/ms_oauth/oauth2/endpoints/oauthservice/tokens?" + "redirect_uri="
|
||||
+ redirect_uri + "&grant_type=authorization_code&code=" + code;
|
||||
|
||||
String authoStr = geAuthorization(clientId, clientSecret);
|
||||
HashMap<String, String> HeaderMap = new HashMap();
|
||||
HeaderMap.put("Content-Type", "application/x-www-form-urlencoded");
|
||||
HeaderMap.put("Authorization", authoStr);
|
||||
HeaderMap.put("accept", "*/*");
|
||||
HeaderMap.put("connection", "Keep-Alive");
|
||||
|
||||
// do request
|
||||
tokenJson = HttpJavaUtil.sendPost(url, "", HeaderMap);
|
||||
System.out.println(tokenJson);
|
||||
return tokenJson;
|
||||
|
||||
}
|
||||
|
||||
public static String getUserInfo(String token) {
|
||||
String userInfoJson = "";
|
||||
String url = "http://cs.idm.yili.com:7777/ms_oauth/resources/userprofile/me";
|
||||
|
||||
String authoStr = token;
|
||||
HashMap<String, String> HeaderMap = new HashMap();
|
||||
HeaderMap.put("Content-Type", "application/x-www-form-urlencoded");
|
||||
HeaderMap.put("Authorization", authoStr);
|
||||
HeaderMap.put("accept", "*/*");
|
||||
HeaderMap.put("connection", "Keep-Alive");
|
||||
|
||||
// do request get
|
||||
userInfoJson = HttpJavaUtil.doGet(url, HeaderMap);
|
||||
System.out.println(userInfoJson);
|
||||
return userInfoJson;
|
||||
}
|
||||
|
||||
public static String geAuthorization(String clientId, String clientSecret) {
|
||||
try {
|
||||
byte[] key = (clientId + ":" + clientSecret).getBytes("utf-8");
|
||||
String cc = new String(Base64.encodeBase64(key), "utf-8");
|
||||
// String cc = new String(java.util.Base64.getEncoder().encode(key), "utf-8");
|
||||
return "Basic " + cc;
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
300
SynUser/src/com/yili/test/HttpJavaUtil.java
Normal file
300
SynUser/src/com/yili/test/HttpJavaUtil.java
Normal file
@ -0,0 +1,300 @@
|
||||
package com.yili.test;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.OutputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.net.URLConnection;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.net.ssl.HostnameVerifier;
|
||||
import javax.net.ssl.HttpsURLConnection;
|
||||
import javax.net.ssl.SSLSession;
|
||||
|
||||
import okhttp3.MediaType;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.Request;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.Response;
|
||||
|
||||
public class HttpJavaUtil {
|
||||
|
||||
public static final String DEF_CHATSET = "UTF-8";
|
||||
public static final int DEF_CONN_TIMEOUT = 30000; // 是建立连接的超时时间
|
||||
public static final int DEF_READ_TIMEOUT = 30000; // 是传递数据的超时时间
|
||||
|
||||
public static String doGet(String httpUrl, Map<String, String> HeaderMap) {
|
||||
HttpURLConnection connection = null;
|
||||
InputStream is = null;
|
||||
BufferedReader br = null;
|
||||
String result = null;// 返回结果字符串
|
||||
System.out.println(httpUrl);
|
||||
try {
|
||||
// 创建远程url连接对象
|
||||
URL url = new URL(httpUrl);
|
||||
try {
|
||||
// trustAllHttpsCertificates();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("【异常】doGet-https-->" + e.getMessage());
|
||||
}
|
||||
connection = (HttpURLConnection) url.openConnection();
|
||||
|
||||
// 设置header
|
||||
for (String key : HeaderMap.keySet()) {
|
||||
connection.setRequestProperty(key, HeaderMap.get(key).toString());
|
||||
}
|
||||
|
||||
// 设置连接方式:get
|
||||
connection.setRequestMethod("GET");
|
||||
// 设置连接主机服务器的超时时间:15000毫秒
|
||||
connection.setConnectTimeout(15000);
|
||||
// 设置读取远程返回的数据时间:60000毫秒
|
||||
connection.setReadTimeout(60000);
|
||||
// 发送请求
|
||||
connection.connect();
|
||||
// 通过connection连接,获取输入流
|
||||
if (connection.getResponseCode() == 200) {
|
||||
is = connection.getInputStream();
|
||||
// 封装输入流is,并指定字符集
|
||||
br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
|
||||
// 存放数据
|
||||
StringBuffer sbf = new StringBuffer();
|
||||
String tempX = "";
|
||||
while ((tempX = br.readLine()) != null) {
|
||||
sbf.append(tempX);
|
||||
sbf.append("\r\n");
|
||||
}
|
||||
result = sbf.toString();
|
||||
System.out.println(result);
|
||||
} else {
|
||||
String line;
|
||||
String message = "";
|
||||
br = new BufferedReader(new InputStreamReader(connection.getErrorStream()));
|
||||
StringBuffer buff = new StringBuffer();
|
||||
while ((line = br.readLine()) != null) {
|
||||
buff.append(line + "\n");
|
||||
message += line;
|
||||
}
|
||||
message = buff.toString();
|
||||
System.out.println(message);
|
||||
}
|
||||
} catch (MalformedURLException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
// 关闭资源
|
||||
if (null != br) {
|
||||
try {
|
||||
br.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (null != is) {
|
||||
try {
|
||||
is.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
connection.disconnect();// 关闭远程连接
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static String doPost(String httpUrl, String BodyParam, Map<String, String> HeaderMap) {
|
||||
HttpURLConnection connection = null;
|
||||
InputStream is = null;
|
||||
OutputStream os = null;
|
||||
BufferedReader br = null;
|
||||
String result = null;
|
||||
try {
|
||||
URL url = new URL(httpUrl);
|
||||
try {
|
||||
// trustAllHttpsCertificates();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("【异常】doPost-https-->" + e.getMessage());
|
||||
}
|
||||
connection = (HttpURLConnection) url.openConnection();
|
||||
|
||||
// 设置header
|
||||
for (String key : HeaderMap.keySet()) {
|
||||
connection.setRequestProperty(key, HeaderMap.get(key).toString());
|
||||
}
|
||||
connection.setRequestMethod("POST");
|
||||
connection.setConnectTimeout(15000);
|
||||
connection.setReadTimeout(60000);
|
||||
connection.setDoOutput(true);
|
||||
connection.setDoInput(true);
|
||||
|
||||
os = connection.getOutputStream();
|
||||
os.write(BodyParam.getBytes());
|
||||
int resCode = connection.getResponseCode();
|
||||
|
||||
is = connection.getInputStream();
|
||||
br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
|
||||
StringBuffer sbf = new StringBuffer();
|
||||
String temp = null;
|
||||
while ((temp = br.readLine()) != null) {
|
||||
sbf.append(temp);
|
||||
sbf.append("\r\n");
|
||||
}
|
||||
result = sbf.toString();
|
||||
} catch (Exception e) {
|
||||
System.out.println(e.getMessage());
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
if (null != br) {
|
||||
try {
|
||||
br.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (null != os) {
|
||||
try {
|
||||
os.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (null != is) {
|
||||
try {
|
||||
is.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
connection.disconnect();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 信任全部https证书
|
||||
*/
|
||||
private static void trustAllHttpsCertificates() throws Exception {
|
||||
HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
|
||||
public boolean verify(String str, SSLSession session) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
|
||||
javax.net.ssl.TrustManager tm = new miTM();
|
||||
trustAllCerts[0] = tm;
|
||||
javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
|
||||
sc.init(null, trustAllCerts, null);
|
||||
javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
|
||||
}
|
||||
|
||||
static class miTM implements javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager {
|
||||
|
||||
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean isServerTrusted(java.security.cert.X509Certificate[] certs) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isClientTrusted(java.security.cert.X509Certificate[] certs) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType)
|
||||
throws java.security.cert.CertificateException {
|
||||
return;
|
||||
}
|
||||
|
||||
public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType)
|
||||
throws java.security.cert.CertificateException {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public static String sendPost(String url, String param, Map<String, String> HeaderMap) {
|
||||
PrintWriter out = null;
|
||||
BufferedReader in = null;
|
||||
String result = "";
|
||||
try {
|
||||
URL realUrl = new URL(url);
|
||||
// 打开和URL之间的连接
|
||||
URLConnection conn = realUrl.openConnection();
|
||||
|
||||
// 设置header
|
||||
for (String key : HeaderMap.keySet()) {
|
||||
conn.setRequestProperty(key, HeaderMap.get(key).toString());
|
||||
}
|
||||
|
||||
// 发送POST请求必须设置如下两行
|
||||
conn.setDoOutput(true);
|
||||
conn.setDoInput(true);
|
||||
// 获取URLConnection对象对应的输出流
|
||||
out = new PrintWriter(conn.getOutputStream());
|
||||
// 发送请求参数
|
||||
out.print(param);
|
||||
// flush输出流的缓冲
|
||||
out.flush();
|
||||
// 定义BufferedReader输入流来读取URL的响应
|
||||
in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
|
||||
String line;
|
||||
while ((line = in.readLine()) != null) {
|
||||
result += line;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.out.println("发送 POST 请求出现异常!" + e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
// 使用finally块来关闭输出流、输入流
|
||||
finally {
|
||||
try {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
if (in != null) {
|
||||
in.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public static void tst4(String redirect_uri,String code) {
|
||||
OkHttpClient client = new OkHttpClient();
|
||||
|
||||
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
|
||||
RequestBody body = RequestBody.create(mediaType, "a=1");
|
||||
|
||||
Request request = new Request.Builder()
|
||||
.url("http://cs.idm.cjlr.com:7777/ms_oauth/oauth2/endpoints/oauthservice/tokens?redirect_uri="+redirect_uri+"&grant_type=authorization_code&code="+code)
|
||||
.post(body)
|
||||
.addHeader("Authorization", "Basic 这里需要改改")
|
||||
.addHeader("Content-Type", "application/x-www-form-urlencoded")
|
||||
.addHeader("Accept", "*/*")
|
||||
.addHeader("Cache-Control", "no-cache")
|
||||
.addHeader("Connection", "keep-alive")
|
||||
.addHeader("cache-control", "no-cache")
|
||||
.build();
|
||||
|
||||
try {
|
||||
Response response = client.newCall(request).execute();
|
||||
System.out.println(response);
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
270
SynUser/src/com/yili/util/HttpClientUtil.java
Normal file
270
SynUser/src/com/yili/util/HttpClientUtil.java
Normal file
@ -0,0 +1,270 @@
|
||||
package com.yili.util;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.commons.httpclient.Cookie;
|
||||
import org.apache.commons.httpclient.Header;
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.HttpMethodBase;
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
import org.apache.commons.httpclient.NameValuePair;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
import org.apache.commons.httpclient.methods.PostMethod;
|
||||
import org.apache.commons.httpclient.methods.RequestEntity;
|
||||
import org.apache.commons.httpclient.methods.StringRequestEntity;
|
||||
import org.apache.commons.httpclient.params.HttpConnectionManagerParams;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
public class HttpClientUtil {
|
||||
private static final Logger log = LoggerFactory.getLogger(HttpClientUtil.class);
|
||||
|
||||
private HttpClient client;
|
||||
private HttpMethodBase httpMethod;
|
||||
|
||||
public HttpClientUtil(HttpMethodBase method) {
|
||||
this.httpMethod = method;
|
||||
this.client = new HttpClient();
|
||||
this.client.getParams().setParameter("http.protocol.content-charset", "UTF-8");
|
||||
}
|
||||
|
||||
public HttpClientUtil(String proxyHost, int proxyPort) {
|
||||
this.client = null;
|
||||
this.httpMethod = null;
|
||||
this.client = new HttpClient();
|
||||
this.client.getParams().setParameter("http.protocol.content-charset", "UTF-8");
|
||||
setProxy(client, proxyHost , proxyPort);
|
||||
}
|
||||
|
||||
public HttpClientUtil(int timeoutInMilliseconds) {
|
||||
this(null);
|
||||
HttpConnectionManagerParams ps = this.client.getHttpConnectionManager().getParams();
|
||||
ps.setSoTimeout(timeoutInMilliseconds);
|
||||
ps.setConnectionTimeout(timeoutInMilliseconds);
|
||||
}
|
||||
|
||||
public void setRequestHeader(String name, String value) {
|
||||
this.httpMethod.setRequestHeader(name, value);
|
||||
}
|
||||
|
||||
public void addParameter(String name, String value) throws IllegalArgumentException {
|
||||
if(name != null && value != null) {
|
||||
if(this.httpMethod instanceof GetMethod) {
|
||||
String q = this.httpMethod.getQueryString();
|
||||
if(q == null) {
|
||||
this.httpMethod.setQueryString(name + "=" + value);
|
||||
} else {
|
||||
this.httpMethod.setQueryString(q + "&" + name + "=" + value);
|
||||
}
|
||||
} else if(this.httpMethod instanceof PostMethod) {
|
||||
((PostMethod)this.httpMethod).addParameter(name, value);
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException("Arguments to addParameter(String, String) cannot be null");
|
||||
}
|
||||
}
|
||||
|
||||
public static PostMethod buildPostMethod(String server, String uri, NameValuePair[] pairs) {
|
||||
PostMethod postMethod = new PostMethod(server+ uri);
|
||||
postMethod.addParameters(pairs);
|
||||
postMethod.setRequestHeader("Connection","close");
|
||||
postMethod.setRequestHeader("charset","UTF-8");
|
||||
return postMethod;
|
||||
}
|
||||
|
||||
public static JSONObject postSend(String server, String uri, NameValuePair[] pairs) throws IOException {
|
||||
PostMethod postMethod = HttpClientUtil.buildPostMethod(server, uri,pairs);
|
||||
HttpClient httpClient = new HttpClient();
|
||||
httpClient.executeMethod(postMethod);
|
||||
if (postMethod.getStatusCode() == HttpStatus.SC_OK){
|
||||
String responseBody = HttpClientUtil.getResponseBodyAsString(postMethod,"UTF-8");
|
||||
return JSON.parseObject(responseBody);
|
||||
}
|
||||
return new JSONObject();
|
||||
}
|
||||
|
||||
public static String getResponseBodyAsString(HttpMethodBase httpMethod, String contentCharset) throws IOException {
|
||||
InputStream in = httpMethod.getResponseBodyAsStream();
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream(4096);
|
||||
byte[] buffer = new byte[4096];
|
||||
int len;
|
||||
while((len = in.read(buffer)) > 0) {
|
||||
out.write(buffer, 0, len);
|
||||
}
|
||||
out.close();
|
||||
byte[] data = out.toByteArray();
|
||||
return contentCharset != null?new String(data, contentCharset):new String(data);
|
||||
}
|
||||
|
||||
public static String buildQueryString(Map<String, String> params) {
|
||||
StringBuffer postParam = new StringBuffer();
|
||||
Set<Map.Entry<String, String>> entrySet = params.entrySet();
|
||||
for (Map.Entry<String, String> entry : entrySet) {
|
||||
postParam.append(entry.getKey());
|
||||
postParam.append("=");
|
||||
postParam.append(entry.getValue());
|
||||
postParam.append("&");
|
||||
}
|
||||
return postParam.substring(0, postParam.lastIndexOf("&"));
|
||||
}
|
||||
|
||||
public void setPostRequestBody(String data) throws UnsupportedEncodingException {
|
||||
setPostRequestBody(data, "text/plain","UTF-8");
|
||||
}
|
||||
|
||||
public void setPostRequestBody(String data,String contentType,String charset) throws UnsupportedEncodingException {
|
||||
if(this.httpMethod instanceof PostMethod) {
|
||||
PostMethod httpMethod = (PostMethod) this.httpMethod;
|
||||
RequestEntity entity = new StringRequestEntity(data, contentType,charset);
|
||||
httpMethod.setRequestEntity(entity);
|
||||
}
|
||||
}
|
||||
|
||||
public int send() throws IOException {
|
||||
this.httpMethod.setRequestHeader("Connection", "close");
|
||||
return this.client.executeMethod(this.httpMethod);
|
||||
}
|
||||
|
||||
public Map<String, String> getResponseHeader() {
|
||||
Map<String, String> r = new HashMap();
|
||||
Header[] h = this.httpMethod.getResponseHeaders();
|
||||
Header[] var3 = h;
|
||||
int var4 = h.length;
|
||||
|
||||
for(int var5 = 0; var5 < var4; ++var5) {
|
||||
Header header = var3[var5];
|
||||
r.put(header.getName(), header.getValue());
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
public Map<String, String> getCookies() {
|
||||
Map<String, String> r = new HashMap();
|
||||
Cookie[] cs = this.client.getState().getCookies();
|
||||
Cookie[] var3 = cs;
|
||||
int var4 = cs.length;
|
||||
|
||||
for(int var5 = 0; var5 < var4; ++var5) {
|
||||
Cookie c = var3[var5];
|
||||
r.put(c.getName(), c.getValue());
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
public InputStream getResponseBodyAsStream() throws IOException {
|
||||
return this.httpMethod.getResponseBodyAsStream();
|
||||
}
|
||||
|
||||
public String getResponseBodyAsString(String contentCharset) throws IOException {
|
||||
InputStream instream = this.httpMethod.getResponseBodyAsStream();
|
||||
ByteArrayOutputStream outstream = new ByteArrayOutputStream(4096);
|
||||
byte[] buffer = new byte[4096];
|
||||
|
||||
int len;
|
||||
while((len = instream.read(buffer)) > 0) {
|
||||
outstream.write(buffer, 0, len);
|
||||
}
|
||||
|
||||
outstream.close();
|
||||
byte[] rawdata = outstream.toByteArray();
|
||||
return contentCharset != null?new String(rawdata, contentCharset):new String(rawdata);
|
||||
}
|
||||
|
||||
public void close() {
|
||||
if(this.httpMethod != null) {
|
||||
try {
|
||||
this.httpMethod.releaseConnection();
|
||||
} catch (Exception var2) {
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void setProxy(HttpClient client, String proxyHost, int proxyPort ) {
|
||||
if(StringUtils.isNotBlank(proxyHost)) {
|
||||
if(proxyPort > 0) {
|
||||
client.getHostConfiguration().setProxy(proxyHost, proxyPort);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static String getContent(String url, String proxyHost, int proxyPort ) {
|
||||
if(StringUtils.isNotBlank(url)) {
|
||||
HttpClient client = new HttpClient();
|
||||
GetMethod get = new GetMethod(url);
|
||||
setProxy(client,proxyHost,proxyPort);
|
||||
get.setRequestHeader("Connection", "close");
|
||||
String var3;
|
||||
try {
|
||||
client.executeMethod(get);
|
||||
var3 = get.getResponseBodyAsString();
|
||||
} catch (Exception var7) {
|
||||
log.error("", var7);
|
||||
return null;
|
||||
} finally {
|
||||
get.releaseConnection();
|
||||
}
|
||||
|
||||
return var3;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getContent(String url) {
|
||||
if(StringUtils.isNotBlank(url)) {
|
||||
HttpClient client = new HttpClient();
|
||||
GetMethod get = new GetMethod(url);
|
||||
get.setRequestHeader("Connection", "close");
|
||||
String var3;
|
||||
try {
|
||||
client.executeMethod(get);
|
||||
var3 = get.getResponseBodyAsString();
|
||||
} catch (Exception var7) {
|
||||
log.error("", var7);
|
||||
return null;
|
||||
} finally {
|
||||
get.releaseConnection();
|
||||
}
|
||||
return var3;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static Header[] getContentHeader(String url) {
|
||||
if(StringUtils.isNotBlank(url)) {
|
||||
HttpClient client = new HttpClient();
|
||||
GetMethod get = new GetMethod(url);
|
||||
get.setRequestHeader("Connection", "close");
|
||||
Header[] var3;
|
||||
try {
|
||||
client.executeMethod(get);
|
||||
var3 = get.getResponseHeaders();
|
||||
} catch (Exception var7) {
|
||||
log.error("", var7);
|
||||
return null;
|
||||
} finally {
|
||||
get.releaseConnection();
|
||||
}
|
||||
return var3;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
53
SynUser/src/com/yili/util/UtilUrl.java
Normal file
53
SynUser/src/com/yili/util/UtilUrl.java
Normal file
@ -0,0 +1,53 @@
|
||||
package com.yili.util;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.http.HttpEntity;
|
||||
import org.apache.http.client.config.RequestConfig;
|
||||
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.entity.StringEntity;
|
||||
import org.apache.http.impl.client.CloseableHttpClient;
|
||||
import org.apache.http.impl.client.HttpClientBuilder;
|
||||
import org.apache.http.util.EntityUtils;
|
||||
|
||||
/**
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.util
|
||||
* @ClassName: UtilUrl
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:41
|
||||
*/
|
||||
public class UtilUrl {
|
||||
|
||||
//使用SOAP1.1发送消息
|
||||
public static String doPostSoap(String postUrl, String soapXml, String soapAction) {
|
||||
String retStr = "";
|
||||
// 创建HttpClientBuilder
|
||||
HttpClientBuilder httpClientBuilder = HttpClientBuilder.create();
|
||||
// HttpClient
|
||||
CloseableHttpClient closeableHttpClient = httpClientBuilder.build();
|
||||
HttpPost httpPost = new HttpPost(postUrl);
|
||||
// 设置请求和传输超时时间
|
||||
RequestConfig requestConfig = RequestConfig.custom().setSocketTimeout(6000)
|
||||
.setConnectTimeout(6000).build();
|
||||
httpPost.setConfig(requestConfig);
|
||||
try {
|
||||
httpPost.setHeader("Content-Type", "text/xml;charset=UTF-8");
|
||||
httpPost.setHeader("SOAPAction", soapAction);
|
||||
StringEntity data = new StringEntity(soapXml, Charset.forName("UTF-8"));
|
||||
httpPost.setEntity(data);
|
||||
CloseableHttpResponse response = closeableHttpClient.execute(httpPost);
|
||||
HttpEntity httpEntity = response.getEntity();
|
||||
if (httpEntity != null) {
|
||||
// 打印响应内容
|
||||
retStr = EntityUtils.toString(httpEntity, "UTF-8");
|
||||
|
||||
}
|
||||
// 释放资源
|
||||
closeableHttpClient.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return retStr;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,385 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
##
|
||||
## AWS CoE国际化配置
|
||||
##
|
||||
## Copyright(C)2001-2009 Actionsoft Co.,Ltd
|
||||
##
|
||||
#############################################################
|
||||
-->
|
||||
<locale-config>
|
||||
<lang>
|
||||
<item key="运行在">
|
||||
<cn><![CDATA[运行在]]></cn>
|
||||
<en><![CDATA[Runs on]]></en>
|
||||
<big5><![CDATA[運行在]]></big5>
|
||||
</item>
|
||||
<item key="为...提供输入">
|
||||
<cn><![CDATA[为...提供输入]]></cn>
|
||||
<en><![CDATA[Provides input to...]]></en>
|
||||
<big5><![CDATA[為...提供輸入]]></big5>
|
||||
</item>
|
||||
<item key="是...的下级">
|
||||
<cn><![CDATA[是...的下级]]></cn>
|
||||
<en><![CDATA[Is a subordinate of...]]></en>
|
||||
<big5><![CDATA[是...的下級]]></big5>
|
||||
</item>
|
||||
<item key="使用">
|
||||
<cn><![CDATA[使用]]></cn>
|
||||
<en><![CDATA[Use]]></en>
|
||||
<big5><![CDATA[使用]]></big5>
|
||||
</item>
|
||||
<item key="由...评估">
|
||||
<cn><![CDATA[由...评估]]></cn>
|
||||
<en><![CDATA[Evaluated by...]]></en>
|
||||
<big5><![CDATA[由...評估]]></big5>
|
||||
</item>
|
||||
<item key="占据">
|
||||
<cn><![CDATA[占据]]></cn>
|
||||
<en><![CDATA[Occupies]]></en>
|
||||
<big5><![CDATA[佔據]]></big5>
|
||||
</item>
|
||||
<item key="从...中读取数据">
|
||||
<cn><![CDATA[从...中读取数据]]></cn>
|
||||
<en><![CDATA[Reads data from...]]></en>
|
||||
<big5><![CDATA[從...中讀取數據]]></big5>
|
||||
</item>
|
||||
<item key="减轻">
|
||||
<cn><![CDATA[减轻]]></cn>
|
||||
<en><![CDATA[Mitigates]]></en>
|
||||
<big5><![CDATA[減輕]]></big5>
|
||||
</item>
|
||||
<item key="通过...得到降级">
|
||||
<cn><![CDATA[通过...得到降级]]></cn>
|
||||
<en><![CDATA[Downgraded through...]]></en>
|
||||
<big5><![CDATA[通過...得到降級]]></big5>
|
||||
</item>
|
||||
<item key="展示">
|
||||
<cn><![CDATA[展示]]></cn>
|
||||
<en><![CDATA[Displays]]></en>
|
||||
<big5><![CDATA[展示]]></big5>
|
||||
</item>
|
||||
<item key="完成">
|
||||
<cn><![CDATA[完成]]></cn>
|
||||
<en><![CDATA[Completes]]></en>
|
||||
<big5><![CDATA[完成]]></big5>
|
||||
</item>
|
||||
<item key="被...导致">
|
||||
<cn><![CDATA[被...导致]]></cn>
|
||||
<en><![CDATA[Caused by...]]></en>
|
||||
<big5><![CDATA[被...導致]]></big5>
|
||||
</item>
|
||||
<item key="被...激活">
|
||||
<cn><![CDATA[被...激活]]></cn>
|
||||
<en><![CDATA[Activated by...]]></en>
|
||||
<big5><![CDATA[被...激活]]></big5>
|
||||
</item>
|
||||
<item key="被...影响">
|
||||
<cn><![CDATA[被...影响]]></cn>
|
||||
<en><![CDATA[Affected by...]]></en>
|
||||
<big5><![CDATA[被...影響]]></big5>
|
||||
</item>
|
||||
<item key="连接">
|
||||
<cn><![CDATA[连接]]></cn>
|
||||
<en><![CDATA[Connects]]></en>
|
||||
<big5><![CDATA[連接]]></big5>
|
||||
</item>
|
||||
<item key="是...的后继">
|
||||
<cn><![CDATA[是...的后继]]></cn>
|
||||
<en><![CDATA[Is a successor of...]]></en>
|
||||
<big5><![CDATA[是...的後繼]]></big5>
|
||||
</item>
|
||||
<item key="被...链接">
|
||||
<cn><![CDATA[被...链接]]></cn>
|
||||
<en><![CDATA[Linked by...]]></en>
|
||||
<big5><![CDATA[被...鏈接]]></big5>
|
||||
</item>
|
||||
<item key="被...评估">
|
||||
<cn><![CDATA[被...评估]]></cn>
|
||||
<en><![CDATA[Evaluated by...]]></en>
|
||||
<big5><![CDATA[被...評估]]></big5>
|
||||
</item>
|
||||
<item key="衡量">
|
||||
<cn><![CDATA[衡量]]></cn>
|
||||
<en><![CDATA[Measures]]></en>
|
||||
<big5><![CDATA[衡量]]></big5>
|
||||
</item>
|
||||
<item key="通过...得到降低">
|
||||
<cn><![CDATA[通过...得到降低]]></cn>
|
||||
<en><![CDATA[Reduced through...]]></en>
|
||||
<big5><![CDATA[通過...得到降低]]></big5>
|
||||
</item>
|
||||
<item key="被...使用">
|
||||
<cn><![CDATA[被...使用]]></cn>
|
||||
<en><![CDATA[Used by...]]></en>
|
||||
<big5><![CDATA[被...使用]]></big5>
|
||||
</item>
|
||||
<item key="被...管理">
|
||||
<cn><![CDATA[被...管理]]></cn>
|
||||
<en><![CDATA[Managed by...]]></en>
|
||||
<big5><![CDATA[被...管理]]></big5>
|
||||
</item>
|
||||
<item key="是...的管理者">
|
||||
<cn><![CDATA[是...的管理者]]></cn>
|
||||
<en><![CDATA[Is a manager of...]]></en>
|
||||
<big5><![CDATA[是...的管理者]]></big5>
|
||||
</item>
|
||||
<item key="被...完成">
|
||||
<cn><![CDATA[被...完成]]></cn>
|
||||
<en><![CDATA[Completed by...]]></en>
|
||||
<big5><![CDATA[被...完成]]></big5>
|
||||
</item>
|
||||
<item key="在...之前">
|
||||
<cn><![CDATA[在...之前]]></cn>
|
||||
<en><![CDATA[Before...]]></en>
|
||||
<big5><![CDATA[在...之前]]></big5>
|
||||
</item>
|
||||
<item key="出现在">
|
||||
<cn><![CDATA[出现在]]></cn>
|
||||
<en><![CDATA[Appears in]]></en>
|
||||
<big5><![CDATA[出現在]]></big5>
|
||||
</item>
|
||||
<item key="降低">
|
||||
<cn><![CDATA[降低]]></cn>
|
||||
<en><![CDATA[Reduces]]></en>
|
||||
<big5><![CDATA[降低]]></big5>
|
||||
</item>
|
||||
<item key="创建">
|
||||
<cn><![CDATA[创建]]></cn>
|
||||
<en><![CDATA[Creates]]></en>
|
||||
<big5><![CDATA[創建]]></big5>
|
||||
</item>
|
||||
<item key="是...的组成部分">
|
||||
<cn><![CDATA[是...的组成部分]]></cn>
|
||||
<en><![CDATA[Is a component of...]]></en>
|
||||
<big5><![CDATA[是...的組成部分]]></big5>
|
||||
</item>
|
||||
<item key="被...占据">
|
||||
<cn><![CDATA[被...占据]]></cn>
|
||||
<en><![CDATA[Occupied by...]]></en>
|
||||
<big5><![CDATA[被...佔據]]></big5>
|
||||
</item>
|
||||
<item key="是...组织的管理者">
|
||||
<cn><![CDATA[是...组织的管理者]]></cn>
|
||||
<en><![CDATA[Is an organizational manager of...]]></en>
|
||||
<big5><![CDATA[是...組織的管理者]]></big5>
|
||||
</item>
|
||||
<item key="被...连接">
|
||||
<cn><![CDATA[被...连接]]></cn>
|
||||
<en><![CDATA[Connected by...]]></en>
|
||||
<big5><![CDATA[被...連接]]></big5>
|
||||
</item>
|
||||
<item key="支持">
|
||||
<cn><![CDATA[支持]]></cn>
|
||||
<en><![CDATA[Supports]]></en>
|
||||
<big5><![CDATA[支持]]></big5>
|
||||
</item>
|
||||
<item key="被分配给">
|
||||
<cn><![CDATA[被分配给]]></cn>
|
||||
<en><![CDATA[Assigned to]]></en>
|
||||
<big5><![CDATA[被分配給]]></big5>
|
||||
</item>
|
||||
<item key="拥有...作为员工">
|
||||
<cn><![CDATA[拥有...作为员工]]></cn>
|
||||
<en><![CDATA[Has ... as an employee]]></en>
|
||||
<big5><![CDATA[擁有...作為員工]]></big5>
|
||||
</item>
|
||||
<item key="是...的输出">
|
||||
<cn><![CDATA[是...的输出]]></cn>
|
||||
<en><![CDATA[Is an output of...]]></en>
|
||||
<big5><![CDATA[是...的輸出]]></big5>
|
||||
</item>
|
||||
<item key="是...的面向流程的下级">
|
||||
<cn><![CDATA[是...的面向流程的下级]]></cn>
|
||||
<en><![CDATA[Is a process-oriented subordinate of...]]></en>
|
||||
<big5><![CDATA[是...的面向流程的下級]]></big5>
|
||||
</item>
|
||||
<item key="执行">
|
||||
<cn><![CDATA[执行]]></cn>
|
||||
<en><![CDATA[Executes]]></en>
|
||||
<big5><![CDATA[執行]]></big5>
|
||||
</item>
|
||||
<item key="一般化后是...">
|
||||
<cn><![CDATA[一般化后是...]]></cn>
|
||||
<en><![CDATA[Generalizes to...]]></en>
|
||||
<big5><![CDATA[一般化後是...]]></big5>
|
||||
</item>
|
||||
<item key="包含">
|
||||
<cn><![CDATA[包含]]></cn>
|
||||
<en><![CDATA[Includes]]></en>
|
||||
<big5><![CDATA[包含]]></big5>
|
||||
</item>
|
||||
<item key="是...的前驱">
|
||||
<cn><![CDATA[是...的前驱]]></cn>
|
||||
<en><![CDATA[Is a precursor of...]]></en>
|
||||
<big5><![CDATA[是...的前驅]]></big5>
|
||||
</item>
|
||||
<item key="对...负有责任">
|
||||
<cn><![CDATA[对...负有责任]]></cn>
|
||||
<en><![CDATA[Is responsible for...]]></en>
|
||||
<big5><![CDATA[對...負有責任]]></big5>
|
||||
</item>
|
||||
<item key="为...提供数据">
|
||||
<cn><![CDATA[为...提供数据]]></cn>
|
||||
<en><![CDATA[Provides data to...]]></en>
|
||||
<big5><![CDATA[為...提供數據]]></big5>
|
||||
</item>
|
||||
<item key="被...负责任">
|
||||
<cn><![CDATA[被...负责任]]></cn>
|
||||
<en><![CDATA[Is held responsible by...]]></en>
|
||||
<big5><![CDATA[被...負責任]]></big5>
|
||||
</item>
|
||||
<item key="是...的组成">
|
||||
<cn><![CDATA[是...的组成]]></cn>
|
||||
<en><![CDATA[Is a composition of...]]></en>
|
||||
<big5><![CDATA[是...的組成]]></big5>
|
||||
</item>
|
||||
<item key="是...的特殊化">
|
||||
<cn><![CDATA[是...的特殊化]]></cn>
|
||||
<en><![CDATA[Is a specialization of...]]></en>
|
||||
<big5><![CDATA[是...的特殊化]]></big5>
|
||||
</item>
|
||||
<item key="作为输入">
|
||||
<cn><![CDATA[作为输入]]></cn>
|
||||
<en><![CDATA[As an input]]></en>
|
||||
<big5><![CDATA[作為輸入]]></big5>
|
||||
</item>
|
||||
<item key="由...创建">
|
||||
<cn><![CDATA[由...创建]]></cn>
|
||||
<en><![CDATA[Created by...]]></en>
|
||||
<big5><![CDATA[由...創建]]></big5>
|
||||
</item>
|
||||
<item key="被...支持">
|
||||
<cn><![CDATA[被...支持]]></cn>
|
||||
<en><![CDATA[Supported by...]]></en>
|
||||
<big5><![CDATA[被...支持]]></big5>
|
||||
</item>
|
||||
<item key="由...承担组织管理者">
|
||||
<cn><![CDATA[由...承担组织管理者]]></cn>
|
||||
<en><![CDATA[Undertaken by the organizational manager]]></en>
|
||||
<big5><![CDATA[由...承擔組織管理者]]></big5>
|
||||
</item>
|
||||
<item key="在...上展示">
|
||||
<cn><![CDATA[在...上展示]]></cn>
|
||||
<en><![CDATA[Displayed on...]]></en>
|
||||
<big5><![CDATA[在...上展示]]></big5>
|
||||
</item>
|
||||
<item key="被...包含">
|
||||
<cn><![CDATA[被...包含]]></cn>
|
||||
<en><![CDATA[Contained by...]]></en>
|
||||
<big5><![CDATA[被...包含]]></big5>
|
||||
</item>
|
||||
<item key="是...的上级">
|
||||
<cn><![CDATA[是...的上级]]></cn>
|
||||
<en><![CDATA[Is a superior of...]]></en>
|
||||
<big5><![CDATA[是...的上級]]></big5>
|
||||
</item>
|
||||
<item key="由...组成">
|
||||
<cn><![CDATA[由...组成]]></cn>
|
||||
<en><![CDATA[Composed of...]]></en>
|
||||
<big5><![CDATA[由...組成]]></big5>
|
||||
</item>
|
||||
<item key="被...执行">
|
||||
<cn><![CDATA[被...执行]]></cn>
|
||||
<en><![CDATA[Executed by...]]></en>
|
||||
<big5><![CDATA[被...執行]]></big5>
|
||||
</item>
|
||||
<item key="写入">
|
||||
<cn><![CDATA[写入]]></cn>
|
||||
<en><![CDATA[Written into]]></en>
|
||||
<big5><![CDATA[寫入]]></big5>
|
||||
</item>
|
||||
<item key="是...的面向流程的上级">
|
||||
<cn><![CDATA[是...的面向流程的上级]]></cn>
|
||||
<en><![CDATA[Is a process-oriented superior of...]]></en>
|
||||
<big5><![CDATA[是...的面向流程的上級]]></big5>
|
||||
</item>
|
||||
<item key="依赖于">
|
||||
<cn><![CDATA[依赖于]]></cn>
|
||||
<en><![CDATA[Depends on]]></en>
|
||||
<big5><![CDATA[依賴於]]></big5>
|
||||
</item>
|
||||
<item key="由...执行">
|
||||
<cn><![CDATA[由...执行]]></cn>
|
||||
<en><![CDATA[Performed by...]]></en>
|
||||
<big5><![CDATA[由...執行]]></big5>
|
||||
</item>
|
||||
<item key="被...创建">
|
||||
<cn><![CDATA[被...创建]]></cn>
|
||||
<en><![CDATA[Created by...]]></en>
|
||||
<big5><![CDATA[被...創建]]></big5>
|
||||
</item>
|
||||
<item key="通过...来衡量">
|
||||
<cn><![CDATA[通过...来衡量]]></cn>
|
||||
<en><![CDATA[Measured by...]]></en>
|
||||
<big5><![CDATA[通過...來衡量]]></big5>
|
||||
</item>
|
||||
<item key="与...关联">
|
||||
<cn><![CDATA[与...关联]]></cn>
|
||||
<en><![CDATA[Associated with...]]></en>
|
||||
<big5><![CDATA[與...關聯]]></big5>
|
||||
</item>
|
||||
<item key="在...之后">
|
||||
<cn><![CDATA[在...之后]]></cn>
|
||||
<en><![CDATA[After...]]></en>
|
||||
<big5><![CDATA[在...之後]]></big5>
|
||||
</item>
|
||||
<item key="导致">
|
||||
<cn><![CDATA[导致]]></cn>
|
||||
<en><![CDATA[Leads to]]></en>
|
||||
<big5><![CDATA[導致]]></big5>
|
||||
</item>
|
||||
<item key="链接">
|
||||
<cn><![CDATA[链接]]></cn>
|
||||
<en><![CDATA[Links]]></en>
|
||||
<big5><![CDATA[鏈接]]></big5>
|
||||
</item>
|
||||
<item key="激活">
|
||||
<cn><![CDATA[激活]]></cn>
|
||||
<en><![CDATA[Activates]]></en>
|
||||
<big5><![CDATA[激活]]></big5>
|
||||
</item>
|
||||
<item key="影响">
|
||||
<cn><![CDATA[影响]]></cn>
|
||||
<en><![CDATA[Influences]]></en>
|
||||
<big5><![CDATA[影響]]></big5>
|
||||
</item>
|
||||
<item key="是...的一般化">
|
||||
<cn><![CDATA[是...的一般化]]></cn>
|
||||
<en><![CDATA[Is a generalization of...]]></en>
|
||||
<big5><![CDATA[是...的一般化]]></big5>
|
||||
</item>
|
||||
<item key="保存...的数据">
|
||||
<cn><![CDATA[保存...的数据]]></cn>
|
||||
<en><![CDATA[Stores data of...]]></en>
|
||||
<big5><![CDATA[保存...的數據]]></big5>
|
||||
</item>
|
||||
<item key="用作...的平台">
|
||||
<cn><![CDATA[用作...的平台]]></cn>
|
||||
<en><![CDATA[Serves as a platform for...]]></en>
|
||||
<big5><![CDATA[用作...的平台]]></big5>
|
||||
</item>
|
||||
<item key="属于">
|
||||
<cn><![CDATA[属于]]></cn>
|
||||
<en><![CDATA[Belongs to]]></en>
|
||||
<big5><![CDATA[屬於]]></big5>
|
||||
</item>
|
||||
<item key="出现">
|
||||
<cn><![CDATA[出现]]></cn>
|
||||
<en><![CDATA[Appears]]></en>
|
||||
<big5><![CDATA[出現]]></big5>
|
||||
</item>
|
||||
<item key="评估">
|
||||
<cn><![CDATA[评估]]></cn>
|
||||
<en><![CDATA[Evaluates]]></en>
|
||||
<big5><![CDATA[評估]]></big5>
|
||||
</item>
|
||||
<item key="创建输出到">
|
||||
<cn><![CDATA[创建输出到]]></cn>
|
||||
<en><![CDATA[Creates output to]]></en>
|
||||
<big5><![CDATA[創建輸出到]]></big5>
|
||||
</item>
|
||||
</lang>
|
||||
</locale-config>
|
||||
@ -0,0 +1,235 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
##
|
||||
## AWS CoE国际化配置
|
||||
##
|
||||
## Copyright(C)2001-2009 Actionsoft Co.,Ltd
|
||||
##
|
||||
#############################################################
|
||||
-->
|
||||
<locale-config>
|
||||
<lang>
|
||||
<item key="管理要素图">
|
||||
<cn><![CDATA[管理要素图]]></cn>
|
||||
<en><![CDATA[Management Elements Diagram]]></en>
|
||||
<big5><![CDATA[管理要素圖]]></big5>
|
||||
</item>
|
||||
<item key="角色图">
|
||||
<cn><![CDATA[角色图]]></cn>
|
||||
<en><![CDATA[Role Diagram]]></en>
|
||||
<big5><![CDATA[角色圖]]></big5>
|
||||
</item>
|
||||
<item key="应用系统图">
|
||||
<cn><![CDATA[应用系统图]]></cn>
|
||||
<en><![CDATA[Application System Diagram]]></en>
|
||||
<big5><![CDATA[應用系統圖]]></big5>
|
||||
</item>
|
||||
<item key="制度图">
|
||||
<cn><![CDATA[制度图]]></cn>
|
||||
<en><![CDATA[Regulatory Diagram]]></en>
|
||||
<big5><![CDATA[制度圖]]></big5>
|
||||
</item>
|
||||
<item key="端到端流程图">
|
||||
<cn><![CDATA[端到端流程图]]></cn>
|
||||
<en><![CDATA[End-to-End Process Diagram]]></en>
|
||||
<big5><![CDATA[端到端流程圖]]></big5>
|
||||
</item>
|
||||
<item key="高阶流程图">
|
||||
<cn><![CDATA[高阶流程图]]></cn>
|
||||
<en><![CDATA[High-Level Process Diagram]]></en>
|
||||
<big5><![CDATA[高階流程圖]]></big5>
|
||||
</item>
|
||||
<item key="控制图">
|
||||
<cn><![CDATA[控制图]]></cn>
|
||||
<en><![CDATA[Control Diagram]]></en>
|
||||
<big5><![CDATA[控制圖]]></big5>
|
||||
</item>
|
||||
<item key="绩效指标图">
|
||||
<cn><![CDATA[绩效指标图]]></cn>
|
||||
<en><![CDATA[Performance Indicator Diagram]]></en>
|
||||
<big5><![CDATA[績效指標圖]]></big5>
|
||||
</item>
|
||||
<item key="组织图">
|
||||
<cn><![CDATA[组织图]]></cn>
|
||||
<en><![CDATA[Organization Diagram]]></en>
|
||||
<big5><![CDATA[組織圖]]></big5>
|
||||
</item>
|
||||
<item key="风险图">
|
||||
<cn><![CDATA[风险图]]></cn>
|
||||
<en><![CDATA[Risk Diagram]]></en>
|
||||
<big5><![CDATA[風險圖]]></big5>
|
||||
</item>
|
||||
<item key="职责图">
|
||||
<cn><![CDATA[职责图]]></cn>
|
||||
<en><![CDATA[Responsibility Diagram]]></en>
|
||||
<big5><![CDATA[職責圖]]></big5>
|
||||
</item>
|
||||
<item key="合规要素图">
|
||||
<cn><![CDATA[合规要素图]]></cn>
|
||||
<en><![CDATA[Compliance Elements Diagram]]></en>
|
||||
<big5><![CDATA[合規要素圖]]></big5>
|
||||
</item>
|
||||
<item key="表单图">
|
||||
<cn><![CDATA[表单图]]></cn>
|
||||
<en><![CDATA[Form Diagram]]></en>
|
||||
<big5><![CDATA[表單圖]]></big5>
|
||||
</item>
|
||||
<item key="业务流程图">
|
||||
<cn><![CDATA[业务流程图]]></cn>
|
||||
<en><![CDATA[Business Process Diagram]]></en>
|
||||
<big5><![CDATA[業務流程圖]]></big5>
|
||||
</item>
|
||||
<item key="事件">
|
||||
<cn><![CDATA[事件]]></cn>
|
||||
<en><![CDATA[Event]]></en>
|
||||
<big5><![CDATA[事件]]></big5>
|
||||
</item>
|
||||
<item key="制度文件类型">
|
||||
<cn><![CDATA[制度文件类型]]></cn>
|
||||
<en><![CDATA[Policy Document Type]]></en>
|
||||
<big5><![CDATA[制度文件類型]]></big5>
|
||||
</item>
|
||||
<item key="职责">
|
||||
<cn><![CDATA[职责]]></cn>
|
||||
<en><![CDATA[Responsibility]]></en>
|
||||
<big5><![CDATA[職責]]></big5>
|
||||
</item>
|
||||
<item key="流程接口">
|
||||
<cn><![CDATA[流程接口]]></cn>
|
||||
<en><![CDATA[Process Interface]]></en>
|
||||
<big5><![CDATA[流程介面]]></big5>
|
||||
</item>
|
||||
<item key="风险">
|
||||
<cn><![CDATA[风险]]></cn>
|
||||
<en><![CDATA[Risk]]></en>
|
||||
<big5><![CDATA[風險]]></big5>
|
||||
</item>
|
||||
<item key="应用系统类型">
|
||||
<cn><![CDATA[应用系统类型]]></cn>
|
||||
<en><![CDATA[Application System Type]]></en>
|
||||
<big5><![CDATA[應用系統類型]]></big5>
|
||||
</item>
|
||||
<item key="与">
|
||||
<cn><![CDATA[与]]></cn>
|
||||
<en><![CDATA[And]]></en>
|
||||
<big5><![CDATA[與]]></big5>
|
||||
</item>
|
||||
<item key="角色类型">
|
||||
<cn><![CDATA[角色类型]]></cn>
|
||||
<en><![CDATA[Role Type]]></en>
|
||||
<big5><![CDATA[角色類型]]></big5>
|
||||
</item>
|
||||
<item key="合规文件">
|
||||
<cn><![CDATA[合规文件]]></cn>
|
||||
<en><![CDATA[Compliance Document]]></en>
|
||||
<big5><![CDATA[合規文件]]></big5>
|
||||
</item>
|
||||
<item key="风险类别">
|
||||
<cn><![CDATA[风险类别]]></cn>
|
||||
<en><![CDATA[Risk Category]]></en>
|
||||
<big5><![CDATA[風險類別]]></big5>
|
||||
</item>
|
||||
<item key="步骤">
|
||||
<cn><![CDATA[步骤]]></cn>
|
||||
<en><![CDATA[Step]]></en>
|
||||
<big5><![CDATA[步驟]]></big5>
|
||||
</item>
|
||||
<item key="模块类型">
|
||||
<cn><![CDATA[模块类型]]></cn>
|
||||
<en><![CDATA[Module Type]]></en>
|
||||
<big5><![CDATA[模塊類型]]></big5>
|
||||
</item>
|
||||
<item key="表单类型">
|
||||
<cn><![CDATA[表单类型]]></cn>
|
||||
<en><![CDATA[Form Type]]></en>
|
||||
<big5><![CDATA[表單類型]]></big5>
|
||||
</item>
|
||||
<item key="功能模块">
|
||||
<cn><![CDATA[功能模块]]></cn>
|
||||
<en><![CDATA[Functional Module]]></en>
|
||||
<big5><![CDATA[功能模塊]]></big5>
|
||||
</item>
|
||||
<item key="或">
|
||||
<cn><![CDATA[或]]></cn>
|
||||
<en><![CDATA[Or]]></en>
|
||||
<big5><![CDATA[或]]></big5>
|
||||
</item>
|
||||
<item key="组织单元">
|
||||
<cn><![CDATA[组织单元]]></cn>
|
||||
<en><![CDATA[Org Unit]]></en>
|
||||
<big5><![CDATA[組織單元]]></big5>
|
||||
</item>
|
||||
<item key="应用系统">
|
||||
<cn><![CDATA[应用系统]]></cn>
|
||||
<en><![CDATA[Application System]]></en>
|
||||
<big5><![CDATA[應用系統]]></big5>
|
||||
</item>
|
||||
<item key="岗位">
|
||||
<cn><![CDATA[岗位]]></cn>
|
||||
<en><![CDATA[Position]]></en>
|
||||
<big5><![CDATA[崗位]]></big5>
|
||||
</item>
|
||||
<item key="异或">
|
||||
<cn><![CDATA[异或]]></cn>
|
||||
<en><![CDATA[XOR]]></en>
|
||||
<big5><![CDATA[異或]]></big5>
|
||||
</item>
|
||||
<item key="控制">
|
||||
<cn><![CDATA[控制]]></cn>
|
||||
<en><![CDATA[Control]]></en>
|
||||
<big5><![CDATA[控制]]></big5>
|
||||
</item>
|
||||
<item key="绩效指标">
|
||||
<cn><![CDATA[绩效指标]]></cn>
|
||||
<en><![CDATA[Performance Indicator]]></en>
|
||||
<big5><![CDATA[績效指標]]></big5>
|
||||
</item>
|
||||
<item key="承接要求">
|
||||
<cn><![CDATA[承接要求]]></cn>
|
||||
<en><![CDATA[Acceptance Requirements]]></en>
|
||||
<big5><![CDATA[承接要求]]></big5>
|
||||
</item>
|
||||
<item key="合规类型">
|
||||
<cn><![CDATA[合规类型]]></cn>
|
||||
<en><![CDATA[Compliance Type]]></en>
|
||||
<big5><![CDATA[合規類型]]></big5>
|
||||
</item>
|
||||
<item key="控制类别">
|
||||
<cn><![CDATA[控制类别]]></cn>
|
||||
<en><![CDATA[Control Category]]></en>
|
||||
<big5><![CDATA[控制類別]]></big5>
|
||||
</item>
|
||||
<item key="制度文件">
|
||||
<cn><![CDATA[制度文件]]></cn>
|
||||
<en><![CDATA[Policy Document]]></en>
|
||||
<big5><![CDATA[制度文件]]></big5>
|
||||
</item>
|
||||
<item key="角色">
|
||||
<cn><![CDATA[角色]]></cn>
|
||||
<en><![CDATA[Role]]></en>
|
||||
<big5><![CDATA[角色]]></big5>
|
||||
</item>
|
||||
<item key="增值链">
|
||||
<cn><![CDATA[增值链]]></cn>
|
||||
<en><![CDATA[Value Chain]]></en>
|
||||
<big5><![CDATA[增值鏈]]></big5>
|
||||
</item>
|
||||
<item key="结构元素">
|
||||
<cn><![CDATA[结构元素]]></cn>
|
||||
<en><![CDATA[Structural Element]]></en>
|
||||
<big5><![CDATA[結構元素]]></big5>
|
||||
</item>
|
||||
<item key="表单">
|
||||
<cn><![CDATA[表单]]></cn>
|
||||
<en><![CDATA[Form]]></en>
|
||||
<big5><![CDATA[表單]]></big5>
|
||||
</item>
|
||||
<item key="合规文件条款">
|
||||
<cn><![CDATA[合规文件条款]]></cn>
|
||||
<en><![CDATA[Compliance Document Clauses]]></en>
|
||||
<big5><![CDATA[合規文件條款]]></big5>
|
||||
</item>
|
||||
</lang>
|
||||
</locale-config>
|
||||
100
com.actionsoft.apps.coe.method.aris/i18n/resource.xml
Normal file
100
com.actionsoft.apps.coe.method.aris/i18n/resource.xml
Normal file
@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
##
|
||||
## AWS CoE国际化配置
|
||||
##
|
||||
## Copyright(C)2001-2009 Actionsoft Co.,Ltd
|
||||
##
|
||||
#############################################################
|
||||
-->
|
||||
<locale-config>
|
||||
<lang>
|
||||
<item key="aris.higherOrderProcess">
|
||||
<cn><![CDATA[高阶流程图]]></cn>
|
||||
<en><![CDATA[Aris.higherOrderProcess]]></en>
|
||||
<big5><![CDATA[高階流程圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.processRelationship">
|
||||
<cn><![CDATA[端到端流程图]]></cn>
|
||||
<en><![CDATA[Aris.processRelationship]]></en>
|
||||
<big5><![CDATA[端到端流程圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.businessProcess">
|
||||
<cn><![CDATA[业务流程图]]></cn>
|
||||
<en><![CDATA[Aris.businessProcess]]></en>
|
||||
<big5><![CDATA[業務流程圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.bpmnProcess">
|
||||
<cn><![CDATA[业务流程(BPMN)图]]></cn>
|
||||
<en><![CDATA[Aris.bpmnProcess]]></en>
|
||||
<big5><![CDATA[業務流程(BPMN)圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.processActivity">
|
||||
<cn><![CDATA[流程活动图]]></cn>
|
||||
<en><![CDATA[Aris.processActivity]]></en>
|
||||
<big5><![CDATA[流程活動圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.organization">
|
||||
<cn><![CDATA[组织图]]></cn>
|
||||
<en><![CDATA[Aris.organization]]></en>
|
||||
<big5><![CDATA[組織圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.orgResponsibilityAss">
|
||||
<cn><![CDATA[职责图]]></cn>
|
||||
<en><![CDATA[Aris.orgResponsibilityAss]]></en>
|
||||
<big5><![CDATA[職責圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.roleSystem">
|
||||
<cn><![CDATA[角色图]]></cn>
|
||||
<en><![CDATA[Aris.roleSystem]]></en>
|
||||
<big5><![CDATA[角色圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.form">
|
||||
<cn><![CDATA[表单图]]></cn>
|
||||
<en><![CDATA[Aris.]]></en>
|
||||
<big5><![CDATA[錶單圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.institution">
|
||||
<cn><![CDATA[制度图]]></cn>
|
||||
<en><![CDATA[Aris.institution]]></en>
|
||||
<big5><![CDATA[制度圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.system">
|
||||
<cn><![CDATA[应用系统图]]></cn>
|
||||
<en><![CDATA[Aris.system]]></en>
|
||||
<big5><![CDATA[應用繫統圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.performanceIndicator">
|
||||
<cn><![CDATA[绩效指标图]]></cn>
|
||||
<en><![CDATA[Aris.performanceIndicator]]></en>
|
||||
<big5><![CDATA[績效指標圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.risk">
|
||||
<cn><![CDATA[风险图]]></cn>
|
||||
<en><![CDATA[Aris.risk]]></en>
|
||||
<big5><![CDATA[風險圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.businessControl">
|
||||
<cn><![CDATA[控制图]]></cn>
|
||||
<en><![CDATA[Aris.businessControl]]></en>
|
||||
<big5><![CDATA[控制圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.complianceEle">
|
||||
<cn><![CDATA[合规要素图]]></cn>
|
||||
<en><![CDATA[Aris.complianceEle]]></en>
|
||||
<big5><![CDATA[合規要素圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.classificationMgmtEle">
|
||||
<cn><![CDATA[管理要素图]]></cn>
|
||||
<en><![CDATA[Aris.classificationMgmtEle]]></en>
|
||||
<big5><![CDATA[管理要素圖]]></big5>
|
||||
</item>
|
||||
<item key="默认主题">
|
||||
<cn><![CDATA[默认主题]]></cn>
|
||||
<en><![CDATA[Default Theme]]></en>
|
||||
<big5><![CDATA[默認主題]]></big5>
|
||||
</item>
|
||||
</lang>
|
||||
</locale-config>
|
||||
Binary file not shown.
41
com.actionsoft.apps.coe.method.aris/manifest.xml
Normal file
41
com.actionsoft.apps.coe.method.aris/manifest.xml
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<app xmlns="http://www.actionsoft.com.cn/app">
|
||||
<name>企业架构资产模型库</name>
|
||||
<version>1.0</version>
|
||||
<buildNo>2</buildNo>
|
||||
<developer id="776cca9a287c8b4d63b9cad216aa3859" tablePrefix="ACT" url="http://www.actionsoft.com.cn">北京炎黄盈动科技发展有限责任公司</developer>
|
||||
<categoryVisible>true</categoryVisible>
|
||||
<description><![CDATA[AWS PAL面向过程的集成化信息系统模型架构]]></description>
|
||||
<details><![CDATA[
|
||||
<b>应用介绍:</b>
|
||||
|
||||
AWS PAL的“企业架构资产模型库”覆盖了包括BPMN图、组织图、表单图、制度图等在内的16种基础建模方法,并将逐步扩充完善;建模方法支持端到端的流程梳理,符合BPMN的流程梳理成果可以一键部署到 AWS PaaS 平台的BPMS中进行落地、执行。
|
||||
|
||||
同时,AWS PAL的“企业架构资产模型库”还拥有了配套的数据迁移工具包,提供包含房式架构、清单、流程模型、信息系统模型在内的多种数据迁移工具,提升流程资产跨平台迁移至PAL的便捷性。
|
||||
|
||||
<b>应用优势:</b>
|
||||
|
||||
- 模型丰富:覆盖16种基础建模方法并逐步完善;
|
||||
- 一键打通:梳理的BPMN2.0流程,可以直接在AWS BPMS中执行;
|
||||
- 平滑迁移:提供数据迁移工具包,实现对流程资产数据的跨平台迁移;
|
||||
- 集成扩展:基于AWS PaaS平台的集成应用,快速实现三方数据的接入和集成;
|
||||
]]></details>
|
||||
<installListener/>
|
||||
<pluginListener>com.actionsoft.apps.coe.method.aris.plugin.Plugins</pluginListener>
|
||||
<startListener></startListener>
|
||||
<stopListener></stopListener>
|
||||
<upgradeListener></upgradeListener>
|
||||
<uninstallListener/>
|
||||
<reloadable>true</reloadable>
|
||||
<requires/>
|
||||
<properties/>
|
||||
<allowStartup>true</allowStartup>
|
||||
<allowUpgradeByStore>true</allowUpgradeByStore>
|
||||
<depend versions="6.5" env="6.4.1">com.actionsoft.apps.coe.pal</depend>
|
||||
<modelAdministrator/>
|
||||
<installDate>2022-10-18 11:29:17</installDate>
|
||||
<icon code="&#xe936;" color="#0563DB"/>
|
||||
<productId/>
|
||||
<versionFlag>1</versionFlag>
|
||||
</app>
|
||||
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="startEvent_aris,endEvent_aris,userTask_aris,serviceTask_aris,cycleTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="shape_type" title="服务类型" type="select" value="" desc="服务类型" isRequired="false" ref="Web 服务,RestAPI,功能程序" readonly="false" groupPath="baseAttribute" scope="serviceTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Service Type" title-big5="服務類型" desc-en="Service Type" desc-big5="服務類型"/>
|
||||
<attribute key="run_type" title="执行方式" type="select" value="" desc="执行方式" isRequired="false" ref="手工,人机交互" readonly="false" groupPath="baseAttribute" scope="cycleTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Execution Method" title-big5="執行方式" desc-en="Execution Mode" desc-big5="執行方式"/>
|
||||
<attribute key="cycle_desc" title="循环说明" type="textarea" value="" desc="循环说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="cycleTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Loop Description" title-big5="循環說明" desc-en="Loop Explanation" desc-big5="循環說明"/>
|
||||
<attribute key="interface_data" title="接口数据" type="string" value="" desc="接口数据" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Interface Data" title-big5="接口數據" desc-en="Interface Data" desc-big5="接口數據"/>
|
||||
<attribute key="trigger_mode" title="触发方式" type="string" value="" desc="触发方式" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Trigger Mode" title-big5="觸發方式" desc-en="Trigger Mode" desc-big5="觸發方式"/>
|
||||
<attribute key="integration_mode" title="集成方式" type="select" value="" desc="集成方式" isRequired="false" ref="Webservice,数据库接口,XML 文件导入,其它" readonly="false" groupPath="baseAttribute" scope="subProcessTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Integration Method" title-big5="集成方式" desc-en="Integration Method" desc-big5="集成方式"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="lane" show="true" allowRemove="false"/>
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<!--开始事件 begin-->
|
||||
<concept conceptCode="001" fromShapeId="startEvent_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="002" fromShapeId="startEvent_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--开始事件 end-->
|
||||
<!--人工任务 begin-->
|
||||
<concept conceptCode="003" fromShapeId="userTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="004" fromShapeId="userTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="005" fromShapeId="userTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--人工任务 end-->
|
||||
<!--手工任务 begin-->
|
||||
<concept conceptCode="006" fromShapeId="manualTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="007" fromShapeId="manualTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="008" fromShapeId="manualTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--手工任务 end-->
|
||||
<!--服务任务 begin-->
|
||||
<concept conceptCode="009" fromShapeId="serviceTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="010" fromShapeId="serviceTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="011" fromShapeId="serviceTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--服务任务 end-->
|
||||
<!--循环任务 begin-->
|
||||
<concept conceptCode="012" fromShapeId="cycleTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="013" fromShapeId="cycleTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="014" fromShapeId="cycleTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--循环任务 end-->
|
||||
<!--排他网关 begin-->
|
||||
<concept conceptCode="015" fromShapeId="exclusiveGateway_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--排他网关 end-->
|
||||
<!--并行网关 begin-->
|
||||
<concept conceptCode="016" fromShapeId="parallelGateway_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--并行网关 end-->
|
||||
<!--输入数据对象 begin-->
|
||||
<concept conceptCode="017" fromShapeId="inputDataObject_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris" outcomingName="是...的输入" incomingName="输入是..." />
|
||||
<!--输入数据对象 end-->
|
||||
|
||||
|
||||
</linker>
|
||||
@ -0,0 +1,117 @@
|
||||
Schema.addCategory({name:"aris_bpmnProcess", text:"业务流程(BPMN)图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***开始*/Schema.addShape({name:"startEvent_aris", title:"开始", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "129,180,47", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***结束*/Schema.addShape({name:"endEvent_aris", title:"结束", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "253,103,103", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***排他网关*/Schema.addShape({name:"exclusiveGateway_aris",title:"排他网关", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.15"},{action:"move", x:"w/2+w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2-w*0.15", y:"h/2+h*0.15"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***并行网关*/Schema.addShape({name:"parallelGateway_aris",title:"并行网关", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-w*0.3*0.5",y:"h*0.5"},{action:"line",x:"w*0.5+w*0.3*0.5",y:"h*0.5"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5",y:"h*0.5-h*0.3*0.5"},{action:"line",x:"w*0.5",y:"h*0.5+h*0.3*0.5"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***用户任务*/Schema.addShape({name:"userTask_aris", title:"用户任务", text:"用户任务", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"9",y:"7"},{action:"curve",x1:"10",y1:"2",x2:"15",y2:"2",x:"16",y:"7"},{action:"curve",x1:"15",y1:"12",x2:"10",y2:"12",x:"9",y:"7"}]},
|
||||
{actions:[{action:"move",x:"6",y:"18"},{action:"curve",x1:"8",y1:"9",x2:"17",y2:"9",x:"19",y:"18"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***手工任务*/Schema.addShape({name:"manualTask_aris", title:"手工任务", text:"手工任务", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"5",y:"12"},{action:"curve",x1:"6",y1:"6",x2:"13",y2:"6",x:"14",y:"12"},{action:"curve",x1:"13",y1:"18",x2:"6",y2:"18",x:"5",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"5.5"},{action:"line",x:"6",y:"10"},{action:"move",x:"10.5",y:"15.5"},{action:"line",x:"17",y:"15.5"}]},
|
||||
{actions:[{action:"move",x:"9",y:"13"},{action:"line",x:"18.5",y:"13"},{action:"move",x:"9",y:"10.5"},{action:"line",x:"20",y:"10.5"},{action:"move",x:"9",y:"8.5"},{action:"line",x:"19",y:"8.5"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***服务任务*/Schema.addShape({name:"serviceTask_aris", title:"服务任务", text:"服务任务", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"8",y:"12"},{action:"curve",x1:"9",y1:"4",x2:"19",y2:"4",x:"20",y:"12"},{action:"curve",x1:"19",y1:"20",x2:"9",y2:"20",x:"8",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"12",y:"12"},{action:"curve",x1:"13",y1:"10",x2:"15",y2:"10",x:"16",y:"12"},{action:"curve",x1:"15",y1:"14",x2:"13",y2:"14",x:"12",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"8"},{action:"line",x:"10.5",y:"5"},{action:"move",x:"15",y:"8"},{action:"line",x:"17.5",y:"5"}]},
|
||||
{actions:[{action:"move",x:"13",y:"16"},{action:"line",x:"10.5",y:"19"},{action:"move",x:"15",y:"16"},{action:"line",x:"17.5",y:"19"}]},
|
||||
{actions:[{action:"move",x:"8.5",y:"9.5"},{action:"line",x:"7",y:"8"},{action:"move",x:"8.5",y:"14.5"},{action:"line",x:"7",y:"16"}]},
|
||||
{actions:[{action:"move",x:"19.5",y:"9.5"},{action:"line",x:"20",y:"8"},{action:"move",x:"19.5",y:"14.5"},{action:"line",x:"20",y:"16"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***循环任务*/Schema.addShape({name:"cycleTask_aris",title:"循环任务",text:"循环任务",category:"aris_bpmnProcess",props:{w:100,h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"w*0.5-3",y:"h-4"},{action:"curve",x1:"w*0.5-10.5",y1:"h-16.5",x2:"w*0.5+10.5",y2:"h-16.5",x:"w*0.5+3",y:"h-4"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-8",y:"h-6"},{action:"line",x:"w*0.5-3",y:"h-4"},{action:"line",x:"w*0.5-1",y:"h-8"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***子流程*/Schema.addShape({name:"subProcessTask_aris", title:"子流程", text:"子流程", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "179,179,179", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"5.5",y:"6"},{action:"line",x:"19.5",y:"6"},{action:"line",x:"19.5",y:"16"},{action:"line",x:"5.5",y:"16"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"12",y:"8"},{action:"line",x:"12",y:"14"},{action:"move",x:"7.5",y:"11"},{action:"line",x:"16.5",y:"11"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***输入数据对象*/Schema.addShape({name:"inputDataObject_aris",title:"输入数据对象",text:"输入数据对象",category:"aris_bpmnProcess",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***输出数据对象*/Schema.addShape({name:"outputDataObject_aris",title:"输出数据对象",text:"输出数据对象",category:"aris_bpmnProcess",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{color:"93,93,93"},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.bpmnProcess</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.bpmnProcess</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>业务流程(BPMN)图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe665;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.bpmnProcess/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<cycleTask_aris cn="重复执行相同任务" en="Repetitive execution of the same task" big5="重複執行相同任務"/>
|
||||
<exclusiveGateway_aris cn="用于表明活动单一路径分支执行条件" en="Used to indicate the condition for executing a single path branch of activities" big5="用於表明活動單一路徑分支執行條件"/>
|
||||
<startEvent_aris cn="用于表明活动执行开始规则" en="Used to indicate the rules for the start of activity execution" big5="用於表明活動執行開始規則"/>
|
||||
<subProcessTask_aris cn="表达上下游流程、子流程" en="Expresses upstream and downstream processes, sub-processes" big5="表達上下游流程、子流程"/>
|
||||
<manualTask_aris cn="没有任何应用程序协助的纯手工任务" en="A purely manual task without any application assistance" big5="沒有任何應用程序協助的純手工任務"/>
|
||||
<verticalPool cn="包含多个泳道,对元素进行区分" en="Contains multiple lanes to differentiate elements" big5="包含多個泳道,對元素進行區分"/>
|
||||
<endEvent_aris cn="用于表明活动执行结束规则" en="Used to indicate the rules for the end of activity execution" big5="用於表明活動執行結束規則"/>
|
||||
<parallelGateway_aris cn="用于表明活动并行执行路径分支执行条件" en="Used to indicate the conditions for parallel execution path branches of activities" big5="用於表明活動並行執行路徑分支執行條件"/>
|
||||
<horizontalPool cn="包含多个泳道,对元素进行区分" en="Contains multiple lanes to differentiate elements" big5="包含多個泳道,對元素進行區分"/>
|
||||
<verticalLane cn="对泳池里的流程元素进行组织和分类" en="Organizes and categorizes process elements in the pool" big5="對泳池裡的流程元素進行組織和分類"/>
|
||||
<userTask_aris cn="在应用程序协助下完成的人工任务" en="A manual task completed with the assistance of an application" big5="在應用程序協助下完成的人工任務"/>
|
||||
<serviceTask_aris cn="调用某种类型服务或程序处理的任务" en="A task that involves calling a certain type of service or program for processing" big5="調用某種類型服務或程序處理的任務"/>
|
||||
<horizontalLane cn="对泳池里的流程元素进行组织和分类" en="Organizes and categorizes process elements in the pool" big5="對泳池裡的流程元素進行組織和分類"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="分类说明" type="textarea" value="" desc="分类说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="controlType_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Classification Description" title-big5="分類說明" desc-en="Classification Description" desc-big5="分類說明"/>
|
||||
<attribute key="goal" title="控制目标" type="string" value="" desc="控制目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Objective" title-big5="控制目標" desc-en="Control Objective" desc-big5="控制目标"/>
|
||||
<attribute key="control_frequency" title=" 控制频率" type="string" value="" desc=" 控制频率" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Frequency" title-big5="控制頻率" desc-en="Control Frequency" desc-big5="控制頻率"/>
|
||||
<attribute key="shape_type" title=" 控制类型" type="select" value="" desc=" 控制类型" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Type" title-big5="控制類型" desc-en="Control Type" desc-big5="控制類型"/>
|
||||
<attribute key="control_mode" title=" 控制方式" type="string" value="" desc=" 控制方式" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Method" title-big5="控制方式" desc-en="Control Method" desc-big5="控制方式"/>
|
||||
<attribute key="control_point_classification" title="控制点分类" type="string" value="" desc="控制点分类" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Point Category" title-big5="控制點分類" desc-en="Control Point Classification" desc-big5="控制点分类"/>
|
||||
<attribute key="control_point_run_date" title="控制点执行日期" type="DateTimePicker" value="" desc="控制点执行日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Point Date" title-big5="控制點執行日期" desc-en="Control Point Execution Date" desc-big5="控制点执行日期"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/ 人" type="string" value="" desc="主责岗位/ 人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="risk" title="对应风险" type="select" value="" desc="对应风险" isRequired="false" ref="战略风险,市场风险,财务风险,法律风险,运营风险" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Associated Risks" title-big5="對應風險" desc-en="Corresponding Risk" desc-big5="對應風險"/>
|
||||
<attribute key="business_domain" title="承接业务域" type="string" value="" desc="承接业务域" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Undertaking Business Domain" title-big5="承接業務域" desc-en="Undertaking Business Domain" desc-big5="承接業務域"/>
|
||||
<attribute key="date" title="涉及数据" type="string" value="" desc="涉及数据" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Data" title-big5="涉及數據" desc-en="Involved Data" desc-big5="涉及數據"/>
|
||||
<attribute key="check_items" title="检查项" type="string" value="" desc="检查项" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Check Item" title-big5="檢查項" desc-en="Inspection Item" desc-big5="檢查項目"/>
|
||||
<attribute key="shape_state" title="状态" type="select" value="" desc="状态" isRequired="false" ref="生效,废止" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Status" title-big5="狀態" desc-en="Status" desc-big5="狀態"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="controlType_aris" toShapeId="control_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
|
||||
</linker>
|
||||
@ -0,0 +1,158 @@
|
||||
Schema.addCategory({name:"aris_businessControl", text:"控制图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***控制类别*/Schema.addShape({name:"controlType_aris",title:"控制类别",text:"控制类别",category:"aris_businessControl",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 12,y: 9},
|
||||
{action: "line",x: 12,y: 15.5},
|
||||
{action: "move",x: 12,y: 19},
|
||||
{action: "line",x: 12,y: 21},
|
||||
{action: "move",x: 10,y: 19},
|
||||
{action: "line",x: 14,y: 19},
|
||||
{action: "line",x: 14,y: 17},
|
||||
{action: "line",x: 10,y: 17},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 9},
|
||||
{action: "line",x: 16,y: 11},
|
||||
{action: "move",x: 14,y: 12},
|
||||
{action: "line",x: 18,y: 12},
|
||||
{action: "line",x: 18,y: 14},
|
||||
{action: "line",x: 14,y: 14},
|
||||
{action: "close"},
|
||||
{action: "move",x: 16,y: 14},
|
||||
{action: "line",x: 16,y: 21},
|
||||
|
||||
{action: "move",x: 20,y: 9},
|
||||
{action: "line",x: 20,y: 15},
|
||||
{action: "move",x: 20,y: 16.4},
|
||||
{action: "line",x: 22,y: 17.7},
|
||||
{action: "line",x: 22,y: 19.7},
|
||||
{action: "line",x: 20,y: 21},
|
||||
{action: "line",x: 18,y: 19.7},
|
||||
{action: "line",x: 18,y: 17.7},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***控制*/Schema.addShape({name:"control_aris",title:"控制",text:"控制",category:"aris_businessControl",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 12,y: 9},
|
||||
{action: "line",x: 12,y: 15},
|
||||
{action: "move",x: 12,y: 19},
|
||||
{action: "line",x: 12,y: 21},
|
||||
{action: "move",x: 10,y: 19},
|
||||
{action: "line",x: 14,y: 19},
|
||||
{action: "line",x: 14,y: 17},
|
||||
{action: "line",x: 10,y: 17},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 9},
|
||||
{action: "line",x: 16,y: 11},
|
||||
{action: "move",x: 14,y: 12},
|
||||
{action: "line",x: 18,y: 12},
|
||||
{action: "line",x: 18,y: 14},
|
||||
{action: "line",x: 14,y: 14},
|
||||
{action: "close"},
|
||||
{action: "move",x: 16,y: 14},
|
||||
{action: "line",x: 16,y: 21},
|
||||
|
||||
{action: "move",x: 20,y: 9},
|
||||
{action: "line",x: 20,y: 14},
|
||||
{action: "move",x: 18,y: 16},
|
||||
{action: "line",x: 22,y: 16},
|
||||
{action: "line",x: 22,y: 18},
|
||||
{action: "line",x: 18,y: 18},
|
||||
{action: "close"},
|
||||
{action: "move",x: 20,y: 18},
|
||||
{action: "line",x: 20,y: 21},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.businessControl</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.businessControl</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>控制图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe7f4;</code>
|
||||
<color>#DC4F39</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.businessControl/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<controlType_aris cn="用于将控制措施和方法根据类别进行分类管理" en="Used for categorizing and managing control measures and methods by type" big5="用於將控制措施和方法根據類別進行分類管理"/>
|
||||
<control_aris cn="应对风险采取各种措施和方法" en="Various measures and methods taken to address risks" big5="應對風險採取各種措施和方法"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="步骤序号" type="string" value="" desc="步骤序号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="function_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="步驟序號" desc-en="Step Number" desc-big5="步骤序号"/>
|
||||
<attribute key="desc" title="步骤说明" type="textarea" value="" desc="步骤说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="function_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Step Description" title-big5="步驟說明" desc-en="Step Instructions" desc-big5="步驟說明"/>
|
||||
<attribute key="quality_requirement" title="质量管理要求" type="textarea" value="" desc="质量管理要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="function_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Quality Req" title-big5="質量管理要求" desc-en="Quality Management Requirements" desc-big5="质量管理要求"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="aris.roleSystem"/>
|
||||
<import methodId="aris.orgResponsibilityAss"/>
|
||||
<import methodId="aris.form"/>
|
||||
<import methodId="aris.institution"/>
|
||||
<import methodId="aris.system"/>
|
||||
<import methodId="aris.performanceIndicator"/>
|
||||
<import methodId="aris.complianceEle"/>
|
||||
<import methodId="aris.risk"/>
|
||||
<import methodId="aris.businessControl"/>
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<!--事件 begin-->
|
||||
<concept conceptCode="001" fromShapeId="event_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="001" fromShapeId="event_aris" toShapeId="ORRule_aris,ANDRule_aris,XORRule_aris" outcomingName="由...评估" incomingName="评估" />
|
||||
<!--事件 end-->
|
||||
<!--功能 begin-->
|
||||
<concept conceptCode="003" fromShapeId="function_aris" toShapeId="event_aris" outcomingName="创建" incomingName="被...创建" />
|
||||
<concept conceptCode="004" fromShapeId="function_aris" toShapeId="function_aris" outcomingName="是...的前驱" incomingName="是...的后继" />
|
||||
<concept conceptCode="005" fromShapeId="function_aris" toShapeId="ORRule_aris,ANDRule_aris,XORRule_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<concept conceptCode="006" fromShapeId="function_aris" toShapeId="role_aris" outcomingName="完成" incomingName="被...完成" />
|
||||
<concept conceptCode="007" fromShapeId="function_aris" toShapeId="control_aris" outcomingName="使用" incomingName="被...使用" />
|
||||
<concept conceptCode="008" fromShapeId="function_aris" toShapeId="performanceIndicator_aris" outcomingName="通过...来衡量" incomingName="衡量" />
|
||||
<concept conceptCode="008" fromShapeId="function_aris" toShapeId="form_aris" outcomingName="创建输出到" incomingName="是...的输出" />
|
||||
<!--功能 end-->
|
||||
<!--流程接口 begin-->
|
||||
<concept conceptCode="009" fromShapeId="processInterface_aris" toShapeId="event_aris" outcomingName="创建" incomingName="被...创建" />
|
||||
<concept conceptCode="010" fromShapeId="processInterface_aris" toShapeId="ORRule_aris,ANDRule_aris,XORRule_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--流程接口 end-->
|
||||
<!--与 begin-->
|
||||
<concept conceptCode="011" fromShapeId="ANDRule_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="012" fromShapeId="ANDRule_aris" toShapeId="event_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--与 end-->
|
||||
<!--或 begin-->
|
||||
<concept conceptCode="013" fromShapeId="ORRule_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="014" fromShapeId="ORRule_aris" toShapeId="event_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--或 end-->
|
||||
<!--异或 begin-->
|
||||
<concept conceptCode="015" fromShapeId="XORRule_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="016" fromShapeId="XORRule_aris" toShapeId="event_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--异或 end-->
|
||||
|
||||
</linker>
|
||||
@ -0,0 +1,147 @@
|
||||
Schema.addCategory({name:"aris_businessProcess", text:"业务流程图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***事件*/Schema.addShape({name:"event_aris",title:"事件",text:"事件",category:"aris_businessProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"242, 153, 206",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 23},
|
||||
{action: "line",x: 7,y: 10},
|
||||
{action: "line",x: 11,y: 9},
|
||||
{action: "quadraticCurve",x1: 14,y1: 12,x: 19,y: 10},
|
||||
{action: "line",x: 20.2,y: 16},
|
||||
{action: "quadraticCurve",x1: 14,y1: 18,x: 12,y: 15},
|
||||
{action: "line",x: 8.2,y: 16}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***步骤*/Schema.addShape({name:"function_aris",title:"步骤",text:"步骤",category:"aris_businessProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 7,y: 10},
|
||||
{action: "line",x: 15,y: 15},
|
||||
{action: "line",x: 7,y: 20},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 10},
|
||||
{action: "line",x: 24,y: 15},
|
||||
{action: "line",x: 16,y: 20},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***流程接口*/Schema.addShape({name:"processInterface_aris",title:"流程接口",text:"流程接口",category:"aris_businessProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 23},
|
||||
{action: "line",x: 7,y: 10},
|
||||
{action: "line",x: 11,y: 9},
|
||||
{action: "quadraticCurve",x1: 14,y1: 12,x: 19,y: 10},
|
||||
{action: "line",x: 20.2,y: 16},
|
||||
{action: "quadraticCurve",x1: 14,y1: 18,x: 12,y: 15},
|
||||
{action: "line",x: 8.2,y: 16},
|
||||
|
||||
{action: "move",x: 14,y: 19},
|
||||
{action: "line",x: 14,y: 23},
|
||||
{action: "line",x: 17,y: 21},
|
||||
{action: "close"},
|
||||
{action: "move",x: 17,y: 19},
|
||||
{action: "line",x: 17,y: 23},
|
||||
{action: "line",x: 20,y: 21},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***Or*/Schema.addShape({name:"ORRule_aris", title:"或", text:"", category:"aris_businessProcess", attribute:{editable:false}, props:{w:40, h:40}, fillStyle:{color:"94,94,94"}, path:[
|
||||
{lineStyle:{lineWidth:0},actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:4,lineColor:"255,255,255"},actions:[
|
||||
{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.13"},
|
||||
{action:"line", x:"w*0.5", y:"h/2+h*0.15"},
|
||||
{action:"line", x:"w/2+w*0.15", y:"h/2-h*0.13"},
|
||||
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
|
||||
/***And*/Schema.addShape({name:"ANDRule_aris", title:"与", text:"", category:"aris_businessProcess", attribute:{editable:false}, props:{w:40, h:40}, fillStyle:{color:"94,94,94"}, path:[
|
||||
{lineStyle:{lineWidth:0},actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:4,lineColor:"255,255,255"},actions:[
|
||||
{action:"move", x:"w/2-w*0.15", y:"h/2+h*0.13"},
|
||||
{action:"line", x:"w*0.5", y:"h/2-h*0.15"},
|
||||
{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.13"},
|
||||
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
|
||||
/***Xor*/Schema.addShape({name:"XORRule_aris", title:"异或", text:"", category:"aris_businessProcess", attribute:{editable:false}, props:{w:40, h:40}, fillStyle:{color:"94,94,94"}, path:[
|
||||
{lineStyle:{lineWidth:0},actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:4,lineColor:"255,255,255"},actions:[
|
||||
{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.15"},
|
||||
{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.15"},
|
||||
{action:"move", x:"w/2+w*0.15", y:"h/2-h*0.15"},
|
||||
{action:"line", x:"w/2-w*0.15", y:"h/2+h*0.15"}
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.businessProcess</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.businessProcess</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>业务流程图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe665;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>process</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.businessProcess/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<XORRule_aris cn="用于有且仅有一项活动发生时的逻辑判断" en="Used for logical judgement when only one activity occurs" big5="用於有且僅有一項活動發生時的邏輯判斷"/>
|
||||
<event_aris cn="表明组织的特点状态或其变化" en="Indicates the characteristic state or changes of an organization" big5="表明組織的特點狀態或其變化"/>
|
||||
<ANDRule_aris cn="用于多项活动同时发生时的逻辑判断" en="Used for logical judgement when multiple activities occur simultaneously" big5="用於多項活動同時發生時的邏輯判斷"/>
|
||||
<ORRule_aris cn="用于不止一项活动发生时的逻辑判断" en="Used for logical judgement when more than one activity occurs" big5="用於不止一項活動發生時的邏輯判斷"/>
|
||||
<function_aris cn="用于完成特定任务的活动" en="Activity used to complete a specific task" big5="用於完成特定任務的活動"/>
|
||||
<processInterface_aris cn="用于展示流程上下游驱动关系" en="Used to display the upstream and downstream driving relationship of processes" big5="用於展示流程上下游驅動關係"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
</linker>
|
||||
@ -0,0 +1,91 @@
|
||||
Schema.addCategory({name:"aris_classificationMgmtEle", text:"管理要素图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***结构元素*/Schema.addShape({name:"structuralElement_arisMgmt",title:"结构元素",text:"结构元素",category:"aris_classificationMgmtEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"216, 239, 196",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"6",y:"8"},
|
||||
{action:"line",x:"24",y:"8"},
|
||||
{action:"line",x:"24",y:"22"},
|
||||
{action:"line",x:"6",y:"22"},
|
||||
{action:"line",x:"6",y:"8"},
|
||||
{action:"move",x:"6",y:"15"},
|
||||
{action:"line",x:"24",y:"15"},
|
||||
{action:"move",x:"15",y:"8"},
|
||||
{action:"line",x:"15",y:"22"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.classificationMgmtEle</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.classificationMgmtEle</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>管理要素图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe64f;</code>
|
||||
<color>#009688</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.classificationMgmtEle/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<structuralElement_arisMgmt cn="当需要进行某种分类表达,无特定要素分类符号时使用" en="Used when a certain type of classification expression is required, without specific element classification symbols" big5="當需要進行某種分類表達,無特定要素分類符號時使用"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceType_aris,complianceDocTerm_aris,requirement_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="分类说明" type="textarea" value="" desc="分类说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceType_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Classification Description" title-big5="分類說明" desc-en="Classification Description" desc-big5="分類說明"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/ 人" type="string" value="" desc="主责岗位/ 人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="shape_state" title="状态" type="select" value="" desc="状态" isRequired="false" ref="生效,废止" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Status" title-big5="狀態" desc-en="Status" desc-big5="狀態"/>
|
||||
<attribute key="implementation_date" title="实施日期" type="DateTimePicker" value="" desc="实施日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Implementation Date" title-big5="實施日期" desc-en="Implementation Date" desc-big5="實施日期"/>
|
||||
<attribute key="review_cycle" title="审查周期" type="textarea" value="" desc="审查周期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Review Cycle" title-big5="審查週期" desc-en="Review Cycle" desc-big5="審查周期"/>
|
||||
<attribute key="publish_institution" title="发布机构" type="string" value="" desc="发布机构" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publishing Institution" title-big5="發布機構" desc-en="Publishing Organization" desc-big5="發布機構"/>
|
||||
<attribute key="implement_standard_type" title="贯标类型" type="select" value="" desc="贯标类型" isRequired="false" ref="强制落标,内部落标,参考执行" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Standardization Type" title-big5="貫標類型" desc-en="Consistency Standard Type" desc-big5="貫標類型"/>
|
||||
<attribute key="compliance_type" title="合规类型" type="select" value="" desc="合规类型" isRequired="false" ref="法律法规,行业标准,上级要求" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Compliance Type" title-big5="合規類型" desc-en="Compliance Type" desc-big5="合規類型"/>
|
||||
<attribute key="replaced_no" title=" 被替代号" type="string" value="" desc=" 被替代号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Replacement Code" title-big5="被替代號" desc-en="Replacement Number" desc-big5="被替代號"/>
|
||||
<attribute key="standard_carrier" title="标准载体" type="select" value="" desc="标准载体" isRequired="false" ref="纸质版,电子版" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Standard Carrier" title-big5="標準載體" desc-en="Standard Carrier" desc-big5="標準載體"/>
|
||||
<attribute key="approval_unit" title="批准单位" type="string" value="" desc="批准单位" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Approving Unit" title-big5="批准單位" desc-en="Approving Unit" desc-big5="批准單位"/>
|
||||
<attribute key="organizer" title="主办单位" type="string" value="" desc="主办单位" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Hosting Unit" title-big5="主辦單位" desc-en="Main Organizer" desc-big5="主辦單位"/>
|
||||
<attribute key="publish_date" title="发布日期" type="DateTimePicker" value="" desc="发布日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publish Date" title-big5="發布日期" desc-en="Release Date" desc-big5="發布日期"/>
|
||||
<attribute key="nmsc_no" title="国军标分类号" type="string" value="" desc="国军标分类号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="National Standard Number" title-big5="國軍標分類號" desc-en="National Military Standard Classification Number" desc-big5="国军标分类号"/>
|
||||
<attribute key="text_language" title="正文语种" type="select" value="" desc="正文语种" isRequired="false" ref="中文,英文,其他" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Main Text Language" title-big5="正文語種" desc-en="Text Language" desc-big5="正文語種"/>
|
||||
<attribute key="drafter" title="起草人" type="string" value="" desc="起草人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Draftsperson" title-big5="起草人" desc-en="Drafter" desc-big5="起草人"/>
|
||||
<attribute key="scope" title="适用范围" type="textarea" value="" desc="适用范围" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Applicable Scope" title-big5="適用範圍" desc-en="Applicable Scope" desc-big5="適用範圍"/>
|
||||
<attribute key="content" title="内容" type="textarea" value="" desc="内容" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris,requirement_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Content" title-big5="內容" desc-en="Content" desc-big5="內容"/>
|
||||
<attribute key="required_degree" title=" 要求程度" type="select" value="" desc=" 要求程度" isRequired="false" ref="应(要求),宜(建议),可(允许),能(可能/能够)" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Degree of Requirement" title-big5="要求程度" desc-en="Requirement Level" desc-big5="要求程度"/>
|
||||
<attribute key="application" title="适用情况" type="select" value="" desc="适用情况" isRequired="false" ref="适用,不适用" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Applicability" title-big5="適用情況" desc-en="Applicable Situation" desc-big5="适用情况"/>
|
||||
<attribute key="requirement" title="承接要求" type="textarea" value="" desc="承接要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Undertaking Requirements" title-big5="承接要求" desc-en="Acceptance Requirements" desc-big5="承接要求"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
<concept conceptCode="001" fromShapeId="complianceDocTerm_aris" toShapeId="function_aris" outcomingName="为...提供输入" incomingName="作为输入" />
|
||||
<concept conceptCode="002" fromShapeId="requirement_aris" toShapeId="function_aris" outcomingName="为...提供输入" incomingName="作为输入" />
|
||||
|
||||
|
||||
<concept conceptCode="003" fromShapeId="complianceType_aris" toShapeId="complianceType_aris,complianceDoc_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
<concept conceptCode="004" fromShapeId="complianceDoc_aris" toShapeId="complianceDocTerm_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
<concept conceptCode="005" fromShapeId="complianceDocTerm_aris" toShapeId="requirement_aris" outcomingName="是...的一般化" incomingName="一般化后是..." />
|
||||
|
||||
|
||||
</linker>
|
||||
@ -0,0 +1,182 @@
|
||||
Schema.addCategory({name:"aris_complianceEle", text:"合规要素图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***合规类型*/Schema.addShape({name:"complianceType_aris",title:"合规类型",text:"合规类型",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "15",y: "6"},
|
||||
{action: "line",x: "23",y: "9"},
|
||||
{action: "line",x: "23",y: "19"},
|
||||
{action: "line",x: "15",y: "24"},
|
||||
{action: "line",x: "7",y: "19"},
|
||||
{action: "line",x: "7",y: "9"},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: "11",y: "14"},
|
||||
{action: "line",x: "14",y: "17"},
|
||||
{action: "line",x: "19.5",y: "11.5"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***合规文件*/Schema.addShape({name:"complianceDoc_aris",title:"合规文件",text:"合规文件",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "18",y: "25"},
|
||||
{action: "line",x: "7",y: "25"},
|
||||
{action: "line",x: "7",y: "7"},
|
||||
{action: "line",x: "18",y: "7"},
|
||||
{action: "line",x: "23",y: "12"},
|
||||
{action: "line",x: "23",y: "19"},
|
||||
{action: "move",x: "17",y: "23"},
|
||||
{action: "curve",x1: "18",y1: "17",x2: "25",y2: "17",x: "26",y: "23"},
|
||||
{action: "curve",x1: "25",y1: "28",x2: "18",y2: "28",x: "17",y: "23"},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: "19",y: "22.5"},
|
||||
{action: "line",x: "21",y: "25"},
|
||||
{action: "line",x: "25",y: "20"},
|
||||
|
||||
{action: "move",x: "18",y: "7"},
|
||||
{action: "line",x: "18",y: "12"},
|
||||
{action: "line",x: "23",y: "12"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
|
||||
/***合规文件条款*/Schema.addShape({name:"complianceDocTerm_aris",title:"合规文件条款",text:"合规文件条款",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "7",y: "7"},
|
||||
{action: "line",x: "23",y: "7"},
|
||||
{action: "line",x: "23",y: "25"},
|
||||
{action: "line",x: "7",y: "25"},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: "9",y: "10"},
|
||||
{action: "line",x: "10",y: "11.5"},
|
||||
{action: "line",x: "12",y: "9"},
|
||||
{action: "move",x: "14",y: "10"},
|
||||
{action: "line",x: "21",y: "10"},
|
||||
|
||||
{action: "move",x: "9",y: "15"},
|
||||
{action: "line",x: "10",y: "16.5"},
|
||||
{action: "line",x: "12",y: "14"},
|
||||
{action: "move",x: "14",y: "15"},
|
||||
{action: "line",x: "21",y: "15"},
|
||||
|
||||
{action: "move",x: "9",y: "20"},
|
||||
{action: "line",x: "10",y: "21.5"},
|
||||
{action: "line",x: "12",y: "19"},
|
||||
{action: "move",x: "14",y: "20"},
|
||||
{action: "line",x: "21",y: "20"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***文件承接要求*/Schema.addShape({name:"requirement_aris",title:"文件承接要求",text:"文件承接要求",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"206, 218, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"21",y:"15"},
|
||||
{action:"line",x:"21",y:"8"},
|
||||
{action:"line",x:"9",y:"8"},
|
||||
{action:"line",x:"9",y:"22"},
|
||||
{action:"line",x:"17",y:"22"},
|
||||
|
||||
{action:"move",x:"19",y:"17"},
|
||||
{action:"line",x:"23",y:"17"},
|
||||
|
||||
{action:"move",x:"17.5",y:"23"},
|
||||
{action:"line",x:"24.5",y:"23"},
|
||||
|
||||
{action:"move",x:"21",y:"17"},
|
||||
{action:"line",x:"21",y:"20"},
|
||||
|
||||
{action:"move",x:"19",y:"23"},
|
||||
{action:"line",x:"19",y:"20"},
|
||||
{action:"line",x:"23",y:"20"},
|
||||
{action:"line",x:"23",y:"23"},
|
||||
|
||||
{action:"move",x:"11",y:"15"},
|
||||
{action:"line",x:"19",y:"15"},
|
||||
|
||||
{action:"move",x:"11",y:"11"},
|
||||
{action:"line",x:"19",y:"11"},
|
||||
|
||||
{action:"move",x:"11",y:"19"},
|
||||
{action:"line",x:"16",y:"19"},
|
||||
]
|
||||
},
|
||||
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.complianceEle</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.complianceEle</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>合规要素图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe80b;</code>
|
||||
<color>#009B52</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.complianceEle/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<complianceType_aris cn="用于将合规文件根据类别进行分类管理,合规文件对象的分类对象" en="Used for categorizing and managing compliance documents by type, the classification object for compliance document objects" big5="用於將合規文件根據類別進行分類管理,合規文件對象的分類對象"/>
|
||||
<complianceDocTerm_aris cn="用于分解细化合规内容" en="Used to decompose and refine compliance content" big5="用於分解細化合規內容"/>
|
||||
<requirement_aris cn="实现合规要求转化内容表达和合规与业务流程的对接" en="Realizes the transformation of compliance requirements into content expression and the integration of compliance with business processes" big5="實現合規要求轉化內容表達和合規與業務流程的對接"/>
|
||||
<complianceDoc_aris cn="用于表达合规内容" en="Used to express compliance content" big5="用於表達合規內容"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="表单编号" type="string" value="" desc="表单编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Form Number" title-big5="表單編號" desc-en="Form Number" desc-big5="表單編號"/>
|
||||
<attribute key="desc" title="表单描述" type="textarea" value="" desc="表单描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Form Description" title-big5="表單描述" desc-en="Form Description" desc-big5="表單描述"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="informationize" title="是否信息化" type="boolean" value="" desc="是否信息化" isRequired="false" ref="是,否" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Informationization" title-big5="是否信息化" desc-en="Is Informationized" desc-big5="是否信息化"/>
|
||||
<attribute key="title1" title="标题1" type="string" value="" desc="标题1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Title 1" title-big5="標題1" desc-en="Title 1" desc-big5="標題1"/>
|
||||
<attribute key="url1" title="链接1" type="link" value="" desc="链接1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Link 1" title-big5="鏈接1" desc-en="Link 1" desc-big5="鏈接1"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="form_aris" toShapeId="function_aris" outcomingName="为...提供输入" incomingName="是...的输出" />
|
||||
</linker>
|
||||
@ -0,0 +1,138 @@
|
||||
Schema.addCategory({name:"aris_form", text:"表单图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***表单类型*/Schema.addShape({name:"formType_aris",title:"表单类型",text:"表单类型",category:"aris_form",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"155, 207, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 8},
|
||||
{action: "line",x: 21,y: 8},
|
||||
{action: "line",x: 21,y: 17},
|
||||
{action: "move",x: 9,y: 8},
|
||||
{action: "line",x: 9,y: 22},
|
||||
{action: "line",x: 18,y: 22},
|
||||
|
||||
{action: "move",x: 11,y: 12},
|
||||
{action: "line",x: 16,y: 12},
|
||||
{action: "move",x: 11,y: 13},
|
||||
{action: "line",x: 16,y: 13},
|
||||
{action: "move",x: 11,y: 15},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "move",x: 11,y: 17},
|
||||
{action: "line",x: 18,y: 17},
|
||||
|
||||
{action: "move",x: 21,y: 18},
|
||||
{action: "line",x: 23,y: 19.3},
|
||||
{action: "line",x: 23,y: 21.3},
|
||||
{action: "line",x: 21,y: 22.6},
|
||||
{action: "line",x: 19,y: 21.3},
|
||||
{action: "line",x: 19,y: 19.3},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***表单*/Schema.addShape({name:"form_aris",title:"表单",text:"表单",category:"aris_form",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"155, 207, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 8},
|
||||
{action: "line",x: 21,y: 8},
|
||||
{action: "line",x: 21,y: 22},
|
||||
{action: "line",x: 9,y: 22},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 11,y: 12},
|
||||
{action: "line",x: 16,y: 12},
|
||||
{action: "move",x: 11,y: 13},
|
||||
{action: "line",x: 16,y: 13},
|
||||
{action: "move",x: 11,y: 15},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "move",x: 11,y: 17},
|
||||
{action: "line",x: 18,y: 17},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.form</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.form</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>表单图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe706;</code>
|
||||
<color>#009B52</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>data</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.form/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<form_aris cn="作为数据载体或承载信息的展示方式" en="Serves as a data carrier or a method of presenting information" big5="作為數據載體或承載信息的展示方式"/>
|
||||
<formType_aris cn="表单根据自有属性不同进行分类的对象" en="Forms are classified based on their inherent attributes" big5="表單根據自有屬性不同進行分類的對象"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="流程编号" type="string" value="" desc="流程编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Number" title-big5="流程編號" desc-en="Process Number" desc-big5="流程編號"/>
|
||||
<attribute key="level" title="流程层级" type="select" value="" desc="流程层级" isRequired="false" ref="业务域,流程组,流程" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Level" title-big5="流程層級" desc-en="Process Hierarchy" desc-big5="流程层级"/>
|
||||
<attribute key="department" title="主责部门" type="string" value="" desc="主责部门" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Main Responsibility Dept" title-big5="主責部門" desc-en="Main Responsible Department" desc-big5="主责部门"/>
|
||||
<attribute key="process_owner" title="流程所有者" type="string" value="" desc="流程所有者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Owner" title-big5="流程所有者" desc-en="Process Owner" desc-big5="流程所有者"/>
|
||||
<attribute key="goal" title="流程目标" type="textarea" value="" desc="流程目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Objective" title-big5="流程目標" desc-en="Process Objective" desc-big5="流程目標"/>
|
||||
<attribute key="desc" title="流程描述" type="textarea" value="" desc="流程描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Description" title-big5="流程描述" desc-en="Process Description" desc-big5="流程描述"/>
|
||||
<attribute key="quality_requirement" title="质量要求" type="textarea" value="" desc="质量要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Quality Requirements" title-big5="質量要求" desc-en="Quality Requirement" desc-big5="质量要求"/>
|
||||
<attribute key="occurrence_frequency" title="发生频率" type="string" value="" desc="发生频率" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Frequency of Occurrence" title-big5="發生頻率" desc-en="Occurrence Frequency" desc-big5="發生頻率"/>
|
||||
<attribute key="lead_process" title="上游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"aris/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Upstream Process" title-big5="上游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="rear_process" title="下游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"aris/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Downstream Process" title-big5="下游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="start_condition" title="流程开始条件" type="textarea" value="" desc="流程开始条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Start Condition" title-big5="流程開始條件" desc-en="Process Start Condition" desc-big5="流程開始條件"/>
|
||||
<attribute key="input" title="流程输入" type="textarea" value="" desc="流程输入" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Input" title-big5="流程輸入" desc-en="Process Input" desc-big5="流程輸入"/>
|
||||
<attribute key="end_condition" title="流程结束条件" type="textarea" value="" desc="流程结束条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Termination Conditions" title-big5="流程結束條件" desc-en="Process Termination Condition" desc-big5="流程結束條件"/>
|
||||
<attribute key="output" title="流程输出" type="textarea" value="" desc="流程输出" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Output" title-big5="流程輸出" desc-en="Process Output" desc-big5="流程輸出"/>
|
||||
<attribute key="participant" title="流程参与者" type="string" value="" desc="流程参与者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Participants" title-big5="流程參與者" desc-en="Process Participants" desc-big5="流程參與者"/>
|
||||
<attribute key="reviewer" title="流程检查者" type="string" value="" desc="流程检查者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Checker" title-big5="流程檢查者" desc-en="Process Checker" desc-big5="流程檢查者"/>
|
||||
<attribute key="customer" title="流程客户" type="string" value="" desc="流程客户" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Customer" title-big5="流程客戶" desc-en="Process Client" desc-big5="流程客户"/>
|
||||
<attribute key="handbook_url" title="流程手册链接" type="link" value="" desc="流程手册链接" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Manual Link" title-big5="流程手冊鏈接" desc-en="Process Manual Link" desc-big5="流程手册链接"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
</linker>
|
||||
@ -0,0 +1,48 @@
|
||||
Schema.addCategory({name:"aris_higherOrderProcess", text:"高阶流程图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***增值链*/Schema.addShape({name:"valueAddedChain_arisHo",title:"增值链",text:"增值链",category:"aris_higherOrderProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 7,y: 10},
|
||||
{action: "line",x: 14,y: 10},
|
||||
{action: "line",x: 16,y: 15},
|
||||
{action: "line",x: 14,y: 20},
|
||||
{action: "line",x: 7,y: 20},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 10},
|
||||
{action: "line",x: 23,y: 10},
|
||||
{action: "line",x: 25,y: 15},
|
||||
{action: "line",x: 23,y: 20},
|
||||
{action: "line",x: 16,y: 20},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "close"},
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.higherOrderProcess</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.higherOrderProcess</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>高阶流程图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe6e2;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>process</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.higherOrderProcess/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<valueAddedChain_arisHo cn="公司顶层管理体系框架" en="Top-level management system framework of the company" big5="公司頂層管理體系框架"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="制度编号" type="string" value="" desc="制度编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Regulation Number" title-big5="制度編號" desc-en="Regulation Number" desc-big5="制度編號"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/人" type="string" value="" desc="主责岗位/人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="valid_date" title="生效日期" type="DateTimePicker" value="" desc="生效日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Effective Date" title-big5="生效日期" desc-en="Effective Date" desc-big5="生效日期"/>
|
||||
<attribute key="publish_date" title="发布日期" type="DateTimePicker" value="" desc="发布日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publish Date" title-big5="發布日期" desc-en="Release Date" desc-big5="發布日期"/>
|
||||
<attribute key="title1" title="标题1" type="string" value="" desc="标题1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Title 1" title-big5="標題1" desc-en="Title 1" desc-big5="標題1"/>
|
||||
<attribute key="url1" title="链接1" type="link" value="" desc="链接1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Link 1" title-big5="鏈接1" desc-en="Link 1" desc-big5="鏈接1"/>
|
||||
<attribute key="shape_state" title="状态" type="select" value="" desc="状态" isRequired="false" ref="生效,废止" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Status" title-big5="狀態" desc-en="Status" desc-big5="狀態"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="institutionDocType_aris" toShapeId="institutionDocType_aris,institutionDoc_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
</linker>
|
||||
@ -0,0 +1,131 @@
|
||||
Schema.addCategory({name:"aris_institution", text:"制度图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***制度文件类型*/Schema.addShape({name:"institutionDocType_aris",title:"制度文件类型",text:"制度文件类型",category:"aris_institution",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"206, 218, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"22",y:"17"},
|
||||
{action:"line",x:"22",y:"11"},
|
||||
{action:"line",x:"17",y:"11"},
|
||||
{action:"line",x:"15",y:"9"},
|
||||
{action:"line",x:"8",y:"9"},
|
||||
{action:"line",x:"8",y:"22"},
|
||||
{action:"line",x:"15",y:"22"},
|
||||
|
||||
{action:"move",x:"17",y:"14"},
|
||||
{action:"line",x:"20",y:"14"},
|
||||
|
||||
{action:"move",x:"20",y:"18"},
|
||||
{action:"line",x:"23.2",y:"20.2"},
|
||||
{action:"line",x:"23.2",y:"23"},
|
||||
{action:"line",x:"20",y:"25"},
|
||||
{action:"line",x:"16.8",y:"23"},
|
||||
{action:"line",x:"16.8",y:"20.2"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
/***制度文件*/Schema.addShape({name:"institutionDoc_aris",title:"制度文件",text:"制度文件",category:"aris_institution",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"206, 218, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"8",y:"7"},
|
||||
{action:"line",x:"8",y:"23"},
|
||||
{action:"line",x:"22",y:"23"},
|
||||
{action:"line",x:"22",y:"7"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"8",y:"21"},
|
||||
{action:"line",x:"22",y:"21"},
|
||||
|
||||
{action:"move",x:"11",y:"7"},
|
||||
{action:"line",x:"11",y:"13"},
|
||||
{action:"line",x:"13",y:"11"},
|
||||
{action:"line",x:"15",y:"13"},
|
||||
{action:"line",x:"15",y:"7"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.institution</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.institution</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>制度图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe788;</code>
|
||||
<color>#009B52</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.institution/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<institutionDocType_aris cn="用于将规章制度文件根据类别进行分类管理" en="Used for categorizing and managing institutional documents by type" big5="用於將規章制度文件根據類別進行分類管理"/>
|
||||
<institutionDoc_aris cn="企业现有规章制度、管理标准文件" en="Existing regulations, institutional and management standard documents of the enterprise" big5="企業現有規章制度、管理標準文件"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="职责编号" type="string" value="" desc="职责编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsibility Number" title-big5="職責編號" desc-en="Duty Number" desc-big5="职责编号"/>
|
||||
<attribute key="shape_type" title="职责类型" type="string" value="" desc="职责类型" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Duty Type" title-big5="職責類型" desc-en="Responsibility Type" desc-big5="職責類型"/>
|
||||
<attribute key="desc" title="职责说明" type="textarea" value="" desc="职责说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsibility Description" title-big5="職責說明" desc-en="Responsibility Description" desc-big5="職責說明"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="aris.organization"/>
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<!--职责 begin-->
|
||||
<concept conceptCode="001" fromShapeId="responsibility_aris" toShapeId="function_aris" outcomingName="完成" incomingName="被...完成" />
|
||||
<concept conceptCode="002" fromShapeId="responsibility_aris" toShapeId="responsibility_aris" outcomingName="由...组成" incomingName="是...的组成" />
|
||||
<!--职责 end-->
|
||||
</linker>
|
||||
@ -0,0 +1,81 @@
|
||||
Schema.addCategory({name:"aris_orgResponsibilityAss", text:"职责图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***职责*/Schema.addShape({name:"responsibility_aris",title:"职责",text:"职责",category:"aris_orgResponsibilityAss",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"255, 226, 133",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
textStyle:{text: "责", color: "51,51,51", size: "9px", x: "10.5", y: "18"},
|
||||
actions:[{action: "curveArc",centerX: "15",centerY: "15",radius: "8",startAngle: "0",endAngle: "2 * Math.PI"}]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.orgResponsibilityAss</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.orgResponsibilityAss</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>职责图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe65e;</code>
|
||||
<color>#FF9421</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>org</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.orgResponsibilityAss/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<responsibility_aris cn="描述组织单元所承担的责任" en="Describes the responsibilities undertaken by organizational units" big5="描述組織單元所承擔的責任"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="person" title="部门负责人" type="string" value="" desc="部门负责人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Department Head" title-big5="部門負責人" desc-en="Department Head" desc-big5="部門負責人"/>
|
||||
<attribute key="parent_dept" title="上级部门" type="string" value="" desc="上级部门" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Superior Department" title-big5="上級部門" desc-en="Superior Department" desc-big5="上級部門"/>
|
||||
<attribute key="leader_person" title="主管领导" type="string" value="" desc="主管领导" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Leader" title-big5="主管領導" desc-en="Supervisor Leader" desc-big5="主管領導"/>
|
||||
<attribute key="shape_type" title="类型" type="select" value="" desc="部门类型" isRequired="false" ref="职能行政,生产单元" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Type" title-big5="類型" desc-en="Department Type" desc-big5="部门类型"/>
|
||||
<attribute key="goal" title="工作目标" type="textarea" value="" desc="工作目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Work Objective" title-big5="工作目標" desc-en="Work Objective" desc-big5="工作目标"/>
|
||||
<attribute key="explain" title="职能说明" type="textarea" value="" desc="职能说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Functional Description" title-big5="職能說明" desc-en="Functional Description" desc-big5="職能說明"/>
|
||||
<attribute key="mission" title="使命" type="textarea" value="" desc="使命" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Mission" title-big5="使命" desc-en="Mission" desc-big5="使命"/>
|
||||
<attribute key="values" title="价值观" type="textarea" value="" desc="价值观" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Values" title-big5="價值觀" desc-en="Values" desc-big5="價值觀"/>
|
||||
<attribute key="culture" title="文化" type="textarea" value="" desc="文化" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Culture" title-big5="文化" desc-en="Culture" desc-big5="文化"/>
|
||||
<attribute key="desc" title=" 岗位描述" type="textarea" value="" desc=" 岗位描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="position_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Job Description" title-big5="岗位描述" desc-en="Job Description" desc-big5="岗位描述"/>
|
||||
<attribute key="qualification" title=" 任职资格" type="textarea" value="" desc=" 任职资格" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="position_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Qualification" title-big5="任職資格" desc-en="Qualifications" desc-big5="任職資格"/>
|
||||
<attribute key="position_org" title=" 岗位编制" type="string" value="" desc=" 岗位编制" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="position_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Position Establishment" title-big5="岗位编制" desc-en="Position Establishment" desc-big5="岗位编制"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
<!--组织单元 begin-->
|
||||
<concept conceptCode="001" fromShapeId="organizationalUnit_aris" toShapeId="organizationalUnit_aris" outcomingName="是...的上级" incomingName="是...的下级" />
|
||||
<concept conceptCode="002" fromShapeId="organizationalUnit_aris" toShapeId="organizationalUnit_aris" outcomingName="对...负有责任" incomingName="被...负责任" />
|
||||
<concept conceptCode="003" fromShapeId="organizationalUnit_aris" toShapeId="position_aris" outcomingName="是...的管理者" incomingName="被...管理" />
|
||||
<concept conceptCode="004" fromShapeId="organizationalUnit_aris" toShapeId="position_aris" outcomingName="由...组成" incomingName="是...的组成" />
|
||||
<concept conceptCode="005" fromShapeId="organizationalUnit_aris" toShapeId="responsibility_aris" outcomingName="执行" incomingName="被...执行" />
|
||||
<!--组织单元 end-->
|
||||
<!--岗位 begin-->
|
||||
<concept conceptCode="006" fromShapeId="position_aris" toShapeId="responsibility_aris" outcomingName="执行" incomingName="被...执行" />
|
||||
<!--岗位 end-->
|
||||
</linker>
|
||||
@ -0,0 +1,106 @@
|
||||
Schema.addCategory({name:"aris_organization", text:"组织图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***组织单元*/Schema.addShape({name:"organizationalUnit_aris",title:"组织单元",text:"组织单元",category:"aris_organization",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"255, 226, 133",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "curveArc",centerX: "15",centerY: "11.5",radius: "3.5",startAngle: "0",endAngle: "2 * Math.PI"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "curveArc",centerX: "15",centerY: "21",radius: "6",startAngle: "0",endAngle: "Math.PI"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "6.5",y: "19.5"},
|
||||
{action: "quadraticCurve",x1: "7",y1: "15",x: "10",y: "15"},
|
||||
{action: "curve",x1: "8.5",y1: "13",x2: "8.5",y2: "10.5",x: "10.5",y: "9"},
|
||||
|
||||
{action: "move",x: "23.5",y: "19.5"},
|
||||
{action: "quadraticCurve",x1: "23",y1: "15",x: "20",y: "15"},
|
||||
{action: "curve",x1: "21.5",y1: "13",x2: "21.5",y2: "10.5",x: "19.5",y: "9"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***岗位*/Schema.addShape({name:"position_aris",title:"岗位",text:"岗位",category:"aris_organization",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"255, 226, 133",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "curveArc",centerX: "15",centerY: "12",radius: "1.3",startAngle: "0",endAngle: "2 * Math.PI"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "8.5",y: "8"},
|
||||
{action: "line",x: "21.5",y: "8"},
|
||||
{action: "line",x: "21.5",y: "22"},
|
||||
{action: "line",x: "8.5",y: "22"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "14",y: "13"},
|
||||
{action: "line",x: "13",y: "17"},
|
||||
{action: "line",x: "15",y: "19"},
|
||||
{action: "line",x: "17",y: "17"},
|
||||
{action: "line",x: "16",y: "13"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.organization</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.organization</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>组织图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe6b6;</code>
|
||||
<color>#FF9421</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>org</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.organization/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<position_aris cn="明确组织中个体在特定时间内的任务、责任和权利" en="Specifies the tasks, responsibilities, and rights of individuals in an organization at a specific time" big5="明確組織中個體在特定時間內的任務、責任和權利"/>
|
||||
<organizationalUnit_aris cn="用于反映组织的现有结构和层级关系" en="Used to reflect the current structure and hierarchical relationships of an organization" big5="用於反映組織的現有結構和層級關係"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="structuralElement_arisPi" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="structuralElement_arisPi" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="threshold" title="阀值" type="string" value="" desc="阀值" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="performanceIndicator_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Threshold" title-big5="閥值" desc-en="Threshold" desc-big5="閾值"/>
|
||||
<attribute key="measure_algorithm" title="测度算法" type="string" value="" desc="测度算法" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="performanceIndicator_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Measurement Algorithm" title-big5="測度算法" desc-en="Measurement Algorithm" desc-big5="測度算法"/>
|
||||
<attribute key="acquisition_frequency" title="采集频次" type="string" value="" desc="采集频次" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="performanceIndicator_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Collection Frequency" title-big5="採集頻次" desc-en="Data Collection Frequency" desc-big5="采集频次"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="performanceIndicator_aris" toShapeId="performanceIndicator_aris" outcomingName="影响" incomingName="被...影响" />
|
||||
</linker>
|
||||
@ -0,0 +1,122 @@
|
||||
Schema.addCategory({name:"aris_performanceIndicator", text:"绩效指标图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***结构元素*/Schema.addShape({name:"structuralElement_arisPi",title:"结构元素",text:"结构元素",category:"aris_performanceIndicator",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"216, 239, 196",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"6",y:"8"},
|
||||
{action:"line",x:"24",y:"8"},
|
||||
{action:"line",x:"24",y:"22"},
|
||||
{action:"line",x:"6",y:"22"},
|
||||
{action:"line",x:"6",y:"8"},
|
||||
{action:"move",x:"6",y:"15"},
|
||||
{action:"line",x:"24",y:"15"},
|
||||
{action:"move",x:"15",y:"8"},
|
||||
{action:"line",x:"15",y:"22"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
/***绩效指标*/Schema.addShape({name:"performanceIndicator_aris",title:"绩效指标",text:"绩效指标",category:"aris_performanceIndicator",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor:"83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"216,239,196",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"8.5",y:"21"},
|
||||
{action:"curve",x1:"6.9",y1:"15",x2:"12.5",y2:"8.7",x:"18.5",y:"12"},
|
||||
{action:"move",x:"21.5",y:"21"},
|
||||
{action:"quadraticCurve",x1:"22.3",y1:"17.8",x:"21.3",y:"15"},
|
||||
|
||||
{action:"move",x:"16.5",y:"16.5"},
|
||||
{action:"line",x:"20.5",y:"12.8"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[{action:"curveArc",centerX:"15",centerY:"18",radius:"2.2",startAngle:"0",endAngle:"2 * Math.PI"}]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.performanceIndicator</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.performanceIndicator</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>绩效指标图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe8c2;</code>
|
||||
<color>#FF9421</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.performanceIndicator/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<performanceIndicator_aris cn="用于描述目标的实现程度" en="Used to describe the level of achievement of objectives" big5="用於描述目標的實現程度"/>
|
||||
<structuralElement_arisPi cn="当需要进行某种分类表达,无特定要素分类符号时使用" en="Used when a certain type of classification expression is needed, without specific element classification symbols" big5="當需要進行某種分類表達,無特定要素分類符號時使用"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="startEvent_arisAct,endEvent_arisAct,userTask_arisAct,serviceTask_arisAct,cycleTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="shape_type" title="服务类型" type="select" value="" desc="服务类型" isRequired="false" ref="Web 服务,RestAPI,功能程序" readonly="false" groupPath="baseAttribute" scope="serviceTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Service Type" title-big5="服務類型" desc-en="Service Type" desc-big5="服務類型"/>
|
||||
<attribute key="run_type" title="执行方式" type="select" value="" desc="执行方式" isRequired="false" ref="手工,人机交互" readonly="false" groupPath="baseAttribute" scope="cycleTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Execution Method" title-big5="執行方式" desc-en="Execution Mode" desc-big5="執行方式"/>
|
||||
<attribute key="cycle_desc" title="循环说明" type="textarea" value="" desc="循环说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="cycleTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Loop Description" title-big5="循環說明" desc-en="Loop Explanation" desc-big5="循環說明"/>
|
||||
<attribute key="interface_data" title="接口数据" type="string" value="" desc="接口数据" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Interface Data" title-big5="接口數據" desc-en="Interface Data" desc-big5="接口數據"/>
|
||||
<attribute key="trigger_mode" title="触发方式" type="string" value="" desc="触发方式" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Trigger Mode" title-big5="觸發方式" desc-en="Trigger Mode" desc-big5="觸發方式"/>
|
||||
<attribute key="integration_mode" title="集成方式" type="select" value="" desc="集成方式" isRequired="false" ref="Webservice,数据库接口,XML 文件导入,其它" readonly="false" groupPath="baseAttribute" scope="subProcessTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Integration Method" title-big5="集成方式" desc-en="Integration Method" desc-big5="集成方式"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
<!--开始事件 begin-->
|
||||
<concept conceptCode="001" fromShapeId="startEvent_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="002" fromShapeId="startEvent_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--开始事件 end-->
|
||||
<!--人工任务 begin-->
|
||||
<concept conceptCode="003" fromShapeId="userTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="004" fromShapeId="userTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="005" fromShapeId="userTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--人工任务 end-->
|
||||
<!--手工任务 begin-->
|
||||
<concept conceptCode="006" fromShapeId="manualTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="007" fromShapeId="manualTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="008" fromShapeId="manualTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--手工任务 end-->
|
||||
<!--服务任务 begin-->
|
||||
<concept conceptCode="009" fromShapeId="serviceTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="010" fromShapeId="serviceTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="011" fromShapeId="serviceTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--服务任务 end-->
|
||||
<!--循环任务 begin-->
|
||||
<concept conceptCode="012" fromShapeId="cycleTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="013" fromShapeId="cycleTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="014" fromShapeId="cycleTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--循环任务 end-->
|
||||
<!--排他网关 begin-->
|
||||
<concept conceptCode="015" fromShapeId="exclusiveGateway_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--排他网关 end-->
|
||||
<!--并行网关 begin-->
|
||||
<concept conceptCode="016" fromShapeId="parallelGateway_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--并行网关 end-->
|
||||
<!--输入数据对象 begin-->
|
||||
<concept conceptCode="017" fromShapeId="inputDataObject_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct" outcomingName="是...的输入" incomingName="输入是..." />
|
||||
<!--输入数据对象 end-->
|
||||
</linker>
|
||||
@ -0,0 +1,117 @@
|
||||
Schema.addCategory({name:"aris_processActivity", text:"流程活动图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***开始*/Schema.addShape({name:"startEvent_arisAct", title:"开始", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "129,180,47", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***结束*/Schema.addShape({name:"endEvent_arisAct", title:"结束", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "253,103,103", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***排他网关*/Schema.addShape({name:"exclusiveGateway_arisAct",title:"排他网关", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.15"},{action:"move", x:"w/2+w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2-w*0.15", y:"h/2+h*0.15"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***并行网关*/Schema.addShape({name:"parallelGateway_arisAct",title:"并行网关", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-w*0.3*0.5",y:"h*0.5"},{action:"line",x:"w*0.5+w*0.3*0.5",y:"h*0.5"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5",y:"h*0.5-h*0.3*0.5"},{action:"line",x:"w*0.5",y:"h*0.5+h*0.3*0.5"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***用户任务*/Schema.addShape({name:"userTask_arisAct", title:"用户任务", text:"用户任务", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"9",y:"7"},{action:"curve",x1:"10",y1:"2",x2:"15",y2:"2",x:"16",y:"7"},{action:"curve",x1:"15",y1:"12",x2:"10",y2:"12",x:"9",y:"7"}]},
|
||||
{actions:[{action:"move",x:"6",y:"18"},{action:"curve",x1:"8",y1:"9",x2:"17",y2:"9",x:"19",y:"18"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***手工任务*/Schema.addShape({name:"manualTask_arisAct", title:"手工任务", text:"手工任务", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"5",y:"12"},{action:"curve",x1:"6",y1:"6",x2:"13",y2:"6",x:"14",y:"12"},{action:"curve",x1:"13",y1:"18",x2:"6",y2:"18",x:"5",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"5.5"},{action:"line",x:"6",y:"10"},{action:"move",x:"10.5",y:"15.5"},{action:"line",x:"17",y:"15.5"}]},
|
||||
{actions:[{action:"move",x:"9",y:"13"},{action:"line",x:"18.5",y:"13"},{action:"move",x:"9",y:"10.5"},{action:"line",x:"20",y:"10.5"},{action:"move",x:"9",y:"8.5"},{action:"line",x:"19",y:"8.5"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***服务任务*/Schema.addShape({name:"serviceTask_arisAct", title:"服务任务", text:"服务任务", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"8",y:"12"},{action:"curve",x1:"9",y1:"4",x2:"19",y2:"4",x:"20",y:"12"},{action:"curve",x1:"19",y1:"20",x2:"9",y2:"20",x:"8",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"12",y:"12"},{action:"curve",x1:"13",y1:"10",x2:"15",y2:"10",x:"16",y:"12"},{action:"curve",x1:"15",y1:"14",x2:"13",y2:"14",x:"12",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"8"},{action:"line",x:"10.5",y:"5"},{action:"move",x:"15",y:"8"},{action:"line",x:"17.5",y:"5"}]},
|
||||
{actions:[{action:"move",x:"13",y:"16"},{action:"line",x:"10.5",y:"19"},{action:"move",x:"15",y:"16"},{action:"line",x:"17.5",y:"19"}]},
|
||||
{actions:[{action:"move",x:"8.5",y:"9.5"},{action:"line",x:"7",y:"8"},{action:"move",x:"8.5",y:"14.5"},{action:"line",x:"7",y:"16"}]},
|
||||
{actions:[{action:"move",x:"19.5",y:"9.5"},{action:"line",x:"20",y:"8"},{action:"move",x:"19.5",y:"14.5"},{action:"line",x:"20",y:"16"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***循环任务*/Schema.addShape({name:"cycleTask_arisAct",title:"循环任务",text:"循环任务",category:"aris_processActivity",props:{w:100,h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"w*0.5-3",y:"h-4"},{action:"curve",x1:"w*0.5-10.5",y1:"h-16.5",x2:"w*0.5+10.5",y2:"h-16.5",x:"w*0.5+3",y:"h-4"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-8",y:"h-6"},{action:"line",x:"w*0.5-3",y:"h-4"},{action:"line",x:"w*0.5-1",y:"h-8"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***子流程*/Schema.addShape({name:"subProcessTask_arisAct", title:"子流程", text:"子流程", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "179,179,179", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"5.5",y:"6"},{action:"line",x:"19.5",y:"6"},{action:"line",x:"19.5",y:"16"},{action:"line",x:"5.5",y:"16"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"12",y:"8"},{action:"line",x:"12",y:"14"},{action:"move",x:"7.5",y:"11"},{action:"line",x:"16.5",y:"11"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***输入数据对象*/Schema.addShape({name:"inputDataObject_arisAct",title:"输入数据对象",text:"输入数据对象",category:"aris_processActivity",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***输出数据对象*/Schema.addShape({name:"outputDataObject_arisAct",title:"输出数据对象",text:"输出数据对象",category:"aris_processActivity",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{color:"93,93,93"},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.processActivity</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.processActivity</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>流程活动图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe6e2;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.processActivity/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<endEvent_arisAct cn="用于表明活动执行结束规则" en="Used to indicate the rules for the end of activity execution" big5="用於表明活動執行結束規則"/>
|
||||
<subProcessTask_arisAct cn="表达上下游流程、子流程" en="Expresses upstream and downstream processes, sub-processes" big5="表達上下游流程、子流程"/>
|
||||
<cycleTask_arisAct cn="重复执行相同任务" en="Repeatedly performs the same task" big5="重復執行相同任務"/>
|
||||
<serviceTask_arisAct cn="调用某种类型服务或程序处理的任务" en="A task that involves calling a certain type of service or program processing" big5="調用某種類型服務或程序處理的任務"/>
|
||||
<manualTask_arisAct cn="没有任何应用程序协助的纯手工任务" en="A purely manual task without any application assistance" big5="沒有任何應用程序協助的純手工任務"/>
|
||||
<userTask_arisAct cn="在应用程序协助下完成的人工任务" en="A manual task completed with the assistance of an application" big5="在應用程序協助下完成的人工任務"/>
|
||||
<parallelGateway_arisAct cn="用于表明活动并行执行路径分支执行条件" en="Used to indicate the conditions for parallel execution path branches of activities" big5="用於表明活動並行執行路徑分支執行條件"/>
|
||||
<startEvent_arisAct cn="用于表明活动执行开始规则" en="Used to indicate the rules for the start of activity execution" big5="用於表明活動執行開始規則"/>
|
||||
<exclusiveGateway_arisAct cn="用于表明活动单一路径分支执行条件" en="Used to indicate the conditions for the execution of a single path branch of activities" big5="用於表明活動單一路徑分支執行條件"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="流程编号" type="string" value="" desc="流程编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Number" title-big5="流程編號" desc-en="Process Number" desc-big5="流程編號"/>
|
||||
<attribute key="level" title="流程层级" type="select" value="" desc="流程层级" isRequired="false" ref="业务域,流程组,流程" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Level" title-big5="流程層級" desc-en="Process Hierarchy" desc-big5="流程层级"/>
|
||||
<attribute key="department" title="主责部门" type="string" value="" desc="主责部门" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Main Responsibility Dept" title-big5="主責部門" desc-en="Main Responsible Department" desc-big5="主责部门"/>
|
||||
<attribute key="process_owner" title="流程所有者" type="string" value="" desc="流程所有者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Owner" title-big5="流程所有者" desc-en="Process Owner" desc-big5="流程所有者"/>
|
||||
<attribute key="goal" title="流程目标" type="textarea" value="" desc="流程目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Objective" title-big5="流程目標" desc-en="Process Objective" desc-big5="流程目標"/>
|
||||
<attribute key="desc" title="流程描述" type="textarea" value="" desc="流程描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Description" title-big5="流程描述" desc-en="Process Description" desc-big5="流程描述"/>
|
||||
<attribute key="quality_requirement" title="质量要求" type="textarea" value="" desc="质量要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Quality Requirements" title-big5="質量要求" desc-en="Quality Requirement" desc-big5="质量要求"/>
|
||||
<attribute key="occurrence_frequency" title="发生频率" type="string" value="" desc="发生频率" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Frequency of Occurrence" title-big5="發生頻率" desc-en="Occurrence Frequency" desc-big5="發生頻率"/>
|
||||
<attribute key="lead_process" title="上游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"airs/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Upstream Process" title-big5="上游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="rear_process" title="下游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"aris/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Downstream Process" title-big5="下游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="start_condition" title="流程开始条件" type="textarea" value="" desc="流程开始条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Start Condition" title-big5="流程開始條件" desc-en="Process Start Condition" desc-big5="流程開始條件"/>
|
||||
<attribute key="input" title="流程输入" type="textarea" value="" desc="流程输入" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Input" title-big5="流程輸入" desc-en="Process Input" desc-big5="流程輸入"/>
|
||||
<attribute key="end_condition" title="流程结束条件" type="textarea" value="" desc="流程结束条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Termination Conditions" title-big5="流程結束條件" desc-en="Process Termination Condition" desc-big5="流程結束條件"/>
|
||||
<attribute key="output" title="流程输出" type="textarea" value="" desc="流程输出" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Output" title-big5="流程輸出" desc-en="Process Output" desc-big5="流程輸出"/>
|
||||
<attribute key="participant" title="流程参与者" type="string" value="" desc="流程参与者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Participants" title-big5="流程參與者" desc-en="Process Participants" desc-big5="流程參與者"/>
|
||||
<attribute key="reviewer" title="流程检查者" type="string" value="" desc="流程检查者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Checker" title-big5="流程檢查者" desc-en="Process Checker" desc-big5="流程檢查者"/>
|
||||
<attribute key="customer" title="流程客户" type="string" value="" desc="流程客户" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Customer" title-big5="流程客戶" desc-en="Process Client" desc-big5="流程客户"/>
|
||||
<attribute key="handbook_url" title="流程手册链接" type="link" value="" desc="流程手册链接" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Manual Link" title-big5="流程手冊鏈接" desc-en="Process Manual Link" desc-big5="流程手册链接"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="valueAddedChain_arisLog" toShapeId="valueAddedChain_arisLog" outcomingName="是...的前驱" incomingName="是...的后继" />
|
||||
</linker>
|
||||
@ -0,0 +1,48 @@
|
||||
Schema.addCategory({name:"aris_processRelationship", text:"端到端流程图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***增值链*/Schema.addShape({name:"valueAddedChain_arisLog",title:"增值链",text:"增值链",category:"aris_processRelationship",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 7,y: 10},
|
||||
{action: "line",x: 14,y: 10},
|
||||
{action: "line",x: 16,y: 15},
|
||||
{action: "line",x: 14,y: 20},
|
||||
{action: "line",x: 7,y: 20},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 10},
|
||||
{action: "line",x: 23,y: 10},
|
||||
{action: "line",x: 25,y: 15},
|
||||
{action: "line",x: 23,y: 20},
|
||||
{action: "line",x: 16,y: 20},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "close"},
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.processRelationship</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.processRelationship</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>端到端流程图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe75b;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>process</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.processRelationship/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<valueAddedChain_arisLog cn="公司顶层管理体系框架" en="Top-level management system framework of the company" big5="公司頂層管理體系框架"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="shape_type" title="风险类型" type="select" value="" desc="风险类型" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Risk Type" title-big5="風險類型" desc-en="Risk Type" desc-big5="風險類型"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="责任部门" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/人" type="string" value="" desc="主责岗位/人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="possibility" title="可能性" type="select" value="" desc="可能性" isRequired="false" ref="低,中,高" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Probability" title-big5="可能性" desc-en="Probability" desc-big5="可能性"/>
|
||||
<attribute key="Impact_degree" title="影响程度" type="select" value="" desc="影响程度" isRequired="false" ref="低,中,高" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Impact Level" title-big5="影響程度" desc-en="Degree of Impact" desc-big5="影響程度"/>
|
||||
<attribute key="business_domain" title="承接业务域" type="string" value="" desc="承接业务域" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Undertaking Business Domain" title-big5="承接業務域" desc-en="Undertaking Business Domain" desc-big5="承接業務域"/>
|
||||
<attribute key="valid_date" title="生效日期" type="DateTimePicker" value="" desc="生效日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Effective Date" title-big5="生效日期" desc-en="Effective Date" desc-big5="生效日期"/>
|
||||
<attribute key="publish_date" title="发布日期" type="DateTimePicker" value="" desc="发布日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="risk_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publish Date" title-big5="發布日期" desc-en="Release Date" desc-big5="發布日期"/>
|
||||
</attributes>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user