|
@@ -52,7 +52,7 @@ export const addDiagMsg = (state, action) => { //选中诊断依据
|
|
|
|
|
|
export const addTcmDiagnostic = (state, action) => {
|
|
|
const res = JSON.parse(JSON.stringify(state));
|
|
|
- console.log('addTcmDiagnostic',action)
|
|
|
+ //console.log('addTcmDiagnostic',action)
|
|
|
const { isSym } = action;
|
|
|
let obj=null;
|
|
|
//如果上一个诊断和症候不全,则不添加新行
|
|
@@ -82,7 +82,6 @@ export const addTcmDiagnostic = (state, action) => {
|
|
|
res.tcmList.push(obj);
|
|
|
}
|
|
|
}
|
|
|
- //console.log(res)
|
|
|
return res;
|
|
|
}
|
|
|
|
|
@@ -97,7 +96,6 @@ export const addDiagnostic = (state, action) => {
|
|
|
++num
|
|
|
}
|
|
|
}
|
|
|
- console.log(num,tmpLis.length)
|
|
|
if(num == tmpLis.length){
|
|
|
tmpLis[0]['hasTreat'] = 1
|
|
|
let obj = {
|