no message

This commit is contained in:
kuaifan 2025-03-21 09:04:58 +08:00
parent 82f154a229
commit a87f903c50
6 changed files with 31 additions and 6 deletions

View File

@ -103,7 +103,7 @@ services:
fileview:
container_name: "dootask-fileview-${APP_ID}"
image: "kuaifan/fileview:4.4.0-1"
image: "kuaifan/fileview:4.4.0-3"
environment:
KK_CONTEXT_PATH: "/fileview"
KK_OFFICE_PREVIEW_SWITCH_DISABLED: true

View File

@ -2018,3 +2018,4 @@ API请求的URL路径
报告不存在或已被删除
文件读取失败:(*)
独立窗口显示
在消息中显示

View File

@ -246,7 +246,7 @@ $A.Electron?.listener('syncDispatch', async ({dispatchId: targetId, action, data
await store.dispatch(action, data)
})
$A.Electron?.listener('goForward', ({route, isReplace}) => {
$A.goForward(route, isReplace, true)
typeof $A.goForward === "function" && $A.goForward(route, isReplace, true)
})
// 绑定截图快捷键

View File

@ -4,9 +4,16 @@
<div class="dialog-user">
<div class="member-head">
<div class="member-title">{{$L('项目成员')}}<span @click="memberShowAll=!memberShowAll">({{projectData.project_user.length}})</span></div>
<div class="member-open" @click="onOpenDialog" :title="$L('独立窗口显示')">
<i class="taskfont open-dialog">&#xe776;</i>
</div>
<ETooltip v-if="$Electron" :disabled="$isEEUiApp || windowTouch" :content="$L('独立窗口显示')">
<div class="member-open" @click="onOpenDialog">
<i class="taskfont open-dialog">&#xe776;</i>
</div>
</ETooltip>
<ETooltip v-else :disabled="$isEEUiApp || windowTouch" :content="$L('在消息中显示')">
<div class="member-open" @click="onMsgOpen">
<Icon type="ios-chatbubbles-outline"/>
</div>
</ETooltip>
<div class="member-close" @click="onClose">
<Icon type="ios-close"/>
</div>
@ -37,6 +44,13 @@ export default {
return {
loadIng: false,
memberShowAll: false,
beforeDestroyClose: false,
}
},
beforeDestroy() {
if (this.beforeDestroyClose) {
requestAnimationFrame(this.toggleParameter)
}
},
@ -49,6 +63,12 @@ export default {
},
methods: {
onMsgOpen() {
this.$store.dispatch("openDialog", this.projectData.dialog_id);
this.goForward({name: 'manage-messenger', params: {dialogAction: 'dialog'}});
this.beforeDestroyClose = true;
},
onOpenDialog() {
this.$store.dispatch('openDialogWindow', this.projectData.dialog_id);
this.toggleParameter();

View File

@ -80,7 +80,7 @@
<p v-if="taskDetail.id"><span>{{taskDetail.id}}</span></p>
</div>
<div class="function">
<ETooltip v-if="$Electron" :disabled="$isEEUiApp || windowTouch" :content="$L('新窗口打开')">
<ETooltip v-if="$Electron" :disabled="$isEEUiApp || windowTouch" :content="$L('独立窗口显示')">
<i class="taskfont open" @click="openNewWin">&#xe776;</i>
</ETooltip>
<div class="menu">

View File

@ -29,6 +29,10 @@
.open-dialog {
font-size: 24px;
}
.ivu-icon-ios-chatbubbles-outline {
font-size: 22px;
}
}
.member-close {
cursor: pointer;