走访慰问
This commit is contained in:
		| @@ -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', | ||||
|   | ||||
| @@ -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', { | ||||
|   | ||||
| @@ -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', | ||||
|   | ||||
| @@ -30,7 +30,7 @@ | ||||
|         <div class="visit-item" v-for="(item, index) in list" :key="index"> | ||||
|           <div class="visit-item__top"> | ||||
|             <div class="left"> | ||||
|               <div class="avatar">{{ item.name.substr(item.name.length - 2) }}</div> | ||||
|               <div class="avatar">{{ item.name ? item.name.substr(item.name.length - 2) : '' }}</div> | ||||
|               <h2>{{ item.name }}</h2> | ||||
|             </div> | ||||
|             <span>{{ item.visitTime }}</span> | ||||
| @@ -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', { | ||||
|   | ||||
| @@ -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', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user