Compare commits
523 Commits
Author | SHA1 | Date |
---|---|---|
wangpeng | 3851711c06 | |
xiepeng | f2e506b300 | |
xiepeng | bad300b152 | |
wangpeng | 126c2f048e | |
xiepeng | c8e57d376e | |
xiepeng | 45c87b896e | |
xiepeng | 261bcdf3d5 | |
xiepeng | 56b3e8f052 | |
WL | f06cc86d7f | |
WL | a841c66aa0 | |
WL | d927b68044 | |
wangpeng | 5eaa8dc509 | |
wangpeng | dc7bd92ac7 | |
xiepeng | 454dfcf300 | |
WL | 27b5c216c9 | |
WL | 174e504780 | |
WL | 0e82b667fd | |
WL | 78d6c9f6b2 | |
WL | d1dd0c0ab9 | |
xiepeng | 37cf516678 | |
WL | 636f192253 | |
wangpeng | 67ddfa2cfd | |
wangpeng | b622567973 | |
xiepeng | 3420e2b965 | |
xiepeng | db462d943f | |
xiepeng | 7681bd4a5a | |
xiepeng | d0a75a5ea1 | |
LiuJiaNan | 85ae613eb8 | |
xiepeng | def2819255 | |
xiepeng | 7c7f5fda26 | |
wangpeng | 328200bfa6 | |
xiepeng | 6c6086a63d | |
xiepeng | ad35c2cf4c | |
xiepeng | 49038e5d1e | |
xiepeng | 8e764eecbb | |
zhangyanli | 1aba082ea7 | |
xiepeng | 7e2fdc7acc | |
wangpeng | bf3311254e | |
xiepeng | 057d019e4e | |
xiepeng | fd40d59ede | |
wangpeng | 274b58f12f | |
zhangyanli | 861cef7aa5 | |
zhangyanli | b4fa582fdc | |
xiepeng | 7874734e31 | |
277151821@qq.com | 46487fb9c1 | |
zhangyanli | 98ea81ede4 | |
xiepeng | aacd9b0881 | |
xiepeng | 7c9aa8603d | |
xiepeng | b23d40a502 | |
xiepeng | 0ed592689f | |
wangpeng | 3fbef6ce57 | |
xiepeng | 6f0b136a2f | |
xiepeng | b1f3b11945 | |
xiepeng | 9f7a11dd3b | |
xiepeng | df25c3b3f8 | |
277151821@qq.com | db6c4bfaea | |
xiepeng | 77c6a36092 | |
xiepeng | 51756106a2 | |
LiuJiaNan | c9e9f71e54 | |
xiepeng | 9a445bc29b | |
xiepeng | d291a9b98e | |
wangpeng | 202edf8c8e | |
xiepeng | 629e17a48f | |
xiepeng | 143c0e5c96 | |
xiepeng | 4fd3727c49 | |
xiepeng | 6e324752fe | |
xiepeng | a0780144ca | |
wangpeng | 2be771dd52 | |
鲁洪霞 | afcf3545dd | |
xiepeng | 18a5889e1f | |
xiepeng | ddf52fc4ca | |
鲁洪霞 | 266c069378 | |
wangpeng | be4df46323 | |
xiepeng | 16ae293b11 | |
xiepeng | 8b8eab7b72 | |
xiepeng | 258e02c2b6 | |
xiepeng | 7b37c0fcf1 | |
xiepeng | f4518ef360 | |
xiepeng | 57487151d6 | |
wangpeng | 9eab7f33e8 | |
wangpeng | ea258a8e3b | |
LiuJiaNan | 9b8ad27e57 | |
LiuJiaNan | f2e8d02867 | |
LiuJiaNan | f77aa17083 | |
wangpeng | 426ed0b6a2 | |
xiepeng | a9ae574aff | |
wangpeng | d51784a22d | |
wangpeng | 8267ffda49 | |
LiuJiaNan | d03a7f2a76 | |
wangpeng | a7b28c8e3d | |
wangpeng | 30be7bc705 | |
wangpeng | 14a8be1d8d | |
wangpeng | edb4fc5c1a | |
xiepeng | ae3cba5fb8 | |
wangpeng | 30c65501a6 | |
wangpeng | db057467b2 | |
xiepeng | 680b3cc994 | |
wangpeng | ba03a2fa12 | |
wangpeng | 02d7364a6e | |
鲁洪霞 | ad790b4ce9 | |
wangpeng | ce38a19607 | |
xiepeng | df72d06332 | |
wangpeng | cabb170582 | |
xiepeng | edc013140f | |
LiuJiaNan | 3171a705a0 | |
xiepeng | c57edc5b22 | |
LiuJiaNan | d669e371a0 | |
xiepeng | 43b9287721 | |
xiepeng | a090f54ecf | |
wangpeng | 57dfe8f8c5 | |
xiepeng | 83faf65bb4 | |
鲁洪霞 | 456855000a | |
xiepeng | 1306882ed0 | |
xiepeng | 3de96ec2c2 | |
wangpeng | 8619753b0a | |
wangpeng | f2d72723ef | |
zhangyanli | d7dd618c8a | |
WenShiJun | 287ca601e4 | |
WenShiJun | e7e07310bc | |
WenShiJun | 6e8d9f4154 | |
zhangyanli | b2813297c6 | |
xiepeng | f96eb0701c | |
xiepeng | 328b76dcde | |
WenShiJun | c60f698ef5 | |
WenShiJun | adf753755b | |
xiepeng | 3e709eb383 | |
xiepeng | d77a118fc8 | |
WenShiJun | 88b97b8037 | |
WenShiJun | c57033a56f | |
WenShiJun | 0369b0a784 | |
xiepeng | 0fc9cd9a76 | |
xiepeng | 5f167d98da | |
xiepeng | 3b29fb05fc | |
WenShiJun | 5cfc44479c | |
WenShiJun | 301b97d4f4 | |
zhangyanli | 3cb8221676 | |
xiepeng | 40a5fd2496 | |
xiepeng | 25680c9e26 | |
xiepeng | cfec695c81 | |
WenShiJun | cf7e5686e4 | |
WenShiJun | 558799d0c9 | |
wangpeng | ab68b10197 | |
WenShiJun | 6c1000d5f9 | |
WenShiJun | 4c69d2f8a7 | |
WenShiJun | 8cfa203273 | |
xiepeng | 0e10930e28 | |
wangpeng | 097433eaf4 | |
zhangyanli | 5e1b790772 | |
wangpeng | b098bf7dcd | |
鲁洪霞 | 9684793f2d | |
LiuJiaNan | 6df0f3f247 | |
xiepeng | 8a90839b14 | |
xiepeng | 70f430b6b6 | |
chenxinying | 2d1eb54c60 | |
chenxinying | d7cccbed87 | |
WenShiJun | 037e723d71 | |
WenShiJun | cd5110f5c5 | |
鲁洪霞 | 7ed209f82a | |
chenxinying | 55677507ac | |
鲁洪霞 | 7b110927c4 | |
wangpeng | 3213c25bc1 | |
WenShiJun | 6c66a00624 | |
WenShiJun | deaa659d2b | |
zhangyanli | 4663e598b2 | |
LiuJiaNan | f6e8a66857 | |
LiuJiaNan | 82f7c1709b | |
LiuJiaNan | ea9800791a | |
chenxinying | e803f8bf41 | |
WenShiJun | 02a0c7fcae | |
WenShiJun | f4606dfdde | |
LiuJiaNan | 80f0ffbbe1 | |
zhangyanli | 1ffbba0de9 | |
LiuJiaNan | 8156e84bff | |
LiuJiaNan | 3bb1832d68 | |
LiuJiaNan | 39ccafdc17 | |
LiuJiaNan | 6699355494 | |
xiepeng | abafba83fb | |
xiepeng | 6419d6c50c | |
LiuJiaNan | 54916b2756 | |
LiuJiaNan | fa41f42465 | |
LiuJiaNan | f0c4ec11bb | |
LiuJiaNan | ab93425d83 | |
WenShiJun | 375021971d | |
WenShiJun | 9472c26770 | |
277151821@qq.com | 5d9aba7426 | |
277151821@qq.com | a411f039ab | |
277151821@qq.com | 290a7a0d4c | |
277151821@qq.com | 98f433b37e | |
277151821@qq.com | 93e40741ad | |
zhangyanli | da60a2c7c8 | |
LiuJiaNan | a6a2fbc88b | |
LiuJiaNan | 2efc75601a | |
LiuJiaNan | 4a5dcf8b1f | |
LiuJiaNan | 1ad0b76160 | |
xiepeng | c28033032f | |
xiepeng | 5e3468343a | |
WenShiJun | 3ec021ff30 | |
WenShiJun | 68a22f3702 | |
LiuJiaNan | 566eee266e | |
zhangyanli | f570e9dcc6 | |
WenShiJun | 3db91701d0 | |
WenShiJun | a1c8e248d6 | |
WenShiJun | 4f57a393b1 | |
xiepeng | f9bf755912 | |
xiepeng | 2c7b50cc36 | |
277151821@qq.com | c0944ad180 | |
WenShiJun | 908f306f80 | |
xiepeng | 09e9820603 | |
LiuJiaNan | 33626cab78 | |
LiuJiaNan | 01cbe545c4 | |
LiuJiaNan | 0b7f1f65df | |
277151821@qq.com | 327a999598 | |
277151821@qq.com | 3a54b4ffdf | |
WenShiJun | a3b0cded3f | |
277151821@qq.com | 3accb1e683 | |
xiepeng | 4b724f5560 | |
WenShiJun | 043e071b64 | |
277151821@qq.com | 0bd143e47d | |
WenShiJun | fa170fe4d0 | |
WenShiJun | 42e79f21be | |
wangpeng | bd44a63496 | |
wangpeng | e7f2af2492 | |
wangpeng | 3a29de3267 | |
xiepeng | cb7561603b | |
xiepeng | a9ee3e6942 | |
鲁洪霞 | 94feeeb9bf | |
LiuJiaNan | 89c446c291 | |
WenShiJun | 37f176bd1a | |
LiuJiaNan | df1dcef265 | |
LiuJiaNan | b7727b0f5e | |
fangjiakai | 3ad5910d14 | |
LiuJiaNan | b6ba08a005 | |
fangjiakai | 5fef270f7e | |
LiuJiaNan | ece4403288 | |
dearlin | cf1c3bbc13 | |
dearlin | 7145e51ebb | |
WenShiJun | c2c9d83777 | |
xiepeng | 845c162aad | |
WenShiJun | 4376e3a942 | |
LiuJiaNan | 481750be3f | |
fangjiakai | 75c44cf1ef | |
fangjiakai | 0821bb98bd | |
fangjiakai | 5cd0408124 | |
dearlin | 7da60f0fbb | |
LiuJiaNan | 3aef4d21fe | |
LiuJiaNan | 09618493c1 | |
LiuJiaNan | cfd0f1ae63 | |
xiepeng | 62597aa135 | |
xiepeng | b3dd58b4ce | |
LiuJiaNan | 0167dfcd75 | |
dearlin | 0f14838296 | |
WenShiJun | 2a719a791e | |
LiuJiaNan | 30233b73bd | |
LiuJiaNan | 077432b715 | |
LiuJiaNan | 13b86add48 | |
chenxinying | 3915c76463 | |
chenxinying | 305800c71a | |
WenShiJun | a11e809c8c | |
dearlin | a350dc1b26 | |
wangpeng | 69cfc999a2 | |
dearlin | 32a110bdf3 | |
zhangqihang | a63696c5e7 | |
dearlin | 55d7356a8b | |
fangjiakai | dfd1a6dd1a | |
fangjiakai | c33eaadd63 | |
fangjiakai | 858e2ff33d | |
fangjiakai | 3e43c731bb | |
fangjiakai | ab5d7f4378 | |
LiuJiaNan | a863a386e0 | |
LiuJiaNan | f0590c087c | |
fangjiakai | 46f099a696 | |
dearlin | aa529766d9 | |
dearlin | 0ddaedd8bb | |
LiuJiaNan | fb94683b9b | |
LiuJiaNan | 5024a89dbe | |
LiuJiaNan | a4ce310e83 | |
zhangqihang | 3c7c37d7f2 | |
fangjiakai | abd9830dfd | |
fangjiakai | e92fd99252 | |
dearlin | 4bce1b3a71 | |
LiuJiaNan | ac61aad982 | |
LiuJiaNan | d7200aba12 | |
LiuJiaNan | 92c577a110 | |
LiuJiaNan | 8d91edbab0 | |
鲁洪霞 | 14c5bcc617 | |
LiuJiaNan | 9f58dbdd9c | |
LiuJiaNan | 939817eff8 | |
wangpeng | 52dd3e36e7 | |
wangpeng | 348f673286 | |
LiuJiaNan | d50245b985 | |
fangjiakai | 5122d11abb | |
fangjiakai | 848b623cf3 | |
dearlin | 5ee12913dd | |
LiuJiaNan | 60eae2d306 | |
LiuJiaNan | 57c0b9a589 | |
zhangqihang | 539c10309a | |
LiuJiaNan | 3bed69c2c3 | |
WenShiJun | 83cc22ebf8 | |
LiuJiaNan | 5751d75241 | |
dearlin | cb1f9bae82 | |
dearlin | 53175a7546 | |
LiuJiaNan | fbc858cdef | |
dearlin | 15e017eda5 | |
LiuJiaNan | 28e6e12999 | |
LiuJiaNan | da2dfa5f67 | |
fangjiakai | 1fa8b0a609 | |
fangjiakai | d9308c7fad | |
zhangqihang | 503061f7aa | |
dearlin | 691796b63b | |
dearlin | 6bdbeaf4b4 | |
LiuJiaNan | 2f7623585f | |
zhangyanli | 47dd8dffb6 | |
fangjiakai | 97b43e070f | |
WenShiJun | f025e90a0a | |
zhangqihang | 626c1a4bb9 | |
LiuJiaNan | ff65a74e6d | |
LiuJiaNan | dd513a4120 | |
LiuJiaNan | e988d6014d | |
zhangyanli | df7071258f | |
LiuJiaNan | af9cdad62e | |
LiuJiaNan | c5f137a2f1 | |
zhangqihang | 8e436724ae | |
LiuJiaNan | 2e172df365 | |
dearlin | d977e8e4cb | |
LiuJiaNan | 10eb0933dd | |
LiuJiaNan | 8f8efc7a42 | |
wangpeng | d3be2a8f2a | |
zhangyanli | 31f1afa126 | |
LiuJiaNan | 5311ae417d | |
LiuJiaNan | 55ccefb142 | |
dearlin | 4a5bd7df58 | |
zhangqihang | 1125d63044 | |
zhangyanli | 58bd9444ca | |
LiuJiaNan | b82fce61b9 | |
LiuJiaNan | 8bf89a3736 | |
LiuJiaNan | f7a81d10f3 | |
LiuJiaNan | 96b7ae4aaf | |
zhangyanli | 2530d035c5 | |
wangpeng | 91457d22d4 | |
chenxinying | 7e8ac114fe | |
fangjiakai | f645b8fbe8 | |
dearlin | 287201927d | |
dearlin | 0b5ab067fd | |
LiuJiaNan | e0450b2e11 | |
LiuJiaNan | 83dd3a57a9 | |
dearlin | 4976baad59 | |
dearlin | 480013c3d2 | |
wangpeng | 2bb72fc628 | |
wangpeng | f5fda138c3 | |
LiuJiaNan | 93790e999a | |
zhangyanli | b6bc893c88 | |
fangjiakai | 35efe19638 | |
fangjiakai | a443986e7d | |
LiuJiaNan | 42002585a4 | |
LiuJiaNan | 6b17aa7db0 | |
fangjiakai | 4315877414 | |
zhangqihang | 935f7d6c9e | |
zhangyanli | 847b82afbf | |
zhangyanli | a42da670f0 | |
dearlin | 450426dff8 | |
dearlin | de4b84b501 | |
fangjiakai | b2e0e1fd9f | |
fangjiakai | 976d62cfaf | |
dearlin | 4a84899838 | |
zhangqihang | 273c90be57 | |
dearlin | dd91ce3a28 | |
dearlin | 1744e25b89 | |
chenxinying | bd6d6d2947 | |
chenxinying | 6df7f671c4 | |
zhangyanli | 9a6b2ea3a0 | |
zhangyanli | 6dcd12b952 | |
zhangyanli | 91f0d30d74 | |
LiuJiaNan | f3fe3cf185 | |
dearlin | dfc19df839 | |
dearlin | 357924a7c0 | |
zhangyanli | 855daed2ab | |
zhangqihang | 065523c0aa | |
LiuJiaNan | aefcd3d4e3 | |
dearlin | 34dd98ed80 | |
LiuJiaNan | 3fbaa951bd | |
LiuJiaNan | 0bed8dcef9 | |
fangjiakai | aade1f3c01 | |
fangjiakai | 4a56fab4d8 | |
zhangyanli | 4e3d69b9e4 | |
dearlin | 375b8ed5cb | |
dearlin | 0f59aa83d4 | |
zhangyanli | c2047f0e97 | |
zhangyanli | 863092ccb7 | |
chenxinying | 47da726664 | |
chenxinying | 284407c8f9 | |
dearlin | 07f2a683b5 | |
LiuJiaNan | 2da5e720d3 | |
LiuJiaNan | c91e38adb9 | |
zhangyanli | 35d912e707 | |
zhangyanli | 76af1d175e | |
dearlin | f5690e4056 | |
dearlin | 1b06549a31 | |
LiuJiaNan | 55a5470adc | |
dearlin | 2dfe2e9ee7 | |
chenxinying | 1ed77eabd0 | |
fangjiakai | ecf918bc38 | |
fangjiakai | 0a52cca78b | |
chenxinying | 9b4fc4fa0d | |
zhangyanli | c950b86ceb | |
zhangyanli | 592d8716ab | |
dearlin | a1eca8d05d | |
LiuJiaNan | eb43ac1e95 | |
zhangqihang | baca47e4cf | |
chenxinying | 3097645a25 | |
fangjiakai | f0a6339a7d | |
LiuJiaNan | 4ee2018f16 | |
chenxinying | fe685942cf | |
chenxinying | ff680ec1de | |
dearlin | f4b61c1003 | |
fangjiakai | f4490f70b7 | |
fangjiakai | c6eec67e71 | |
dearlin | 0a53421386 | |
dearlin | c9e14d6fcf | |
chenxinying | 8c7cb413fe | |
chenxinying | d699e3472f | |
chenxinying | f6d550ab3e | |
fangjiakai | 998b8413b7 | |
fangjiakai | 6fdd4126c5 | |
LiuJiaNan | 2324d1110d | |
zhangyanli | 5ea9fb929d | |
zhangyanli | e24a7c48aa | |
fangjiakai | 92e98ffa1b | |
fangjiakai | 7a55d48a18 | |
LiuJiaNan | 632b540938 | |
dearlin | 42a75014e0 | |
LiuJiaNan | 6884d11144 | |
LiuJiaNan | 440a1bd252 | |
LiuJiaNan | 62798bee5f | |
fangjiakai | a643da6979 | |
fangjiakai | b45a400b91 | |
fangjiakai | fdc7d02735 | |
LiuJiaNan | 9169935d67 | |
dearlin | 11d8a5f2e6 | |
dearlin | 307b9fcc4d | |
dearlin | 253e5ae799 | |
LiuJiaNan | 71eea9850c | |
dearlin | 3e489b86f3 | |
dearlin | aa5c41e8ba | |
LiuJiaNan | 47b58382ab | |
LiuJiaNan | 07eb6d8306 | |
LiuJiaNan | 7724a93c30 | |
dearlin | 04f28b4acc | |
LiuJiaNan | 41f08a759e | |
chenxinying | bd76ab2a39 | |
zhangqihang | ca7eadbb19 | |
LiuJiaNan | 3c06405a40 | |
chenxinying | 486fea5b03 | |
dearlin | 659469ec58 | |
dearlin | f7859bdb34 | |
dearlin | 53b63fabc1 | |
鲁洪霞 | b8006fa5ec | |
鲁洪霞 | 919644d1dd | |
鲁洪霞 | added38399 | |
LiuJiaNan | 70f10de762 | |
LiuJiaNan | e1f1e462a8 | |
LiuJiaNan | 0a76bcbdf0 | |
LiuJiaNan | 1812d05ec3 | |
z | 6db2c2cb03 | |
z | ec267cc310 | |
z | 9b837c85c9 | |
z | 41a4ee6edd | |
z | 7166ee57d8 | |
z | 4bd0189616 | |
z | daa59776e3 | |
z | e181a0ef35 | |
z | 7ed384d478 | |
chenxinying | 63be3b2f81 | |
z | 9bd8936773 | |
chenxinying | fcb5dd3908 | |
z | 4f53bd7e81 | |
chenxinying | ae9707dc6c | |
z | 6184e2c723 | |
z | fee5d6f786 | |
chenxinying | b3055a31fd | |
z | fef033926e | |
z | a46297da57 | |
z | 6216d08511 | |
z | 2fe776a3f6 | |
chenxinying | f9b2c57e26 | |
chenxinying | 8dd359b08f | |
z | b30aaf9f34 | |
z | f12ae4a5bc | |
chenxinying | bc637b6fce | |
duhang | 461d5e31e7 | |
z | 20a8d64ea1 | |
duhang | 5db9c3f30a | |
duhang | 405c6c296d | |
z | 82f63b7698 | |
z | f74c51cbb7 | |
duhang | 6124a37116 | |
duhang | 3ef14d2406 | |
duhang | 24387955fe | |
duhang | 43298dfa07 | |
z | 8ca5d0b105 | |
z | bab6fe50b8 | |
duhang | dccf6f8d49 | |
duhang | eb5cd17c49 | |
duhang | d200851bc9 | |
z | 0bba51d4d9 | |
z | f8b71eccbf | |
duhang | faeb08ff24 | |
duhang | 382f6fa062 | |
duhang | c9b83bc968 | |
z | 0525bed574 | |
z | 88bcda5eea | |
z | fb75396024 | |
z | 079e4c17b9 | |
z | 3ad49a0620 | |
duhang | b9f0889fed | |
duhang | f9aa36fc15 | |
duhang | b2d75a5b86 | |
z | b5861440f2 | |
z | 1fc7e96f0d | |
z | 29b4c7d2ba | |
z | bff8547433 | |
z | 474c5ee580 | |
liujianan | 0180e34d6e | |
liujianan | 38e615ca83 |
3
.env
|
@ -1,4 +1,3 @@
|
|||
VITE_BASE_URL=http://192.168.0.17:8001/
|
||||
VITE_PROXY=/api
|
||||
VITE_FILE_URL=https://file.zcloudchina.com/YTHFile
|
||||
|
||||
VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
VITE_BASE_URL=http://192.168.0.16:7082/
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.20.240:8869
|
||||
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.20.240:8899
|
|
@ -0,0 +1,16 @@
|
|||
#测试
|
||||
VITE_BASE_URL=http://192.168.20.240:8412/integrated_traffic/
|
||||
#websocket t掉线
|
||||
VITE_ON_LINE_WEB_SOCKET_URL=ws://192.168.20.240:8869
|
||||
#websocket 在线学习
|
||||
VITE_LEARNING_WEB_SOCKET_URL=ws://192.168.20.240:8899
|
||||
|
||||
##正式
|
||||
#VITE_BASE_URL=http://39.101.166.211:8073/integrated_traffic/
|
||||
##websocket t掉线
|
||||
#VITE_ON_LINE_WEB_SOCKET_URL=ws://39.101.166.211:8869
|
||||
## VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/disconnected/
|
||||
##websocket 在线学习
|
||||
#VITE_LEARNING_WEB_SOCKET_URL=ws://39.101.166.211:8899
|
||||
## VITE_LEARNING_WEB_SOCKET_URL=wss://qaaqjt.qhdsafety.com/onlinelearning/
|
||||
|
|
@ -2,3 +2,4 @@ public
|
|||
dist
|
||||
package.json
|
||||
!.prettierrc.cjs
|
||||
env.d.ts
|
||||
|
|
|
@ -5,7 +5,7 @@ module.exports = {
|
|||
node: true
|
||||
},
|
||||
extends: [
|
||||
"plugin:vue/vue3-essential",
|
||||
"plugin:vue/vue3-recommended",
|
||||
"standard",
|
||||
"@vue/prettier",
|
||||
"eslint:recommended"
|
||||
|
@ -18,9 +18,23 @@ module.exports = {
|
|||
rules: {
|
||||
"no-console": "warn",
|
||||
"vue/multi-word-component-names": "off",
|
||||
camelcase: "off",
|
||||
eqeqeq: "error",
|
||||
"vue/no-v-html": "off",
|
||||
"vue/require-default-prop": "off",
|
||||
"camelcase": "off",
|
||||
"eqeqeq": "error",
|
||||
"vue/no-template-shadow": "error",
|
||||
"vue/attribute-hyphenation": "error",
|
||||
"vue/html-end-tags": "error",
|
||||
"vue/eqeqeq": "error",
|
||||
"vue/component-name-in-template-casing": ["error", "kebab-case"],
|
||||
"vue/enforce-style-attribute": [
|
||||
"error",
|
||||
{ "allow": ["scoped", "module"] }
|
||||
],
|
||||
"vue/v-on-event-hyphenation": ["error", "always",{
|
||||
"autofix": true,
|
||||
}],
|
||||
"vue/require-explicit-emits": "error",
|
||||
"no-unused-vars": [
|
||||
"error",
|
||||
{ vars: "all", args: "after-used", ignoreRestSiblings: false }
|
||||
|
@ -30,5 +44,7 @@ module.exports = {
|
|||
globals: {
|
||||
BMapGL: "readonly",
|
||||
JSEncrypt: "readonly",
|
||||
Aliplayer: "readonly",
|
||||
AliyunUpload: "readonly",
|
||||
}
|
||||
};
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
interface ImportMetaEnv {
|
||||
// Auto generate by env-parse
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_PROXY: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_FILE_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_TEMPLATE_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_BASE_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_ON_LINE_WEB_SOCKET_URL: string
|
||||
/**
|
||||
* undefined
|
||||
*/
|
||||
readonly VITE_LEARNING_WEB_SOCKET_URL: string
|
||||
}
|
10
index.html
|
@ -2,9 +2,10 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
|
||||
<title>管理平台</title>
|
||||
<title>交通运输安全生产综合管理系统</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -15,5 +16,10 @@
|
|||
src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=OElqFYoKiAH8KFtph8ftLKF5NlNrbCUr"></script>
|
||||
<script type="text/javascript" src="/jsencrypt.min.js"></script>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
<link rel="stylesheet" href="https://g.alicdn.com/apsara-media-box/imp-web-player/2.16.3/skins/default/aliplayer-min.css" />
|
||||
<script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/apsara-media-box/imp-web-player/2.16.3/aliplayer-min.js"></script>
|
||||
<script src="/aliyun-upload-sdk-1.5.6/lib/es6-promise.min.js"></script>
|
||||
<script src="/aliyun-upload-sdk-1.5.6/lib/aliyun-oss-sdk-6.17.1.min.js"></script>
|
||||
<script src="/aliyun-upload-sdk-1.5.6/aliyun-upload-sdk-1.5.6.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,289 @@
|
|||
<template>
|
||||
<canvas ref="canvas" @mousedown="mouseDown" @mousemove="mouseMove" @mouseup="mouseUp"
|
||||
@touchstart="touchStart" @touchmove="touchMove" @touchend="touchEnd"></canvas>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
width: {
|
||||
type: Number,
|
||||
default: 800
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
default: 300
|
||||
},
|
||||
lineWidth: {
|
||||
type: Number,
|
||||
default: 4
|
||||
},
|
||||
lineColor: {
|
||||
type: String,
|
||||
default: '#000000'
|
||||
},
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
isCrop: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isClearBgColor: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
format: {
|
||||
type: String,
|
||||
default: 'image/png'
|
||||
},
|
||||
quality: {
|
||||
type: Number,
|
||||
default: 1
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
hasDrew: false,
|
||||
resultImg: '',
|
||||
points: [],
|
||||
canvasTxt: null,
|
||||
startX: 0,
|
||||
startY: 0,
|
||||
isDrawing: false,
|
||||
sratio: 1
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
ratio () {
|
||||
return this.height / this.width
|
||||
},
|
||||
stageInfo () {
|
||||
return this.$refs.canvas.getBoundingClientRect()
|
||||
},
|
||||
myBg () {
|
||||
return this.bgColor ? this.bgColor : 'rgba(255, 255, 255, 0)'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'myBg': function (newVal) {
|
||||
this.$refs.canvas.style.background = newVal
|
||||
}
|
||||
},
|
||||
beforeMount () {
|
||||
window.addEventListener('resize', this.$_resizeHandler)
|
||||
},
|
||||
beforeDestroy () {
|
||||
window.removeEventListener('resize', this.$_resizeHandler)
|
||||
},
|
||||
mounted () {
|
||||
const canvas = this.$refs.canvas
|
||||
canvas.height = this.height
|
||||
canvas.width = this.width
|
||||
canvas.style.background = this.myBg
|
||||
this.$_resizeHandler()
|
||||
// 在画板以外松开鼠标后冻结画笔
|
||||
document.onmouseup = () => {
|
||||
this.isDrawing = false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
$_resizeHandler () {
|
||||
const canvas = this.$refs.canvas
|
||||
canvas.style.width = this.width + "px"
|
||||
const realw = parseFloat(window.getComputedStyle(canvas).width)
|
||||
canvas.style.height = this.ratio * realw + "px";
|
||||
this.canvasTxt = canvas.getContext('2d')
|
||||
this.canvasTxt.scale(1 * this.sratio, 1 * this.sratio)
|
||||
this.sratio = realw / this.width
|
||||
this.canvasTxt.scale(1 / this.sratio, 1 / this.sratio)
|
||||
},
|
||||
// pc
|
||||
mouseDown (e) {
|
||||
e = e || event
|
||||
e.preventDefault()
|
||||
this.isDrawing = true
|
||||
this.hasDrew = true
|
||||
let obj = {
|
||||
x: e.offsetX,
|
||||
y: e.offsetY
|
||||
}
|
||||
this.drawStart(obj)
|
||||
},
|
||||
mouseMove (e) {
|
||||
e = e || event
|
||||
e.preventDefault()
|
||||
if (this.isDrawing) {
|
||||
let obj = {
|
||||
x: e.offsetX,
|
||||
y: e.offsetY
|
||||
}
|
||||
this.drawMove(obj)
|
||||
}
|
||||
},
|
||||
mouseUp (e) {
|
||||
e = e || event
|
||||
e.preventDefault()
|
||||
let obj = {
|
||||
x: e.offsetX,
|
||||
y: e.offsetY
|
||||
}
|
||||
this.drawEnd(obj)
|
||||
this.isDrawing = false
|
||||
},
|
||||
// mobile
|
||||
touchStart (e) {
|
||||
e = e || event
|
||||
e.preventDefault()
|
||||
this.hasDrew = true
|
||||
if (e.touches.length === 1) {
|
||||
let obj = {
|
||||
x: e.targetTouches[0].clientX - this.$refs.canvas.getBoundingClientRect().left,
|
||||
y: e.targetTouches[0].clientY - this.$refs.canvas.getBoundingClientRect().top
|
||||
}
|
||||
this.drawStart(obj)
|
||||
}
|
||||
},
|
||||
touchMove (e) {
|
||||
e = e || event
|
||||
e.preventDefault()
|
||||
if (e.touches.length === 1) {
|
||||
let obj = {
|
||||
x: e.targetTouches[0].clientX - this.$refs.canvas.getBoundingClientRect().left,
|
||||
y: e.targetTouches[0].clientY - this.$refs.canvas.getBoundingClientRect().top
|
||||
}
|
||||
this.drawMove(obj)
|
||||
}
|
||||
},
|
||||
touchEnd (e) {
|
||||
e = e || event
|
||||
e.preventDefault()
|
||||
if (e.touches.length === 1) {
|
||||
let obj = {
|
||||
x: e.targetTouches[0].clientX - this.$refs.canvas.getBoundingClientRect().left,
|
||||
y: e.targetTouches[0].clientY - this.$refs.canvas.getBoundingClientRect().top
|
||||
}
|
||||
this.drawEnd(obj)
|
||||
}
|
||||
},
|
||||
// 绘制
|
||||
drawStart (obj) {
|
||||
this.startX = obj.x
|
||||
this.startY = obj.y
|
||||
this.canvasTxt.beginPath()
|
||||
this.canvasTxt.moveTo(this.startX, this.startY)
|
||||
this.canvasTxt.lineTo(obj.x, obj.y)
|
||||
this.canvasTxt.lineCap = 'round'
|
||||
this.canvasTxt.lineJoin = 'round'
|
||||
this.canvasTxt.lineWidth = this.lineWidth * this.sratio
|
||||
this.canvasTxt.stroke()
|
||||
this.canvasTxt.closePath()
|
||||
this.points.push(obj)
|
||||
},
|
||||
drawMove (obj) {
|
||||
this.canvasTxt.beginPath()
|
||||
this.canvasTxt.moveTo(this.startX, this.startY)
|
||||
this.canvasTxt.lineTo(obj.x, obj.y)
|
||||
this.canvasTxt.strokeStyle = this.lineColor
|
||||
this.canvasTxt.lineWidth = this.lineWidth * this.sratio
|
||||
this.canvasTxt.lineCap = 'round'
|
||||
this.canvasTxt.lineJoin = 'round'
|
||||
this.canvasTxt.stroke()
|
||||
this.canvasTxt.closePath()
|
||||
this.startY = obj.y
|
||||
this.startX = obj.x
|
||||
this.points.push(obj)
|
||||
},
|
||||
drawEnd (obj) {
|
||||
this.canvasTxt.beginPath()
|
||||
this.canvasTxt.moveTo(this.startX, this.startY)
|
||||
this.canvasTxt.lineTo(obj.x, obj.y)
|
||||
this.canvasTxt.lineCap = 'round'
|
||||
this.canvasTxt.lineJoin = 'round'
|
||||
this.canvasTxt.stroke()
|
||||
this.canvasTxt.closePath()
|
||||
this.points.push(obj)
|
||||
this.points.push({x: -1, y: -1})
|
||||
},
|
||||
// 操作
|
||||
generate (options) {
|
||||
let imgFormat = options && options.format ? options.format: this.format
|
||||
let imgQuality = options && options.quality ? options.quality: this.quality
|
||||
const pm = new Promise((resolve, reject) => {
|
||||
if (!this.hasDrew) {
|
||||
reject(`Warning: Not Signned!`)
|
||||
return
|
||||
}
|
||||
var resImgData = this.canvasTxt.getImageData(0, 0, this.$refs.canvas.width, this.$refs.canvas.height)
|
||||
this.canvasTxt.globalCompositeOperation = "destination-over"
|
||||
this.canvasTxt.fillStyle = this.myBg
|
||||
this.canvasTxt.fillRect(0,0,this.$refs.canvas.width ,this.$refs.canvas.height)
|
||||
this.resultImg = this.$refs.canvas.toDataURL(imgFormat, imgQuality)
|
||||
var resultImg = this.resultImg
|
||||
this.canvasTxt.clearRect(0, 0, this.$refs.canvas.width ,this.$refs.canvas.height)
|
||||
this.canvasTxt.putImageData(resImgData, 0, 0)
|
||||
this.canvasTxt.globalCompositeOperation = "source-over"
|
||||
if (this.isCrop) {
|
||||
const crop_area = this.getCropArea(resImgData.data)
|
||||
var crop_canvas = document.createElement('canvas')
|
||||
const crop_ctx = crop_canvas.getContext('2d')
|
||||
crop_canvas.width = crop_area[2] - crop_area[0]
|
||||
crop_canvas.height = crop_area[3] - crop_area[1]
|
||||
const crop_imgData = this.canvasTxt.getImageData(...crop_area)
|
||||
crop_ctx.globalCompositeOperation = "destination-over"
|
||||
crop_ctx.putImageData(crop_imgData, 0, 0)
|
||||
crop_ctx.fillStyle = this.myBg
|
||||
crop_ctx.fillRect(0, 0, crop_canvas.width , crop_canvas.height)
|
||||
resultImg = crop_canvas.toDataURL(imgFormat, imgQuality)
|
||||
crop_canvas = null
|
||||
}
|
||||
resolve(resultImg)
|
||||
})
|
||||
return pm
|
||||
},
|
||||
reset () {
|
||||
this.canvasTxt.clearRect(
|
||||
0,
|
||||
0,
|
||||
this.$refs.canvas.width,
|
||||
this.$refs.canvas.height
|
||||
)
|
||||
if (this.isClearBgColor) {
|
||||
this.$emit('update:bgColor', '')
|
||||
this.$refs.canvas.style.background = 'rgba(255, 255, 255, 0)'
|
||||
}
|
||||
this.points = []
|
||||
this.hasDrew = false
|
||||
this.resultImg = ''
|
||||
},
|
||||
getCropArea (imgData) {
|
||||
var topX = this.$refs.canvas.width; var btmX = 0; var topY = this.$refs.canvas.height; var btnY = 0
|
||||
for (var i = 0; i < this.$refs.canvas.width; i++) {
|
||||
for (var j = 0; j < this.$refs.canvas.height; j++) {
|
||||
var pos = (i + this.$refs.canvas.width * j) * 4
|
||||
if (imgData[pos] > 0 || imgData[pos + 1] > 0 || imgData[pos + 2] || imgData[pos + 3] > 0) {
|
||||
btnY = Math.max(j, btnY)
|
||||
btmX = Math.max(i, btmX)
|
||||
topY = Math.min(j, topY)
|
||||
topX = Math.min(i, topX)
|
||||
}
|
||||
}
|
||||
}
|
||||
topX++
|
||||
btmX++
|
||||
topY++
|
||||
btnY++
|
||||
const data = [topX, topY, btmX, btnY]
|
||||
return data
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
canvas {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
48
package.json
|
@ -10,51 +10,69 @@
|
|||
"lint": "eslint --ext .js,.vue --fix src .prettierrc.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.1.0",
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"@icon-park/vue-next": "^1.4.2",
|
||||
"@vueuse/core": "^9.13.0",
|
||||
"@vueuse/integrations": "^10.7.0",
|
||||
"@vueuse/integrations": "^10.7.1",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"animate.css": "^4.1.1",
|
||||
"autofit.js": "^3.0.7",
|
||||
"axios": "^1.6.3",
|
||||
"dayjs": "^1.11.10",
|
||||
"element-plus": "^2.4.4",
|
||||
"echarts": "^5.4.3",
|
||||
"element-plus": "^2.6.1",
|
||||
"html2canvas": "^1.4.1",
|
||||
"jspdf": "^2.5.1",
|
||||
"lodash-es": "^4.17.21",
|
||||
"mitt": "^3.0.1",
|
||||
"nanoid": "^5.0.4",
|
||||
"normalize.css": "^8.0.1",
|
||||
"pako": "^2.1.0",
|
||||
"pinia": "^2.1.7",
|
||||
"pinia-plugin-persistedstate": "^3.2.0",
|
||||
"pinia-plugin-persistedstate": "^3.2.1",
|
||||
"qrcode": "^1.5.3",
|
||||
"qs": "^6.11.2",
|
||||
"relation-graph": "^2.1.24",
|
||||
"throttle-debounce": "^5.0.0",
|
||||
"v-viewer": "^3.0.11",
|
||||
"vue": "^3.3.13",
|
||||
"vant": "^4.8.4",
|
||||
"viewerjs": "^1.11.6",
|
||||
"vue": "^3.4.3",
|
||||
"vue-countup-v3": "^1.4.1",
|
||||
"vue-draggable-plus": "^0.3.4",
|
||||
"vue-esign": "^1.1.4",
|
||||
"vue-router": "^4.2.5",
|
||||
"vue3-pdfjs": "^0.1.6",
|
||||
"vue3-print-nb": "^0.1.4",
|
||||
"vue3-puzzle-vcode": "^1.0.16"
|
||||
"vue3-puzzle-vcode": "^1.1.5",
|
||||
"vue3-seamless-scroll": "^2.0.1",
|
||||
"xlsx": "^0.18.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@our-patches/postcss-px-to-viewport": "^1.2.0",
|
||||
"@types/node": "^18.18.4",
|
||||
"@vitejs/plugin-basic-ssl": "^1.0.1",
|
||||
"@vitejs/plugin-vue": "^4.4.0",
|
||||
"@types/node": "^18.19.4",
|
||||
"@vitejs/plugin-basic-ssl": "^1.0.2",
|
||||
"@vitejs/plugin-vue": "^4.6.2",
|
||||
"@vue/eslint-config-prettier": "^7.1.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"eslint": "^8.51.0",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-prettier": "^8.10.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-n": "^15.7.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"eslint-plugin-vue": "^9.19.2",
|
||||
"prettier": "^2.8.8",
|
||||
"sass": "^1.69.0",
|
||||
"unplugin-auto-import": "^0.12.2",
|
||||
"unplugin-vue-components": "^0.22.12",
|
||||
"vite": "^4.4.11",
|
||||
"vite": "^4.5.1",
|
||||
"vite-plugin-enhance-log": "^0.5.2",
|
||||
"vite-plugin-env-parse": "^1.0.10",
|
||||
"vite-plugin-eslint": "^1.8.1",
|
||||
"vite-plugin-remove-console": "^2.1.1",
|
||||
"vue-eslint-parser": "^9.3.1"
|
||||
"vite-plugin-remove-console": "^2.2.0",
|
||||
"vue-eslint-parser": "^9.3.2"
|
||||
}
|
||||
}
|
||||
|
|
After Width: | Height: | Size: 17 KiB |
|
@ -1 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
Before Width: | Height: | Size: 1.5 KiB |
|
@ -15,4 +15,4 @@
|
|||
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
|
||||
</script>
|
||||
|
||||
<style lang="scss"></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
|
|
@ -6,11 +6,13 @@ import { cloneDeep } from "lodash-es";
|
|||
import pinia from "./pinia";
|
||||
import children from "@/components/children/index";
|
||||
import { MODEL } from "@/assets/js/constant";
|
||||
import asyncRouter from "@/assets/js/asyncRouter";
|
||||
// import asyncRouter from "@/assets/js/asyncRouter";
|
||||
import { getAsyncRouter } from "@/request/api";
|
||||
// import { getRouteTreeAll } from "@/request/system_management.js";
|
||||
|
||||
const modules = import.meta.glob("./views/**/*.vue"); // 获取到views下所有的vue文件
|
||||
const modules = import.meta.glob([
|
||||
"./views/**/*.vue",
|
||||
"!./views/**/components/*.vue",
|
||||
]); // 获取到views下所有的vue文件
|
||||
let storageRouter = null; // 用来获取后台拿到的路由
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
|
@ -27,10 +29,9 @@ router.beforeEach(async (to, from, next) => {
|
|||
// 变量里没有储存路由
|
||||
// pinia里没有储存路由,去后台获取路由
|
||||
if (routerStore.getRouters.length === 0) {
|
||||
await getAsyncRouter();
|
||||
// const resData = await getRouteTreeAll();
|
||||
// storageRouter = resData.menuList; // 后台请求得到的路由数据
|
||||
storageRouter = asyncRouter; // 死路由
|
||||
const resData = await getAsyncRouter();
|
||||
storageRouter = resData.routeList; // 后台请求得到的路由数据
|
||||
// storageRouter = asyncRouter; // 死路由
|
||||
routerStore.setRouters(storageRouter); // 存储路由
|
||||
routerGo(to, next); // 执行路由跳转方法
|
||||
} else {
|
||||
|
@ -73,6 +74,7 @@ function routerGo(to, next) {
|
|||
function filterAsyncRouter(asyncRouterMap) {
|
||||
// 遍历后台传来的路由字符串,转换为组件对象
|
||||
return asyncRouterMap.filter((route) => {
|
||||
route.meta = JSON.parse(route.meta);
|
||||
if (route.component) {
|
||||
if (route.component === "children") {
|
||||
route.component = children;
|
||||
|
|
|
@ -115,7 +115,6 @@
|
|||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
|
||||
&:not(dd,dl,dt) {
|
||||
margin: 0;
|
||||
|
@ -127,11 +126,10 @@ h1, h2, h3, h4, h5, h6 {
|
|||
font-size: revert;
|
||||
}
|
||||
|
||||
#app {
|
||||
background-color: #030f2f;
|
||||
.layout-container {
|
||||
background-color: #051a55;
|
||||
min-height: 100vh;
|
||||
background-image: url("/src/assets/images/public/bg.jpg");
|
||||
background-repeat: no-repeat;
|
||||
|
||||
}
|
||||
|
||||
a {
|
||||
|
@ -161,6 +159,14 @@ a {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.mb {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mt {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.text-blue {
|
||||
color: #3b3bff;
|
||||
}
|
||||
|
@ -185,6 +191,38 @@ a {
|
|||
display: none;
|
||||
}
|
||||
|
||||
@mixin table($tdTextAlign,$titleTextAlign) {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
display: table;
|
||||
font-size: 12px;
|
||||
|
||||
tr {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
td, th {
|
||||
border: 1px solid var(--el-border-color);
|
||||
padding: 8px;
|
||||
line-height: 1.6;
|
||||
text-align: $tdTextAlign;
|
||||
}
|
||||
|
||||
.title {
|
||||
background: var(--el-fill-color-light);
|
||||
width: 200px;
|
||||
text-align: $titleTextAlign;
|
||||
}
|
||||
}
|
||||
|
||||
.print_table {
|
||||
@include table(center,left);
|
||||
}
|
||||
|
||||
.archive_print_table {
|
||||
@include table(left,center);
|
||||
}
|
||||
|
||||
img.ml-10:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
@ -199,6 +237,7 @@ input:-webkit-autofill:active {
|
|||
|
||||
div::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
}
|
||||
|
||||
div::-webkit-scrollbar-thumb {
|
||||
|
@ -256,14 +295,6 @@ div::-webkit-scrollbar-track {
|
|||
border-bottom: 1px dashed var(--el-border-color-darker);
|
||||
}
|
||||
|
||||
.w-e-bar-item:has([data-menu-key="group-video"]) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.w-e-bar-item-menus-container .w-e-bar-item:has([data-menu-key="insertImage"]) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.vue-auth-box_ {
|
||||
background: #020f3a !important;
|
||||
border: 1px solid #223765 !important;
|
||||
|
@ -289,7 +320,7 @@ div::-webkit-scrollbar-track {
|
|||
margin: 3mm;
|
||||
}
|
||||
|
||||
.page_break{
|
||||
.page_break {
|
||||
page-break-after: always;
|
||||
}
|
||||
|
||||
|
@ -297,6 +328,7 @@ div::-webkit-scrollbar-track {
|
|||
.el-descriptions__label.el-descriptions__cell.is-bordered-label {
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.el-descriptions {
|
||||
--el-text-color-primary: #000 !important;
|
||||
}
|
||||
|
@ -306,19 +338,16 @@ div::-webkit-scrollbar-track {
|
|||
}
|
||||
|
||||
.print_use {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
display: table;
|
||||
|
||||
td, th {
|
||||
border: 1px solid var(--el-border-color);
|
||||
padding: 8px;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
}
|
||||
@include table(center,left);
|
||||
}
|
||||
|
||||
.print_no_use {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile {
|
||||
padding: 10px;
|
||||
background-color: #fafafa;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
:root {
|
||||
--el-header-height: 69px;
|
||||
--el-aside-scrollbar-height: calc(100vh - var(--el-header-height));
|
||||
--el-main-scrollbar-height: calc(100vh - var(--el-header-height) - 60px);
|
||||
--el-main-scrollbar-height: calc(100vh - var(--el-header-height) - 40px);
|
||||
--el-border-color: #273868 !important; // 边框颜色
|
||||
--el-text-color-regular: #fff !important;
|
||||
--el-fill-color-light: #0e1d44 !important; //hover背景色
|
||||
--el-color-check: #14affe !important; //hover、选中 文字颜色
|
||||
--el-aside-bg-color: #081e42 !important;
|
||||
--el-aside-bg-color: #08277e !important;
|
||||
--el-input-bg-color: #081435 !important;
|
||||
--el-fill-color-blank: #081435 !important; // 背景色
|
||||
--el-border-color-lighter: var(--el-border-color) !important;
|
||||
--el-bullet-frame-bg-color: #08163b !important;
|
||||
--el-text-color-primary: #fff !important;
|
||||
}
|
||||
|
||||
.el-button:focus, .el-button:hover {
|
||||
|
@ -89,9 +90,8 @@
|
|||
|
||||
.el-menu-item {
|
||||
&:hover, &.is-active {
|
||||
background-image: url("/src/assets/images/public/list_on.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
//background: #1d3f77;
|
||||
background-image: linear-gradient(to right, #2c6ee9, rgba(0, 0, 0, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -118,10 +118,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.el-select, .el-cascader, .el-date-editor.el-input, .el-date-editor.el-input__wrapper, .el-input__wrapper, .el-input-number {
|
||||
.el-select, .el-cascader, .el-date-editor.el-input, .el-date-editor.el-input__wrapper, .el-input__wrapper, .el-input-number, .el-select-v2 {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.el-textarea.is-disabled .el-textarea__inner, .el-select {
|
||||
--el-disabled-border-color: var(--el-border-color);
|
||||
}
|
||||
|
||||
.el-table {
|
||||
--el-table-bg-color: #071a43 !important;
|
||||
--el-bg-color: #071a43 !important;
|
||||
|
@ -149,6 +153,14 @@
|
|||
--el-pagination-bg-color: var(--el-fill-color-blank) !important;
|
||||
}
|
||||
|
||||
.el-pagination .el-select {
|
||||
width: 128px !important;
|
||||
}
|
||||
|
||||
.el-pagination--small .el-select {
|
||||
width: 100px !important;
|
||||
}
|
||||
|
||||
.el-radio {
|
||||
--el-radio-input-bg-color: #091839 !important;
|
||||
}
|
||||
|
@ -188,7 +200,7 @@
|
|||
--el-checkbox-disabled-border-color: var(--el-border-color);
|
||||
}
|
||||
|
||||
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
|
||||
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner, .el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner {
|
||||
--el-checkbox-disabled-checked-input-fill: var(--el-checkbox-bg-color);
|
||||
--el-checkbox-disabled-checked-input-border-color: var(--el-color-check);
|
||||
}
|
||||
|
@ -239,11 +251,19 @@
|
|||
color: var(--el-text-color-regular) !important;
|
||||
}
|
||||
|
||||
.el-date-table.is-week-mode .el-date-table__row {
|
||||
&.current, &:hover {
|
||||
.el-date-table-cell {
|
||||
--el-datepicker-inrange-bg-color: var(--el-fill-color-light) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.el-input.is-disabled .el-input__wrapper {
|
||||
box-shadow: 0 0 0 1px var(--el-border-color) inset !important;
|
||||
}
|
||||
|
||||
.el-select__tags .el-tag--info {
|
||||
.el-select .el-tag.el-tag--info {
|
||||
background-color: #214082 !important;
|
||||
--el-tag-text-color: var(--el-text-color-regular) !important;
|
||||
}
|
||||
|
@ -275,14 +295,10 @@
|
|||
--el-border-color-light: var(--el-border-color);
|
||||
}
|
||||
|
||||
.el-divider__text {
|
||||
font-size: 16px !important;
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
|
||||
.el-dialog {
|
||||
background: transparent !important;
|
||||
--el-dialog-margin-top: 50px !important;
|
||||
padding: 0 !important;
|
||||
|
||||
.el-dialog__header {
|
||||
background-image: url("/src/assets/images/public/tctitlebg.png");
|
||||
|
@ -306,8 +322,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.el-dialog__body, .el-dialog__footer {
|
||||
.el-dialog__body {
|
||||
background-color: var(--el-bullet-frame-bg-color);
|
||||
padding: calc(var(--el-dialog-padding-primary) + 10px) var(--el-dialog-padding-primary);
|
||||
}
|
||||
|
||||
.el-dialog__footer {
|
||||
background-color: var(--el-bullet-frame-bg-color);
|
||||
padding: var(--el-dialog-padding-primary);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -336,6 +358,8 @@
|
|||
}
|
||||
|
||||
.el-divider__text {
|
||||
font-size: 16px !important;
|
||||
font-weight: 700 !important;
|
||||
background-color: var(--el-fill-color-blank) !important;
|
||||
color: var(--el-text-color-regular) !important;
|
||||
}
|
||||
|
@ -380,6 +404,28 @@
|
|||
color: var(--el-text-color-regular) !important;
|
||||
}
|
||||
|
||||
.el-step__title{
|
||||
font-size: 14px !important;;
|
||||
.el-step__title, .el-select-dropdown__option-item {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.el-step__description {
|
||||
* {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-notification {
|
||||
--el-notification-title-color: #000 !important;
|
||||
|
||||
.el-notification__closeBtn:hover {
|
||||
--el-notification-close-hover-color: #000 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-color-predefine__color-selector.selected {
|
||||
--el-color-primary: #fff !important;
|
||||
}
|
||||
|
||||
.el-input-number.is-disabled .el-input-number__decrease, .el-input-number.is-disabled .el-input-number__increase{
|
||||
border-color: var(--el-border-color) !important;
|
||||
}
|
||||
|
|
After Width: | Height: | Size: 424 B |
After Width: | Height: | Size: 423 B |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 116 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 MiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 850 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 2.5 MiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 7.4 KiB |
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.0 KiB |