|
@@ -144,7 +144,8 @@ function currentIll(dispatch,store,params){
|
|
|
let ikey = getLabelIndex(index);
|
|
|
let existsId = exists && exists.length>0?getIds(exists):[];
|
|
|
let withsId = withs && withs.length>0?getIds(withs):[];
|
|
|
- const ids = (existsId.concat(withsId)).join(",");
|
|
|
+ // const ids = (existsId.concat(withsId)).join(",");
|
|
|
+ const ids = existsId.concat(withsId);
|
|
|
let has = [],wes=[];
|
|
|
//获取选中项目模板
|
|
|
fetchModules(ids).then((res)=>{
|
|
@@ -196,7 +197,8 @@ function otherHisConfirm(dispatch,store,params){
|
|
|
}
|
|
|
let existsId = getIds(exists);
|
|
|
let withsId = getIds(withs);
|
|
|
- const ids = existsId.length>0?existsId.join(",")+','+withsId.join(","):withsId.join(",");
|
|
|
+ // const ids = existsId.length>0?existsId.join(",")+','+withsId.join(","):withsId.join(",");
|
|
|
+ const ids = existsId.concat(withsId);console.log(555,ids)
|
|
|
if(!ids&&nones){ //只有无的项目
|
|
|
dispatch({
|
|
|
type: CONFIRMSELECTED,
|
|
@@ -244,7 +246,8 @@ function checkBodyConfirm(dispatch,store,params){
|
|
|
}
|
|
|
let existsId = getIds(exists);
|
|
|
let withsId = getIds(withs);
|
|
|
- const ids = existsId.join(",")+','+withsId.join(",");
|
|
|
+ // const ids = existsId.join(",")+','+withsId.join(",");
|
|
|
+ const ids = existsId.concat(withsId);
|
|
|
if(!ids&&nones){ //只有无的项目
|
|
|
dispatch({
|
|
|
type: CHECKCONFIRMSELECTED,
|