|
@@ -196,7 +196,13 @@ const toChat = () => {
|
|
if (user.value.id) {
|
|
if (user.value.id) {
|
|
ElMessageBox.confirm(`您确认要预约对接?`, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' })
|
|
ElMessageBox.confirm(`您确认要预约对接?`, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' })
|
|
.then(async () => {
|
|
.then(async () => {
|
|
- ElMessage({ message: `预约对接成功等待消息通知`, type: 'success' })
|
|
|
|
|
|
+ const obj = {
|
|
|
|
+ source_id: route.query.id,
|
|
|
|
+ source: 'achievement',
|
|
|
|
+ apply_user: user.value.id,
|
|
|
|
+ }
|
|
|
|
+ const res = await contactApplyStore.create(obj)
|
|
|
|
+ $checkRes(res, `预约对接成功等待消息通知`, res.errmsg)
|
|
})
|
|
})
|
|
.catch(() => {})
|
|
.catch(() => {})
|
|
} else ElMessage({ message: '未登录!', type: 'error' })
|
|
} else ElMessage({ message: '未登录!', type: 'error' })
|