|
@@ -308,13 +308,18 @@ function init() {
|
|
|
* @跳转详情
|
|
|
*/
|
|
|
function goContentDetails(e) {
|
|
|
- projectApi().ReportRecordReadFlag({ reportId: e.id }).then((res) => {
|
|
|
+ if(state.tabsCurrent==0&&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.id}`);
|
|
|
} else {
|
|
|
proxy.$modal.msgError("读取异常");
|
|
|
}
|
|
|
});
|
|
|
+
|
|
|
+ }else{
|
|
|
+ proxy.$tab.navigateTo(`/pages/business/common/projectMange/record/details?reportId=${e.id}`);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|