diff --git a/src/api/device/instance.ts b/src/api/device/instance.ts index a9480b40..a1b066d4 100644 --- a/src/api/device/instance.ts +++ b/src/api/device/instance.ts @@ -529,7 +529,7 @@ export const getPropertiesInfo = (deviceId: string, data: Record) => server.post(`/device-instance/${deviceId}/property/${property}/_query`, data) +export const getPropertiesList = (deviceId: string, property: string, data: Record) => server.post(`/device-instance/${deviceId}/property/${property}/_query/no-paging`, data) /** * 获取指定协议 diff --git a/src/components/Layout/components/Notice.vue b/src/components/Layout/components/Notice.vue index b64bf0cd..fcd89dc4 100644 --- a/src/components/Layout/components/Notice.vue +++ b/src/components/Layout/components/Notice.vue @@ -37,7 +37,6 @@ const total = ref(0); // const list = ref([]); const loading = ref(false); const visible = ref(false); - const subscribeNotice = () => { getWebSocket('notification', '/notifications', {}) ?.pipe() @@ -88,9 +87,8 @@ const subscribeNotice = () => { const read = (type: string, data: any) => { changeStatus_api('_read', [data.payload.id]).then((resp: any) => { if (resp.status !== 200) return; - // notification.close(data.payload.id); + notification.close(data.payload.id); getList(); - console.log(data,type) if (type !== '_read') { menuStory.routerPush('account/center', { tabKey: 'StationMessage', diff --git a/src/components/Upload/Cropper.vue b/src/components/Upload/Cropper.vue index 7db77849..f53ed973 100644 --- a/src/components/Upload/Cropper.vue +++ b/src/components/Upload/Cropper.vue @@ -6,6 +6,7 @@ @cancel="cancel" @ok="ok" :confirmLoading="loading" + :maskClosable="false" >
{ return menuStore.hasMenu('process') ? [...systemNotice,...workflowNotice] : [...systemNotice] + } diff --git a/src/views/device/Instance/Detail/Info/components/Config/Save.vue b/src/views/device/Instance/Detail/Info/components/Config/Save.vue index 0feadd7e..ca0f9eaa 100644 --- a/src/views/device/Instance/Detail/Info/components/Config/Save.vue +++ b/src/views/device/Instance/Detail/Info/components/Config/Save.vue @@ -19,13 +19,17 @@
-