|
|
|
|
@ -58771,11 +58771,15 @@ var getMessagesUrl = function getMessagesUrl(item) {
|
|
|
|
|
}
|
|
|
|
|
switch (item.container_type) {
|
|
|
|
|
case 'AppliedProject':
|
|
|
|
|
var _getDvaApp$_store$get = (0,umi__WEBPACK_IMPORTED_MODULE_12__.getDvaApp)()._store.getState(),
|
|
|
|
|
globalSetting = _getDvaApp$_store$get.globalSetting;
|
|
|
|
|
if (item.tiding_type === 'Apply') {
|
|
|
|
|
return window.open(_env__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z.PROXY_SERVER + ":81" + '/projects/' + (item === null || item === void 0 ? void 0 : item.project_url) + '/setting/audit');
|
|
|
|
|
var _globalSetting$settin;
|
|
|
|
|
return window.open((globalSetting === null || globalSetting === void 0 || (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.old_url) + '/projects/' + (item === null || item === void 0 ? void 0 : item.project_url) + '/setting/audit');
|
|
|
|
|
}
|
|
|
|
|
if (item.tiding_type === 'System' && (item === null || item === void 0 ? void 0 : item.status) == 1) {
|
|
|
|
|
return window.open(_env__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z.PROXY_SERVER + ":81" + '/projects/' + (item === null || item === void 0 ? void 0 : item.project_url) + '/about');
|
|
|
|
|
var _globalSetting$settin2;
|
|
|
|
|
return window.open((globalSetting === null || globalSetting === void 0 || (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.old_url) + '/projects/' + (item === null || item === void 0 ? void 0 : item.project_url) + '/about');
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
case 'ApplyUserAuthentication':
|