代码提交

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

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

Loading…
Cancel
Save