|
@@ -247,14 +247,12 @@ export default {
|
|
|
// 客户基础信息--查看详情
|
|
|
async getDetail () {
|
|
|
try {
|
|
|
- const { error_code: code, error_msg: msg, data } = await getFindClueInfo({ phone: this.userInfo.phone })
|
|
|
+ const { error_code: code, data } = await getFindClueInfo({ phone: this.userInfo.phone })
|
|
|
if (code === 0) {
|
|
|
const { clue_id: clueId, clue_position_id: cluePositionId, position_id: positionId, uid, userid } = data
|
|
|
const params = `clue_id=${clueId}&clue_position_id=${cluePositionId}&position_id=${positionId}&uid=${uid}&userid=${userid}`
|
|
|
const url = `${location.origin}/succbi/work_order/app/work_order.app/电销相关内容/clue_info_insert.spg?${params}`
|
|
|
window.open(url)
|
|
|
- } else {
|
|
|
- this.$message.error(msg)
|
|
|
}
|
|
|
} catch (error) {
|
|
|
console.log(error)
|