Commit 0a957213 authored by youjie's avatar youjie

no message

parent fa62a927
...@@ -336,23 +336,25 @@ ...@@ -336,23 +336,25 @@
async: false, async: false,
success: function(res) { success: function(res) {
if (res.resultCode === 1) { 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 qMsg.GuestId = res.data[0].Id
let data = res.data[0].SurverList if(res.data[0].SurverList.length > 0){
data.map(item => { let data = res.data[0].SurverList
if (item.SurveyType === 3) { data.map(item => {
item.IsCheckS = [] if (item.SurveyType === 3) {
} item.IsCheckS = []
}) }
dataList = data })
for(let i=0;i<dataListAll.length;i++){ dataList = data
let findIndex = dataList.findIndex(item=>item.ID==dataListAll[i].ID) for(let i=0;i<dataListAll.length;i++){
if(findIndex==-1){ let findIndex = dataList.findIndex(item=>item.ID==dataListAll[i].ID)
dataList.push(dataListAll[i]) if(findIndex==-1){
dataList.push(dataListAll[i])
}
} }
renderStar()
getTextarea()
} }
renderStar()
getTextarea()
}else { }else {
renderStar() renderStar()
layer.msg("暂无此账号信息,请联系销售人员") 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