diff --git a/root/NEUIKit/pages/Chat/index.vue b/root/NEUIKit/pages/Chat/index.vue index 4d3f761..1535a9d 100644 --- a/root/NEUIKit/pages/Chat/index.vue +++ b/root/NEUIKit/pages/Chat/index.vue @@ -43,7 +43,7 @@
发送职位
- +
@@ -71,8 +71,8 @@ import { autorun } from "mobx"; import { ref, onMounted, computed, onUnmounted, getCurrentInstance } from "vue"; // import { ref, onMounted, onUnmounted, getCurrentInstance } from "../../utils/transformVue"; import { deepClone, getUniPlatform } from "../../utils"; -import { onLoad, onUnload } from "@dcloudio/uni-app"; -import { customSwitchTab, customNavigateTo } from "../../utils/customNavigate"; +import { onLoad, onUnload,getApp } from "@dcloudio/uni-app"; +import { customSwitchTab, customNavigateTo } from "../../utils/customNavigate"; import NetworkAlert from "../../components/NetworkAlert.vue"; import NavBar from "./message/nav-bar.vue"; import Icon from "../../components/Icon.vue"; @@ -88,6 +88,8 @@ import api from "../../utils/api.js"; console.log("apiapiapi", api); const appType = ref(uni.getStorageSync("requestComeFrom")); const popType = ref(""); // 发送抽屉的显示类型 +const globalData = ref(getCurrentInstance().appContext.app); // 获取实例 +console.log('globalData',globalData); export interface YxReplyMsg { messageClientId: string; scene: V2NIMConst.V2NIMConversationType; diff --git a/root/detail/apply.vue b/root/detail/apply.vue index 4f71ac5..fe05930 100644 --- a/root/detail/apply.vue +++ b/root/detail/apply.vue @@ -1196,7 +1196,7 @@ export default { that.F.wyyxPost( that.api.wyyx_sendMessage, { - conversationType: 1, + conversationType: 1, senderAccid: uni.getStorageSync("im-accid"), receiverAccid: cusData.accid, text: that.G.objToStr(params, "copy"), diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index d035086..01db7fd 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -542,7 +542,7 @@ export default { // that.$forceUpdate(); setTimeout(() => { uni.navigateTo({ - url: "/root/home/applicationSuccess", + url: "/root/home/applicationSuccess?jobId=" + that.updateInfo.jobId, }); }, 1500); });