|
|
@ -57,7 +57,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content-header-right">
|
|
|
|
<div class="content-header-right">
|
|
|
|
<el-button>
|
|
|
|
<el-button @click="handleOrder">
|
|
|
|
<el-icon name="clipboard" />
|
|
|
|
<el-icon name="clipboard" />
|
|
|
|
个人订单
|
|
|
|
个人订单
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
@ -136,6 +136,7 @@
|
|
|
|
import 'element-plus/es/components/button/style/css';
|
|
|
|
import 'element-plus/es/components/button/style/css';
|
|
|
|
import MessageItem from './message.vue';
|
|
|
|
import MessageItem from './message.vue';
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
|
|
|
const router = useRouter();
|
|
|
|
const store = useStore();
|
|
|
|
const store = useStore();
|
|
|
|
store.dispatch('chat/connect');
|
|
|
|
store.dispatch('chat/connect');
|
|
|
|
store.dispatch('chat/querySession');
|
|
|
|
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 transferVisible = ref(false);
|
|
|
|
const transferConfig = ref({
|
|
|
|
const transferConfig = ref({
|
|
|
|