|
@@ -1219,10 +1219,10 @@ function getStringPlus(dataList){
|
|
|
let strPlus = '';
|
|
|
dataList && dataList.map((item)=>{
|
|
|
if(item.detailName){
|
|
|
- let strTmp = item.name + ',' + item.detailName + ',' + (item.otherValue ? item.otherValue : (item.value + item.units)) +';'
|
|
|
+ let strTmp = item.name + ','+(item.inpValue?(item.inpValue+','):'') + item.detailName + ',' + (item.otherValue ? item.otherValue : (item.value + item.units)) +';'
|
|
|
strPlus += strTmp;
|
|
|
}else{
|
|
|
- let strTmp = item.name+';'
|
|
|
+ let strTmp = item.name+ (item.inpValue?(','+item.inpValue):';')
|
|
|
strPlus += strTmp;
|
|
|
}
|
|
|
})
|
|
@@ -1278,6 +1278,7 @@ function getPushList(data1,data2){ //推送数据
|
|
|
return totalTmpArr;
|
|
|
}
|
|
|
function getPushLists(data1,data2){ //推送数据
|
|
|
+ console.log(data1,data2)
|
|
|
let tmpArr1 = [];
|
|
|
let tmpArr2 = [];
|
|
|
let totalTmpArr = [];
|
|
@@ -1304,6 +1305,7 @@ function getPushLists(data1,data2){ //推送数据
|
|
|
if(val.value != undefined && val.value != ''){
|
|
|
let tmpObj = {};
|
|
|
tmpObj.name = item.name || '';
|
|
|
+ tmpObj.inpValue = item.inpValue || '';//套餐名
|
|
|
tmpObj.detailName = val.name || '';
|
|
|
tmpObj.uniqueName = val.uniqueName || '';//公表名称
|
|
|
tmpObj.source = '0'; //数据来源
|
|
@@ -1318,6 +1320,7 @@ function getPushLists(data1,data2){ //推送数据
|
|
|
}else{
|
|
|
let tmpObj = {};
|
|
|
tmpObj.name = item.name;
|
|
|
+ tmpObj.inpValue = item.inpValue;
|
|
|
tmpArr2.push(tmpObj);
|
|
|
}
|
|
|
})
|