diff --git a/project/sass/apps/AppSpecialDisabled/AppSpecialDisabled.vue b/project/sass/apps/AppSpecialDisabled/AppSpecialDisabled.vue index ba82b653..0441ba35 100644 --- a/project/sass/apps/AppSpecialDisabled/AppSpecialDisabled.vue +++ b/project/sass/apps/AppSpecialDisabled/AppSpecialDisabled.vue @@ -9,12 +9,14 @@ + + diff --git a/project/sass/apps/AppSpecialDisabled/components/Detail.vue b/project/sass/apps/AppSpecialDisabled/components/Detail.vue index 68015423..508790a1 100644 --- a/project/sass/apps/AppSpecialDisabled/components/Detail.vue +++ b/project/sass/apps/AppSpecialDisabled/components/Detail.vue @@ -1,30 +1,51 @@ @@ -41,14 +62,21 @@ data () { return { - info: {} + currIndex: 0, + tabTitle: ['人员信息', '走访记录'], + info: {}, + list: [], + idNumberInfo: {} } }, created () { if (this.params && this.params.id) { this.id = this.params.id - this.dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => { + + this.dict.load('appSpecialSituation', 'appSpecialPlacement', 'appSpecialDenger', 'appSpecialCrime', + 'appSpecialControl', 'appSpecialDebug', 'appSpecialDrug', 'appSpecialChangeType', 'appSpecialCure', 'appSpecialDengerLevel', + 'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => { this.getInfo(this.params.id) }) } @@ -56,17 +84,17 @@ methods: { getInfo (id) { - this.instance.post(`/app/appepidemicreportmember/queryDetailById?id=${id}`).then(res => { + this.instance.post(`/app/appspecialdisabled/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { this.info = res.data - this.currIndex = 0 + this.idNumberInfo = this.idCardNoUtil.getIdCardInfo(res.data.idNumber) } }) }, cancel (isRefresh) { this.$emit('change', { - type: 'list', + type: 'List', isRefresh: !!isRefresh }) } @@ -75,4 +103,77 @@ diff --git a/project/sass/apps/AppSpecialDisabled/components/List.vue b/project/sass/apps/AppSpecialDisabled/components/List.vue index 430d6260..644c0655 100644 --- a/project/sass/apps/AppSpecialDisabled/components/List.vue +++ b/project/sass/apps/AppSpecialDisabled/components/List.vue @@ -4,6 +4,10 @@