28239
This commit is contained in:
		| @@ -16,6 +16,7 @@ | |||||||
|             </ai-info-item> |             </ai-info-item> | ||||||
|             <ai-info-item label="现实状态" isLine :value="dict.getLabel('visitCondolenceReality', info.reality)"></ai-info-item> |             <ai-info-item label="现实状态" isLine :value="dict.getLabel('visitCondolenceReality', info.reality)"></ai-info-item> | ||||||
|             <ai-info-item label="走访人" :value="info.createUserName"></ai-info-item> |             <ai-info-item label="走访人" :value="info.createUserName"></ai-info-item> | ||||||
|  |             <ai-info-item label="人员类型" :value="info.type"></ai-info-item> | ||||||
|             <ai-info-item label="走访时间" :value="info.visitTime"></ai-info-item> |             <ai-info-item label="走访时间" :value="info.visitTime"></ai-info-item> | ||||||
|           </ai-wrapper> |           </ai-wrapper> | ||||||
|         </template> |         </template> | ||||||
| @@ -44,7 +45,7 @@ | |||||||
|     created () { |     created () { | ||||||
|       this.id = this.params.id |       this.id = this.params.id | ||||||
|       this.dict.load(['visitCondolenceReality']).then(() => { |       this.dict.load(['visitCondolenceReality']).then(() => { | ||||||
|         this.getInfo(this.params.id) |         this.getDictList() | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
| @@ -54,6 +55,21 @@ | |||||||
|           if (res.code === 0) { |           if (res.code === 0) { | ||||||
|             this.info = res.data |             this.info = res.data | ||||||
|             this.info.images = res.data.images ? JSON.parse(res.data.images) : [] |             this.info.images = res.data.images ? JSON.parse(res.data.images) : [] | ||||||
|  |             this.info.type = this.dictList.filter(v => v.dictValue === res.data.applicationId)[0].dictName | ||||||
|  |           } | ||||||
|  |         }) | ||||||
|  |       }, | ||||||
|  |  | ||||||
|  |       getDictList () { | ||||||
|  |         this.instance.post(`/app/appapplicationinfo/queryApplicationListByType`).then(res => { | ||||||
|  |           if (res.code == 0) { | ||||||
|  |             this.dictList = res.data.map(v => { | ||||||
|  |               return { | ||||||
|  |                 dictValue: v.id, | ||||||
|  |                 dictName: v.applicationName | ||||||
|  |               } | ||||||
|  |             }) | ||||||
|  |             this.getInfo(this.params.id) | ||||||
|           } |           } | ||||||
|         }) |         }) | ||||||
|       }, |       }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user