|
@@ -585,13 +585,12 @@ function didPushParamChange(){
|
|
|
}
|
|
|
//判断页面所有数据是否为空
|
|
|
function isAllClear(jsonData,jsonStr,baseList){
|
|
|
- console.log(baseList.checkBody.isEmpty)
|
|
|
if ( //结构化和文本数据都为空
|
|
|
JSON.stringify(jsonData.advice) == '{}' &&
|
|
|
jsonData.chief.length < 1 &&
|
|
|
jsonData.present.length < 1 &&
|
|
|
// jsonData.other.length < 1 &&
|
|
|
- baseList.checkBody.isEmpty &&
|
|
|
+ (jsonData.other.length > 0 ? baseList.checkBody.isEmpty : true) &&
|
|
|
jsonData.vital.length < 1 &&
|
|
|
jsonData.diag.length < 1 &&
|
|
|
jsonData.pacs.length < 1 &&
|