call modify
This commit is contained in:
@@ -73,7 +73,7 @@ function _cell.uiEventDelegate(go)
|
||||
elseif goName == "ButtonTask" then
|
||||
getPanelAsy("PanelNewFollowTask", onLoadedPanelTT, mData)
|
||||
elseif goName == "ButtonContact" then
|
||||
MyUtl.callCust(mData)
|
||||
MyUtl.showCallOption(mData)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -590,7 +590,7 @@ function TRPCustDetail:setEventDelegate()
|
||||
getPanelAsy("PanelNewFollowTask", onLoadedPanelTT, self.mdata)
|
||||
end,
|
||||
ButtonCall = function()
|
||||
MyUtl.callCust(self.mdata)
|
||||
MyUtl.showCallOption(self.mdata)
|
||||
end,
|
||||
ButtonNewOrder = function()
|
||||
getPanelAsy("PanelNewOrder", onLoadedPanelTT, self.mdata)
|
||||
|
||||
@@ -193,6 +193,7 @@ function TRPMakeCall.uiEventDelegate(go)
|
||||
MyUtl.toastW("请输入要呼叫的号码")
|
||||
return
|
||||
end
|
||||
MyUtl.callCustByNative(InputNumber.value)
|
||||
elseif goName == "ButtonCallYun" then
|
||||
if InputNumber.value == nil or InputNumber.value == "" then
|
||||
MyUtl.toastW("请输入要呼叫的号码")
|
||||
|
||||
@@ -65,8 +65,10 @@ end
|
||||
---@param paras _ParamTRPNewFollowSimple
|
||||
function TRPNewFollowSimple:setData(paras)
|
||||
self.mdata = {}
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
if paras then
|
||||
self.mdata.custId = paras.custId
|
||||
self.mdata.taskId = paras.taskId
|
||||
end
|
||||
self.mdata.followUpType = "0"
|
||||
self.mdata.dealFlag = "0"
|
||||
self.isNewFollow = true
|
||||
|
||||
Reference in New Issue
Block a user