diff --git a/project/sass/apps/AppSpecialAdjustment/components/Detail.vue b/project/sass/apps/AppSpecialAdjustment/components/Detail.vue index 2b23e254..7f39e949 100644 --- a/project/sass/apps/AppSpecialAdjustment/components/Detail.vue +++ b/project/sass/apps/AppSpecialAdjustment/components/Detail.vue @@ -80,6 +80,9 @@ 'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => { this.getInfo(this.params.id) }) + this.dict.load('visitCondolenceReality').then(() => { + this.getList() + }) } }, @@ -93,6 +96,19 @@ }) }, + getList () { + this.instance.post(`/app/appvisitvondolence/list`, null, { + params: { + applicationId: 2, + size: 1000 + } + }).then(res => { + if (res.code == 0) { + this.list = res.data.records + } + }) + }, + cancel (isRefresh) { this.$emit('change', { type: 'List', diff --git a/project/sass/apps/AppSpecialDisabled/components/Detail.vue b/project/sass/apps/AppSpecialDisabled/components/Detail.vue index 508790a1..378ae6ba 100644 --- a/project/sass/apps/AppSpecialDisabled/components/Detail.vue +++ b/project/sass/apps/AppSpecialDisabled/components/Detail.vue @@ -79,6 +79,9 @@ 'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => { this.getInfo(this.params.id) }) + this.dict.load('visitCondolenceReality').then(() => { + this.getList() + }) } }, @@ -91,6 +94,18 @@ } }) }, + getList () { + this.instance.post(`/app/appvisitvondolence/list`, null, { + params: { + applicationId: 0, + size: 1000 + } + }).then(res => { + if (res.code == 0) { + this.list = res.data.records + } + }) + }, cancel (isRefresh) { this.$emit('change', { diff --git a/project/sass/apps/AppSpecialDrug/components/Detail.vue b/project/sass/apps/AppSpecialDrug/components/Detail.vue index 88cddc45..3963ae98 100644 --- a/project/sass/apps/AppSpecialDrug/components/Detail.vue +++ b/project/sass/apps/AppSpecialDrug/components/Detail.vue @@ -81,6 +81,9 @@ 'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => { this.getInfo(this.params.id) }) + this.dict.load('visitCondolenceReality').then(() => { + this.getList() + }) } }, @@ -94,6 +97,19 @@ }) }, + getList () { + this.instance.post(`/app/appvisitvondolence/list`, null, { + params: { + applicationId: 3, + size: 1000 + } + }).then(res => { + if (res.code == 0) { + this.list = res.data.records + } + }) + }, + cancel (isRefresh) { this.$emit('change', { type: 'List', diff --git a/project/sass/apps/AppSpecialMental/components/Detail.vue b/project/sass/apps/AppSpecialMental/components/Detail.vue index b2b03a85..10b24d06 100644 --- a/project/sass/apps/AppSpecialMental/components/Detail.vue +++ b/project/sass/apps/AppSpecialMental/components/Detail.vue @@ -30,7 +30,7 @@
-
{{ item.name.substr(item.name.length - 2) }}
+
{{ item.name ? item.name.substr(item.name.length - 2) : '' }}

{{ item.name }}

{{ item.visitTime }} @@ -80,6 +80,9 @@ 'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => { this.getInfo(this.params.id) }) + this.dict.load('visitCondolenceReality').then(() => { + this.getList() + }) } }, @@ -92,6 +95,18 @@ } }) }, + getList () { + this.instance.post(`/app/appvisitvondolence/list`, null, { + params: { + applicationId: 1, + size: 1000 + } + }).then(res => { + if (res.code == 0) { + this.list = res.data.records + } + }) + }, cancel (isRefresh) { this.$emit('change', { diff --git a/project/sass/apps/AppSpecialPrison/components/Detail.vue b/project/sass/apps/AppSpecialPrison/components/Detail.vue index af10ca47..a271301e 100644 --- a/project/sass/apps/AppSpecialPrison/components/Detail.vue +++ b/project/sass/apps/AppSpecialPrison/components/Detail.vue @@ -83,6 +83,9 @@ 'appSpecialDisableLevel', 'appSpecialDisableType', 'appSpecialHealth', 'appSpecialMarriage', 'appSpecialTypeFive','isReflection','yesOrNo').then(() => { this.getInfo(this.params.id) }) + this.dict.load('visitCondolenceReality').then(() => { + this.getList() + }) } }, @@ -96,6 +99,19 @@ }) }, + getList () { + this.instance.post(`/app/appvisitvondolence/list`, null, { + params: { + applicationId: 4, + size: 1000 + } + }).then(res => { + if (res.code == 0) { + this.list = res.data.records + } + }) + }, + cancel (isRefresh) { this.$emit('change', { type: 'List',