diff --git a/src/config/env.production.js b/src/config/env.production.js index fe105ea..ca79b2d 100644 --- a/src/config/env.production.js +++ b/src/config/env.production.js @@ -14,8 +14,8 @@ module.exports = { version: 'V1.0.0', technicalSupport: '', copyright: 'Copyright @ 2023 版权所有', - baseUrl: 'https://epmet-preview.elinkservice.cn/', // 项目地址 - baseApi: 'https://epmet-preview.elinkservice.cn/api', + baseUrl: 'https://epmet-test.elinkservice.cn/', // 项目地址 + baseApi: 'https://epmet-test.elinkservice.cn/api-140-proxy', wxId: 'wx1078fa1e99424de9', secret: 'ebecf6b88ab455f1cdf4a5b6357407b8', mapKey: '5D6BZ-KHLW4-JUXU5-XIM47-5Q2DJ-IPBBT' diff --git a/src/views/peoSuggestion/SpecialsolicitationFill.vue b/src/views/peoSuggestion/SpecialsolicitationFill.vue index f8e7fcd..ebeb61c 100644 --- a/src/views/peoSuggestion/SpecialsolicitationFill.vue +++ b/src/views/peoSuggestion/SpecialsolicitationFill.vue @@ -112,8 +112,19 @@ export default { ...this.formData } icEventOldAdd(params).then(res=>{ - this.$toast.success('提交成功') - console.log(res,"sdl;kjdsjls;kdgj"); + if (res.code==0) { + console.log(res,"sdl;kjdsjls;kdgj"); + this.$toast.success({ + message: '上报成功', + duration: 3000, // 显示时间为 3000 毫秒(3 秒) + }); + setTimeout(() => { + this.$router.push('/peoSuggestion'); // 替换为目标页面的路由 + }, 3000); + + }else{ + this.$toast.fail(res.message) + } }) }, diff --git a/src/views/peoSuggestion/solicitationDaily.vue b/src/views/peoSuggestion/solicitationDaily.vue index 7bcd7e9..87dc239 100644 --- a/src/views/peoSuggestion/solicitationDaily.vue +++ b/src/views/peoSuggestion/solicitationDaily.vue @@ -2,7 +2,7 @@