Commit 8657b3b6 authored by chenqikuai's avatar chenqikuai

feat:addCopyRight

parent 9f8cd177
...@@ -600,15 +600,11 @@ ...@@ -600,15 +600,11 @@
"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",
"dev": true "dev": true
}, },
"ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
},
"ansi-styles": { "ansi-styles": {
"version": "4.3.0", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": { "requires": {
"color-convert": "^2.0.1" "color-convert": "^2.0.1"
} }
...@@ -732,11 +728,6 @@ ...@@ -732,11 +728,6 @@
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
"dev": true "dev": true
}, },
"camelcase": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
},
"camelcase-css": { "camelcase-css": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
...@@ -783,20 +774,11 @@ ...@@ -783,20 +774,11 @@
"readdirp": "~3.6.0" "readdirp": "~3.6.0"
} }
}, },
"cliui": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
"requires": {
"string-width": "^4.2.0",
"strip-ansi": "^6.0.0",
"wrap-ansi": "^6.2.0"
}
},
"color-convert": { "color-convert": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"requires": { "requires": {
"color-name": "~1.1.4" "color-name": "~1.1.4"
} }
...@@ -804,7 +786,8 @@ ...@@ -804,7 +786,8 @@
"color-name": { "color-name": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
}, },
"comlink": { "comlink": {
"version": "4.3.1", "version": "4.3.1",
...@@ -839,40 +822,6 @@ ...@@ -839,40 +822,6 @@
"yaml": "^1.10.0" "yaml": "^1.10.0"
} }
}, },
"cqk-sy-ui": {
"version": "1.2.82",
"resolved": "https://registry.npmjs.org/cqk-sy-ui/-/cqk-sy-ui-1.2.82.tgz",
"integrity": "sha512-TXu5tBGWDZULNK+n6jhm+7vQru3fZcE/MApjbXSsGq2SAYlpJELQoCtAbeacb3vZT9sGP+TEtxQF6wMAh5ssZg==",
"requires": {
"axios": "^0.26.1",
"crypto-js": "^4.1.1",
"element-plus": "2.1.4",
"qrcode": "^1.5.0",
"vue": "^3.2.16",
"vue-cropper": "^1.0.2"
},
"dependencies": {
"element-plus": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.1.4.tgz",
"integrity": "sha512-pcwgDbKUrzyWbixYB/zIbLPLBQ/NPGPJnGXJ+jYozUSthPW4SuriaUGJKgbAE6PDBAtw3IodiT2E2GbiaZLxww==",
"requires": {
"@ctrl/tinycolor": "^3.4.0",
"@element-plus/icons-vue": "^1.1.1",
"@popperjs/core": "^2.11.3",
"@vueuse/core": "^8.0.1",
"async-validator": "^4.0.7",
"dayjs": "^1.10.8",
"escape-html": "^1.0.3",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"lodash-unified": "^1.0.2",
"memoize-one": "^6.0.0",
"normalize-wheel-es": "^1.1.1"
}
}
}
},
"crypto-js": { "crypto-js": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",
...@@ -894,11 +843,6 @@ ...@@ -894,11 +843,6 @@
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.1.tgz", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.1.tgz",
"integrity": "sha512-ER7EjqVAMkRRsxNCC5YqJ9d9VQYuWdGt7aiH2qA5R5wt8ZmWaP2dLUSIK6y/kVzLMlmh1Tvu5xUf4M/wdGJ5KA==" "integrity": "sha512-ER7EjqVAMkRRsxNCC5YqJ9d9VQYuWdGt7aiH2qA5R5wt8ZmWaP2dLUSIK6y/kVzLMlmh1Tvu5xUf4M/wdGJ5KA=="
}, },
"decamelize": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA=="
},
"deepmerge": { "deepmerge": {
"version": "1.5.2", "version": "1.5.2",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-1.5.2.tgz",
...@@ -927,11 +871,6 @@ ...@@ -927,11 +871,6 @@
"integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
"dev": true "dev": true
}, },
"dijkstrajs": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.2.tgz",
"integrity": "sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg=="
},
"dlv": { "dlv": {
"version": "1.1.3", "version": "1.1.3",
"resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
...@@ -1032,16 +971,6 @@ ...@@ -1032,16 +971,6 @@
"@emmetio/css-abbreviation": "^2.1.4" "@emmetio/css-abbreviation": "^2.1.4"
} }
}, },
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
},
"encode-utf8": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz",
"integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw=="
},
"entities": { "entities": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz",
...@@ -1282,15 +1211,6 @@ ...@@ -1282,15 +1211,6 @@
"to-regex-range": "^5.0.1" "to-regex-range": "^5.0.1"
} }
}, },
"find-up": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
"requires": {
"locate-path": "^5.0.0",
"path-exists": "^4.0.0"
}
},
"follow-redirects": { "follow-redirects": {
"version": "1.14.9", "version": "1.14.9",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz",
...@@ -1314,11 +1234,6 @@ ...@@ -1314,11 +1234,6 @@
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true "dev": true
}, },
"get-caller-file": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
},
"get-intrinsic": { "get-intrinsic": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
...@@ -1434,11 +1349,6 @@ ...@@ -1434,11 +1349,6 @@
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="
}, },
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
},
"is-glob": { "is-glob": {
"version": "4.0.3", "version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
...@@ -1524,14 +1434,6 @@ ...@@ -1524,14 +1434,6 @@
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
"dev": true "dev": true
}, },
"locate-path": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"requires": {
"p-locate": "^4.1.0"
}
},
"lodash": { "lodash": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
...@@ -1635,27 +1537,6 @@ ...@@ -1635,27 +1537,6 @@
"integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==", "integrity": "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==",
"dev": true "dev": true
}, },
"p-limit": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
"requires": {
"p-try": "^2.0.0"
}
},
"p-locate": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
"requires": {
"p-limit": "^2.2.0"
}
},
"p-try": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
},
"parent-module": { "parent-module": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
...@@ -1677,11 +1558,6 @@ ...@@ -1677,11 +1558,6 @@
"lines-and-columns": "^1.1.6" "lines-and-columns": "^1.1.6"
} }
}, },
"path-exists": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
},
"path-parse": { "path-parse": {
"version": "1.0.7", "version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
...@@ -1709,11 +1585,6 @@ ...@@ -1709,11 +1585,6 @@
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
}, },
"pngjs": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",
"integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw=="
},
"postcss": { "postcss": {
"version": "8.4.12", "version": "8.4.12",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz",
...@@ -1901,17 +1772,6 @@ ...@@ -1901,17 +1772,6 @@
"integrity": "sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==", "integrity": "sha512-yYELe9Q5q9IQhuvqsZNwA5hfPkMJ8u92bQLIMcsMxf/VADjNtEYptU+inlufAFYcWdHlwNfZOEnOOQrZrcyJCQ==",
"dev": true "dev": true
}, },
"qrcode": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.1.tgz",
"integrity": "sha512-nS8NJ1Z3md8uTjKtP+SGGhfqmTCs5flU/xR623oI0JX+Wepz9R8UrRVCTBTJm3qGw3rH6jJ6MUHjkDx15cxSSg==",
"requires": {
"dijkstrajs": "^1.0.1",
"encode-utf8": "^1.0.3",
"pngjs": "^5.0.0",
"yargs": "^15.3.1"
}
},
"queue-microtask": { "queue-microtask": {
"version": "1.2.3", "version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
...@@ -1943,16 +1803,6 @@ ...@@ -1943,16 +1803,6 @@
"integrity": "sha512-i/wKzvcx7Er8tZnvqSxWuNO5ZGggu2UgZAqj/RyZ0si7lBTXL7kZiI/dWxzxnQjaY7s5HEy1qK21Do4Ncr6cVw==", "integrity": "sha512-i/wKzvcx7Er8tZnvqSxWuNO5ZGggu2UgZAqj/RyZ0si7lBTXL7kZiI/dWxzxnQjaY7s5HEy1qK21Do4Ncr6cVw==",
"dev": true "dev": true
}, },
"require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="
},
"require-main-filename": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
},
"resize-observer-polyfill": { "resize-observer-polyfill": {
"version": "1.5.1", "version": "1.5.1",
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
...@@ -2019,11 +1869,6 @@ ...@@ -2019,11 +1869,6 @@
"lru-cache": "^6.0.0" "lru-cache": "^6.0.0"
} }
}, },
"set-blocking": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
"integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
},
"simple-components01": { "simple-components01": {
"version": "0.1.15", "version": "0.1.15",
"resolved": "https://registry.npmjs.org/simple-components01/-/simple-components01-0.1.15.tgz", "resolved": "https://registry.npmjs.org/simple-components01/-/simple-components01-0.1.15.tgz",
...@@ -2082,24 +1927,6 @@ ...@@ -2082,24 +1927,6 @@
"resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",
"integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="
}, },
"string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"requires": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
}
},
"strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"requires": {
"ansi-regex": "^5.0.1"
}
},
"supports-color": { "supports-color": {
"version": "7.2.0", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
...@@ -2484,11 +2311,6 @@ ...@@ -2484,11 +2311,6 @@
"resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.3.tgz", "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.3.tgz",
"integrity": "sha512-5NUqC2JquIL2pBAAo/VfBP6KuGkHIZQXW/lNKupLPfhViwh8wNsu0BObtl09yuKZszeEUfbXz8xhrHvSG16Nqw==" "integrity": "sha512-5NUqC2JquIL2pBAAo/VfBP6KuGkHIZQXW/lNKupLPfhViwh8wNsu0BObtl09yuKZszeEUfbXz8xhrHvSG16Nqw=="
}, },
"which-module": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
"integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q=="
},
"with": { "with": {
"version": "7.0.2", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/with/-/with-7.0.2.tgz", "resolved": "https://registry.npmjs.org/with/-/with-7.0.2.tgz",
...@@ -2501,27 +2323,12 @@ ...@@ -2501,27 +2323,12 @@
"babel-walk": "3.0.0-canary-5" "babel-walk": "3.0.0-canary-5"
} }
}, },
"wrap-ansi": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
"requires": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
}
},
"xtend": { "xtend": {
"version": "4.0.2", "version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
"integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
"dev": true "dev": true
}, },
"y18n": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
},
"yallist": { "yallist": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
...@@ -2533,33 +2340,6 @@ ...@@ -2533,33 +2340,6 @@
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
"integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
"dev": true "dev": true
},
"yargs": {
"version": "15.4.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
"requires": {
"cliui": "^6.0.0",
"decamelize": "^1.2.0",
"find-up": "^4.1.0",
"get-caller-file": "^2.0.1",
"require-directory": "^2.1.1",
"require-main-filename": "^2.0.0",
"set-blocking": "^2.0.0",
"string-width": "^4.2.0",
"which-module": "^2.0.0",
"y18n": "^4.0.0",
"yargs-parser": "^18.1.2"
}
},
"yargs-parser": {
"version": "18.1.3",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
"requires": {
"camelcase": "^5.0.0",
"decamelize": "^1.2.0"
}
} }
} }
} }
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
"@tinymce/tinymce-vue": "^4.0.7", "@tinymce/tinymce-vue": "^4.0.7",
"axios": "^0.26.1", "axios": "^0.26.1",
"comlink": "^4.3.1", "comlink": "^4.3.1",
"cqk-sy-ui": "^1.2.82",
"crypto-js": "^4.1.1", "crypto-js": "^4.1.1",
"dom-to-image": "^2.6.0", "dom-to-image": "^2.6.0",
"element-plus": "^2.1.9", "element-plus": "^2.1.9",
......
export const blue = { export const blue = {
color: "var(--sy-blue)", color: "#3370FE",
backgroundColor: "#EAEBFD",
}; };
export const red = { export const red = {
color: "#FF1818", color: "#FF6268",
backgroundColor: "#FFEDEC",
}; };
export const yellow = { export const yellow = {
color: "#FF831E", color: "#FAAD14",
backgroundColor: "#FFF7EC",
}; };
export const green = { export const green = {
color: "#479543", color: "#379E0E",
backgroundColor: "#ECF8E6",
}; };
export const betweenGreenAndBlue = { export const betweenGreenAndBlue = {
color: "#20B8C4", color: "#20B8C4",
backgroundColor: "#DFF8FA",
}; };
<template> <template>
<button :style="status?.style" class="approveStatus"> <div :style="status?.style" class="approveStatus">
{{ status?.icon }}
{{ status?.label }} {{ status?.label }}
</button> </div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
......
import { betweenGreenAndBlue, blue, green, red, yellow } from "./btnStyle";
export enum eStatus {
/**
* 平台核验
*/
platformVerification = "platformVerification",
/**
* 已撤回
*/
withdrawn = "withdrawn",
/**
* 平台驳回
*/
platformDismissed = "platformDismissed",
/**
* 提交审核
*/
submitReview = "submitReview",
/**
* 平台未提交
*/
platformNotSubmitted = "platformNotSubmitted",
/**
* 待审核
*/
pendingReview = "pendingReview",
/**
* 同意
*/
agree = "agree",
/**
* 已驳回
*/
rejected = "rejected",
/**
* 已提交
*/
submitted = "submitted",
/**
* 待终审
*/
pendingFinalReview = "pendingFinalReview",
/**
* 审核通过
*/
approved = "approved",
all = "all",
}
export const platformVerification = {
value: eStatus.platformVerification,
label: "平台核验",
style: blue,
};
export const withdrawn = {
value: eStatus.withdrawn,
label: "已撤回",
style: green,
};
export const platformDismissed = {
value: eStatus.platformDismissed,
label: "平台驳回",
style: red,
};
export const submitReview = {
value: eStatus.submitReview,
label: "提交审核",
style: yellow,
};
export const platformNotSubmitted = {
value: eStatus.platformNotSubmitted,
label: "平台未提交",
style: blue,
};
export const pendingReview = {
value: eStatus.pendingReview,
label: "待审核",
style: yellow,
};
export const agree = {
value: eStatus.agree,
label: "同意",
style: green,
};
export const rejected = {
value: eStatus.rejected,
label: "已驳回",
style: red,
};
export const submitted = {
value: eStatus.submitted,
label: "已提交",
style: betweenGreenAndBlue,
};
export const pendingFinalReview = {
value: eStatus.pendingFinalReview,
label: "待终审",
style: green,
};
export const approved = {
value: eStatus.approved,
label: "审核通过",
style: blue,
};
export const allStatus = [
platformVerification,
withdrawn,
platformDismissed,
submitReview,
platformNotSubmitted,
pendingReview,
agree,
rejected,
submitted,
pendingFinalReview,
approved,
];
import { betweenGreenAndBlue, blue, green, red, yellow } from './btnStyle'
/**审核状态(待提交:WAITING_SUBMIT 待审核:WAITING_CHECK 备案成功:RECORD_SUCCESS 不通过:NOT_PASSED ) */
export enum eStatus {
WAITING_SUBMIT,
WAITING_CHECK,
RECORD_SUCCESS,
NOT_PASSED,
ALL,
}
export const WAITING_SUBMIT = {
value: eStatus.WAITING_SUBMIT,
label: '待提交',
style: blue,
icon: 's',
}
export const WAITING_CHECK = {
value: eStatus.WAITING_CHECK,
label: '待审核',
style: yellow,
icon: 's',
}
export const RECORD_SUCCESS = {
value: eStatus.RECORD_SUCCESS,
label: '备案成功',
style: green,
icon: 's',
}
export const NOT_PASSED = {
value: eStatus.NOT_PASSED,
label: '备案失败',
style: red,
icon: 's',
}
export const allStatus = [
WAITING_SUBMIT,
WAITING_CHECK,
RECORD_SUCCESS,
NOT_PASSED,
]
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
style="margin-bottom: 12px" style="margin-bottom: 12px"
v-if="label || $slots.label" v-if="label || $slots.label"
> >
<label for="powerOfAttorney" class="el-form-item__label relative"> <label
for="powerOfAttorney"
class="el-form-item__label relative"
style="color: #353535"
>
<slot name="label"> <slot name="label">
{{ label }} {{ label }}
</slot> </slot>
......
...@@ -73,16 +73,16 @@ const menuList = [ ...@@ -73,16 +73,16 @@ const menuList = [
notActive: { iconName: "iconsuyuan1", props: { color: "#3A3A3A" } }, notActive: { iconName: "iconsuyuan1", props: { color: "#3A3A3A" } },
}, },
}, },
// { {
// type: "menuItem", type: "menuItem",
// name: "版权管理", name: "版权管理",
// path: "/copyrightManagement", path: "/copyrightManagement",
// otherActivePath: ["/draftBox"], otherActivePath: ["/draftBox"],
// icon: { icon: {
// active: { iconName: "iconbanquan2", props: { color: "#3A3A3A" } }, active: { iconName: "iconbanquan2", props: { color: "#3A3A3A" } },
// notActive: { iconName: "iconbanquan1", props: { color: "#3A3A3A" } }, notActive: { iconName: "iconbanquan1", props: { color: "#3A3A3A" } },
// }, },
// }, },
{ {
type: "menuItem", type: "menuItem",
name: "藏品管理", name: "藏品管理",
......
<template>
<div class="module-container">
<slot></slot>
</div>
</template>
<script setup lang="ts"></script>
<style lang="scss" scpoed>
.module-container {
width: 1054px;
background: #ffffff;
box-shadow: 0px 2px 20px 0px #f0f0f0;
border-radius: var(--sy-border-radius);
padding-top: 38px;
padding-left: 46px;
padding-right: 46px;
padding-bottom: 38px;
}
</style>
...@@ -36,13 +36,12 @@ const routes = [ ...@@ -36,13 +36,12 @@ const routes = [
name: "tracingManagement", name: "tracingManagement",
component: () => import("@/views/Tracing/tracingManagement/index.vue"), component: () => import("@/views/Tracing/tracingManagement/index.vue"),
}, },
// { {
// path: "/copyrightManagement", path: "/copyrightManagement",
// name: "copyrightManagement", name: "copyrightManagement",
// component: ( component: () => import("@/views/copyrightManagement/index.vue"),
// () => import("@/views/copyrightManagement/index.vue") },
// ),
// },
// { // {
// path: "/draftBox", // path: "/draftBox",
// name: "draftBox", // name: "draftBox",
...@@ -148,6 +147,11 @@ const routes = [ ...@@ -148,6 +147,11 @@ const routes = [
name: "test", name: "test",
component: () => import("@/views/Test/index.vue"), component: () => import("@/views/Test/index.vue"),
}, },
{
path: "/addCopyRight",
name: "addCopyRight",
component: () => import("@/views/AddCopyRight/index.vue"),
},
]; ];
const router = createRouter({ const router = createRouter({
......
...@@ -67,3 +67,35 @@ ...@@ -67,3 +67,35 @@
.v-leave-to { .v-leave-to {
opacity: 0; opacity: 0;
} }
.datePicker.el-input.el-date-editor {
width: 100%;
flex-shrink: 0;
}
.datePicker .el-input__inner {
padding-left: 18px !important;
height: 36px;
color: var(--sy-black);
border-radius: var(--sy-border-radius);
}
.datePicker .el-input__inner:hover {
box-shadow: 0 0 0 1px #c4c4c4 inset;
}
.datePicker .el-input__inner:focus {
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color))
inset !important;
}
.datePicker .el-input__inner .el-input__inner::placeholder {
color: #a3a7aa;
}
.datePicker .el-input__prefix {
position: absolute;
top: 0;
left: calc(100% - 32px);
text-align: center;
height: 100%;
color: #c0c4cc;
}
<template>
<el-upload
ref="uploadRef"
class="upload-demo w-full"
action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
:auto-upload="false"
accept=".txt,.doc,.docx,.zip,.rar,.7z"
:limit="1"
:file-list="(modelValue && [modelValue]) || []"
@change="handleFileChange"
@remove="handleFileRemove"
>
<template #trigger>
<div class="uploadbox flex items-center justify-center">
<div>
<Icon
icon-name="iconshangchuan"
style="color: #c3c3c3; font-size: 56px"
></Icon>
<div style="font-size: 14px; font-weight: 500; color: #787d85">
上传文件
</div>
</div>
</div>
</template>
</el-upload>
</template>
<script setup lang="ts">
import { ElUpload, UploadFile, UploadFiles, useFormItem } from "element-plus";
import type { UploadInstance } from "element-plus";
import { ref } from "vue";
import Icon from "@/components/Icon/index.vue";
const uploadRef = ref<UploadInstance>();
const list = ref([]);
const props = defineProps<{
modelValue?: UploadFile;
}>();
const { formItem } = useFormItem();
const emit = defineEmits(["update:modelValue"]);
const handleFileChange = (uploadFile: UploadFile, uploadFiles: UploadFiles) => {
console.log("change", uploadFile);
emit("update:modelValue", { raw: uploadFile.raw, name: uploadFile.name });
formItem?.validate("change");
};
const handleFileRemove = () => {
console.log("remove");
emit("update:modelValue", undefined);
formItem?.validate("change");
};
const submitUpload = () => {
uploadRef.value!.submit();
};
</script>
<style lang="scss" scoped>
.upload-demo {
:deep(.el-upload-list__item-name) {
font-size: 14px;
font-weight: 400;
color: var(--sy-blue);
}
}
.uploadbox {
width: 249px;
height: 139px;
background: #f7f7f7;
border-radius: 10px;
border: 1px solid #e2e2e2;
}
</style>
<template>
<div class="addCopyRight">
<syHeaderNavBar @back="() => $router.back()" @close="() => $router.back()"
>版权申请
</syHeaderNavBar>
<ModuleContainer
class="mx-auto"
style="
margin-top: 17px;
padding-top: 60px;
padding-left: 68px;
padding-right: 68px;
"
>
<div class="title text-center" ref="titleRef">填写版权信息</div>
<div class="tip text-center">请仔细填写作品资料,审核通过后将不能修改</div>
<ElForm :model="formModel" :rules="rules" ref="formRef">
<CustomizeFormItem label="备案人" prop="filingPerson">
<sySelect
ref="selectRef"
class="w-full"
v-model="formModel.filingPerson"
placeholder="请选择备案人"
>
<syOption label="option.name" value="option.value"></syOption>
<syOption :value="1">
<div
@click.stop="handleClickAddFilingPersn"
style="color: var(--sy-blue)"
class="flex items-center"
>
<Icon iconName="icontianjialiucheng" class="mr-1"></Icon>
添加备案人
</div>
</syOption>
</sySelect>
</CustomizeFormItem>
<CustomizeFormItem label="作品名称" prop="titleOfWork">
<syDialogInput
v-model:value="formModel.titleOfWork"
class="w-full"
placeholder="请输入作品名称"
></syDialogInput>
</CustomizeFormItem>
<CustomizeFormItem label="作品类型" prop="typeOfWork">
<ElRadioGroup v-model="formModel.typeOfWork">
<syRadio label="文字">文字</syRadio>
<syRadio label="音乐">音乐</syRadio>
<syRadio label="摄影">摄影</syRadio>
<syRadio label="美术">美术</syRadio>
<syRadio label="视觉作品">视觉作品</syRadio>
<syRadio label="其他">其他</syRadio>
</ElRadioGroup>
</CustomizeFormItem>
<CustomizeFormItem label="创作类型" prop="typeOfCreation">
<syRadio label="原创" v-model="formModel.typeOfCreation"
>原创</syRadio
>
<syRadio label="改编" v-model="formModel.typeOfCreation"
>改编</syRadio
>
<syRadio label="翻译" v-model="formModel.typeOfCreation"
>翻译</syRadio
>
<syRadio label="注释" v-model="formModel.typeOfCreation"
>注释</syRadio
>
<syRadio label="整理" v-model="formModel.typeOfCreation"
>整理</syRadio
>
<syRadio label="其他" v-model="formModel.typeOfCreation"
>其他</syRadio
>
</CustomizeFormItem>
<CustomizeFormItem label="创作/制作完成日期" prop="dateOfCreation">
<ElDatePicker
class="datePicker"
v-model="formModel.dateOfCreation"
type="date"
:clearable="false"
placeholder="请选择日期"
></ElDatePicker>
</CustomizeFormItem>
<CustomizeFormItem label="创作/制作完成日期地点" prop="AddrOfCreation">
<syDialogInput
v-model:value="formModel.AddrOfCreation"
class="w-full"
placeholder="请输入创作/制作完成日期地点"
></syDialogInput
></CustomizeFormItem>
<CustomizeFormItem label="发表状态" prop="postStatus">
<syRadio label="已发表" v-model="formModel.typeOfCreation"
>已发表</syRadio
>
<syRadio label="未发表" v-model="formModel.typeOfCreation"
>未发表</syRadio
></CustomizeFormItem
>
<CustomizeFormItem label="权利取得方式" prop="wayOfObtainingPower">
<syRadio label="原始" v-model="formModel.wayOfObtainingPower"
>原始</syRadio
>
<syRadio label="继承" v-model="formModel.wayOfObtainingPower"
>继承</syRadio
>
<syRadio label="承受" v-model="formModel.wayOfObtainingPower"
>承受</syRadio
>
<syRadio label="其他" v-model="formModel.wayOfObtainingPower"
>其他</syRadio
>
<syRadio label="整理" v-model="formModel.wayOfObtainingPower"
>整理</syRadio
>
<syRadio label="其它" v-model="formModel.wayOfObtainingPower"
>其它</syRadio
>
</CustomizeFormItem>
<CustomizeFormItem label="其他备注说明" prop="remark">
<syDialogInput
v-model:value="formModel.remark"
class="w-full"
type="textarea"
placeholder="请输入其他备注说明"
rows="4"
></syDialogInput>
</CustomizeFormItem>
<CustomizeFormItem label="作品附件" prop="workAttachment">
<UploadAttachment
v-model="formModel.workAttachment"
></UploadAttachment>
<div style="font-size: 14px; font-weight: 400; color: #353535">
附件上传温馨提醒:允许上传格式为:txt,doc,docx,zip,rar,7z的文件
</div>
</CustomizeFormItem>
</ElForm>
<el-checkbox
color="var(--sy-blue)"
v-model="formModel.agreeToTheFilingStatement"
label="我同意备案申明"
@select="(v) => {}"
/>
<div style="margin-top: 31px">
<syButton
mode="elementBtn"
style="width: 113px"
type="primary"
size="large"
:disabled="!formModel.agreeToTheFilingStatement"
@click="handleSubmit"
>提交版权</syButton
>
<syButton mode="elementBtn" style="width: 113px" size="large"
>保存草稿箱</syButton
>
</div>
<div
style="font-size: 14px; font-weight: 400; color: #353535"
class="mt-[35px]"
>
<div>收费说明:</div>
<div>
本次申请将收取总费用
<span style="color: #ff6268">333积分(30元)</span>
</div>
<div>
其中作品备案费<span style="color: #ff6268">333积分(30元)</span>
,文件存储费 <span style="color: #ff6268">0积分</span>
</div>
<div>备案申明:</div>
<div>
我为上述作品的申请人,拥有上述作品根据《中华人民共和国著作权法》所规定的权利,我保证以上作品及其内容绝不违反现行有关法律、法规的相关规定。如有不实或发现有侵犯他人著作权的行为,我承担由此引起的一切法律责任。特此声明。
</div>
</div>
</ModuleContainer>
</div>
</template>
<script setup lang="ts">
import {
syHeaderNavBar,
syRadio,
sySelect,
syOption,
syDialogInput,
syButton,
} from "cqk-sy-ui";
import ModuleContainer from "@/components/ModuleContainer/index.vue";
import {
ElForm,
ElInput,
ElDatePicker,
ElCheckbox,
ElRadioGroup,
UploadFile,
} from "element-plus";
import { ref } from "vue";
import Icon from "@/components/Icon/index.vue";
import CustomizeFormItem from "@/components/Form/CustomizeFormItem.vue";
import UploadAttachment from "./components/UploadAttachment/index.vue";
const formRef = ref<InstanceType<typeof ElForm>>();
const formModel = ref({
filingPerson: "",
titleOfWork: "",
typeOfWork: "",
typeOfCreation: "",
dateOfCreation: undefined as undefined | number,
AddrOfCreation: "",
postStatus: "",
wayOfObtainingPower: "",
remark: "",
workAttachment: { name: "hah" } as UploadFile | undefined,
agreeToTheFilingStatement: false,
});
const rules = ref({
filingPerson: [{ required: true, message: "请选择备案人" }],
titleOfWork: [{ required: true, message: "请输入作品名称" }],
typeOfWork: [{ required: true, message: "请选择作品类型" }],
typeOfCreation: [{ required: true, message: "请输入创作类型" }],
dateOfCreation: [{ required: true, message: "请选择日期" }],
AddrOfCreation: [{ required: true, message: "请输入创作/制作完成日期地点" }],
postStatus: [{ required: true, message: "请选择发表状态" }],
wayOfObtainingPower: [{ required: true, message: "" }],
remark: [],
workAttachment: [{ required: true, message: "请上传文件" }],
agreeToTheFilingStatement: [],
});
const selectRef = ref();
function handleClickAddFilingPersn() {
selectRef.value.blur();
}
const handleSubmit = () => {
formRef.value?.validate((isValid) => {
if (isValid) {
}
});
};
</script>
<style lang="scss" scoped>
.addCopyRight {
.title {
font-size: 30px;
font-weight: 600;
color: #191919;
line-height: 42px;
}
.tip {
font-size: 14px;
font-weight: 400;
color: #ababab;
}
}
</style>
...@@ -102,7 +102,6 @@ import { ...@@ -102,7 +102,6 @@ import {
GO_URLS, GO_URLS,
syHeaderNavBar, syHeaderNavBar,
syScrollBar, syScrollBar,
syTraceProofEdit,
syButton, syButton,
syBusinessIncreaseProofDialog, syBusinessIncreaseProofDialog,
} from "cqk-sy-ui"; } from "cqk-sy-ui";
......
...@@ -241,31 +241,4 @@ defineExpose({ ...@@ -241,31 +241,4 @@ defineExpose({
.file { .file {
--sy-gray-text: #787d85; --sy-gray-text: #787d85;
} }
:deep(.datePicker) {
width: 100%;
flex-shrink: 0;
.el-input__inner {
padding-left: 18px !important;
height: 36px;
color: var(--sy-black);
&:hover {
box-shadow: 0 0 0 1px #c4c4c4 inset;
}
&:focus {
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color))
inset !important;
}
.el-input__inner::placeholder {
color: #a3a7aa;
}
}
.el-input__prefix {
position: absolute;
top: 0;
left: calc(100% - 32px);
text-align: center;
height: 100%;
color: #c0c4cc;
}
}
</style> </style>
...@@ -8,25 +8,32 @@ ...@@ -8,25 +8,32 @@
> >
<template #currentStatusCell="slotProps"> <template #currentStatusCell="slotProps">
<div class="flex items-center"> <div class="flex items-center">
<ApproveStatus :type="eStatus.approved"></ApproveStatus> <ApproveStatus :type="eStatus.RECORD_SUCCESS"></ApproveStatus>
<HoverShowReason <!-- <HoverShowReason
:rowData="slotProps" :rowData="slotProps"
v-if=" v-if="
eStatus.rejected === slotProps.status || eStatus.rejected === slotProps.status ||
eStatus.platformDismissed === slotProps.status eStatus.platformDismissed === slotProps.status
" "
></HoverShowReason> ></HoverShowReason> -->
</div> </div>
</template> </template>
<template #currentStatusHeader> <template #currentStatusHeader>
<div class="flex items-center"> <div class="flex items-center">
当前状态 当前状态
<Icon1 <syMoreOperate
v-if="showStateFilterIcon" :teleport="true"
icon-name="iconlujingbeifen1" :list="operateListOfStatus"
class="cursor-pointer ml-1" @click-item="(value) => handleClickCurrentStatusTableHeader(value)"
@click="handleClickCurrentStatusTableHeader" :margin-left="-10"
></Icon1></div >
<Icon1
v-if="showStateFilterIcon"
icon-name="iconlujingbeifen1"
class="cursor-pointer ml-1"
@click="handleClickCurrentStatusTableHeader"
></Icon1>
</syMoreOperate></div
></template> ></template>
<template #operate="slotProps"> <template #operate="slotProps">
<syMoreOperate <syMoreOperate
...@@ -51,7 +58,12 @@ import Icon1 from "@/components/Icon/index.vue"; ...@@ -51,7 +58,12 @@ import Icon1 from "@/components/Icon/index.vue";
import { tableColumns } from "./table"; import { tableColumns } from "./table";
import { syMoreOperate } from "cqk-sy-ui"; import { syMoreOperate } from "cqk-sy-ui";
import { ref } from "vue"; import { ref } from "vue";
import { eStatus } from "@/components/ApproveStatus/status"; import {
eStatus,
NOT_PASSED,
RECORD_SUCCESS,
WAITING_CHECK,
} from "@/components/ApproveStatus/status";
import { mappingFromStatusToOperate } from "./statusMapping"; import { mappingFromStatusToOperate } from "./statusMapping";
import ApproveStatus from "@/components/ApproveStatus/index.vue"; import ApproveStatus from "@/components/ApproveStatus/index.vue";
import HoverShowReason from "./HoverShowReason.vue"; import HoverShowReason from "./HoverShowReason.vue";
...@@ -63,7 +75,17 @@ defineProps<{ ...@@ -63,7 +75,17 @@ defineProps<{
showStateFilterIcon?: boolean; showStateFilterIcon?: boolean;
}>(); }>();
const emit = defineEmits(["scrollToEnd"]); const emit = defineEmits<{
(e: "scrollToEnd"): void;
(
e: "clickOperate",
payload: {
type: Exclude<eStatus, eStatus.ALL>;
raw: any;
}
): void;
(e: "clickStatusFilter", payload: eStatus): void;
}>();
const tableRef = ref<InstanceType<typeof Table>>(); const tableRef = ref<InstanceType<typeof Table>>();
...@@ -72,19 +94,56 @@ useTableScrollListener(tableRef, () => { ...@@ -72,19 +94,56 @@ useTableScrollListener(tableRef, () => {
}); });
const getOperateList = (slotProps: any) => { const getOperateList = (slotProps: any) => {
const status: Exclude<eStatus, eStatus.all> = const status: Exclude<eStatus, eStatus.ALL> = slotProps.status;
slotProps.status || eStatus.agree;
return mappingFromStatusToOperate[status].map((i) => ({ return mappingFromStatusToOperate[status].map((i) => ({
name: i, name: i,
value: i, value: i,
})); }));
}; };
const handleClickItem = (value: any, slotProps: any) => { const handleClickItem = (
console.log(value, slotProps, "show value"); value: Exclude<eStatus, eStatus.ALL>,
slotProps: any
) => {
emit("clickOperate", {
type: value,
raw: slotProps,
});
switch (value) {
case eStatus.NOT_PASSED:
break;
case eStatus.RECORD_SUCCESS:
break;
case eStatus.WAITING_CHECK:
break;
case eStatus.WAITING_SUBMIT:
break;
}
}; };
const handleClickCurrentStatusTableHeader = () => {}; const operateListOfStatus = [
{
name: WAITING_CHECK.label,
value: WAITING_CHECK.value,
},
{
name: RECORD_SUCCESS.label,
value: RECORD_SUCCESS.value,
},
{
name: NOT_PASSED.label,
value: NOT_PASSED.value,
},
{
name: "所有状态",
value: eStatus.ALL,
},
];
const handleClickCurrentStatusTableHeader = (v: eStatus) => {
emit("clickStatusFilter", v);
};
</script> </script>
<style></style> <style></style>
...@@ -29,7 +29,11 @@ ...@@ -29,7 +29,11 @@
style="width: 113px" style="width: 113px"
mode="elementBtn" mode="elementBtn"
size="large" size="large"
@click="copyRightNotifyVisible = true" @click="
$router.push({
name: 'addCopyRight',
})
"
type="primary" type="primary"
>添加版权</syButton >添加版权</syButton
> >
...@@ -89,7 +93,7 @@ const menuList = [ ...@@ -89,7 +93,7 @@ const menuList = [
}, },
]; ];
const activedMenu = ref(eTableTab.going); const activedMenu = ref(eTableTab.going);
const currentStatusForGoing = ref(eStatus.all); // 进行中的表格的状态 const currentStatusForGoing = ref(eStatus.NOT_PASSED); // 进行中的表格的状态
const fetchTableData = ({ const fetchTableData = ({
page, page,
...@@ -114,7 +118,7 @@ const fetchTableData = ({ ...@@ -114,7 +118,7 @@ const fetchTableData = ({
.split("") .split("")
.map((i, index) => ({ .map((i, index) => ({
name: index + (page - 1) * page_size + currentStatus, name: index + (page - 1) * page_size + currentStatus,
status: eStatus.rejected, status: eStatus.RECORD_SUCCESS,
address: searchValue.value, address: searchValue.value,
})), })),
}); });
...@@ -147,7 +151,7 @@ const { ...@@ -147,7 +151,7 @@ const {
loading: loadingForEnd, loading: loadingForEnd,
refetch: refetchForEnd, refetch: refetchForEnd,
} = useTableData({ } = useTableData({
fetchData: generateFetchTableData(() => eStatus.approved), fetchData: generateFetchTableData(() => eStatus.NOT_PASSED),
}); });
const refetchDebounce = debounce(() => { const refetchDebounce = debounce(() => {
......
import { eStatus } from "./../../components/ApproveStatus/status"; import { eStatus } from "../../components/ApproveStatus/status";
import { eOperate } from "./types"; import { eOperate } from "./types";
export const mappingFromStatusToOperate = { export const mappingFromStatusToOperate = {
[eStatus.platformVerification]: [eOperate.withdraw], [eStatus.WAITING_SUBMIT]: [
[eStatus.withdrawn]: [eOperate.edit, eOperate.delete], eOperate.seeDetails,
[eStatus.platformDismissed]: [eOperate.edit, eOperate.delete], eOperate.edit,
[eStatus.submitReview]: [eOperate.seeDetails], eOperate.delete,
[eStatus.platformNotSubmitted]: [eOperate.seeDetails], ],
[eStatus.pendingReview]: [eOperate.seeDetails], [eStatus.WAITING_CHECK]: [eOperate.seeDetails],
[eStatus.agree]: [eOperate.seeDetails], [eStatus.RECORD_SUCCESS]: [
[eStatus.rejected]: [eOperate.edit, eOperate.delete], eOperate.seeDetails,
[eStatus.submitted]: [eOperate.seeDetails], eOperate.viewCertificates,
[eStatus.pendingFinalReview]: [eOperate.seeDetails], eOperate.downloadCertificates,
[eStatus.approved]: [eOperate.viewCertificates, eOperate.seeDetails], ],
[eStatus.NOT_PASSED]: [eOperate.seeDetails, eOperate.delete],
}; };
...@@ -4,9 +4,10 @@ export enum eTableTab { ...@@ -4,9 +4,10 @@ export enum eTableTab {
} }
export enum eOperate { export enum eOperate {
withdraw = "撤销", // 撤销 withdraw = "撤销",
edit = "编辑", // 编辑 edit = "编辑",
delete = "删除", // 删除 delete = "删除",
seeDetails = "查看详情", // 查看详情 seeDetails = "查看详情",
viewCertificates = "查看证书", // 查看证书 viewCertificates = "查看证书",
downloadCertificates = "下载tsa证书",
} }
...@@ -38,13 +38,7 @@ ...@@ -38,13 +38,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { onMounted, ref } from "vue"; import { onMounted, ref } from "vue";
import { import { GO_URLS, syHeaderNavBar, syScrollBar, syButton } from "cqk-sy-ui";
GO_URLS,
syHeaderNavBar,
syScrollBar,
syTraceProofEdit,
syButton,
} from "cqk-sy-ui";
import { useRoute } from "vue-router"; import { useRoute } from "vue-router";
import { router } from "@/router"; import { router } from "@/router";
import { $ajax } from "@/service"; import { $ajax } from "@/service";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment