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

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

parent dd942c2b
......@@ -185,4 +185,6 @@ export interface DevelopZoneDetailResp {
/** */
videourl: string;
}[];
/** 供电类型 */
powerSupplyType: string;
}
......@@ -107,4 +107,8 @@ export interface IndustrialParkDetailResp {
id: number;
/** 是否已解锁 */
isView: boolean;
/** 供电类型 */
powerSupplyType: string;
/** 污水处理类型 */
sewageWaterType: string;
}
......@@ -150,4 +150,6 @@ export interface MyParkIndustrialDetailResp {
videourl: string;
}[];
type: string;
/** 污水处理类型 */
sewageWaterType: string;
}
......@@ -185,6 +185,8 @@ const elementCost = computed(() => {
substationLevel,
sewageWaterPrice,
heatingPrice,
powerSupplyType,
sewageWaterType,
} = detail.value;
const result: Infos = [
[
......@@ -203,7 +205,7 @@ const elementCost = computed(() => {
{
name: '工业用电',
value: industrialElectricity,
unit: '元/㎡/天',
unit: `元/㎡/天${powerSupplyType ? `(${powerSupplyType})` : ''}`,
},
{
name: '变电站级别',
......@@ -217,7 +219,7 @@ const elementCost = computed(() => {
unit: '元/吨',
},
{
name: '污水处理价格',
name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: sewageWaterPrice,
unit: '元/吨',
},
......
......@@ -173,6 +173,8 @@ const elementCost = computed(() => {
lifeSewagePrice,
nresidentsHeating,
steam,
powerSupplyType,
sewageWaterType,
} = detail.value;
const result: Infos = [
[
......@@ -196,7 +198,7 @@ const elementCost = computed(() => {
{
name: '工业用电',
value: electricityPrice,
unit: '元/度',
unit: `元/度${powerSupplyType ? `(${powerSupplyType})` : ''}`,
},
],
[
......@@ -212,7 +214,7 @@ const elementCost = computed(() => {
],
[
{
name: '污水处理价格',
name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: lifeSewagePrice,
unit: '元/吨',
},
......
......@@ -337,7 +337,7 @@ const elementCost = computed(() => {
{
name: '工业用电',
value: industrialElectricity,
unit: '元/度',
unit: `元/度${powerSupplyType ? `(${powerSupplyType})` : ''}`,
},
],
[
......@@ -363,7 +363,7 @@ const elementCost = computed(() => {
],
[
{
name: '污水处理价格',
name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: sewageWaterPrice,
unit: '元/吨',
},
......
......@@ -309,6 +309,7 @@ const elementCost = computed(() => {
sewagePrice,
powerSupplyType,
sewageLevel,
sewageWaterType,
} = detail.value;
const result: Infos = [
[
......@@ -334,7 +335,7 @@ const elementCost = computed(() => {
{
name: '工业用电单价',
value: electricityPrice,
unit: '元/度',
unit: `元/度${powerSupplyType ? `(${powerSupplyType})` : ''}`,
},
{
name: '供电类型',
......@@ -354,7 +355,7 @@ const elementCost = computed(() => {
],
[
{
name: '污水处理价格',
name: `污水处理价格${sewageWaterType ? `(${sewageWaterType})` : ''}`,
value: sewagePrice,
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