Commit 0a957213 authored by youjie's avatar youjie

no message

parent fa62a927
......@@ -336,23 +336,25 @@
async: false,
success: function(res) {
if (res.resultCode === 1) {
if(res.data&&res.data.length>0&&res.data[0].SurverList.length > 0){
if(res.data&&res.data.length>0){
qMsg.GuestId = res.data[0].Id
let data = res.data[0].SurverList
data.map(item => {
if (item.SurveyType === 3) {
item.IsCheckS = []
}
})
dataList = data
for(let i=0;i<dataListAll.length;i++){
let findIndex = dataList.findIndex(item=>item.ID==dataListAll[i].ID)
if(findIndex==-1){
dataList.push(dataListAll[i])
if(res.data[0].SurverList.length > 0){
let data = res.data[0].SurverList
data.map(item => {
if (item.SurveyType === 3) {
item.IsCheckS = []
}
})
dataList = data
for(let i=0;i<dataListAll.length;i++){
let findIndex = dataList.findIndex(item=>item.ID==dataListAll[i].ID)
if(findIndex==-1){
dataList.push(dataListAll[i])
}
}
renderStar()
getTextarea()
}
renderStar()
getTextarea()
}else {
renderStar()
layer.msg("暂无此账号信息,请联系销售人员")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment