Commit 69467cdf authored by 王玉鑫's avatar 王玉鑫

feat: 详情页,工业用水、污水处理价格修改

parent dd942c2b
...@@ -185,4 +185,6 @@ export interface DevelopZoneDetailResp { ...@@ -185,4 +185,6 @@ export interface DevelopZoneDetailResp {
/** */ /** */
videourl: string; videourl: string;
}[]; }[];
/** 供电类型 */
powerSupplyType: string;
} }
...@@ -107,4 +107,8 @@ export interface IndustrialParkDetailResp { ...@@ -107,4 +107,8 @@ export interface IndustrialParkDetailResp {
id: number; id: number;
/** 是否已解锁 */ /** 是否已解锁 */
isView: boolean; isView: boolean;
/** 供电类型 */
powerSupplyType: string;
/** 污水处理类型 */
sewageWaterType: string;
} }
...@@ -150,4 +150,6 @@ export interface MyParkIndustrialDetailResp { ...@@ -150,4 +150,6 @@ export interface MyParkIndustrialDetailResp {
videourl: string; videourl: string;
}[]; }[];
type: string; type: string;
/** 污水处理类型 */
sewageWaterType: string;
} }
...@@ -185,6 +185,8 @@ const elementCost = computed(() => { ...@@ -185,6 +185,8 @@ const elementCost = computed(() => {
substationLevel, substationLevel,
sewageWaterPrice, sewageWaterPrice,
heatingPrice, heatingPrice,
powerSupplyType,
sewageWaterType,
} = detail.value; } = detail.value;
const result: Infos = [ const result: Infos = [
[ [
...@@ -203,7 +205,7 @@ const elementCost = computed(() => { ...@@ -203,7 +205,7 @@ const elementCost = computed(() => {
{ {
name: '工业用电', name: '工业用电',
value: industrialElectricity, value: industrialElectricity,
unit: '元/㎡/天', unit: `元/㎡/天${powerSupplyType ? `(${powerSupplyType})` : ''}`,
}, },
{ {
name: '变电站级别', name: '变电站级别',
...@@ -217,7 +219,7 @@ const elementCost = computed(() => { ...@@ -217,7 +219,7 @@ const elementCost = computed(() => {
unit: '元/吨', unit: '元/吨',
}, },
{ {
name: '污水处理价格', name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: sewageWaterPrice, value: sewageWaterPrice,
unit: '元/吨', unit: '元/吨',
}, },
......
...@@ -173,6 +173,8 @@ const elementCost = computed(() => { ...@@ -173,6 +173,8 @@ const elementCost = computed(() => {
lifeSewagePrice, lifeSewagePrice,
nresidentsHeating, nresidentsHeating,
steam, steam,
powerSupplyType,
sewageWaterType,
} = detail.value; } = detail.value;
const result: Infos = [ const result: Infos = [
[ [
...@@ -196,7 +198,7 @@ const elementCost = computed(() => { ...@@ -196,7 +198,7 @@ const elementCost = computed(() => {
{ {
name: '工业用电', name: '工业用电',
value: electricityPrice, value: electricityPrice,
unit: '元/度', unit: `元/度${powerSupplyType ? `(${powerSupplyType})` : ''}`,
}, },
], ],
[ [
...@@ -212,7 +214,7 @@ const elementCost = computed(() => { ...@@ -212,7 +214,7 @@ const elementCost = computed(() => {
], ],
[ [
{ {
name: '污水处理价格', name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: lifeSewagePrice, value: lifeSewagePrice,
unit: '元/吨', unit: '元/吨',
}, },
......
...@@ -337,7 +337,7 @@ const elementCost = computed(() => { ...@@ -337,7 +337,7 @@ const elementCost = computed(() => {
{ {
name: '工业用电', name: '工业用电',
value: industrialElectricity, value: industrialElectricity,
unit: '元/度', unit: `元/度${powerSupplyType ? `(${powerSupplyType})` : ''}`,
}, },
], ],
[ [
...@@ -363,7 +363,7 @@ const elementCost = computed(() => { ...@@ -363,7 +363,7 @@ const elementCost = computed(() => {
], ],
[ [
{ {
name: '污水处理价格', name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: sewageWaterPrice, value: sewageWaterPrice,
unit: '元/吨', unit: '元/吨',
}, },
......
...@@ -309,6 +309,7 @@ const elementCost = computed(() => { ...@@ -309,6 +309,7 @@ const elementCost = computed(() => {
sewagePrice, sewagePrice,
powerSupplyType, powerSupplyType,
sewageLevel, sewageLevel,
sewageWaterType,
} = detail.value; } = detail.value;
const result: Infos = [ const result: Infos = [
[ [
...@@ -334,7 +335,7 @@ const elementCost = computed(() => { ...@@ -334,7 +335,7 @@ const elementCost = computed(() => {
{ {
name: '工业用电单价', name: '工业用电单价',
value: electricityPrice, value: electricityPrice,
unit: '元/度', unit: `元/度${powerSupplyType ? `(${powerSupplyType})` : ''}`,
}, },
{ {
name: '供电类型', name: '供电类型',
...@@ -354,7 +355,7 @@ const elementCost = computed(() => { ...@@ -354,7 +355,7 @@ const elementCost = computed(() => {
], ],
[ [
{ {
name: '污水处理价格', name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: sewagePrice, value: sewagePrice,
unit: '元/吨', unit: '元/吨',
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment