Commit 6683dfba authored by gengchunlei's avatar gengchunlei

Merge branch 'chronic-master' of…

Merge branch 'chronic-master' of http://gitlab.yiboshi.com/nightkis1995/frontend-h5 into chronic-master

 Conflicts:
	src/residentWX/screening/detail/SecondDetail.vue
parents 7d0e0a79 dda80af2
...@@ -107,14 +107,7 @@ export default { ...@@ -107,14 +107,7 @@ export default {
store: useStore(), store: useStore(),
activeCollapse: [], activeCollapse: [],
collapseList: [ collapseList: [
{ title: '居民信息', name: '1', columns: [], info: {} }, { title: '居民信息', name: '1', columns: [
{ title: '筛查信息', name: '2', columns: [], info: {} },
{ title: '筛查机构', name: '3', columns: [], info: {} }
],
// 全部展开、收起
collapseAll: false,
info: {},
columnsBase: [
{ title: '姓名', key: 'residentName' }, { title: '姓名', key: 'residentName' },
{ title: '证件号码', key: 'idCard'}, { title: '证件号码', key: 'idCard'},
{ title: '性别', key: 'genderName' }, { title: '性别', key: 'genderName' },
...@@ -126,8 +119,8 @@ export default { ...@@ -126,8 +119,8 @@ export default {
{ title: '详细地址', key: 'nowAddress' }, { title: '详细地址', key: 'nowAddress' },
{ title: '户籍地址', key: 'registeredCodeName' }, { title: '户籍地址', key: 'registeredCodeName' },
{ title: '详细地址', key: 'permanentAddress' } { title: '详细地址', key: 'permanentAddress' }
], ], info: {} },
columnsScreen: [ { title: '筛查信息', name: '2', columns: [
{ title: '年龄', key: 'currentAge', unit: '岁' }, { title: '年龄', key: 'currentAge', unit: '岁' },
{ title: '既往史', key: 'medicalHistoryName' }, { title: '既往史', key: 'medicalHistoryName' },
{ title: '身高', key: 'height', unit: 'cm' }, { title: '身高', key: 'height', unit: 'cm' },
...@@ -142,10 +135,18 @@ export default { ...@@ -142,10 +135,18 @@ export default {
{ title: '血清总胆固醇', key: 'serumCholesterin', unit: 'mmol/L' }, { title: '血清总胆固醇', key: 'serumCholesterin', unit: 'mmol/L' },
{ title: '高密度脂蛋白胆固醇', key: 'hdlCholesterin', unit: 'mmol/L' }, { title: '高密度脂蛋白胆固醇', key: 'hdlCholesterin', unit: 'mmol/L' },
{ title: '运动', key: 'exerciseIntensityName' }, { title: '运动', key: 'exerciseIntensityName' },
{ title: '慢病高危评估结果', key: 'screenResultName' }, { title: '慢病高危评估结果', key: 'screenResultName' }
{ title: '筛查日期', key: 'screenDate' }, ], info: {} },
{ title: '筛查机构', key: 'screenUnitName' } { title: '筛查机构', name: '3', columns: [
] { title: '筛查机构', key: 'screenUnitName' },
{ title: '筛查科室', key: 'screenOfficeName' },
{ title: '筛查医生', key: 'screenDoctorName' },
{ title: '筛查日期', key: 'screenDate' }
], info: {} }
],
// 全部展开、收起
collapseAll: false,
info: {}
} }
}, },
computed: { computed: {
...@@ -165,12 +166,11 @@ export default { ...@@ -165,12 +166,11 @@ export default {
}, },
methods: { methods: {
init() { init() {
this.collapseList[0].columns = this.columnsBase
this.collapseList[0].info = this.userInfo this.collapseList[0].info = this.userInfo
this.collapseList[1].columns = this.columnsScreen
firstScreenDetail({ id: this.id }).then(res => { firstScreenDetail({ id: this.id }).then(res => {
this.info = res.data || {} this.info = res.data || {}
this.collapseList[1].info = this.info this.collapseList[1].info = this.info
this.collapseList[2].info = this.info
}) })
}, },
onBack() { onBack() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment