qujing
This commit is contained in:
		| @@ -19,11 +19,11 @@ | ||||
|             <template #content> | ||||
|               <ai-wrapper> | ||||
|                 <ai-info-item label="上报人员" :value="detail.name"></ai-info-item> | ||||
|                 <ai-info-item label="当前状态" :value="dict.getLabel('weiyangEventStatus', detail.eventStatus)"></ai-info-item> | ||||
|                 <ai-info-item label="当前状态" :value="dict.getLabel('qujingEventStatus', detail.eventStatus)"></ai-info-item> | ||||
|                 <ai-info-item label="联系方式">{{ detail.phone }}</ai-info-item> | ||||
|                 <ai-info-item label="上报时间">{{ detail.createTime }}</ai-info-item> | ||||
|                 <ai-info-item label="事件类型">{{ detail.groupName }}</ai-info-item> | ||||
|                 <ai-info-item label="事件来源"  :value="dict.getLabel('weiyangEventType', detail.type)"></ai-info-item> | ||||
|                 <ai-info-item label="事件来源"  :value="dict.getLabel('qujingEventType', detail.type)"></ai-info-item> | ||||
|                 <ai-info-item label="事件描述" isLine>{{ detail.content }}</ai-info-item> | ||||
|                 <ai-info-item label="现场照片" isLine> | ||||
|                   <ai-uploader :instance="instance" disabled v-model="detail.files"></ai-uploader> | ||||
| @@ -44,7 +44,7 @@ | ||||
|                 <ai-info-item label="家庭住址" isLine>{{ detail.judgeAddress }}</ai-info-item> | ||||
|                 <ai-info-item label="排查内容" isLine> | ||||
|                   <span v-for="(item, index) in detail.judgeRiskList" :key="index"> | ||||
|                     <span v-if="index > 0">,</span>{{dict.getLabel('weiyangRisk', item)}} | ||||
|                     <span v-if="index > 0">,</span>{{dict.getLabel('qujingRisk', item)}} | ||||
|                   </span> | ||||
|                 </ai-info-item> | ||||
|               </ai-wrapper> | ||||
| @@ -329,14 +329,14 @@ export default { | ||||
| 
 | ||||
|   created() { | ||||
|     this.getDict() | ||||
|     this.dict.load('weiyangEventStatus', 'sex', 'weiyangRisk', 'weiyangEventType').then(() => { | ||||
|     this.dict.load('qujingEventStatus', 'sex', 'qujingRisk', 'qujingEventType').then(() => { | ||||
|       this.getDetail() | ||||
|     }) | ||||
|   }, | ||||
| 
 | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       this.instance.post('/app/appclapeventinfoweiyang/queryDetailById', null, { | ||||
|       this.instance.post('/app/appclapeventinfoqujing/queryDetailById', null, { | ||||
|         params: {id: this.$route.query.id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -440,7 +440,7 @@ export default { | ||||
|     onForwardConfirm() { | ||||
|       this.$refs.forwardForm.validate(v => { | ||||
|         if (v) { | ||||
|           this.instance.post('/app/appclapeventinfoweiyang/transfer', { | ||||
|           this.instance.post('/app/appclapeventinfoqujing/transfer', { | ||||
|             ...this.forwardForm, | ||||
|             id: this.$route.query.id | ||||
|           }).then(res => { | ||||
| @@ -468,7 +468,7 @@ export default { | ||||
|       this.isShowUser = false | ||||
|     }, | ||||
|     getDict() { | ||||
|       this.instance.post(`/app/appclapeventgroupweiyang/list?current=1&size=100000`).then(res => { | ||||
|       this.instance.post(`/app/appclapeventgroupqujing/list?current=1&size=100000`).then(res => { | ||||
|         if (res.code == 0) { | ||||
|           this.dictList = res.data.records.map(v => { | ||||
|             return { | ||||
| @@ -482,7 +482,7 @@ export default { | ||||
| 
 | ||||
|     close() { | ||||
|       this.$confirm('确定关闭该事件?').then(() => { | ||||
|         this.instance.post(`/app/appclapeventinfoweiyang/delete?ids=${this.$route.query.id}`).then(res => { | ||||
|         this.instance.post(`/app/appclapeventinfoqujing/delete?ids=${this.$route.query.id}`).then(res => { | ||||
|           if (res.code == 0) { | ||||
|             this.$message.success('删除成功!') | ||||
|             this.getList() | ||||
| @@ -530,7 +530,7 @@ export default { | ||||
|       this.$refs[refName].validate(v => { | ||||
|         if (v) { | ||||
|           var form = {} | ||||
|           var url = `/app/appclapeventinfoweiyang/finish` | ||||
|           var url = `/app/appclapeventinfoqujing/finish` | ||||
|           if(this.detail.rightType == 0) { | ||||
|             form = {...this.form} | ||||
|             form.groupName = this.dictList.filter(v => v.dictValue === this.form.groupId)[0].dictName | ||||
| @@ -538,7 +538,7 @@ export default { | ||||
|           if(this.detail.rightType == 1) { | ||||
|             form = {...this.talkForm} | ||||
|             form.judgeRisk = this.talkForm.judgeRiskList.join(',') | ||||
|             url = `/app/appclapeventinfoweiyang/judge` | ||||
|             url = `/app/appclapeventinfoqujing/judge` | ||||
|           } | ||||
|            | ||||
|           if(this.detail.rightType == 2) { | ||||
| @@ -77,13 +77,13 @@ export default { | ||||
|     colConfigs() { | ||||
|       return [ | ||||
|         {prop: 'content', label: '内容描述', width: '300px'}, | ||||
|         {prop: 'type', label: '事件来源', align: 'center', dict: 'weiyangEventType'}, | ||||
|         {prop: 'type', label: '事件来源', align: 'center', dict: 'qujingEventType'}, | ||||
|         {prop: 'groupName', label: '事件类型', align: 'center'}, | ||||
|         {prop: 'girdName', label: '所属网格', align: 'center'}, | ||||
|         {prop: 'createTime', label: '上报时间', align: 'center'}, | ||||
|         {prop: 'name', label: '上报居民', align: 'center'}, | ||||
|         {prop: 'phone', label: '联系方式', align: 'center'}, | ||||
|         {prop: 'eventStatus', label: '处理状态', align: 'center', format: v => this.dict.getLabel('weiyangEventStatus', v)}, | ||||
|         {prop: 'eventStatus', label: '处理状态', align: 'center', format: v => this.dict.getLabel('qujingEventStatus', v)}, | ||||
|         {prop: 'processTime', label: '处理时长', align: 'center'}, | ||||
|         {slot: 'options'} | ||||
|       ] | ||||
| @@ -95,14 +95,14 @@ export default { | ||||
|   }, | ||||
| 
 | ||||
|   created() { | ||||
|     this.dict.load('weiyangEventStatus', 'weiyangEventType').then(() => { | ||||
|     this.dict.load('qujingEventStatus', 'qujingEventType').then(() => { | ||||
|       this.getList() | ||||
|     }) | ||||
|   }, | ||||
| 
 | ||||
|   methods: { | ||||
|     getList() { | ||||
|       this.instance.post(`/app/appclapeventinfoweiyang/list`, null, { | ||||
|       this.instance.post(`/app/appclapeventinfoqujing/list`, null, { | ||||
|         params: { | ||||
|           ...this.search | ||||
|         } | ||||
| @@ -133,7 +133,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要进行删除?").then(() => { | ||||
|         this.instance.post("/app/appclapeventinfoweiyang/delete", null, { | ||||
|         this.instance.post("/app/appclapeventinfoqujing/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -107,7 +107,7 @@ | ||||
| 
 | ||||
|     methods: { | ||||
|       getList() { | ||||
|         this.instance.post(`/app/appclapeventgroupweiyang/list`, null, { | ||||
|         this.instance.post(`/app/appclapeventgroupqujing/list`, null, { | ||||
|           params: { | ||||
|             ...this.search | ||||
|           } | ||||
| @@ -138,7 +138,7 @@ | ||||
|       onConfirm () { | ||||
|         this.$refs.form.validate((valid) => { | ||||
|           if (valid) { | ||||
|             this.instance.post(`/app/appclapeventgroupweiyang/addOrUpdate`, { | ||||
|             this.instance.post(`/app/appclapeventgroupqujing/addOrUpdate`, { | ||||
|               ...this.form, | ||||
|               id: this.id || null | ||||
|             }).then(res => { | ||||
| @@ -162,7 +162,7 @@ | ||||
| 
 | ||||
|       remove(id) { | ||||
|         this.$confirm('确定删除该数据?').then(() => { | ||||
|           this.instance.post(`/app/appclapeventgroupweiyang/delete?ids=${id}`).then(res => { | ||||
|           this.instance.post(`/app/appclapeventgroupqujing/delete?ids=${id}`).then(res => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success('删除成功!') | ||||
|               this.getList() | ||||
		Reference in New Issue
	
	Block a user