|
@@ -43,6 +43,8 @@ import { onLoad, onShow, onReady, onHide, onLaunch, onUnload, onNavigationBarBut
|
|
import { ref, reactive, computed, getCurrentInstance, toRefs, inject } from "vue";
|
|
import { ref, reactive, computed, getCurrentInstance, toRefs, inject } from "vue";
|
|
/*----------------------------------接口引入-----------------------------------*/
|
|
/*----------------------------------接口引入-----------------------------------*/
|
|
import { getMceList, updateMceReceiveStatus } from "@/api/mine/info.js";
|
|
import { getMceList, updateMceReceiveStatus } from "@/api/mine/info.js";
|
|
|
|
+import { projectApi } from "@/api/business/project.js";
|
|
|
|
+
|
|
/*----------------------------------组件引入-----------------------------------*/
|
|
/*----------------------------------组件引入-----------------------------------*/
|
|
/*----------------------------------store引入-----------------------------------*/
|
|
/*----------------------------------store引入-----------------------------------*/
|
|
/*----------------------------------公共方法引入-----------------------------------*/
|
|
/*----------------------------------公共方法引入-----------------------------------*/
|
|
@@ -70,7 +72,20 @@ function goContentDetails(e) {
|
|
if (e.infoType == 4) {
|
|
if (e.infoType == 4) {
|
|
proxy.$tab.navigateTo(`/pages/business/fireIot/alarmManage/alarmDetails/index?contentId=${e.contentId}`).then(() => {});
|
|
proxy.$tab.navigateTo(`/pages/business/fireIot/alarmManage/alarmDetails/index?contentId=${e.contentId}`).then(() => {});
|
|
} else if (e.infoType == 5) {
|
|
} else if (e.infoType == 5) {
|
|
- proxy.$tab.navigateTo(`/pages/business/common/projectMange/record/details?reportId=${e.moduleId}`).then(() => {});
|
|
|
|
|
|
+
|
|
|
|
+ if (e.readFlag != 1) {
|
|
|
|
+ projectApi()
|
|
|
|
+ .ReportRecordReadFlag({ reportId: e.id })
|
|
|
|
+ .then((res) => {
|
|
|
|
+ if (res.status == "SUCCESS") {
|
|
|
|
+ proxy.$tab.navigateTo(`/pages/business/common/projectMange/record/details?reportId=${e.moduleId}`);
|
|
|
|
+ } else {
|
|
|
|
+ proxy.$modal.msgError("读取异常");
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ } else {
|
|
|
|
+ proxy.$tab.navigateTo(`/pages/business/common/projectMange/record/details?reportId=${e.moduleId}`);
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
proxy.$tab.navigateTo(`/pages/common/appMessage/details?contentId=${e.contentId}`).then(() => {});
|
|
proxy.$tab.navigateTo(`/pages/common/appMessage/details?contentId=${e.contentId}`).then(() => {});
|
|
}
|
|
}
|