|
@@ -148,6 +148,7 @@
|
|
|
</view>
|
|
|
|
|
|
<textarea
|
|
|
+ v-model="inputValue"
|
|
|
auto-height
|
|
|
confirm-type="send"
|
|
|
@confirm="handleSend"
|
|
@@ -205,7 +206,7 @@ const pageSize = ref(1)
|
|
|
const interview = ref([])
|
|
|
// 求职端-获取求职者与当前邀请人的面试记录
|
|
|
const statusList = ref([])
|
|
|
-
|
|
|
+const inputValue = ref('')
|
|
|
const {
|
|
|
conversationList,
|
|
|
updateConversation,
|
|
@@ -214,9 +215,14 @@ const {
|
|
|
resetUnread
|
|
|
} = initConnect(async (successful) => {
|
|
|
if (!successful) {
|
|
|
- Snackbar.error('发送失败')
|
|
|
+ uni.showToast({
|
|
|
+ title: '发送失败',
|
|
|
+ icon: 'none',
|
|
|
+ mask: true,
|
|
|
+ })
|
|
|
return
|
|
|
}
|
|
|
+ inputValue.value = ''
|
|
|
// chatRef.value.reset()
|
|
|
// // 发送成功
|
|
|
const { list } = await getMoreMessages(1, channelItem.value)
|
|
@@ -265,7 +271,7 @@ const getStatusList = () => {
|
|
|
}
|
|
|
|
|
|
function handleSend () {
|
|
|
- console.log('发送')
|
|
|
+ send(inputValue.value, channelItem.value)
|
|
|
}
|
|
|
|
|
|
const getFileType = (url) => {
|
|
@@ -327,7 +333,11 @@ async function handleFindResume () {
|
|
|
// 获取简历列表
|
|
|
const { data } = await getPersonResumeCv()
|
|
|
if (data.length === 0) {
|
|
|
- Snackbar.error('您还未上传过简历,请先上传简历后再投递')
|
|
|
+ uni.showToast({
|
|
|
+ title: '您还未上传过简历,请先上传简历后再投递',
|
|
|
+ icon: 'none',
|
|
|
+ mask: true,
|
|
|
+ })
|
|
|
return
|
|
|
}
|
|
|
resumeList.value = data
|