|
@@ -136,7 +136,7 @@ function currentIll(dispatch,store,params){
|
|
let existsId = exists && exists.length>0?getIds(exists):[];
|
|
let existsId = exists && exists.length>0?getIds(exists):[];
|
|
let withsId = withs && withs.length>0?getIds(withs):[];
|
|
let withsId = withs && withs.length>0?getIds(withs):[];
|
|
// const ids = existsId.join(",")+withsId.join(",");
|
|
// const ids = existsId.join(",")+withsId.join(",");
|
|
- const ids = (existsId.concat(withsId)).join(",");console.log("点击的下标是:",index,"选中的id是:",ids)
|
|
|
|
|
|
+ const ids = (existsId.concat(withsId)).join(",");
|
|
let has = [],wes=[];
|
|
let has = [],wes=[];
|
|
//获取选中项目模板
|
|
//获取选中项目模板
|
|
fetchModules(ids).then((res)=>{
|
|
fetchModules(ids).then((res)=>{
|
|
@@ -309,7 +309,8 @@ function mainSuitCheck(dispatch,store,params){
|
|
let ikey = getLabelIndex(index);
|
|
let ikey = getLabelIndex(index);
|
|
dispatch({
|
|
dispatch({
|
|
type: COMM_CONFIRM,
|
|
type: COMM_CONFIRM,
|
|
- data: {exists:exists,existsName:existsName,ikey}
|
|
|
|
|
|
+ // data: {exists:exists,existsName:existsName,ikey}
|
|
|
|
+ data:Object.assign({},params,{existsName,withsName,labelInx})
|
|
});
|
|
});
|
|
dispatch({//隐藏下拉
|
|
dispatch({//隐藏下拉
|
|
type:HIDEDROP
|
|
type:HIDEDROP
|
|
@@ -324,7 +325,8 @@ function currentCheck(dispatch,store,params){
|
|
let labelInx = getLabelIndex(ikey);
|
|
let labelInx = getLabelIndex(ikey);
|
|
dispatch({
|
|
dispatch({
|
|
type:SETMAINCHECKBOX,
|
|
type:SETMAINCHECKBOX,
|
|
- data:{labelInx,ikey,exclusion,excluName,nones,exists,existsName,noneIds,noneOn,nowOn,withOn,withs,withsName}
|
|
|
|
|
|
+ // data:{labelInx,ikey,exclusion,excluName,nones,exists,existsName,noneIds,noneOn,nowOn,withOn,withs,withsName}
|
|
|
|
+ data:Object.assign({},params,{existsName,withsName,labelInx})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
@@ -337,7 +339,8 @@ function checkBodyCheck(dispatch,store,params){
|
|
let labelInx = getLabelIndex(ikey);
|
|
let labelInx = getLabelIndex(ikey);
|
|
dispatch({
|
|
dispatch({
|
|
type:SETCHECKBOX,
|
|
type:SETCHECKBOX,
|
|
- data:{labelInx,ikey,exclusion,excluName,nones,exists,existsName,noneIds,noneOn,nowOn,withOn,withs,withsName}
|
|
|
|
|
|
+ // data:{labelInx,ikey,exclusion,excluName,nones,exists,existsName,noneIds,noneOn,nowOn,withOn,withs,withsName}
|
|
|
|
+ data:Object.assign({},params,{existsName,withsName,labelInx})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//其他史普通多选确定
|
|
//其他史普通多选确定
|
|
@@ -348,7 +351,8 @@ function otherHisCheck(dispatch,store,params){
|
|
let labelInx = getLabelIndex(ikey);
|
|
let labelInx = getLabelIndex(ikey);
|
|
dispatch({
|
|
dispatch({
|
|
type:SETOTHERCHECKBOX,
|
|
type:SETOTHERCHECKBOX,
|
|
- data:{labelInx,ikey,exclusion,excluName,nones,exists,existsName,noneIds,noneOn,nowOn,withOn,withs,withsName}
|
|
|
|
|
|
+ // data:{labelInx,ikey,exclusion,excluName,nones,exists,existsName,noneIds,noneOn,nowOn,withOn,withs,withsName}
|
|
|
|
+ data:Object.assign({},params,{existsName,withsName,labelInx})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|