刘妍 2024-07-11 16:09:16 +08:00
commit c902efe413
2 changed files with 12 additions and 1 deletions

View File

@ -63,7 +63,7 @@
<a-descriptions-item label="项目主体">{{ xiangmuzhuti }}</a-descriptions-item>
<a-descriptions-item label="实际用途">{{ actual_use_to }}</a-descriptions-item>
<a-descriptions-item label="违法类型">{{ getLabel('weifaleixing',weifaleixing) }}</a-descriptions-item>
<a-descriptions-item label="处理方式">{{ result_name }}</a-descriptions-item>
<a-descriptions-item label="处理方式">{{ getLabel('result_name',result_name) }}</a-descriptions-item>
<a-descriptions-item label="立案号">{{ registr_number }}</a-descriptions-item>
<a-descriptions-item label="违法联系人">{{ illegal_contact }}</a-descriptions-item>
<a-descriptions-item label="违法人身份证号">{{ illegal_shenfenzhenghao }}</a-descriptions-item>
@ -182,6 +182,7 @@ import {
mapStatusOptions,
markTypeOptions,
illegalTypeList,
resultOptions,
} from '@/views/demo/tiankongdi/curbspotcity/util.ts'
const MapboxComponent = ref();
@ -328,6 +329,10 @@ const getLabel = (type,value) => {
break;
case 'measure_name':
result = measureOptions
break;
case 'result_name':
result = resultOptions
break;
}
result.forEach(item => {
if(item.value == value){

View File

@ -56,4 +56,10 @@ export const isOverdueOptions = [
export const illegalTypeList = [
{ label: '非农化违法用地', value: 0 },
{ label: '非粮化违法用地', value: 1 },
]
export const resultOptions = [
{ label: '立案', value: 0 },
{ label: '非立案', value: 1 },
{ label: '移交其他部门处理', value: 2 },
{ label: '未处理', value: 3 },
]