Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fc10b125
authored
Nov 24, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
1d2c82e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
linkwe-pc/src/views/internalCollaborate/appManage/list.vue
linkwe-pc/src/views/internalCollaborate/appManage/list.vue
View file @
fc10b12
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
formMsg
:
{},
formMsg
:
{},
dialogVisibleHistoryMsg
:
false
,
dialogVisibleHistoryMsg
:
false
,
dialogVisibleSendMsg
:
false
,
dialogVisibleSendMsg
:
false
,
disabled
:
false
,
disabled
Msg
:
false
,
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -119,8 +119,8 @@ export default {
...
@@ -119,8 +119,8 @@ export default {
// 发送消息确认按钮
// 发送消息确认按钮
submitSendMsg
(
form
)
{
submitSendMsg
(
form
)
{
form
&&
if
(
form
)
{
(
form
.
id
?
appMsg
.
update
:
appMsg
.
add
)(
form
)
;
(
form
.
id
?
appMsg
.
update
:
appMsg
.
add
)(
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisibleSendMsg
=
false
this
.
dialogVisibleSendMsg
=
false
...
@@ -133,6 +133,9 @@ export default {
...
@@ -133,6 +133,9 @@ export default {
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisibleSendMsg
=
false
this
.
dialogVisibleSendMsg
=
false
})
})
}
else
{
this
.
dialogVisibleSendMsg
=
false
}
},
},
},
},
}
}
...
@@ -279,7 +282,11 @@ export default {
...
@@ -279,7 +282,11 @@ export default {
</el-dialog>
</el-dialog>
<!-- 历史消息 弹窗 -->
<!-- 历史消息 弹窗 -->
<el-dialog
title=
"历史消息"
:visible
.
sync=
"dialogVisibleHistoryMsg"
:close-on-click-modal=
"false"
>
<el-dialog
title=
"历史消息"
:visible
.
sync=
"dialogVisibleHistoryMsg"
:close-on-click-modal=
"false"
@
close=
"disabledMsg = false"
>
<HistoryMsg
<HistoryMsg
ref=
"historyMsg"
ref=
"historyMsg"
:id=
"formMsg.agentId"
:id=
"formMsg.agentId"
...
@@ -287,7 +294,7 @@ export default {
...
@@ -287,7 +294,7 @@ export default {
@
edit=
"
@
edit=
"
(data, type) => {
(data, type) => {
dialogVisibleSendMsg = true
dialogVisibleSendMsg = true
disabled = type === 'detail'
disabled
Msg
= type === 'detail'
formMsg = Object.assign({ agentId: formMsg.agentId, agentName: formMsg.agentName }, data)
formMsg = Object.assign({ agentId: formMsg.agentId, agentName: formMsg.agentName }, data)
}
}
"
/>
"
/>
...
@@ -304,7 +311,7 @@ export default {
...
@@ -304,7 +311,7 @@ export default {
<!-- 编辑/详情发送消息 弹窗 -->
<!-- 编辑/详情发送消息 弹窗 -->
<el-dialog
title=
"发送消息"
:visible
.
sync=
"dialogVisibleSendMsg"
:close-on-click-modal=
"false"
>
<el-dialog
title=
"发送消息"
:visible
.
sync=
"dialogVisibleSendMsg"
:close-on-click-modal=
"false"
>
<MsgForm
v-if=
"dialogVisibleSendMsg"
:data=
"formMsg"
:disabled=
"disabled"
@
submit=
"submitSendMsg"
/>
<MsgForm
v-if=
"dialogVisibleSendMsg"
:data=
"formMsg"
:disabled=
"disabled
Msg
"
@
submit=
"submitSendMsg"
/>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment