| | |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@element-plus/icons-vue/-/icons-vue-2.3.2.tgz", |
| | | "integrity": "sha512-OzIuTaIfC8QXEPmJvB4Y4kw34rSXdCJzxcD1kFStBvr8bK6X1zQAYDo0CNMjojnfTqRQCJ0I7prlErcoRiET2A==" |
| | | }, |
| | | "@esbuild/aix-ppc64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", |
| | | "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/android-arm": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/android-arm/-/android-arm-0.21.5.tgz", |
| | | "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz", |
| | | "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/android-arm64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", |
| | | "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/android-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/android-x64/-/android-x64-0.21.5.tgz", |
| | | "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz", |
| | | "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/darwin-arm64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", |
| | | "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/darwin-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", |
| | | "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", |
| | | "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/freebsd-arm64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", |
| | | "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/freebsd-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", |
| | | "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", |
| | | "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-arm": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", |
| | | "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", |
| | | "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-arm64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", |
| | | "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-ia32": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", |
| | | "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", |
| | | "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-loong64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", |
| | | "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", |
| | | "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-mips64el": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", |
| | | "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", |
| | | "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-ppc64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", |
| | | "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", |
| | | "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-riscv64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", |
| | | "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", |
| | | "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-s390x": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", |
| | | "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", |
| | | "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/linux-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", |
| | | "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", |
| | | "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/netbsd-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", |
| | | "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", |
| | | "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/openbsd-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", |
| | | "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", |
| | | "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/sunos-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", |
| | | "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", |
| | | "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/win32-arm64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", |
| | | "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/win32-ia32": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", |
| | | "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", |
| | | "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@esbuild/win32-x64": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", |
| | | "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", |
| | | "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | |
| | | "version": "1.5.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", |
| | | "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==" |
| | | }, |
| | | "@popperjs/core": { |
| | | "version": "npm:@sxzz/popperjs-es@2.11.7", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", |
| | | "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" |
| | | }, |
| | | "@rollup/rollup-android-arm-eabi": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.54.0.tgz", |
| | | "integrity": "sha512-OywsdRHrFvCdvsewAInDKCNyR3laPA2mc9bRYJ6LBp5IyvF3fvXbbNR0bSzHlZVFtn6E0xw2oZlyjg4rKCVcng==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-android-arm64": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.54.0.tgz", |
| | | "integrity": "sha512-Skx39Uv+u7H224Af+bDgNinitlmHyQX1K/atIA32JP3JQw6hVODX5tkbi2zof/E69M1qH2UoN3Xdxgs90mmNYw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-darwin-arm64": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.54.0.tgz", |
| | | "integrity": "sha512-k43D4qta/+6Fq+nCDhhv9yP2HdeKeP56QrUUTW7E6PhZP1US6NDqpJj4MY0jBHlJivVJD5P8NxrjuobZBJTCRw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-darwin-x64": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.54.0.tgz", |
| | | "integrity": "sha512-cOo7biqwkpawslEfox5Vs8/qj83M/aZCSSNIWpVzfU2CYHa2G3P1UN5WF01RdTHSgCkri7XOlTdtk17BezlV3A==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-freebsd-arm64": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.54.0.tgz", |
| | | "integrity": "sha512-miSvuFkmvFbgJ1BevMa4CPCFt5MPGw094knM64W9I0giUIMMmRYcGW/JWZDriaw/k1kOBtsWh1z6nIFV1vPNtA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-freebsd-x64": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.54.0.tgz", |
| | | "integrity": "sha512-KGXIs55+b/ZfZsq9aR026tmr/+7tq6VG6MsnrvF4H8VhwflTIuYh+LFUlIsRdQSgrgmtM3fVATzEAj4hBQlaqQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-arm-gnueabihf": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.54.0.tgz", |
| | | "integrity": "sha512-EHMUcDwhtdRGlXZsGSIuXSYwD5kOT9NVnx9sqzYiwAc91wfYOE1g1djOEDseZJKKqtHAHGwnGPQu3kytmfaXLQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-arm-musleabihf": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.54.0.tgz", |
| | | "integrity": "sha512-+pBrqEjaakN2ySv5RVrj/qLytYhPKEUwk+e3SFU5jTLHIcAtqh2rLrd/OkbNuHJpsBgxsD8ccJt5ga/SeG0JmA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-arm64-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-NSqc7rE9wuUaRBsBp5ckQ5CVz5aIRKCwsoa6WMF7G01sX3/qHUw/z4pv+D+ahL1EIKy6Enpcnz1RY8pf7bjwng==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-arm64-musl": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.54.0.tgz", |
| | | "integrity": "sha512-gr5vDbg3Bakga5kbdpqx81m2n9IX8M6gIMlQQIXiLTNeQW6CucvuInJ91EuCJ/JYvc+rcLLsDFcfAD1K7fMofg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-loong64-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-gsrtB1NA3ZYj2vq0Rzkylo9ylCtW/PhpLEivlgWe0bpgtX5+9j9EZa0wtZiCjgu6zmSeZWyI/e2YRX1URozpIw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-ppc64-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-y3qNOfTBStmFNq+t4s7Tmc9hW2ENtPg8FeUD/VShI7rKxNW7O4fFeaYbMsd3tpFlIg1Q8IapFgy7Q9i2BqeBvA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-riscv64-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-89sepv7h2lIVPsFma8iwmccN7Yjjtgz0Rj/Ou6fEqg3HDhpCa+Et+YSufy27i6b0Wav69Qv4WBNl3Rs6pwhebQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-riscv64-musl": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.54.0.tgz", |
| | | "integrity": "sha512-ZcU77ieh0M2Q8Ur7D5X7KvK+UxbXeDHwiOt/CPSBTI1fBmeDMivW0dPkdqkT4rOgDjrDDBUed9x4EgraIKoR2A==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-s390x-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-2AdWy5RdDF5+4YfG/YesGDDtbyJlC9LHmL6rZw6FurBJ5n4vFGupsOBGfwMRjBYH7qRQowT8D/U4LoSvVwOhSQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-x64-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-WGt5J8Ij/rvyqpFexxk3ffKqqbLf9AqrTBbWDk7ApGUzaIs6V+s2s84kAxklFwmMF/vBNGrVdYgbblCOFFezMQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-linux-x64-musl": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.54.0.tgz", |
| | | "integrity": "sha512-JzQmb38ATzHjxlPHuTH6tE7ojnMKM2kYNzt44LO/jJi8BpceEC8QuXYA908n8r3CNuG/B3BV8VR3Hi1rYtmPiw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-openharmony-arm64": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.54.0.tgz", |
| | | "integrity": "sha512-huT3fd0iC7jigGh7n3q/+lfPcXxBi+om/Rs3yiFxjvSxbSB6aohDFXbWvlspaqjeOh+hx7DDHS+5Es5qRkWkZg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-win32-arm64-msvc": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.54.0.tgz", |
| | | "integrity": "sha512-c2V0W1bsKIKfbLMBu/WGBz6Yci8nJ/ZJdheE0EwB73N3MvHYKiKGs3mVilX4Gs70eGeDaMqEob25Tw2Gb9Nqyw==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-win32-ia32-msvc": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.54.0.tgz", |
| | | "integrity": "sha512-woEHgqQqDCkAzrDhvDipnSirm5vxUXtSKDYTVpZG3nUdW/VVB5VdCYA2iReSj/u3yCZzXID4kuKG7OynPnB3WQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-win32-x64-gnu": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.54.0.tgz", |
| | | "integrity": "sha512-dzAc53LOuFvHwbCEOS0rPbXp6SIhAf2txMP5p6mGyOXXw5mWY8NGGbPMPrs4P1WItkfApDathBj/NzMLUZ9rtQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@rollup/rollup-win32-x64-msvc": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.54.0.tgz", |
| | | "integrity": "sha512-hYT5d3YNdSh3mbCU1gwQyPgQd3T2ne0A3KG8KSBdav5TiBg6eInVmV+TeR5uHufiIgSFg0XsOWGW5/RhNcSvPg==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "@types/estree": { |
| | | "version": "1.0.8", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/@types/estree/-/estree-1.0.8.tgz", |
| | | "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", |
| | | "dev": true |
| | | }, |
| | | "@types/lodash": { |
| | | "version": "4.17.21", |
| | |
| | | "lodash-unified": "^1.0.3", |
| | | "memoize-one": "^6.0.0", |
| | | "normalize-wheel-es": "^1.2.0" |
| | | }, |
| | | "dependencies": { |
| | | "@popperjs/core": { |
| | | "version": "npm:@sxzz/popperjs-es@2.11.7", |
| | | "resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", |
| | | "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" |
| | | } |
| | | } |
| | | }, |
| | | "entities": { |
| | |
| | | } |
| | | }, |
| | | "esbuild": { |
| | | "version": "0.21.5", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/esbuild/-/esbuild-0.21.5.tgz", |
| | | "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.18.20.tgz", |
| | | "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@esbuild/aix-ppc64": "0.21.5", |
| | | "@esbuild/android-arm": "0.21.5", |
| | | "@esbuild/android-arm64": "0.21.5", |
| | | "@esbuild/android-x64": "0.21.5", |
| | | "@esbuild/darwin-arm64": "0.21.5", |
| | | "@esbuild/darwin-x64": "0.21.5", |
| | | "@esbuild/freebsd-arm64": "0.21.5", |
| | | "@esbuild/freebsd-x64": "0.21.5", |
| | | "@esbuild/linux-arm": "0.21.5", |
| | | "@esbuild/linux-arm64": "0.21.5", |
| | | "@esbuild/linux-ia32": "0.21.5", |
| | | "@esbuild/linux-loong64": "0.21.5", |
| | | "@esbuild/linux-mips64el": "0.21.5", |
| | | "@esbuild/linux-ppc64": "0.21.5", |
| | | "@esbuild/linux-riscv64": "0.21.5", |
| | | "@esbuild/linux-s390x": "0.21.5", |
| | | "@esbuild/linux-x64": "0.21.5", |
| | | "@esbuild/netbsd-x64": "0.21.5", |
| | | "@esbuild/openbsd-x64": "0.21.5", |
| | | "@esbuild/sunos-x64": "0.21.5", |
| | | "@esbuild/win32-arm64": "0.21.5", |
| | | "@esbuild/win32-ia32": "0.21.5", |
| | | "@esbuild/win32-x64": "0.21.5" |
| | | "@esbuild/android-arm": "0.18.20", |
| | | "@esbuild/android-arm64": "0.18.20", |
| | | "@esbuild/android-x64": "0.18.20", |
| | | "@esbuild/darwin-arm64": "0.18.20", |
| | | "@esbuild/darwin-x64": "0.18.20", |
| | | "@esbuild/freebsd-arm64": "0.18.20", |
| | | "@esbuild/freebsd-x64": "0.18.20", |
| | | "@esbuild/linux-arm": "0.18.20", |
| | | "@esbuild/linux-arm64": "0.18.20", |
| | | "@esbuild/linux-ia32": "0.18.20", |
| | | "@esbuild/linux-loong64": "0.18.20", |
| | | "@esbuild/linux-mips64el": "0.18.20", |
| | | "@esbuild/linux-ppc64": "0.18.20", |
| | | "@esbuild/linux-riscv64": "0.18.20", |
| | | "@esbuild/linux-s390x": "0.18.20", |
| | | "@esbuild/linux-x64": "0.18.20", |
| | | "@esbuild/netbsd-x64": "0.18.20", |
| | | "@esbuild/openbsd-x64": "0.18.20", |
| | | "@esbuild/sunos-x64": "0.18.20", |
| | | "@esbuild/win32-arm64": "0.18.20", |
| | | "@esbuild/win32-ia32": "0.18.20", |
| | | "@esbuild/win32-x64": "0.18.20" |
| | | } |
| | | }, |
| | | "estree-walker": { |
| | |
| | | }, |
| | | "fsevents": { |
| | | "version": "2.3.3", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/fsevents/-/fsevents-2.3.3.tgz", |
| | | "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", |
| | | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", |
| | | "dev": true, |
| | | "optional": true |
| | |
| | | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" |
| | | }, |
| | | "rollup": { |
| | | "version": "4.54.0", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/rollup/-/rollup-4.54.0.tgz", |
| | | "integrity": "sha512-3nk8Y3a9Ea8szgKhinMlGMhGMw89mqule3KWczxhIzqudyHdCIOHw8WJlj/r329fACjKLEh13ZSk7oE22kyeIw==", |
| | | "version": "3.29.5", |
| | | "resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.29.5.tgz", |
| | | "integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@rollup/rollup-android-arm-eabi": "4.54.0", |
| | | "@rollup/rollup-android-arm64": "4.54.0", |
| | | "@rollup/rollup-darwin-arm64": "4.54.0", |
| | | "@rollup/rollup-darwin-x64": "4.54.0", |
| | | "@rollup/rollup-freebsd-arm64": "4.54.0", |
| | | "@rollup/rollup-freebsd-x64": "4.54.0", |
| | | "@rollup/rollup-linux-arm-gnueabihf": "4.54.0", |
| | | "@rollup/rollup-linux-arm-musleabihf": "4.54.0", |
| | | "@rollup/rollup-linux-arm64-gnu": "4.54.0", |
| | | "@rollup/rollup-linux-arm64-musl": "4.54.0", |
| | | "@rollup/rollup-linux-loong64-gnu": "4.54.0", |
| | | "@rollup/rollup-linux-ppc64-gnu": "4.54.0", |
| | | "@rollup/rollup-linux-riscv64-gnu": "4.54.0", |
| | | "@rollup/rollup-linux-riscv64-musl": "4.54.0", |
| | | "@rollup/rollup-linux-s390x-gnu": "4.54.0", |
| | | "@rollup/rollup-linux-x64-gnu": "4.54.0", |
| | | "@rollup/rollup-linux-x64-musl": "4.54.0", |
| | | "@rollup/rollup-openharmony-arm64": "4.54.0", |
| | | "@rollup/rollup-win32-arm64-msvc": "4.54.0", |
| | | "@rollup/rollup-win32-ia32-msvc": "4.54.0", |
| | | "@rollup/rollup-win32-x64-gnu": "4.54.0", |
| | | "@rollup/rollup-win32-x64-msvc": "4.54.0", |
| | | "@types/estree": "1.0.8", |
| | | "fsevents": "~2.3.2" |
| | | } |
| | | }, |
| | |
| | | "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" |
| | | }, |
| | | "vite": { |
| | | "version": "5.4.21", |
| | | "resolved": "https://mirrors.huaweicloud.com/repository/npm/vite/-/vite-5.4.21.tgz", |
| | | "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", |
| | | "version": "4.5.14", |
| | | "resolved": "https://registry.npmmirror.com/vite/-/vite-4.5.14.tgz", |
| | | "integrity": "sha512-+v57oAaoYNnO3hIu5Z/tJRZjq5aHM2zDve9YZ8HngVHbhk66RStobhb1sqPMIPEleV6cNKYK4eGrAbE9Ulbl2g==", |
| | | "dev": true, |
| | | "requires": { |
| | | "esbuild": "^0.21.3", |
| | | "fsevents": "~2.3.3", |
| | | "postcss": "^8.4.43", |
| | | "rollup": "^4.20.0" |
| | | "esbuild": "^0.18.10", |
| | | "fsevents": "~2.3.2", |
| | | "postcss": "^8.4.27", |
| | | "rollup": "^3.27.1" |
| | | } |
| | | }, |
| | | "vue": { |
| | |
| | | }, |
| | | "devDependencies": { |
| | | "@vitejs/plugin-vue": "^5.0.4", |
| | | "vite": "^5.2.0" |
| | | "vite": "^4.2.0" |
| | | } |
| | | } |
| | |
| | | } |
| | | ] |
| | | } |
| | | chart.setOption(option) |
| | | //chart.setOption(option) |
| | | return chart |
| | | } |
| | | |
| | |
| | | <template> |
| | | <div class="title"></div> |
| | | <div class="wms-dashboard"> |
| | | <!-- ç»è®¡å¡çåºå - ç»å®ååºå¼æ°æ® --> |
| | | <el-row :gutter="20" class="stats-card-row"> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Box /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">æ»åºå</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.totalStockQuantity) }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Document /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">å¾
åºåºè®¢å</div> |
| | | <div class="card-value">{{ bigscreendata.unOutBoundOrderCount }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Download /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">仿¥å
¥åºå®ææ°</div> |
| | | <div class="card-value">{{ bigscreendata.inboundCount }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Upload /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">仿¥åºåºå®ææ°</div> |
| | | <div class="card-value">{{ bigscreendata.outboundCount }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Box /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">æè´§æç®±</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.inStockPallet) }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Box /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">空箱æ°é</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.freeStockPallet) }}</div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | <!-- å¾è¡¨åºåï¼ç¬¬ä¸è¡ï¼ --> |
| | | <el-row :gutter="20" class="chart-row"> |
| | | <el-col :span="12"> |
| | | <!-- æ¿æ¢el-card为divï¼ä¿çchart-cardç±»å --> |
| | | <div class="chart-card"> |
| | | <div class="chart-title">åºä½å©ç¨ç</div> |
| | | <div ref="locationRateRef" class="chart-container"></div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <div class="chart-card"> |
| | | <div class="chart-title">è¿7æ¥åºå
¥åºè¶å¿ï¼å¾ååèµ°å¿ï¼</div> |
| | | <div ref="stockTrendRef" class="chart-container"></div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- å¾è¡¨åºåï¼ç¬¬äºè¡ï¼ --> |
| | | <el-row :gutter="20" class="chart-row"> |
| | | </el-row> |
| | | |
| | | <!-- è¡¨æ ¼åºå - ç»å®å端ä½ä¸æ°æ® --> |
| | | <el-row :gutter="20" class="table-row" width="100%"> |
| | | <el-col :span="24"> |
| | | <!-- æ¿æ¢el-card为divï¼ä¿çtable-cardç±»å --> |
| | | <div class="table-card"> |
| | | <div class="table-title">宿¶ä½ä¸çæ§</div> |
| | | <el-table :data="showTaskList" border style="width: 100%;"> |
| | | <el-table-column prop="taskNum" label="ä»»å¡å·" /> |
| | | <el-table-column prop="taskStatus" label="ä»»å¡ç¶æ" > |
| | | <template #default="{ row }"> |
| | | <span class="task-status" :class="getStatusClass(row.taskStatus)">{{ getTaskStatusText(row.taskStatus) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="taskType" label="ä»»å¡ç±»å" > |
| | | <template #default="{ row }"> |
| | | <span class="task-type" :class="getTypeClass(row.taskType)">{{ getTaskTypeText(row.taskType) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="palletCode" label="æçç¼å·" /> |
| | | <el-table-column prop="sourceAddress" label="èµ·ç¹ä½ç½®"/> |
| | | <el-table-column prop="targetAddress" label="ç»ç¹ä½ç½®"/> |
| | | <el-table-column prop="createDate" label="å建æ¶é´"/> |
| | | </el-table> |
| | | <div class="table-pagination"> |
| | | <el-pagination layout="prev, pager, next, jumper" :current-page="1" :total="50" /> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { ref, reactive } from 'vue' |
| | | <script setup> |
| | | import { ref, onMounted, onUnmounted, nextTick } from 'vue'; |
| | | import * as echarts from 'echarts'; |
| | | import http from "@/api/http.js"; |
| | | |
| | | export default { |
| | | setup() { |
| | | return { |
| | | // ååºå¼æ°æ® |
| | | const month = ref('month'); |
| | | const orderType = ref('return'); |
| | | |
| | | } |
| | | // å端è¿åæ°æ®ï¼ååºå¼ï¼ |
| | | const bigscreendata = ref({ |
| | | totalStockQuantity: 0, |
| | | unOutBoundOrderCount: 0, |
| | | dailyCompletionRate: 0, |
| | | unhandledExceptionCount: 0, |
| | | locationUtilizationRate: 0, |
| | | inStockPallet: 0, |
| | | freeStockPallet: 0, |
| | | dailyInOutBoundList: [], |
| | | taskList: [], |
| | | inboundCount: 0, |
| | | outboundCount: 0, |
| | | inventoryLocationDist: [], // åºååºä½å叿°æ® |
| | | exceptionTypeTrend: [] // å¼å¸¸ç±»åè¶å¿æ°æ® |
| | | }); |
| | | |
| | | const taskStatusMap = { |
| | | 100: "æ°å»º", |
| | | 105: "å·²åé", |
| | | 200: "å åæºå¾
æ§è¡", |
| | | 210: "å åæºæ§è¡ä¸", |
| | | 220: "å åæºå®æ", |
| | | 400: "è¾é线å¾
æ§è¡", |
| | | 410: "è¾é线æ§è¡ä¸", |
| | | 420: "è¾éçº¿å®æ", |
| | | 300: "AGVå¾
æ§è¡", |
| | | 310: "AGVæ§è¡ä¸", |
| | | 315: "AGVåè´§ä¸", |
| | | 320: "AGVå¾
ç»§ç»æ§è¡", |
| | | 325: "AGVæ¾è´§ä¸", |
| | | 330: "AGV宿", |
| | | 900: "ä»»å¡å®æ", |
| | | 970: "ä»»å¡æèµ·", |
| | | 980: "ä»»å¡åæ¶", |
| | | 990: "ä»»å¡å¼å¸¸", |
| | | 110: "æåæºæ§è¡ä¸" |
| | | }; |
| | | const getTaskStatusText = (statusNum) => { |
| | | // å¤ç空å¼ãæ æå¼ï¼å
åºæ¾ç¤ºâæªç¥ç¶æâ |
| | | if (statusNum === undefined || statusNum === null || isNaN(statusNum)) { |
| | | return "æªç¥ç¶æ"; |
| | | } |
| | | } |
| | | // ç²¾åå¹é
æ å°å¼ï¼æ å¹é
åè¿åâæªç¥ç¶æâ |
| | | return taskStatusMap[statusNum] || "æªç¥ç¶æ"; |
| | | }; |
| | | const showTaskList = ref([]); // è¡¨æ ¼æ¾ç¤ºç5æ¡ä»»å¡ï¼è½®æç¨ï¼ |
| | | const currentTaskIndex = ref(5); // ä¸ä¸ä¸ªè¦æ¾ç¤ºçä»»å¡ç´¢å¼ï¼åå§ä»ç¬¬6æ¡å¼å§ï¼å5æ¡é»è®¤æ¾ç¤ºï¼ |
| | | let taskCarouselTimer = null; // è½®æå®æ¶å¨ |
| | | // æ°åæ ¼å¼åï¼ååä½åéï¼ |
| | | const formatNumber = (num) => { |
| | | if (!num) return '0'; |
| | | return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); |
| | | }; |
| | | |
| | | const startTaskCarousel = () => { |
| | | // æ¸
餿§å®æ¶å¨ï¼é²æ¢éå¤å¯å¨ |
| | | if (taskCarouselTimer) clearInterval(taskCarouselTimer); |
| | | |
| | | const totalTask = bigscreendata.value.taskList.length; |
| | | // 任塿°<=5æ¶ï¼ä¸è½®æï¼æ²¡ææ´å¤ä»»å¡å¯æ¢ï¼ |
| | | if (totalTask <= 5) { |
| | | showTaskList.value = [...bigscreendata.value.taskList]; |
| | | return; |
| | | } |
| | | |
| | | // å¯å¨5ç§å®æ¶å¨ |
| | | taskCarouselTimer = setInterval(() => { |
| | | // 1. æ°å¢ä¸1æ¡ä»»å¡å°æ¾ç¤ºå表æ«å°¾ |
| | | showTaskList.value.push(bigscreendata.value.taskList[currentTaskIndex.value]); |
| | | // 2. å é¤å表æåé¢1æ¡æ§ä»»å¡ï¼å§ç»ä¿æ5æ¡ï¼ |
| | | showTaskList.value.shift(); |
| | | // 3. æ´æ°ä¸ä¸ä¸ªä»»å¡ç´¢å¼ï¼è¶
åºæ»æ°åéç½®ï¼å¾ªç¯è½®æï¼ |
| | | currentTaskIndex.value++; |
| | | if (currentTaskIndex.value >= totalTask) { |
| | | currentTaskIndex.value = 0; // é置为0ï¼å¾ªç¯ææ¾ |
| | | } |
| | | }, 5000); // 5ç§é´é |
| | | }; |
| | | |
| | | const getTaskTypeText = (taskTypeNum) => { |
| | | // å¤ç空å¼/æ æå¼ |
| | | if (!taskTypeNum || isNaN(taskTypeNum)) return "æªç¥ç±»å"; |
| | | |
| | | // 对åºå端TaskEnumHelperçåç»è§å |
| | | if (taskTypeNum >= 500 && taskTypeNum < 900) return "å
¥åº"; |
| | | if (taskTypeNum >= 100 && taskTypeNum < 500) return "åºåº"; |
| | | if (taskTypeNum >= 900 && taskTypeNum < 1000) return "ç§»åº"; |
| | | return "å
¶ä»ä½ä¸"; // å
åº |
| | | }; |
| | | |
| | | // è·åä»»å¡ç¶ææ ·å¼ç±» |
| | | const getStatusClass = (statusNum) => { |
| | | if (statusNum === undefined || statusNum === null || isNaN(statusNum)) { |
| | | return "status-unknown"; |
| | | } |
| | | |
| | | // æ ¹æ®ç¶æèå´è¿åä¸åæ ·å¼ |
| | | if (statusNum >= 900) return "status-completed"; // 宿 |
| | | if (statusNum >= 400) return "status-processing"; // è¾é线æ§è¡ä¸ |
| | | if (statusNum >= 300) return "status-processing"; // AGVæ§è¡ä¸ |
| | | if (statusNum >= 200) return "status-processing"; // å åæºæ§è¡ä¸ |
| | | if (statusNum >= 100) return "status-pending"; // æ°å»ºãå·²åé |
| | | if (statusNum === 970) return "status-suspended"; // æèµ· |
| | | if (statusNum === 980) return "status-canceled"; // åæ¶ |
| | | if (statusNum === 990) return "status-error"; // å¼å¸¸ |
| | | |
| | | return "status-unknown"; |
| | | }; |
| | | |
| | | // è·åä»»å¡ç±»åæ ·å¼ç±» |
| | | const getTypeClass = (taskTypeNum) => { |
| | | if (!taskTypeNum || isNaN(taskTypeNum)) return "type-unknown"; |
| | | |
| | | // 对åºå端TaskEnumHelperçåç»è§å |
| | | if (taskTypeNum >= 500 && taskTypeNum < 900) return "type-inbound"; // å
¥åº |
| | | if (taskTypeNum >= 100 && taskTypeNum < 500) return "type-outbound"; // åºåº |
| | | if (taskTypeNum >= 900 && taskTypeNum < 1000) return "type-transfer"; // ç§»åº |
| | | |
| | | return "type-other"; // å
¶ä»ä½ä¸ |
| | | }; |
| | | |
| | | // è·ååç«¯å¤§å±æ°æ® |
| | | const fetchBigGreenData = async () => { |
| | | try { |
| | | debugger |
| | | const res = await http.get('/api/BigScreen/GetBigGreenData'); |
| | | console.log('大屿°æ®', res); |
| | | |
| | | bigscreendata.value = res.data || res; |
| | | // æ°æ®æ´æ°åå·æ°å¾è¡¨ |
| | | nextTick(() => { |
| | | const total = bigscreendata.value.taskList.length; |
| | | // åå§åæ¾ç¤ºå5æ¡ï¼ä¸è¶³5æ¡åæ¾ç¤ºå
¨é¨ï¼ |
| | | showTaskList.value = total >=5 |
| | | ? [...bigscreendata.value.taskList.slice(0,5)] |
| | | : [...bigscreendata.value.taskList]; |
| | | startTaskCarousel(); // å¯å¨ä»»å¡è½®æ |
| | | refreshCharts(); |
| | | }); |
| | | } catch (error) { |
| | | ElMessage.error('æ°æ®è·å失败ï¼è¯·æ£æ¥å端æ¥å£æ¯å¦æ£å¸¸'); |
| | | } |
| | | }; |
| | | |
| | | // å¤ç¨æ¨¡ææ°æ® |
| | | const operationList = ref([ |
| | | { opNo: 'JW251224001', opType: 'å
¥åº', operator: 'å¼ ä¸', startTime: '15:30:22', status: 'å¤çä¸' }, |
| | | { opNo: 'CK251224002', opType: 'åºåº', operator: 'æå', startTime: '15:25:10', status: '已宿' }, |
| | | { opNo: 'PD251224003', opType: 'çç¹', operator: 'çäº', startTime: '15:20:05', status: 'å¾
确认' }, |
| | | { opNo: 'SC251224005', opType: '䏿¶', operator: 'åä¸', startTime: '15:10:18', status: 'å¼å¸¸' } |
| | | ]); |
| | | |
| | | // å¾è¡¨å®¹å¨Ref |
| | | const inventoryPieRef = ref(null); |
| | | const stockTrendRef = ref(null); |
| | | const locationRateRef = ref(null); |
| | | const exceptionTrendRef = ref(null); |
| | | |
| | | // å¾è¡¨å®ä¾ï¼å
¨å±ç®¡çï¼ç¨äºéæ¯åresizeï¼ |
| | | let inventoryPieChart = null; |
| | | let stockTrendChart = null; |
| | | let locationRateChart = null; |
| | | let exceptionTrendChart = null; |
| | | |
| | | // åå§ååºååºä½åå¸é¥¼å¾ï¼å
³èåç«¯æ°æ®ï¼ |
| | | const initInventoryPie= () => { |
| | | if (!inventoryPieRef.value) return; |
| | | |
| | | // 鿝æ§å®ä¾ï¼é²æ¢å
åæ³æ¼ |
| | | if (inventoryPieChart) { |
| | | inventoryPieChart.dispose(); |
| | | } |
| | | |
| | | inventoryPieChart = echarts.init(inventoryPieRef.value); |
| | | // ä¼å
使ç¨åç«¯æ°æ®ï¼æ æ°æ®åç¨é»è®¤å¼ |
| | | const locationData = bigscreendata.value.inventoryLocationDist.length |
| | | ? bigscreendata.value.inventoryLocationDist |
| | | : [ |
| | | { value: 48.7, name: '常温åºAåº', itemStyle: { color: '#5470c6' } }, |
| | | { value: 29.2, name: 'å·èåºBåº', itemStyle: { color: '#91cc75' } }, |
| | | { value: 21.9, name: 'ä¿ç¨åºCåº', itemStyle: { color: '#fac858' } }, |
| | | { value: 2.2, name: 'æ®æ¬¡ååºDåº', itemStyle: { color: '#ee6666' } } |
| | | ]; |
| | | |
| | | const option = { |
| | | tooltip: { |
| | | trigger: 'item', |
| | | formatter: '{a} <br/>{b}: {c}%' |
| | | }, |
| | | legend: { |
| | | bottom: 0, |
| | | left: 'center', |
| | | data: locationData.map(item => item.name) |
| | | }, |
| | | series: [{ |
| | | name: 'åºååºä½åå¸', |
| | | type: 'pie', |
| | | radius: ['40%', '70%'], |
| | | center: ['50%', '40%'], |
| | | avoidLabelOverlap: false, |
| | | itemStyle: { |
| | | borderRadius: 10, |
| | | borderColor: '#fff', |
| | | borderWidth: 2 |
| | | }, |
| | | label: { |
| | | show: false, |
| | | position: 'center' |
| | | }, |
| | | emphasis: { |
| | | label: { |
| | | show: true, |
| | | fontSize: 20, |
| | | fontWeight: 'bold' |
| | | } |
| | | }, |
| | | labelLine: { |
| | | show: false |
| | | }, |
| | | data: locationData |
| | | }] |
| | | }; |
| | | |
| | | inventoryPieChart.setOption(option); |
| | | return inventoryPieChart; |
| | | }; |
| | | |
| | | // åå§åè¿7æ¥åºå
¥åºè¶å¿å¾ï¼å
³èåç«¯æ°æ®ï¼ |
| | | const initStockTrend = () => { |
| | | debugger |
| | | if (!stockTrendRef.value) return; |
| | | |
| | | if (stockTrendChart) { |
| | | stockTrendChart.dispose(); |
| | | } |
| | | |
| | | stockTrendChart = echarts.init(stockTrendRef.value); |
| | | // ä¼å
使ç¨åç«¯æ°æ® |
| | | const trendData = bigscreendata.value.dailyInOutBoundList; |
| | | console.log('åºå
¥åºè¶å¿æ°æ®', trendData); |
| | | |
| | | const option = { |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | axisPointer: { |
| | | type: 'cross' |
| | | } |
| | | }, |
| | | legend: { |
| | | data: ['å
¥åºé', 'åºåºé'], |
| | | top: 10 |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top: '15%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: { |
| | | type: 'category', |
| | | boundaryGap: true, |
| | | data: trendData.map(item => item.date) |
| | | }, |
| | | yAxis: { |
| | | type: 'value', |
| | | name: 'æ°éï¼åä»¶ï¼', |
| | | max: 25 |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'å
¥åºé', |
| | | type: 'bar', |
| | | barWidth: '30%', |
| | | data: trendData.map(item => item.inNum), |
| | | itemStyle: { color: '#52c41a' } |
| | | }, |
| | | { |
| | | name: 'åºåºé', |
| | | type: 'bar', |
| | | barWidth: '30%', |
| | | data: trendData.map(item => item.outNum), |
| | | itemStyle: { color: '#1890ff' } |
| | | } |
| | | ] |
| | | }; |
| | | |
| | | stockTrendChart.setOption(option); |
| | | return stockTrendChart; |
| | | }; |
| | | |
| | | // åå§ååºä½å©ç¨çç¯å½¢å¾ï¼ä¿®æ£ï¼ç»ä¸å®ä¾ç®¡çï¼å
³èåç«¯æ°æ®ï¼ |
| | | const initLocationRate = () => { |
| | | if (!locationRateRef.value) return; |
| | | |
| | | // 鿝æ§å®ä¾ |
| | | if (locationRateChart) { |
| | | locationRateChart.dispose(); |
| | | } |
| | | |
| | | locationRateChart = echarts.init(locationRateRef.value); |
| | | // ä¼å
使ç¨åç«¯æ°æ®ï¼æ æ°æ®åç¨é»è®¤å¼ |
| | | console.log('åºä½å©ç¨çæ°æ®', bigscreendata.value.locationUtilizationRate); |
| | | const utilizationRate = bigscreendata.value.locationUtilizationRate || 0; |
| | | const freeRate = 100 - utilizationRate; |
| | | |
| | | const option = { |
| | | tooltip: { |
| | | trigger: 'item', |
| | | formatter: '{b}: {c}%' |
| | | }, |
| | | legend: { |
| | | bottom: 0, |
| | | left: 'center', |
| | | data: ['å·²å ç¨åºä½', '空é²åºä½'], |
| | | textStyle: { fontSize: 12, color: '#666' } |
| | | }, |
| | | graphic: [ |
| | | { |
| | | type: 'text', |
| | | left: 'right', |
| | | top: '10%', |
| | | style: { |
| | | text: `${utilizationRate}%`, |
| | | fontSize: 24, |
| | | fontWeight: 'bold', |
| | | fill: '#333' |
| | | } |
| | | }, |
| | | { |
| | | type: 'text', |
| | | left: 'right', |
| | | top: '25%', |
| | | style: { |
| | | text: 'åºä½å©ç¨ç', |
| | | fontSize: 14, |
| | | fill: '#666' |
| | | } |
| | | } |
| | | ], |
| | | series: [ |
| | | { |
| | | type: 'pie', |
| | | radius: ['50%', '70%'], |
| | | center: ['40%', '50%'], |
| | | avoidLabelOverlap: false, |
| | | label: { show: false }, |
| | | labelLine: { show: false }, |
| | | data: [ |
| | | { value: utilizationRate, name: 'å·²å ç¨åºä½', itemStyle: { color: '#1890ff' } }, |
| | | { value: freeRate, name: '空é²åºä½', itemStyle: { color: '#e5e9f2' } } |
| | | ] |
| | | } |
| | | ] |
| | | }; |
| | | |
| | | locationRateChart.setOption(option); |
| | | return locationRateChart; |
| | | }; |
| | | |
| | | // åå§åå¼å¸¸ç±»åç»è®¡è¶å¿å¾ï¼å
³èåç«¯æ°æ®ï¼ |
| | | const initExceptionTrend = () => { |
| | | if (!exceptionTrendRef.value) return; |
| | | |
| | | if (exceptionTrendChart) { |
| | | exceptionTrendChart.dispose(); |
| | | } |
| | | |
| | | exceptionTrendChart = echarts.init(exceptionTrendRef.value); |
| | | // ä¼å
使ç¨åç«¯æ°æ® |
| | | const exceptionData = bigscreendata.value.exceptionTypeTrend.length |
| | | ? bigscreendata.value.exceptionTypeTrend |
| | | : { |
| | | dates: ['12-18', '12-19', '12-20', '12-21', '12-22', '12-23', '12-24'], |
| | | stockShort: [10, 11, 9, 12, 10, 13, 12], |
| | | orderTimeout: [8, 9, 7, 8, 7, 9, 8], |
| | | locationException: [4, 5, 2, 4, 3, 5, 4], |
| | | checkDiff: [2, 3, 1, 2, 1, 3, 2] |
| | | }; |
| | | |
| | | const option = { |
| | | tooltip: { |
| | | trigger: 'axis', |
| | | axisPointer: { |
| | | type: 'cross' |
| | | } |
| | | }, |
| | | legend: { |
| | | data: ['åºåä¸è¶³', '订åè¶
æ¶', 'åºä½å¼å¸¸', 'çç¹å·®å¼'], |
| | | top: 10 |
| | | }, |
| | | grid: { |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top: '15%', |
| | | containLabel: true |
| | | }, |
| | | xAxis: { |
| | | type: 'category', |
| | | boundaryGap: false, |
| | | data: exceptionData.dates |
| | | }, |
| | | yAxis: { |
| | | type: 'value', |
| | | name: 'å¼å¸¸æ°é' |
| | | }, |
| | | series: [ |
| | | { |
| | | name: 'åºåä¸è¶³', |
| | | type: 'line', |
| | | smooth: true, |
| | | symbol: 'circle', |
| | | symbolSize: 8, |
| | | data: exceptionData.stockShort, |
| | | itemStyle: { color: '#ff4d4f' }, |
| | | lineStyle: { width: 3 } |
| | | }, |
| | | { |
| | | name: '订åè¶
æ¶', |
| | | type: 'line', |
| | | smooth: true, |
| | | symbol: 'circle', |
| | | symbolSize: 8, |
| | | data: exceptionData.orderTimeout, |
| | | itemStyle: { color: '#faad14' }, |
| | | lineStyle: { width: 3 } |
| | | }, |
| | | { |
| | | name: 'åºä½å¼å¸¸', |
| | | type: 'line', |
| | | smooth: true, |
| | | symbol: 'circle', |
| | | symbolSize: 8, |
| | | data: exceptionData.locationException, |
| | | itemStyle: { color: '#722ed1' }, |
| | | lineStyle: { width: 3 } |
| | | }, |
| | | { |
| | | name: 'çç¹å·®å¼', |
| | | type: 'line', |
| | | smooth: true, |
| | | symbol: 'circle', |
| | | symbolSize: 8, |
| | | data: exceptionData.checkDiff, |
| | | itemStyle: { color: '#13c2c2' }, |
| | | lineStyle: { width: 3 } |
| | | } |
| | | ] |
| | | }; |
| | | |
| | | exceptionTrendChart.setOption(option); |
| | | return exceptionTrendChart; |
| | | }; |
| | | |
| | | // å·æ°ææå¾è¡¨ï¼ç§»é¤æ æé·è¾¾å¾é»è¾ï¼ |
| | | const refreshCharts = () => { |
| | | const charts = [ |
| | | initStockTrend, |
| | | initLocationRate, |
| | | ]; |
| | | |
| | | charts.forEach(initFunc => { |
| | | const chart = initFunc(); |
| | | if (chart) { |
| | | chart.resize(); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // çªå£å¤§å°ååçå¬ |
| | | const handleResize = () => { |
| | | const charts = [ |
| | | inventoryPieChart, |
| | | stockTrendChart, |
| | | locationRateChart, |
| | | exceptionTrendChart |
| | | ]; |
| | | |
| | | charts.forEach(chart => { |
| | | if (chart) { |
| | | chart.resize(); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // ç»ä»¶æè½½æ¶ï¼å
è¯·æ±æ°æ®ï¼ååå§åå¾è¡¨ |
| | | onMounted(() => { |
| | | // å
è·ååç«¯æ°æ® |
| | | fetchBigGreenData(); |
| | | // åå§åå¾è¡¨ï¼ç¡®ä¿DOM已渲æï¼ |
| | | nextTick(() => { |
| | | initInventoryPie(); |
| | | initStockTrend(); |
| | | initLocationRate(); |
| | | initExceptionTrend(); |
| | | window.addEventListener('resize', handleResize); |
| | | }); |
| | | }); |
| | | |
| | | // ç»ä»¶å¸è½½æ¶ï¼éæ¯å¾è¡¨å®ä¾ï¼ç§»é¤äºä»¶çå¬ |
| | | onUnmounted(() => { |
| | | const charts = [ |
| | | inventoryPieChart, |
| | | stockTrendChart, |
| | | locationRateChart, |
| | | exceptionTrendChart |
| | | ]; |
| | | |
| | | charts.forEach(chart => { |
| | | if (chart) { |
| | | chart.dispose(); |
| | | } |
| | | }); |
| | | clearInterval(taskCarouselTimer); // æ¸
é¤è½®æå®æ¶å¨ |
| | | window.removeEventListener('resize', handleResize); |
| | | }); |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .title { |
| | | line-height: 70vh; |
| | | text-align: center; |
| | | font-size: 28px; |
| | | color: orange; |
| | | .wms-dashboard { |
| | | padding: 24px; |
| | | background: linear-gradient(135deg, #f0f2f5 0%, #e6e9f0 100%); |
| | | min-height: 100vh; |
| | | box-sizing: border-box; |
| | | font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| | | } |
| | | |
| | | .header { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin-bottom: 20px; |
| | | background: white; |
| | | padding: 15px 20px; |
| | | border-radius: 8px; |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); |
| | | } |
| | | |
| | | .stats-card-row, |
| | | .chart-row, |
| | | .table-row { |
| | | margin-bottom: 20px; |
| | | } |
| | | |
| | | /* æ ¸å¿ä¿®æ¹ï¼è¡¥å
divçcardçåºç¡æ ·å¼ï¼æ¨¡æel-cardçè§è§ææ */ |
| | | .stats-card, .chart-card, .table-card { |
| | | background: #fff; |
| | | border-radius: 8px; |
| | | box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04); |
| | | border: 1px solid #ebeef5; |
| | | } |
| | | |
| | | .stats-card { |
| | | height: 140px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: center; |
| | | padding: 20px 15px; |
| | | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| | | position: relative; |
| | | overflow: hidden; |
| | | background: linear-gradient(145deg, #ffffff 0%, #f9fafc 100%); |
| | | } |
| | | |
| | | |
| | | .stats-card:hover { |
| | | transform: translateY(-6px) scale(1.02); |
| | | box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); |
| | | border-color: #409eff; |
| | | background: linear-gradient(145deg, #ffffff 0%, #f0f2f5 100%); |
| | | } |
| | | |
| | | .metric-icon { |
| | | width: 56px; |
| | | height: 56px; |
| | | border-radius: 16px; |
| | | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | color: white; |
| | | margin-bottom: 12px; |
| | | box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); |
| | | transition: all 0.3s ease; |
| | | } |
| | | |
| | | |
| | | .card-title { |
| | | font-size: 15px; |
| | | color: #606266; |
| | | margin-bottom: 10px; |
| | | font-weight: 500; |
| | | letter-spacing: 0.5px; |
| | | } |
| | | |
| | | .card-value { |
| | | font-size: 26px; |
| | | font-weight: 600; |
| | | margin: 4px 0; |
| | | background: linear-gradient(to right, #409eff, #36cfc9); |
| | | -webkit-background-clip: text; |
| | | -webkit-text-fill-color: transparent; |
| | | background-clip: text; |
| | | } |
| | | |
| | | |
| | | .card-value { |
| | | font-size: 32px; |
| | | font-weight: 700; |
| | | margin: 8px 0 4px; |
| | | color: #2c3e50; |
| | | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| | | line-height: 1.2; |
| | | } |
| | | |
| | | .card-change { |
| | | margin-top: 3px; |
| | | } |
| | | |
| | | .chart-card { |
| | | height: 400px; |
| | | padding: 24px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%); |
| | | border: none; |
| | | box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); |
| | | border-radius: 12px; |
| | | transition: all 0.3s ease; |
| | | overflow: hidden; |
| | | position: relative; |
| | | } |
| | | |
| | | .chart-card:hover { |
| | | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); |
| | | transform: translateY(-2px); |
| | | } |
| | | |
| | | .chart-container { |
| | | width: 100%; |
| | | height: 100%; |
| | | min-height: 300px; |
| | | flex: 1; |
| | | position: relative; |
| | | border-radius: 8px; |
| | | background: rgba(255, 255, 255, 0.7); |
| | | backdrop-filter: blur(5px); |
| | | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03); |
| | | } |
| | | |
| | | |
| | | .chart-title, |
| | | .table-title { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin-bottom: 24px; |
| | | font-size: 18px; |
| | | font-weight: 600; |
| | | color: #2c3e50; |
| | | padding-left: 12px; |
| | | border-left: 4px solid #409eff; |
| | | position: relative; |
| | | letter-spacing: 0.5px; |
| | | } |
| | | |
| | | |
| | | .view-btn { |
| | | font-size: 12px; |
| | | } |
| | | |
| | | .table-card { |
| | | padding: 24px; |
| | | background: #fff; |
| | | border-radius: 12px; |
| | | box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); |
| | | border: 1px solid rgba(0, 0, 0, 0.04); |
| | | overflow: hidden; |
| | | transition: all 0.3s ease; |
| | | } |
| | | |
| | | .table-card:hover { |
| | | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); |
| | | transform: translateY(-2px); |
| | | } |
| | | |
| | | .table-pagination { |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | margin-top: 20px; |
| | | padding-top: 15px; |
| | | border-top: 1px solid #ebeef5; |
| | | } |
| | | |
| | | /* è¡¨æ ¼æ ·å¼ä¼å */ |
| | | :deep(.el-table) { |
| | | border-radius: 6px; |
| | | overflow: hidden; |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); |
| | | } |
| | | |
| | | :deep(.el-table th) { |
| | | background-color: #f5f7fa; |
| | | color: #606266; |
| | | font-weight: 600; |
| | | padding: 12px 0; |
| | | } |
| | | |
| | | :deep(.el-table td) { |
| | | padding: 12px 0; |
| | | } |
| | | |
| | | :deep(.el-table--border) { |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | :deep(.el-table--border::after) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table--group::after) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table::before) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table__fixed-right::before) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table__fixed::before) { |
| | | display: none; |
| | | } |
| | | |
| | | /* å页卿 ·å¼ä¼å */ |
| | | :deep(.el-pagination) { |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | :deep(.el-pagination .btn-prev), |
| | | :deep(.el-pagination .btn-next), |
| | | :deep(.el-pagination .el-pager li) { |
| | | border-radius: 4px; |
| | | margin: 0 2px; |
| | | transition: all 0.3s; |
| | | } |
| | | |
| | | :deep(.el-pagination .btn-prev:hover), |
| | | :deep(.el-pagination .btn-next:hover), |
| | | :deep(.el-pagination .el-pager li:hover) { |
| | | transform: translateY(-2px); |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| | | } |
| | | |
| | | :deep(.el-pagination .el-pager li.active) { |
| | | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| | | color: #fff; |
| | | } |
| | | |
| | | /* ä»»å¡ç¶ææ ·å¼ */ |
| | | .task-status { |
| | | display: inline-block; |
| | | padding: 6px 12px; |
| | | border-radius: 20px; |
| | | font-size: 13px; |
| | | font-weight: 500; |
| | | text-align: center; |
| | | min-width: 80px; |
| | | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); |
| | | transition: all 0.2s ease; |
| | | letter-spacing: 0.5px; |
| | | } |
| | | |
| | | .status-pending { |
| | | background-color: rgba(64, 158, 255, 0.1); |
| | | color: #409eff; |
| | | border: 1px solid rgba(64, 158, 255, 0.2); |
| | | } |
| | | |
| | | .status-processing { |
| | | background-color: rgba(103, 194, 58, 0.1); |
| | | color: #67c23a; |
| | | border: 1px solid rgba(103, 194, 58, 0.2); |
| | | } |
| | | |
| | | .status-completed { |
| | | background-color: rgba(103, 194, 58, 0.1); |
| | | color: #67c23a; |
| | | border: 1px solid rgba(103, 194, 58, 0.2); |
| | | } |
| | | |
| | | .status-suspended { |
| | | background-color: rgba(230, 162, 60, 0.1); |
| | | color: #e6a23c; |
| | | border: 1px solid rgba(230, 162, 60, 0.2); |
| | | } |
| | | |
| | | .status-canceled { |
| | | background-color: rgba(144, 147, 153, 0.1); |
| | | color: #909399; |
| | | border: 1px solid rgba(144, 147, 153, 0.2); |
| | | } |
| | | |
| | | .status-error { |
| | | background-color: rgba(245, 108, 108, 0.1); |
| | | color: #f56c6c; |
| | | border: 1px solid rgba(245, 108, 108, 0.2); |
| | | } |
| | | |
| | | .status-unknown { |
| | | background-color: rgba(144, 147, 153, 0.1); |
| | | color: #909399; |
| | | border: 1px solid rgba(144, 147, 153, 0.2); |
| | | } |
| | | |
| | | /* ä»»å¡ç±»åæ ·å¼ */ |
| | | .task-type { |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | padding: 5px 12px; |
| | | border-radius: 16px; |
| | | font-size: 13px; |
| | | font-weight: 600; |
| | | text-align: center; |
| | | min-width: 70px; |
| | | position: relative; |
| | | overflow: hidden; |
| | | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| | | letter-spacing: 0.5px; |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | | } |
| | | |
| | | @keyframes pulse { |
| | | 0% { |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | | } |
| | | 50% { |
| | | box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12); |
| | | } |
| | | 100% { |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | | } |
| | | } |
| | | |
| | | .task-type::before { |
| | | content: ""; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); |
| | | transform: translateX(-100%); |
| | | transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); |
| | | } |
| | | |
| | | .task-type:hover::before { |
| | | transform: translateX(0); |
| | | } |
| | | |
| | | .task-type:hover { |
| | | transform: translateY(-3px); |
| | | box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); |
| | | } |
| | | |
| | | .task-type::after { |
| | | content: ""; |
| | | position: absolute; |
| | | bottom: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 3px; |
| | | background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); |
| | | transform: scaleX(0); |
| | | transform-origin: center; |
| | | transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); |
| | | } |
| | | |
| | | .task-type:hover::after { |
| | | transform: scaleX(1); |
| | | } |
| | | |
| | | .type-inbound:hover { |
| | | box-shadow: 0 5px 15px rgba(19, 194, 194, 0.4); |
| | | } |
| | | |
| | | .type-outbound:hover { |
| | | box-shadow: 0 5px 15px rgba(47, 84, 235, 0.4); |
| | | } |
| | | |
| | | .type-transfer:hover { |
| | | box-shadow: 0 5px 15px rgba(250, 140, 22, 0.4); |
| | | } |
| | | |
| | | .type-other:hover { |
| | | box-shadow: 0 5px 15px rgba(114, 46, 209, 0.4); |
| | | } |
| | | |
| | | .type-unknown:hover { |
| | | box-shadow: 0 5px 15px rgba(89, 89, 89, 0.4); |
| | | } |
| | | |
| | | .type-inbound { |
| | | background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(19, 194, 194, 0.3); |
| | | animation: pulse 2s infinite; |
| | | } |
| | | |
| | | .type-outbound { |
| | | background: linear-gradient(135deg, #2f54eb 0%, #597ef7 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(47, 84, 235, 0.3); |
| | | animation: pulse 2.5s infinite; |
| | | } |
| | | |
| | | .type-transfer { |
| | | background: linear-gradient(135deg, #fa8c16 0%, #ffc53d 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(250, 140, 22, 0.3); |
| | | animation: pulse 3s infinite; |
| | | } |
| | | |
| | | .type-other { |
| | | background: linear-gradient(135deg, #722ed1 0%, #b37feb 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(114, 46, 209, 0.3); |
| | | animation: pulse 2.2s infinite; |
| | | } |
| | | |
| | | .type-unknown { |
| | | background: linear-gradient(135deg, #595959 0%, #8c8c8c 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(89, 89, 89, 0.3); |
| | | animation: pulse 2.8s infinite; |
| | | } |
| | | |
| | | |
| | | .btn-group { |
| | | margin-left: 10px; |
| | | } |
| | | |
| | | /* ç§»é¤åæçel-card__bodyæ ·å¼ç©¿éï¼å ä¸ºå·²ç»æ¿æ¢ä¸ºçº¯div */ |
| | | </style> |
| | |
| | | <template> |
| | | <div class="wms-dashboard"> |
| | | <!-- 顶鍿 颿 --> |
| | | <!-- <div class="header"> |
| | | <h1>WMSä»å¨å¯è§åå¾è¡¨çæ¿</h1> |
| | | <div class="header-right"> |
| | | <span>2025-12-24 16:11:44</span> |
| | | <el-select v-model="month" placeholder="æ¬æ" style="margin-left: 10px; width: 80px;"> |
| | | <el-option label="æ¬æ" value="month"></el-option> |
| | | <el-option label="䏿" value="lastMonth"></el-option> |
| | | </el-select> |
| | | <el-button type="primary" style="margin-left: 10px;" @click="refreshCharts">å·æ°</el-button> |
| | | </div> |
| | | </div> --> |
| | | |
| | | <!-- ç»è®¡å¡çåºå - ç»å®ååºå¼æ°æ® --> |
| | | <el-row :gutter="20" class="stats-card-row"> |
| | | <el-col :span="6"> |
| | | <el-card class="stats-card"> |
| | | <div class="card-title">æ»åºåï¼ä»¶ï¼</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.totalStockQuantity) }}</div> |
| | | <!-- <div class="card-change"><el-tag type="success">â 2.1% è¾æ¨æ¥</el-tag></div> --> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-card class="stats-card"> |
| | | <div class="card-title">å¾
åºåºè®¢å</div> |
| | | <div class="card-value">{{ bigscreendata.unOutBoundOrderCount }}</div> |
| | | <!-- <div class="card-change"><el-tag type="warning">â 5.3% è¾1å°æ¶å</el-tag></div> --> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-card class="stats-card"> |
| | | <div class="card-title">仿¥ä½ä¸å®æç</div> |
| | | <div class="card-value">{{ bigscreendata.dailyCompletionRate ? `${bigscreendata.dailyCompletionRate}%` : '0%' }}</div> |
| | | <!-- <div class="card-change"><el-tag type="success">â 1.8% è¾æ¨æ¥</el-tag></div> --> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-card class="stats-card"> |
| | | <div class="card-title">æªå¤çå¼å¸¸</div> |
| | | <div class="card-value">{{ bigscreendata.unhandledExceptionCount || 0 }}</div> |
| | | <!-- <div class="card-change"><el-tag type="danger">â 1 è¾30åéå</el-tag></div> --> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Box /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">æ»åºå</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.totalStockQuantity) }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Document /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">å¾
åºåºè®¢å</div> |
| | | <div class="card-value">{{ bigscreendata.unOutBoundOrderCount }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Download /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">仿¥å
¥åºå®ææ°</div> |
| | | <div class="card-value">{{ bigscreendata.inboundCount }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Upload /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">仿¥åºåºå®ææ°</div> |
| | | <div class="card-value">{{ bigscreendata.outboundCount }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Box /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">æè´§æç®±</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.inStockPallet) }}</div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <div class="stats-card"> |
| | | <div class="metric-icon"> |
| | | <el-icon :size="32"> |
| | | <Box /> |
| | | </el-icon> |
| | | </div> |
| | | <div class="card-title">空箱æ°é</div> |
| | | <div class="card-value">{{ formatNumber(bigscreendata.freeStockPallet) }}</div> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | |
| | | <!-- å¾è¡¨åºåï¼ç¬¬ä¸è¡ï¼ --> |
| | | <el-row :gutter="20" class="chart-row"> |
| | | <el-col :span="12"> |
| | | <el-card class="chart-card"> |
| | | <div class="chart-title">åºååºä½åå¸ï¼å¾ååå æ¯ï¼</div> |
| | | <div ref="inventoryPieRef" class="chart-container"></div> |
| | | </el-card> |
| | | <!-- æ¿æ¢el-card为divï¼ä¿çchart-cardç±»å --> |
| | | <div class="chart-card"> |
| | | <div class="chart-title">åºä½å©ç¨ç</div> |
| | | <div ref="locationRateRef" class="chart-container"></div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-card class="chart-card"> |
| | | <div class="chart-title">è¿7æ¥åºå
¥åºè¶å¿ï¼å¾ååèµ°å¿ï¼ |
| | | <!-- <el-button-group class="btn-group"> |
| | | <el-button type="primary" size="small">å
¨é¨</el-button> |
| | | <el-button type="default" size="small">å
¥åº</el-button> |
| | | <el-button type="default" size="small">åºåº</el-button> |
| | | </el-button-group> --> |
| | | </div> |
| | | <div class="chart-card"> |
| | | <div class="chart-title">è¿7æ¥åºå
¥åºè¶å¿ï¼å¾ååèµ°å¿ï¼</div> |
| | | <div ref="stockTrendRef" class="chart-container"></div> |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- å¾è¡¨åºåï¼ç¬¬äºè¡ï¼ --> |
| | | <el-row :gutter="20" class="chart-row"> |
| | | <el-col :span="12"> |
| | | <el-card class="chart-card"> |
| | | <div class="chart-title">åºä½å©ç¨ç</div> |
| | | <div ref="locationRateRef" class="chart-container"></div> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-card class="chart-card"> |
| | | <div class="chart-title">å¼å¸¸ç±»åç»è®¡è¶å¿<el-button type="text" class="view-btn">çé</el-button></div> |
| | | <div ref="exceptionTrendRef" class="chart-container"></div> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <!-- è¡¨æ ¼åºå - ç»å®å端ä½ä¸æ°æ® --> |
| | | <el-row :gutter="20" class="table-row" width="100%"> |
| | | <el-col :span="24"> |
| | | <el-card class="table-card"> |
| | | <div class="table-title">宿¶ä½ä¸çæ§ |
| | | <el-button-group class="btn-group"> |
| | | <el-button type="primary" size="small">å
¨é¨ä½ä¸</el-button> |
| | | <el-button type="default" size="small">å
¥åº</el-button> |
| | | <el-button type="default" size="small">åºåº</el-button> |
| | | <el-button type="default" size="small">çç¹</el-button> |
| | | </el-button-group> |
| | | </div> |
| | | <el-table :data="bigscreendata.taskList.length ? bigscreendata.taskList : operationList" border style="width: 100%;"> |
| | | <el-table-column prop="opNo" label="ä½ä¸åå·" /> |
| | | <el-table-column prop="opType" label="ä½ä¸ç±»å" /> |
| | | <el-table-column prop="operator" label="æä½äººå" /> |
| | | <el-table-column prop="startTime" label="å¼å§æ¶é´" /> |
| | | <el-table-column prop="status" label="å½åç¶æ"> |
| | | <template #default="scope"> |
| | | <el-tag :type="scope.row.status === 'å¤çä¸' ? 'info' : scope.row.status === '已宿' ? 'success' : 'danger'"> |
| | | {{ scope.row.status }} |
| | | </el-tag> |
| | | <!-- æ¿æ¢el-card为divï¼ä¿çtable-cardç±»å --> |
| | | <div class="table-card"> |
| | | <div class="table-title">宿¶ä½ä¸çæ§</div> |
| | | <el-table :data="showTaskList" border style="width: 100%;"> |
| | | <el-table-column prop="taskNum" label="ä»»å¡å·" /> |
| | | <el-table-column prop="taskStatus" label="ä»»å¡ç¶æ" > |
| | | <template #default="{ row }"> |
| | | <span class="task-status" :class="getStatusClass(row.taskStatus)">{{ getTaskStatusText(row.taskStatus) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½"><el-button type="text">详æ
</el-button></el-table-column> |
| | | <el-table-column prop="taskType" label="ä»»å¡ç±»å" > |
| | | <template #default="{ row }"> |
| | | <span class="task-type" :class="getTypeClass(row.taskType)">{{ getTaskTypeText(row.taskType) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="palletCode" label="æçç¼å·" /> |
| | | <el-table-column prop="sourceAddress" label="èµ·ç¹ä½ç½®"/> |
| | | <el-table-column prop="targetAddress" label="ç»ç¹ä½ç½®"/> |
| | | <el-table-column prop="createDate" label="å建æ¶é´"/> |
| | | </el-table> |
| | | <div class="table-pagination"> |
| | | <el-pagination layout="prev, pager, next, jumper" :current-page="1" :total="50" /> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | |
| | | dailyCompletionRate: 0, |
| | | unhandledExceptionCount: 0, |
| | | locationUtilizationRate: 0, |
| | | inStockPallet: 0, |
| | | freeStockPallet: 0, |
| | | dailyInOutBoundList: [], |
| | | taskList: [], |
| | | inboundCount: 0, |
| | | outboundCount: 0, |
| | | inventoryLocationDist: [], // åºååºä½å叿°æ® |
| | | exceptionTypeTrend: [] // å¼å¸¸ç±»åè¶å¿æ°æ® |
| | | }); |
| | | |
| | | const taskStatusMap = { |
| | | 100: "æ°å»º", |
| | | 105: "å·²åé", |
| | | 200: "å åæºå¾
æ§è¡", |
| | | 210: "å åæºæ§è¡ä¸", |
| | | 220: "å åæºå®æ", |
| | | 400: "è¾é线å¾
æ§è¡", |
| | | 410: "è¾é线æ§è¡ä¸", |
| | | 420: "è¾éçº¿å®æ", |
| | | 300: "AGVå¾
æ§è¡", |
| | | 310: "AGVæ§è¡ä¸", |
| | | 315: "AGVåè´§ä¸", |
| | | 320: "AGVå¾
ç»§ç»æ§è¡", |
| | | 325: "AGVæ¾è´§ä¸", |
| | | 330: "AGV宿", |
| | | 900: "ä»»å¡å®æ", |
| | | 970: "ä»»å¡æèµ·", |
| | | 980: "ä»»å¡åæ¶", |
| | | 990: "ä»»å¡å¼å¸¸", |
| | | 110: "æåæºæ§è¡ä¸" |
| | | }; |
| | | const getTaskStatusText = (statusNum) => { |
| | | // å¤ç空å¼ãæ æå¼ï¼å
åºæ¾ç¤ºâæªç¥ç¶æâ |
| | | if (statusNum === undefined || statusNum === null || isNaN(statusNum)) { |
| | | return "æªç¥ç¶æ"; |
| | | } |
| | | // ç²¾åå¹é
æ å°å¼ï¼æ å¹é
åè¿åâæªç¥ç¶æâ |
| | | return taskStatusMap[statusNum] || "æªç¥ç¶æ"; |
| | | }; |
| | | const showTaskList = ref([]); // è¡¨æ ¼æ¾ç¤ºç5æ¡ä»»å¡ï¼è½®æç¨ï¼ |
| | | const currentTaskIndex = ref(5); // ä¸ä¸ä¸ªè¦æ¾ç¤ºçä»»å¡ç´¢å¼ï¼åå§ä»ç¬¬6æ¡å¼å§ï¼å5æ¡é»è®¤æ¾ç¤ºï¼ |
| | | let taskCarouselTimer = null; // è½®æå®æ¶å¨ |
| | | // æ°åæ ¼å¼åï¼ååä½åéï¼ |
| | | const formatNumber = (num) => { |
| | | if (!num) return '0'; |
| | | return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); |
| | | }; |
| | | |
| | | const startTaskCarousel = () => { |
| | | // æ¸
餿§å®æ¶å¨ï¼é²æ¢éå¤å¯å¨ |
| | | if (taskCarouselTimer) clearInterval(taskCarouselTimer); |
| | | |
| | | const totalTask = bigscreendata.value.taskList.length; |
| | | // 任塿°<=5æ¶ï¼ä¸è½®æï¼æ²¡ææ´å¤ä»»å¡å¯æ¢ï¼ |
| | | if (totalTask <= 5) { |
| | | showTaskList.value = [...bigscreendata.value.taskList]; |
| | | return; |
| | | } |
| | | |
| | | // å¯å¨5ç§å®æ¶å¨ |
| | | taskCarouselTimer = setInterval(() => { |
| | | // 1. æ°å¢ä¸1æ¡ä»»å¡å°æ¾ç¤ºå表æ«å°¾ |
| | | showTaskList.value.push(bigscreendata.value.taskList[currentTaskIndex.value]); |
| | | // 2. å é¤å表æåé¢1æ¡æ§ä»»å¡ï¼å§ç»ä¿æ5æ¡ï¼ |
| | | showTaskList.value.shift(); |
| | | // 3. æ´æ°ä¸ä¸ä¸ªä»»å¡ç´¢å¼ï¼è¶
åºæ»æ°åéç½®ï¼å¾ªç¯è½®æï¼ |
| | | currentTaskIndex.value++; |
| | | if (currentTaskIndex.value >= totalTask) { |
| | | currentTaskIndex.value = 0; // é置为0ï¼å¾ªç¯ææ¾ |
| | | } |
| | | }, 5000); // 5ç§é´é |
| | | }; |
| | | |
| | | const getTaskTypeText = (taskTypeNum) => { |
| | | // å¤ç空å¼/æ æå¼ |
| | | if (!taskTypeNum || isNaN(taskTypeNum)) return "æªç¥ç±»å"; |
| | | |
| | | // 对åºå端TaskEnumHelperçåç»è§å |
| | | if (taskTypeNum >= 500 && taskTypeNum < 900) return "å
¥åº"; |
| | | if (taskTypeNum >= 100 && taskTypeNum < 500) return "åºåº"; |
| | | if (taskTypeNum >= 900 && taskTypeNum < 1000) return "ç§»åº"; |
| | | return "å
¶ä»ä½ä¸"; // å
åº |
| | | }; |
| | | |
| | | // è·åä»»å¡ç¶ææ ·å¼ç±» |
| | | const getStatusClass = (statusNum) => { |
| | | if (statusNum === undefined || statusNum === null || isNaN(statusNum)) { |
| | | return "status-unknown"; |
| | | } |
| | | |
| | | // æ ¹æ®ç¶æèå´è¿åä¸åæ ·å¼ |
| | | if (statusNum >= 900) return "status-completed"; // 宿 |
| | | if (statusNum >= 400) return "status-processing"; // è¾é线æ§è¡ä¸ |
| | | if (statusNum >= 300) return "status-processing"; // AGVæ§è¡ä¸ |
| | | if (statusNum >= 200) return "status-processing"; // å åæºæ§è¡ä¸ |
| | | if (statusNum >= 100) return "status-pending"; // æ°å»ºãå·²åé |
| | | if (statusNum === 970) return "status-suspended"; // æèµ· |
| | | if (statusNum === 980) return "status-canceled"; // åæ¶ |
| | | if (statusNum === 990) return "status-error"; // å¼å¸¸ |
| | | |
| | | return "status-unknown"; |
| | | }; |
| | | |
| | | // è·åä»»å¡ç±»åæ ·å¼ç±» |
| | | const getTypeClass = (taskTypeNum) => { |
| | | if (!taskTypeNum || isNaN(taskTypeNum)) return "type-unknown"; |
| | | |
| | | // 对åºå端TaskEnumHelperçåç»è§å |
| | | if (taskTypeNum >= 500 && taskTypeNum < 900) return "type-inbound"; // å
¥åº |
| | | if (taskTypeNum >= 100 && taskTypeNum < 500) return "type-outbound"; // åºåº |
| | | if (taskTypeNum >= 900 && taskTypeNum < 1000) return "type-transfer"; // ç§»åº |
| | | |
| | | return "type-other"; // å
¶ä»ä½ä¸ |
| | | }; |
| | | |
| | | // è·ååç«¯å¤§å±æ°æ® |
| | | const fetchBigGreenData = async () => { |
| | | try { |
| | | // ä¿®æ£ï¼ä»£çå·²é
ç½®ï¼ç§»é¤å¤ä½ç/apiåç¼ |
| | | debugger |
| | | const res = await http.get('/api/BigScreen/GetBigGreenData'); |
| | | console.log('大屿°æ®', res); |
| | | // èµå¼ååºå¼æ°æ®ï¼å
¼å®¹å端ç»ä¸è¿åæ ¼å¼ï¼ |
| | | |
| | | bigscreendata.value = res.data || res; |
| | | // æ°æ®æ´æ°åå·æ°å¾è¡¨ |
| | | nextTick(() => { |
| | | const total = bigscreendata.value.taskList.length; |
| | | // åå§åæ¾ç¤ºå5æ¡ï¼ä¸è¶³5æ¡åæ¾ç¤ºå
¨é¨ï¼ |
| | | showTaskList.value = total >=5 |
| | | ? [...bigscreendata.value.taskList.slice(0,5)] |
| | | : [...bigscreendata.value.taskList]; |
| | | startTaskCarousel(); // å¯å¨ä»»å¡è½®æ |
| | | refreshCharts(); |
| | | }); |
| | | } catch (error) { |
| | | console.error('è·å大屿°æ®å¤±è´¥ï¼', error); |
| | | ElMessage.error('æ°æ®è·å失败ï¼è¯·æ£æ¥å端æ¥å£æ¯å¦æ£å¸¸'); // æ¿æ¢ä¸ºElement Plusæ¶æ¯æç¤º |
| | | ElMessage.error('æ°æ®è·å失败ï¼è¯·æ£æ¥å端æ¥å£æ¯å¦æ£å¸¸'); |
| | | } |
| | | }; |
| | | |
| | | console.log('大屿°æ®111', bigscreendata.value); |
| | | |
| | | // å¤ç¨æ¨¡ææ°æ® |
| | | const operationList = ref([ |
| | |
| | | let exceptionTrendChart = null; |
| | | |
| | | // åå§ååºååºä½åå¸é¥¼å¾ï¼å
³èåç«¯æ°æ®ï¼ |
| | | const initInventoryPie = () => { |
| | | const initInventoryPie= () => { |
| | | if (!inventoryPieRef.value) return; |
| | | |
| | | // 鿝æ§å®ä¾ï¼é²æ¢å
åæ³æ¼ |
| | |
| | | |
| | | // åå§åè¿7æ¥åºå
¥åºè¶å¿å¾ï¼å
³èåç«¯æ°æ®ï¼ |
| | | const initStockTrend = () => { |
| | | debugger |
| | | if (!stockTrendRef.value) return; |
| | | |
| | | if (stockTrendChart) { |
| | |
| | | |
| | | stockTrendChart = echarts.init(stockTrendRef.value); |
| | | // ä¼å
使ç¨åç«¯æ°æ® |
| | | const trendData = bigscreendata.value.dailyInOutBoundList.length |
| | | ? bigscreendata.value.dailyInOutBoundList |
| | | : [ |
| | | { date: '12-18', inNum: 10, outNum: 16 }, |
| | | { date: '12-19', inNum: 12, outNum: 18 }, |
| | | { date: '12-20', inNum: 10, outNum: 14 }, |
| | | { date: '12-21', inNum: 12, outNum: 18 }, |
| | | { date: '12-22', inNum: 10, outNum: 16 }, |
| | | { date: '12-23', inNum: 12, outNum: 18 }, |
| | | { date: '12-24', inNum: 12, outNum: 20 } |
| | | ]; |
| | | const trendData = bigscreendata.value.dailyInOutBoundList; |
| | | console.log('åºå
¥åºè¶å¿æ°æ®', trendData); |
| | | |
| | | const option = { |
| | | tooltip: { |
| | |
| | | locationRateChart = echarts.init(locationRateRef.value); |
| | | // ä¼å
使ç¨åç«¯æ°æ®ï¼æ æ°æ®åç¨é»è®¤å¼ |
| | | console.log('åºä½å©ç¨çæ°æ®', bigscreendata.value.locationUtilizationRate); |
| | | const utilizationRate = bigscreendata.value.locationUtilizationRate || 86.2; |
| | | const utilizationRate = bigscreendata.value.locationUtilizationRate || 0; |
| | | const freeRate = 100 - utilizationRate; |
| | | |
| | | const option = { |
| | |
| | | // å·æ°ææå¾è¡¨ï¼ç§»é¤æ æé·è¾¾å¾é»è¾ï¼ |
| | | const refreshCharts = () => { |
| | | const charts = [ |
| | | initInventoryPie, |
| | | initStockTrend, |
| | | initLocationRate, |
| | | initExceptionTrend |
| | | ]; |
| | | |
| | | charts.forEach(initFunc => { |
| | |
| | | chart.dispose(); |
| | | } |
| | | }); |
| | | |
| | | clearInterval(taskCarouselTimer); // æ¸
é¤è½®æå®æ¶å¨ |
| | | window.removeEventListener('resize', handleResize); |
| | | }); |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .wms-dashboard { |
| | | padding: 20px; |
| | | background: #f5f7fa; |
| | | padding: 24px; |
| | | background: linear-gradient(135deg, #f0f2f5 0%, #e6e9f0 100%); |
| | | min-height: 100vh; |
| | | box-sizing: border-box; |
| | | font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| | | } |
| | | |
| | | .header { |
| | |
| | | margin-bottom: 20px; |
| | | } |
| | | |
| | | /* æ ¸å¿ä¿®æ¹ï¼è¡¥å
divçcardçåºç¡æ ·å¼ï¼æ¨¡æel-cardçè§è§ææ */ |
| | | .stats-card, .chart-card, .table-card { |
| | | background: #fff; |
| | | border-radius: 8px; |
| | | box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04); |
| | | border: 1px solid #ebeef5; |
| | | } |
| | | |
| | | .stats-card { |
| | | height: 120px; |
| | | height: 140px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | padding: 0 20px; |
| | | align-items: center; |
| | | padding: 20px 15px; |
| | | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| | | position: relative; |
| | | overflow: hidden; |
| | | background: linear-gradient(145deg, #ffffff 0%, #f9fafc 100%); |
| | | } |
| | | |
| | | |
| | | .stats-card:hover { |
| | | transform: translateY(-6px) scale(1.02); |
| | | box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); |
| | | border-color: #409eff; |
| | | background: linear-gradient(145deg, #ffffff 0%, #f0f2f5 100%); |
| | | } |
| | | |
| | | .metric-icon { |
| | | width: 56px; |
| | | height: 56px; |
| | | border-radius: 16px; |
| | | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | color: white; |
| | | margin-bottom: 12px; |
| | | box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); |
| | | transition: all 0.3s ease; |
| | | } |
| | | |
| | | .stats-card:hover { |
| | | transform: translateY(-2px); |
| | | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
| | | } |
| | | |
| | | .card-title { |
| | | font-size: 14px; |
| | | color: #666; |
| | | margin-bottom: 8px; |
| | | font-size: 15px; |
| | | color: #606266; |
| | | margin-bottom: 10px; |
| | | font-weight: 500; |
| | | letter-spacing: 0.5px; |
| | | } |
| | | |
| | | .card-value { |
| | | font-size: 28px; |
| | | font-weight: bold; |
| | | font-size: 26px; |
| | | font-weight: 600; |
| | | margin: 4px 0; |
| | | background: linear-gradient(to right, #409eff, #36cfc9); |
| | | -webkit-background-clip: text; |
| | | -webkit-text-fill-color: transparent; |
| | | background-clip: text; |
| | | } |
| | | |
| | | |
| | | .card-value { |
| | | font-size: 32px; |
| | | font-weight: 700; |
| | | margin: 8px 0 4px; |
| | | color: #333; |
| | | color: #2c3e50; |
| | | text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| | | line-height: 1.2; |
| | | } |
| | | |
| | | .card-change { |
| | | margin-top: 8px; |
| | | margin-top: 3px; |
| | | } |
| | | |
| | | .chart-card { |
| | | height: 350px; |
| | | padding: 15px; |
| | | height: 400px; |
| | | padding: 24px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%); |
| | | border: none; |
| | | box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); |
| | | border-radius: 12px; |
| | | transition: all 0.3s ease; |
| | | overflow: hidden; |
| | | position: relative; |
| | | } |
| | | |
| | | .chart-card:hover { |
| | | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); |
| | | transform: translateY(-2px); |
| | | } |
| | | |
| | | .chart-container { |
| | | width: 100%; |
| | | height: 100%; |
| | | min-height: 240px; |
| | | min-height: 300px; |
| | | flex: 1; |
| | | position: relative; |
| | | border-radius: 8px; |
| | | background: rgba(255, 255, 255, 0.7); |
| | | backdrop-filter: blur(5px); |
| | | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03); |
| | | } |
| | | |
| | | |
| | | .chart-title, |
| | | .table-title { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin-bottom: 15px; |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | color: #333; |
| | | margin-bottom: 24px; |
| | | font-size: 18px; |
| | | font-weight: 600; |
| | | color: #2c3e50; |
| | | padding-left: 12px; |
| | | border-left: 4px solid #409eff; |
| | | position: relative; |
| | | letter-spacing: 0.5px; |
| | | } |
| | | |
| | | |
| | | .view-btn { |
| | | font-size: 12px; |
| | | } |
| | | |
| | | .table-card { |
| | | padding: 24px; |
| | | background: #fff; |
| | | border-radius: 12px; |
| | | box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); |
| | | border: 1px solid rgba(0, 0, 0, 0.04); |
| | | overflow: hidden; |
| | | transition: all 0.3s ease; |
| | | } |
| | | |
| | | .table-card:hover { |
| | | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); |
| | | transform: translateY(-2px); |
| | | } |
| | | |
| | | .table-pagination { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | margin-top: 15px; |
| | | margin-top: 20px; |
| | | padding-top: 15px; |
| | | border-top: 1px solid #ebeef5; |
| | | } |
| | | |
| | | /* è¡¨æ ¼æ ·å¼ä¼å */ |
| | | :deep(.el-table) { |
| | | border-radius: 6px; |
| | | overflow: hidden; |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); |
| | | } |
| | | |
| | | :deep(.el-table th) { |
| | | background-color: #f5f7fa; |
| | | color: #606266; |
| | | font-weight: 600; |
| | | padding: 12px 0; |
| | | } |
| | | |
| | | :deep(.el-table td) { |
| | | padding: 12px 0; |
| | | } |
| | | |
| | | :deep(.el-table--border) { |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | :deep(.el-table--border::after) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table--group::after) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table::before) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table__fixed-right::before) { |
| | | display: none; |
| | | } |
| | | |
| | | :deep(.el-table__fixed::before) { |
| | | display: none; |
| | | } |
| | | |
| | | /* å页卿 ·å¼ä¼å */ |
| | | :deep(.el-pagination) { |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | :deep(.el-pagination .btn-prev), |
| | | :deep(.el-pagination .btn-next), |
| | | :deep(.el-pagination .el-pager li) { |
| | | border-radius: 4px; |
| | | margin: 0 2px; |
| | | transition: all 0.3s; |
| | | } |
| | | |
| | | :deep(.el-pagination .btn-prev:hover), |
| | | :deep(.el-pagination .btn-next:hover), |
| | | :deep(.el-pagination .el-pager li:hover) { |
| | | transform: translateY(-2px); |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| | | } |
| | | |
| | | :deep(.el-pagination .el-pager li.active) { |
| | | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| | | color: #fff; |
| | | } |
| | | |
| | | /* ä»»å¡ç¶ææ ·å¼ */ |
| | | .task-status { |
| | | display: inline-block; |
| | | padding: 6px 12px; |
| | | border-radius: 20px; |
| | | font-size: 13px; |
| | | font-weight: 500; |
| | | text-align: center; |
| | | min-width: 80px; |
| | | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); |
| | | transition: all 0.2s ease; |
| | | letter-spacing: 0.5px; |
| | | } |
| | | |
| | | .status-pending { |
| | | background-color: rgba(64, 158, 255, 0.1); |
| | | color: #409eff; |
| | | border: 1px solid rgba(64, 158, 255, 0.2); |
| | | } |
| | | |
| | | .status-processing { |
| | | background-color: rgba(103, 194, 58, 0.1); |
| | | color: #67c23a; |
| | | border: 1px solid rgba(103, 194, 58, 0.2); |
| | | } |
| | | |
| | | .status-completed { |
| | | background-color: rgba(103, 194, 58, 0.1); |
| | | color: #67c23a; |
| | | border: 1px solid rgba(103, 194, 58, 0.2); |
| | | } |
| | | |
| | | .status-suspended { |
| | | background-color: rgba(230, 162, 60, 0.1); |
| | | color: #e6a23c; |
| | | border: 1px solid rgba(230, 162, 60, 0.2); |
| | | } |
| | | |
| | | .status-canceled { |
| | | background-color: rgba(144, 147, 153, 0.1); |
| | | color: #909399; |
| | | border: 1px solid rgba(144, 147, 153, 0.2); |
| | | } |
| | | |
| | | .status-error { |
| | | background-color: rgba(245, 108, 108, 0.1); |
| | | color: #f56c6c; |
| | | border: 1px solid rgba(245, 108, 108, 0.2); |
| | | } |
| | | |
| | | .status-unknown { |
| | | background-color: rgba(144, 147, 153, 0.1); |
| | | color: #909399; |
| | | border: 1px solid rgba(144, 147, 153, 0.2); |
| | | } |
| | | |
| | | /* ä»»å¡ç±»åæ ·å¼ */ |
| | | .task-type { |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | padding: 5px 12px; |
| | | border-radius: 16px; |
| | | font-size: 13px; |
| | | font-weight: 600; |
| | | text-align: center; |
| | | min-width: 70px; |
| | | position: relative; |
| | | overflow: hidden; |
| | | transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| | | letter-spacing: 0.5px; |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | | } |
| | | |
| | | @keyframes pulse { |
| | | 0% { |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | | } |
| | | 50% { |
| | | box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12); |
| | | } |
| | | 100% { |
| | | box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); |
| | | } |
| | | } |
| | | |
| | | .task-type::before { |
| | | content: ""; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); |
| | | transform: translateX(-100%); |
| | | transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); |
| | | } |
| | | |
| | | .task-type:hover::before { |
| | | transform: translateX(0); |
| | | } |
| | | |
| | | .task-type:hover { |
| | | transform: translateY(-3px); |
| | | box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); |
| | | } |
| | | |
| | | .task-type::after { |
| | | content: ""; |
| | | position: absolute; |
| | | bottom: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 3px; |
| | | background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); |
| | | transform: scaleX(0); |
| | | transform-origin: center; |
| | | transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); |
| | | } |
| | | |
| | | .task-type:hover::after { |
| | | transform: scaleX(1); |
| | | } |
| | | |
| | | .type-inbound:hover { |
| | | box-shadow: 0 5px 15px rgba(19, 194, 194, 0.4); |
| | | } |
| | | |
| | | .type-outbound:hover { |
| | | box-shadow: 0 5px 15px rgba(47, 84, 235, 0.4); |
| | | } |
| | | |
| | | .type-transfer:hover { |
| | | box-shadow: 0 5px 15px rgba(250, 140, 22, 0.4); |
| | | } |
| | | |
| | | .type-other:hover { |
| | | box-shadow: 0 5px 15px rgba(114, 46, 209, 0.4); |
| | | } |
| | | |
| | | .type-unknown:hover { |
| | | box-shadow: 0 5px 15px rgba(89, 89, 89, 0.4); |
| | | } |
| | | |
| | | .type-inbound { |
| | | background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(19, 194, 194, 0.3); |
| | | animation: pulse 2s infinite; |
| | | } |
| | | |
| | | .type-outbound { |
| | | background: linear-gradient(135deg, #2f54eb 0%, #597ef7 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(47, 84, 235, 0.3); |
| | | animation: pulse 2.5s infinite; |
| | | } |
| | | |
| | | .type-transfer { |
| | | background: linear-gradient(135deg, #fa8c16 0%, #ffc53d 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(250, 140, 22, 0.3); |
| | | animation: pulse 3s infinite; |
| | | } |
| | | |
| | | .type-other { |
| | | background: linear-gradient(135deg, #722ed1 0%, #b37feb 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(114, 46, 209, 0.3); |
| | | animation: pulse 2.2s infinite; |
| | | } |
| | | |
| | | .type-unknown { |
| | | background: linear-gradient(135deg, #595959 0%, #8c8c8c 100%); |
| | | color: white; |
| | | box-shadow: 0 3px 5px rgba(89, 89, 89, 0.3); |
| | | animation: pulse 2.8s infinite; |
| | | } |
| | | |
| | | |
| | | .btn-group { |
| | | margin-left: 10px; |
| | | } |
| | | |
| | | /* ç¡®ä¿å¾è¡¨å®¹å¨ææç¡®å°ºå¯¸ */ |
| | | :deep(.el-card__body) { |
| | | height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | /* ç§»é¤åæçel-card__bodyæ ·å¼ç©¿éï¼å ä¸ºå·²ç»æ¿æ¢ä¸ºçº¯div */ |
| | | </style> |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "locationCode", |
| | | title: "è´§ä½ç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "materielCode", |
| | | title: "ç©æç¼å·", |
| | | type: "string", |
| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Common.CommonEnum; |
| | | using WIDESEA_Common.LocationEnum; |
| | | using WIDESEA_Common.OrderEnum; |
| | | using WIDESEA_Common.TaskEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Model.Models; |
| | |
| | | private readonly IRepository<Dt_LocationInfo> _locationInfoRepository; |
| | | private readonly IRepository<Dt_OutboundOrderDetail> _outBoundOrderDetailRepository; |
| | | private readonly IRepository<Dt_InboundOrderDetail> _inboundOrderDetailRepository; |
| | | private readonly IRepository<Dt_Task_Hty> _taskHtyRepository; |
| | | private readonly IRepository<Dt_Task> _taskRepository; |
| | | private readonly IRepository<Dt_StockInfo> _stockInfoRepository; |
| | | |
| | | public BigGreenService(IRepository<Dt_StockInfoDetail> stockInfoDetailRepository, IRepository<Dt_OutboundOrder> outBoundOrderRepository, IRepository<Dt_LocationInfo> locationInfoRepository,IRepository<Dt_OutboundOrderDetail> outBoundOrderDetailRepository, IRepository<Dt_InboundOrderDetail> inboundOrderDetailRepository,IRepository<Dt_Task> taskRepository) |
| | | public BigGreenService(IRepository<Dt_StockInfoDetail> stockInfoDetailRepository, IRepository<Dt_OutboundOrder> outBoundOrderRepository, IRepository<Dt_LocationInfo> locationInfoRepository,IRepository<Dt_OutboundOrderDetail> outBoundOrderDetailRepository, IRepository<Dt_InboundOrderDetail> inboundOrderDetailRepository,IRepository<Dt_Task> taskRepository,IRepository<Dt_Task_Hty> taskHtyRepository, IRepository<Dt_StockInfo> stockInfoRepository) |
| | | { |
| | | _stockInfoDetailRepository = stockInfoDetailRepository; |
| | | _outBoundOrderRepository = outBoundOrderRepository; |
| | |
| | | _outBoundOrderDetailRepository = outBoundOrderDetailRepository; |
| | | _inboundOrderDetailRepository = inboundOrderDetailRepository; |
| | | _taskRepository = taskRepository; |
| | | _taskHtyRepository = taskHtyRepository; |
| | | _stockInfoRepository = stockInfoRepository; |
| | | } |
| | | public WebResponseContent GetBigGreenData() |
| | | { |
| | |
| | | |
| | | //计ç®åºä½å©ç¨ç |
| | | var freeLocation =_locationInfoRepository.Db.Queryable<Dt_LocationInfo>().Where(x=>x.LocationStatus==(int)LocationStatusEnum.Free).Count(); |
| | | var inStockLocation =_locationInfoRepository.Db.Queryable<Dt_LocationInfo>().Where(x => x.LocationStatus == (int)LocationStatusEnum.InStock).Count(); |
| | | var inStockLocation =_locationInfoRepository.Db.Queryable<Dt_LocationInfo>().Where(x => x.LocationStatus == (int)LocationStatusEnum.InStock || x.LocationStatus == (int)LocationStatusEnum.Pallet).Count(); |
| | | int totalLocation = freeLocation + inStockLocation; |
| | | decimal locationUtilizationRate = totalLocation == 0 |
| | | ? 0 |
| | | : Math.Round((decimal)inStockLocation / totalLocation, 4); |
| | | : Math.Round((decimal)inStockLocation / totalLocation, 4)*100; |
| | | |
| | | //计ç®å
¥åºä»»å¡ååºåºä»»å¡å®ææ°é |
| | | var inboundCount =_taskHtyRepository.Db.Queryable<Dt_Task_Hty>().Where(x => x.TaskType >= 500 && x.TaskType < 900).Count(); |
| | | var outboundCount =_taskHtyRepository.Db.Queryable<Dt_Task_Hty>().Where(x => x.TaskType >= 100 && x.TaskType < 500).Count(); |
| | | |
| | | //è®¡ç®æè´§æç®±æ°é |
| | | var inStockPallet = _stockInfoRepository.Db.Queryable<Dt_StockInfo>().Where(x => x.PalletType ==(int) PalletTypeEnum.None).Count(); |
| | | //计ç®ç©ºç®±æ°é |
| | | var freeStockPallet = _stockInfoRepository.Db.Queryable<Dt_StockInfo>().Where(x => x.PalletType == (int)PalletTypeEnum.Empty).Count(); |
| | | // 4. è·åè¿7æ¥æ¯æ¥åºå
¥åºæç»ï¼æ ¸å¿ä¿®æ¹ï¼è°ç¨ä¸é¢çæ¹æ³ï¼ |
| | | var dailyInOutBoundList = Get7DaysDailyInOutBound(); |
| | | |
| | |
| | | UnOutBoundOrderCount = unOutBound, |
| | | LocationUtilizationRate = locationUtilizationRate, |
| | | DailyInOutBoundList = dailyInOutBoundList, |
| | | TaskList = tasks |
| | | TaskList = tasks, |
| | | InboundCount = inboundCount, |
| | | OutboundCount = outboundCount, |
| | | InStockPallet = inStockPallet, |
| | | FreeStockPallet = freeStockPallet |
| | | }; |
| | | return WebResponseContent.Instance.OK(data: bigGreenData); |
| | | } |
| | |
| | | return dailyInOutBoundList; |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 大å±/æ±æ»æ°æ®è¿åDTOï¼å¤§ç»¿æ°æ®æ±æ»ï¼ |
| | | /// </summary> |
| | | public class BigGreenDataDto |
| | | { |
| | | /// <summary> |
| | | /// å
¥åºå®ææ°é |
| | | /// </summary> |
| | | public int InboundCount { get; set; } |
| | | /// <summary> |
| | | /// åºåºå®ææ°é |
| | | /// </summary> |
| | | public int OutboundCount { get; set; } |
| | | /// <summary> |
| | | /// æ»åºåæ°é |
| | | /// </summary> |
| | |
| | | public decimal NetStock7Days { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¿7æ¥åå
¥åºéï¼å
¥åº-åºåºï¼ |
| | | /// </summary> |
| | | public decimal totalStockChangeRate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡å表 |
| | | /// </summary> |
| | | public List<Dt_Task> TaskList { get; set; } = new List<Dt_Task>(); |
| | | |
| | | public int InStockPallet { get; set; } |
| | | |
| | | public int FreeStockPallet { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public decimal DailyInboundQuantity { get; set; } |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | // 主表æçç¼å·ï¼åç«¯éæ¾ç¤ºçåæ®µï¼ |
| | | public string PalletCode { get; set; } |
| | | public string LocationCode { get; set; } |
| | | } |
| | | } |
| | |
| | | CreateDate = detail.CreateDate, |
| | | Modifier = detail.Modifier, |
| | | ModifyDate = detail.ModifyDate, |
| | | PalletCode = item.PalletCode |
| | | PalletCode = item.PalletCode, |
| | | LocationCode = item.LocationCode |
| | | }) |
| | | .ToPageList(options.Page, options.Rows, ref totalCount); |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | #region åæ¹åé
åºå |
| | | #region å
åé管çå¨ |
| | | private static readonly ConcurrentDictionary<string, SemaphoreSlim> _materialLocks = |
| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.Helper; |
| | | using WIDESEA_Core.Util; |
| | | using WIDESEA_Model.Models; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.BigGreen |
| | | { |
| | |
| | | public class BigScreenController : ControllerBase |
| | | { |
| | | private readonly IBigGreenService _bigGreenService; |
| | | public BigScreenController(IBigGreenService bigGreenService) |
| | | private readonly HttpClientHelper _httpClientHelper; |
| | | private readonly IRepository<Dt_LocationInfo> _locationInfoRepository; |
| | | |
| | | public BigScreenController(IBigGreenService bigGreenService, HttpClientHelper httpClientHelper, IRepository<Dt_LocationInfo> locationInfoRepository) |
| | | { |
| | | _bigGreenService = bigGreenService; |
| | | _httpClientHelper = httpClientHelper; |
| | | _locationInfoRepository = locationInfoRepository; |
| | | } |
| | | |
| | | [HttpGet, Route("GetBigGreenData"),AllowAnonymous] |
| | | [HttpGet, Route("GetBigGreenData"), AllowAnonymous] |
| | | public WebResponseContent GetBigGreenData() |
| | | { |
| | | return _bigGreenService.GetBigGreenData(); |
| | | } |
| | | [HttpGet, Route("Test"), AllowAnonymous] |
| | | public WebResponseContent Test() |
| | | { |
| | | string url = "http://172.21.98.57:9046/location/query"; |
| | | HttpResponseResult<Dictionary<string, object>> result = _httpClientHelper.Post<Dictionary<string, object>>(url, "{\"locationCodes\":[],\"containerCode\":\"\",\"locationTypeCodes\":[\"LT_SHELF_STORAGE\"]}"); |
| | | |
| | | if (result.Data.TryGetValue("data", out object? data)) |
| | | { |
| | | if (JsonConvert.DeserializeObject<Dictionary<string, object>>(data.Serialize())?.TryGetValue("locations", out object? locations) ?? false) |
| | | { |
| | | List<Dictionary<string, object>>? keyValuePairs = JsonConvert.DeserializeObject<List<Dictionary<string, object>>>(locations.Serialize()); |
| | | if (keyValuePairs != null) |
| | | { |
| | | List<string> list = keyValuePairs.Select(x => x["locationCode"].ToString() ?? "").ToList(); |
| | | |
| | | List<string> locationCodes = _locationInfoRepository.QueryData().Select(x => x.LocationCode).ToList(); |
| | | |
| | | List<string> notContainLocations = list.Where(x => !locationCodes.Contains(x)).ToList(); |
| | | |
| | | return WebResponseContent.Instance.OK(data: notContainLocations); |
| | | } |
| | | } |
| | | } |
| | | return WebResponseContent.Instance.OK(); |
| | | |
| | | } |
| | | } |
| | | } |