diff --git a/src/pages/GlobalModalServices/modals/DyaPatrol/index.tsx b/src/pages/GlobalModalServices/modals/DyaPatrol/index.tsx index 6928647ca9326814cf95b7efde7a62dd4766a322..16e7d97638fe136f1f0cf6cdcca8937a3ace58a0 100644 --- a/src/pages/GlobalModalServices/modals/DyaPatrol/index.tsx +++ b/src/pages/GlobalModalServices/modals/DyaPatrol/index.tsx @@ -227,14 +227,6 @@ const DyaPatrol = (props: any) => { const tp3List = useMemo(() => { return [ - { - key: '2', - name: starData?.data?.data?.records?.[1]?.sbr, - count: starData?.data?.data?.records?.[1]?.num, - works: starData?.data?.data?.records?.[1]?.zd, - bg: require('@/assets/images/administPunish/starBg2.png'), - icon: require('@/assets/images/administPunish/star1.png'), - }, { key: '1', name: starData?.data?.data?.records?.[0]?.sbr, @@ -243,6 +235,14 @@ const DyaPatrol = (props: any) => { bg: require('@/assets/images/administPunish/starBg1.png'), icon: require('@/assets/images/administPunish/star2.png'), }, + { + key: '2', + name: starData?.data?.data?.records?.[1]?.sbr, + count: starData?.data?.data?.records?.[1]?.num, + works: starData?.data?.data?.records?.[1]?.zd, + bg: require('@/assets/images/administPunish/starBg2.png'), + icon: require('@/assets/images/administPunish/star1.png'), + }, { key: '3', name: starData?.data?.data?.records?.[2]?.sbr, @@ -464,9 +464,10 @@ const DyaPatrol = (props: any) => { <> {starData?.data?.data?.records?.length ? (
- {tp3List?.map((item) => { + {tp3List?.map((item,index) => { return (
{ const disposalList = [ { name: isUsingValue ? '万兴环保发电二期' : '--', value: isUsingValue ? 22.33 : '--' }, { name: isUsingValue ? '九江环保发电厂' : '--', value: isUsingValue ? 22.33 : '--' }, - { name: isUsingValue ? '享福环保发电厂' : '--', value: isUsingValue ? 22.33 : '--' }, + { name: isUsingValue ? '祥福环保发电厂' : '--', value: isUsingValue ? 22.33 : '--' }, { name: isUsingValue ? '宝林环保发电厂' : '--', value: isUsingValue ? 22.33 : '--' }, { name: isUsingValue ? '隆丰环保发电厂' : '--', value: isUsingValue ? 22.33 : '--' }, { name: isUsingValue ? '邓双环保发电厂' : '--', value: isUsingValue ? 22.33 : '--' }, @@ -68,9 +68,9 @@ const LivingGarbage: React.FC = () => { // 模拟管廊列表数据 const pipelineList = [ - { name: isUsingValue ? '焚烧厂名称1' : '--', location: { x: 103.96, y: 30.658842 } }, - { name: isUsingValue ? '焚烧厂名称1' : '--', location: { x: 103.96, y: 30.658842 } }, - { name: isUsingValue ? '焚烧厂名称3' : '--', location: { x: 103.96, y: 30.658842 } }, + { name: isUsingValue ? '环保发电厂名称1' : '--', location: { x: 103.96, y: 30.658842 } }, + { name: isUsingValue ? '环保发电厂名称1' : '--', location: { x: 103.96, y: 30.658842 } }, + { name: isUsingValue ? '环保发电厂名称3' : '--', location: { x: 103.96, y: 30.658842 } }, { name: isUsingValue ? '填埋场1' : '--', location: { x: 103.96, y: 30.658842 } }, { name: isUsingValue ? '填埋场2' : '--', location: { x: 103.96, y: 30.658842 } }, ]; @@ -159,8 +159,8 @@ const LivingGarbage: React.FC = () => {
图层图例
- 焚烧厂 - 焚烧厂 + 环保发电厂 + 环保发电厂
填埋场