hookehuyr

fix 成功后返回位置修改

<!--
* @Date: 2022-06-29 18:18:02
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-27 21:02:29
* @LastEditTime: 2024-07-29 09:41:18
* @FilePath: /temple_material_request/src/views/success.vue
* @Description: 文件描述
-->
......@@ -67,16 +67,9 @@ const handle = () => {
const goTo = (type) => {
if (type === 'home') { // 返回首页
location.href = `http://oa.onwall.cn/f/main/?p=activity&form_id=${form_id}&i=${activity_id}`;
/**
* 活动首页:
http://oa.onwall.cn/f/main/?p=activity&form_id=799652&i=801234
*/
location.href = `../../?p=volunteer_home&t=volunteer&c=${client_id}`;
} else { // 返回活动主页
location.href = `https://oa-dev.onwall.cn/?p=volunteer_home&t=volunteer&c=${client_id}`;
/**
* https://oa-dev.onwall.cn/?p=volunteer_home&t=volunteer&c=35697
*/
location.href = `../?p=activity&form_id=${form_id}&i=${activity_id}`;
}
}
</script>
......