|
|
|
@ -57,7 +57,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-header-right">
|
|
|
|
|
<el-button>
|
|
|
|
|
<el-button @click="handleOrder">
|
|
|
|
|
<el-icon name="clipboard" />
|
|
|
|
|
个人订单
|
|
|
|
|
</el-button>
|
|
|
|
@ -136,6 +136,7 @@
|
|
|
|
|
import 'element-plus/es/components/button/style/css';
|
|
|
|
|
import MessageItem from './message.vue';
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
const router = useRouter();
|
|
|
|
|
const store = useStore();
|
|
|
|
|
store.dispatch('chat/connect');
|
|
|
|
|
store.dispatch('chat/querySession');
|
|
|
|
@ -194,6 +195,12 @@
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 个人订单
|
|
|
|
|
const handleOrder = () => {
|
|
|
|
|
console.info(unref(currentSession));
|
|
|
|
|
router.push({ name: 'OrderManagement', query: { id: currentSession.value.fromId } });
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 转移会话
|
|
|
|
|
const transferVisible = ref(false);
|
|
|
|
|
const transferConfig = ref({
|
|
|
|
|