diff --git a/package-lock.json b/package-lock.json index 271a460..026e5ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,8 @@ "vue-router": "^4.2.5", "vue3-pdfjs": "^0.1.6", "vue3-print-nb": "^0.1.4", - "vue3-puzzle-vcode": "^1.1.5" + "vue3-puzzle-vcode": "^1.1.5", + "vue3-seamless-scroll": "^2.0.1" }, "devDependencies": { "@our-patches/postcss-px-to-viewport": "^1.2.0", @@ -6018,6 +6019,14 @@ "resolved": "https://registry.npmmirror.com/vue3-puzzle-vcode/-/vue3-puzzle-vcode-1.1.7.tgz", "integrity": "sha512-mW780dz7HKjrElnE60CeYSeHGidKBKHoMjTDYfqF21330rTkFOsfDK1FQKZ22MktgMtTEoS/imfpEDlM1cxY/g==" }, + "node_modules/vue3-seamless-scroll": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/vue3-seamless-scroll/-/vue3-seamless-scroll-2.0.1.tgz", + "integrity": "sha512-mI3BaDU3pjcPUhVSw3/xNKdfPBDABTi/OdZaZqKysx4cSdNfGRbVvGNDzzptBbJ5S7imv5T55l6x/SqgnxKreg==", + "dependencies": { + "throttle-debounce": "5.0.0" + } + }, "node_modules/web-streams-polyfill": { "version": "3.3.2", "resolved": "https://registry.npmmirror.com/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz", diff --git a/package.json b/package.json index 422b29d..201b269 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "vue-router": "^4.2.5", "vue3-pdfjs": "^0.1.6", "vue3-print-nb": "^0.1.4", - "vue3-puzzle-vcode": "^1.1.5" + "vue3-puzzle-vcode": "^1.1.5", + "vue3-seamless-scroll": "^2.0.1" }, "devDependencies": { "@our-patches/postcss-px-to-viewport": "^1.2.0", diff --git a/src/assets/css/element.scss b/src/assets/css/element.scss index fe42715..5157b2c 100644 --- a/src/assets/css/element.scss +++ b/src/assets/css/element.scss @@ -251,6 +251,14 @@ color: var(--el-text-color-regular) !important; } +.el-date-table.is-week-mode .el-date-table__row { + &.current, &:hover { + .el-date-table-cell { + --el-datepicker-inrange-bg-color: var(--el-fill-color-light) !important; + } + } +} + .el-input.is-disabled .el-input__wrapper { box-shadow: 0 0 0 1px var(--el-border-color) inset !important; } diff --git a/src/assets/images/map_tools/icon1.png b/src/assets/images/map_tools/icon1.png new file mode 100644 index 0000000..02d8bbc Binary files /dev/null and b/src/assets/images/map_tools/icon1.png differ diff --git a/src/assets/images/map_tools/icon2.png b/src/assets/images/map_tools/icon2.png new file mode 100644 index 0000000..adb8225 Binary files /dev/null and b/src/assets/images/map_tools/icon2.png differ diff --git a/src/assets/images/map_tools/icon3.png b/src/assets/images/map_tools/icon3.png new file mode 100644 index 0000000..b907b29 Binary files /dev/null and b/src/assets/images/map_tools/icon3.png differ diff --git a/src/assets/js/useAliYunUpload.js b/src/assets/js/useAliYunUpload.js index de2991f..345a44d 100644 --- a/src/assets/js/useAliYunUpload.js +++ b/src/assets/js/useAliYunUpload.js @@ -33,9 +33,9 @@ export default function useAliYunUpload({ Title: uploadInfo.file.name, FileName: uploadInfo.file.name, }); - uploadAddress = resData.body.uploadAddress; - uploadAuth = resData.body.uploadAuth; - videoId = resData.body.videoId; + uploadAddress = resData.data.uploadAddress; + uploadAuth = resData.data.uploadAuth; + videoId = resData.data.videoId; } else { const resData = await setVideoRefresh({ Title: uploadInfo.file.name, diff --git a/src/components/editor/index.vue b/src/components/editor/index.vue index 954739b..65ae687 100644 --- a/src/components/editor/index.vue +++ b/src/components/editor/index.vue @@ -1,5 +1,5 @@ @@ -32,22 +45,18 @@ import { getEnterpriseInfo } from "@/request/enterprise_management.js"; const props = defineProps({ type: { type: Number, - required: true, default: 1, }, positions: { type: Array, - required: true, default: () => [], }, position: { type: Array, - required: true, default: () => [], }, modUuid: { type: String, - required: true, default: "", }, }); @@ -88,17 +97,48 @@ onBeforeUnmount(() => { window.$carmer = null; }); + diff --git a/src/components/sign/index.vue b/src/components/sign/index.vue index 3bf4783..11459be 100644 --- a/src/components/sign/index.vue +++ b/src/components/sign/index.vue @@ -13,9 +13,10 @@ :width="800" :height="300" :is-crop="false" + :is-clear-bg-color="false" :line-width="6" line-color="#000" - bg-color="#FFFFFF" + bg-color="#fff" /> diff --git a/src/views/notification_announcement/notification_announcement/components/select_notifier.vue b/src/views/notification_announcement/notification_announcement/components/select_notifier.vue new file mode 100644 index 0000000..1c9ccae --- /dev/null +++ b/src/views/notification_announcement/notification_announcement/components/select_notifier.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/views/notification_announcement/notification_announcement/components/view.vue b/src/views/notification_announcement/notification_announcement/components/view.vue new file mode 100644 index 0000000..064392c --- /dev/null +++ b/src/views/notification_announcement/notification_announcement/components/view.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/views/notification_announcement/notification_announcement/components/view_status.vue b/src/views/notification_announcement/notification_announcement/components/view_status.vue new file mode 100644 index 0000000..9e29ba2 --- /dev/null +++ b/src/views/notification_announcement/notification_announcement/components/view_status.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/src/views/notification_announcement/notification_announcement/index.vue b/src/views/notification_announcement/notification_announcement/index.vue new file mode 100644 index 0000000..c0e7ec5 --- /dev/null +++ b/src/views/notification_announcement/notification_announcement/index.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/src/views/notification_announcement/notification_template_configuration/components/configure.vue b/src/views/notification_announcement/notification_template_configuration/components/configure.vue new file mode 100644 index 0000000..9455a2f --- /dev/null +++ b/src/views/notification_announcement/notification_template_configuration/components/configure.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/src/views/notification_announcement/notification_template_configuration/index.vue b/src/views/notification_announcement/notification_template_configuration/index.vue new file mode 100644 index 0000000..f09ed33 --- /dev/null +++ b/src/views/notification_announcement/notification_template_configuration/index.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/src/views/statistical_analysis/detection_situation/index.vue b/src/views/statistical_analysis/detection_situation/index.vue index 7a887f3..6a2dce1 100644 --- a/src/views/statistical_analysis/detection_situation/index.vue +++ b/src/views/statistical_analysis/detection_situation/index.vue @@ -4,7 +4,7 @@ @@ -42,7 +42,7 @@ 搜索 - + 重置 @@ -98,25 +98,26 @@ import { import { useRouter } from "vue-router"; const router = useRouter(); -const { list, searchForm, pagination, fnResetPagination } = useListData( +const { list, searchForm, pagination, fnGetData } = useListData( getDetectionSituationList, { immediate: false, + usePagination: false, } ); -const fnResetPaginationTransfer = () => { - fnResetPagination({ +const fnGetDataTransfer = () => { + fnGetData({ STARTTIME: searchForm.value.dates?.[0], ENDTIME: searchForm.value.dates?.[1], DEPTIDS: searchForm.value.DEPTIDS?.join(","), }); }; -const fnGetData = async () => { +const fnInit = async () => { const resData = await getDetectionSituationListTime(); searchForm.value.dates = [resData.pd.MINTIME, resData.pd.MAXTIME]; - fnResetPaginationTransfer(); + fnGetDataTransfer(); }; -fnGetData(); +fnInit(); diff --git a/src/views/statistical_analysis/usage_situation/index.vue b/src/views/statistical_analysis/usage_situation/index.vue index 48ccce1..a80c4a4 100644 --- a/src/views/statistical_analysis/usage_situation/index.vue +++ b/src/views/statistical_analysis/usage_situation/index.vue @@ -4,7 +4,7 @@ @@ -48,7 +48,7 @@ 搜索 - + 重置 @@ -112,7 +112,7 @@ const achieving = ref(0); const listNoCheckNum = ref(0); const listCheckedNum = ref(0); const checkTheRate = ref(0); -const { list, searchForm, pagination, fnResetPagination } = useListData( +const { list, searchForm, pagination, fnGetData } = useListData( getUsageSituationList, { defaultSearchForm: { @@ -128,8 +128,8 @@ const { list, searchForm, pagination, fnResetPagination } = useListData( }, } ); -const fnResetPaginationTransfer = () => { - fnResetPagination({ +const fnGetDataTransfer = () => { + fnGetData({ DEPTIDS: searchForm.value.DEPTIDS?.join(","), }); }; diff --git a/src/views/video_manager/video_manager/components/selecting_points.vue b/src/views/video_manager/video_manager/components/selecting_points.vue index 4b4a939..0b3f55a 100644 --- a/src/views/video_manager/video_manager/components/selecting_points.vue +++ b/src/views/video_manager/video_manager/components/selecting_points.vue @@ -1,11 +1,6 @@