|
|
@ -3,45 +3,25 @@ |
|
|
|
<div></div> |
|
|
|
<div> |
|
|
|
<el-card shadow="always"> |
|
|
|
<search |
|
|
|
@radio-change="radioChange" |
|
|
|
@picker-change="pickerChage" |
|
|
|
title="患者信息统计" |
|
|
|
type="1" |
|
|
|
></search> |
|
|
|
<search @picker-change="pickerChage" title="患者信息统计" type="1"></search> |
|
|
|
</el-card> |
|
|
|
<patient ref="patient"></patient> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-card shadow="always"> |
|
|
|
<search |
|
|
|
@radio-change="radioChange" |
|
|
|
@picker-change="pickerChage" |
|
|
|
title="诊疗信息统计" |
|
|
|
type="2" |
|
|
|
></search> |
|
|
|
<search @picker-change="pickerChage" title="诊疗信息统计" type="2"></search> |
|
|
|
</el-card> |
|
|
|
<JM ref="JM"></JM> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-card shadow="always"> |
|
|
|
<search |
|
|
|
@radio-change="radioChange" |
|
|
|
@picker-change="pickerChage" |
|
|
|
title="治疗类型统计" |
|
|
|
type="3" |
|
|
|
></search> |
|
|
|
<search @picker-change="pickerChage" title="治疗类型统计" type="3"></search> |
|
|
|
</el-card> |
|
|
|
<XGZL ref="XGZL"></XGZL> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-card shadow="always"> |
|
|
|
<search |
|
|
|
@radio-change="radioChange" |
|
|
|
@picker-change="pickerChage" |
|
|
|
title="随访统计" |
|
|
|
type="4" |
|
|
|
></search> |
|
|
|
<search @picker-change="pickerChage" title="随访统计" type="4"></search> |
|
|
|
</el-card> |
|
|
|
<follow ref="follow"></follow> |
|
|
|
</div> |
|
|
@ -49,7 +29,10 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { getCodeImg, firstAidTest } from "@/api/login"; |
|
|
|
import { |
|
|
|
getCodeImg, |
|
|
|
firstAidTest |
|
|
|
} from "@/api/login"; |
|
|
|
import search from "@/views/indexCom/query"; |
|
|
|
import patient from "@/views/indexCom/patient"; |
|
|
|
import JM from "@/views/indexCom/JM"; |
|
|
@ -105,6 +88,9 @@ export default { |
|
|
|
if (_type == 3) { |
|
|
|
this.$refs.XGZL.statistics(_data, param); |
|
|
|
} |
|
|
|
if (_type == 4) { |
|
|
|
this.$refs.follow.statistics(_data, param); |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
directives: { |
|
|
@ -115,6 +101,7 @@ export default { |
|
|
|
// el为绑定的元素,binding为绑定给指令的对象 |
|
|
|
let width = "", |
|
|
|
height = ""; |
|
|
|
|
|
|
|
function isReize() { |
|
|
|
const style = document.defaultView.getComputedStyle(el); |
|
|
|
if (width !== style.width) { |
|
|
@ -137,6 +124,7 @@ export default { |
|
|
|
background: #f3f5f9; |
|
|
|
min-height: 100vh; |
|
|
|
} |
|
|
|
|
|
|
|
.home { |
|
|
|
blockquote { |
|
|
|
padding: 10px 20px; |
|
|
@ -144,12 +132,14 @@ export default { |
|
|
|
font-size: 17.5px; |
|
|
|
border-left: 5px solid #eee; |
|
|
|
} |
|
|
|
|
|
|
|
hr { |
|
|
|
margin-top: 20px; |
|
|
|
margin-bottom: 20px; |
|
|
|
border: 0; |
|
|
|
border-top: 1px solid #eee; |
|
|
|
} |
|
|
|
|
|
|
|
.col-item { |
|
|
|
margin-bottom: 20px; |
|
|
|
} |
|
|
@ -159,7 +149,11 @@ export default { |
|
|
|
margin: 0; |
|
|
|
} |
|
|
|
|
|
|
|
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
|
|
font-family: "open sans", |
|
|
|
"Helvetica Neue", |
|
|
|
Helvetica, |
|
|
|
Arial, |
|
|
|
sans-serif; |
|
|
|
font-size: 13px; |
|
|
|
color: #676a6c; |
|
|
|
overflow-x: hidden; |
|
|
@ -203,6 +197,7 @@ export default { |
|
|
|
>>>.el-card { |
|
|
|
margin-bottom: 16px; |
|
|
|
} |
|
|
|
|
|
|
|
>>>.el-card__body { |
|
|
|
padding: 10px 20px; |
|
|
|
} |
|
|
|