查询
@@ -53,7 +53,7 @@ const confirmLoading = ref(false);
const formRef = ref();
const formState = ref({
appName: '',
- appId: ''
+ contactPerson: ''
});
const labelCol = ref({ span: 7 });
const wrapperCol = ref({ span: 16 });
diff --git a/src/views/Publish/accurate/channel/Wechat.vue b/src/views/Publish/accurate/channel/Wechat.vue
index c2fe5e0f..e4f2740b 100644
--- a/src/views/Publish/accurate/channel/Wechat.vue
+++ b/src/views/Publish/accurate/channel/Wechat.vue
@@ -39,11 +39,14 @@ import { defineProps, onMounted, ref, watch } from 'vue';
import { getTeamSigns, savePublish,getPublishDetail } from '@/api/accurate';
import { message } from 'ant-design-vue';
import { useRoute,useRouter } from 'vue-router';
+import Cookies from 'js-cookie';
const route = useRoute()
const router = useRouter()
+
const props = defineProps({
channel: { type: [Number, String], default: '' }
});
+
const formRef = ref();
const addContactRef = ref();
const formState = ref({
@@ -112,7 +115,14 @@ async function submitData(){
const res = await savePublish(params);
if(res.data) {
- window.location.href = res.data[0].redirectUrl;
+ if (props.channel.appCategory === 'YIP'){
+
+// 获取指定 Cookie
+ const token = Cookies.get('_idp_session');
+ window.location.href = res.data[0].redirectUrl +'&idp_token_id='+token._idp_session;
+ }else{
+ window.location.href = res.data[0].redirectUrl;
+ }
}
message.success('提交成功');
// onCancel()