代码提交

master
wujingling0908 5 days ago
parent b358e2364e
commit a817db8c5a
  1. 12
      src/components/abstract.vue
  2. 2
      src/utils/https.js

@ -113,8 +113,16 @@ const toDetail = (record) => {
businessClick()
}
if (record.title === '保障状态') {
// 只把问题写入对话气泡,不走对话接口
store.addSendMessageList({ msgText: record.name, reqAndResType: '1', sendLoading: false })
const text = record?.name || '查保单'
// 发送文字并直接走对话接口
const request = store?.sendingRobot?.({
reqAndResType: '1',
msgText: text,
msgSource: store?.manualService,
}) || messageSend(text)
Promise.resolve(request).catch((err) => {
console.log(err)
})
}
}
const refreshAbstractData = async () => {

@ -45,7 +45,7 @@ const closeWindow = () => {
const toast = (msg) => {
showToast({
message: msg,
duration: 4000,
duration: 3000,
forbidClick: true,
})
}

Loading…
Cancel
Save