8.19 下午提交

master
zz 3 months ago
parent cdbb0fcfc7
commit 4a7edd7f34

@ -117,6 +117,7 @@ export enum DICT_TYPE {
AUDIT_STATUS= 'audit_status',//ZZ 0 未审核 1 审核通过 2 拒绝审核
BILLING_MODEL= 'billing_model',//ZZ 1.SOE差值;2:剩余SOE;3:充电电量;4:SOC差值模型
MODEL_TIME_STATUS= 'model_time_status',//0启 1 禁
PEAK_PLATEAU_STATE = 'peak_plateau_state',
USER_TYPE = 'user_type',
USER_NUMBER_STATUS = 'user_number_status',
VIP_AUTHENTICATION = 'vip_authentication',

@ -17,42 +17,59 @@
<el-table-column label="换电站编码" align="center" prop="stationNo" />
<el-table-column label="换电站名称" align="center" prop="stationName" />
<el-table-column label="换电站识别号" align="center" prop="stationSn" />
<el-table-column label="地理位置" align="center" prop="stationLocation" />
<!-- <el-table-column label="地理位置" align="center" prop="stationLocation" /> -->
<el-table-column label="站类型" align="center" prop="stationType" />
<el-table-column label="换电站现场照片" align="center" prop="avatar" />
<el-table-column label="纬度" align="center" prop="latitude" />
<el-table-column label="经度" align="center" prop="longitude" />
<!-- <el-table-column label="换电站现场照片" align="center" prop="avatar" /> -->
<!-- <el-table-column label="纬度" align="center" prop="latitude" /> -->
<!-- <el-table-column label="经度" align="center" prop="longitude" /> -->
<el-table-column label="区域名称 " align="center" prop="areaName" />
<el-table-column label="区域编号 " align="center" prop="areaCode" />
<!-- <el-table-column label="区域编号 " align="center" prop="areaCode" /> -->
<el-table-column label="营运时间" align="center" prop="operationTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="投放时间 " align="center" prop="launchTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="联系方式-手机号 " align="center" prop="contactWay" />
<el-table-column label="服务电话" align="center" prop="serviceTel" />
<el-table-column label="联系方式-邮箱地址 " align="center" prop="email" />
<!-- <el-table-column label="服务电话" align="center" prop="serviceTel" /> -->
<!-- <el-table-column label="联系方式-邮箱地址 " align="center" prop="email" /> -->
<el-table-column label="负责人" align="center" prop="principal" />
<el-table-column label="所属运营企业" align="center" prop="stationCompany" />
<!-- <el-table-column label="所属运营企业" align="center" prop="stationCompany" /> -->
<el-table-column label="场站服务状态" align="center" prop="status" />
<el-table-column label="场站运行模式" align="center" prop="runModel" />
<el-table-column label="工位分类" align="center" prop="staType" />
<el-table-column label="区域分类" align="center" prop="areaType" />
<el-table-column label="站型类型 " align="center" prop="siteType" />
<!-- <el-table-column label="场站运行模式" align="center" prop="runModel" /> -->
<!-- <el-table-column label="工位分类" align="center" prop="staType" /> -->
<!-- <el-table-column label="区域分类" align="center" prop="areaType" /> -->
<!-- <el-table-column label="站型类型 " align="center" prop="siteType" /> -->
<!-- 1公共; 50:个人; 100公交专用101环卫专用102物流专用103 出租专用104分时租赁专用105小区共享专用106单位专用107私人共享桩专用255其他 -->
<el-table-column label="服务车型" align="center" prop="matchVehicles" />
<el-table-column label="是否全天营业" align="center" prop="oahFlag" />
<!-- <el-table-column label="服务车型" align="center" prop="matchVehicles" /> -->
<el-table-column label="是否全天营业" align="center" prop="oahFlag" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.OAHFLAG_STATUS" :value="scope.row.oahFlag" />
</template>
</el-table-column>
<!-- 0;1 -->
<el-table-column label="站点分类" align="center" prop="siteClassification" />
<!-- <el-table-column label="站点分类" align="center" prop="siteClassification" /> -->
<!-- 站点分类 1:充电站;2:换电站;3:充换电一体站 -->
<el-table-column label="建设场所" align="center" prop="constructionSite" />
<!-- <el-table-column label="建设场所" align="center" prop="constructionSite" /> -->
<!-- construction建设场所 1居民区;2公共机构;3企事业单位;4写字楼;5工业园区;6交通枢纽;7大型文体设施;8城市绿地;9大型建筑配建停车场;10路边停车位;11城际高速服务区;2风景区;13公交场站;14加油加气站;15出租车;255其他 -->
<el-table-column label="是否启用" align="center" prop="enable" />
<el-table-column label="是否启用" align="center" prop="enable" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.MODEL_TIME_STATUS" :value="scope.row.enable" />
</template>
</el-table-column>
<!-- 0:未启用 1:启用 -->
<el-table-column label="计费电量" align="center" prop="electricitySource" />
<el-table-column label="计费电量" align="center" prop="electricitySource" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricitySource" />
</template>
</el-table-column>
<!-- 计费电量1默认最大值2soc差值3soe差值4交流5直流60 -->
<el-table-column label="电价电量" align="center" prop="electricityPriceSource" />
<el-table-column label="电价电量" align="center" prop="electricityPriceSource" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricityPriceSource" />
</template>
</el-table-column>
<!-- 电价电量1默认最大值2soc差值3soe差值4交流5直流60 -->
<el-table-column label="soc差值来源" align="center" prop="socSource" />
<!-- <el-table-column label="soc差值来源" align="center" prop="socSource" /> -->
<!-- soc差值来源:1换电时的SOC;2:充电时的SOC -->
</el-table>
</ContentWrap>
@ -65,14 +82,17 @@
}">
<!-- <el-table-column label="索引" align="center" prop="id" /> -->
<el-table-column label="计费模型名称 " align="center" prop="name" />
<el-table-column label="换电服务单价 " align="center" prop="price" />
<el-table-column label="电池服务费 " align="center" prop="batFee" />
<el-table-column label="平台服务费 " align="center" prop="platformFee" />
<el-table-column label="是否启用" align="center" prop="status" />
<!-- 是否启用:0启用;1禁用 -->
<el-table-column label="数据来源" align="center" prop="source" />
<el-table-column label="换电服务单价(分) " align="center" prop="price" />
<el-table-column label="电池服务费(分) " align="center" prop="batFee" />
<el-table-column label="平台服务费(分) " align="center" prop="platformFee" />
<el-table-column label="是否启用" align="center" prop="status" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.MODEL_TIME_STATUS" :value="scope.row.status" />
</template>
</el-table-column>
<!-- <el-table-column label="数据来源" align="center" prop="source" /> -->
<!-- 数据来源:0:云平台;1;三方运营商 -->
<el-table-column label="唯一编码" align="center" prop="code" />
<!-- <el-table-column label="唯一编码" align="center" prop="code" /> -->
</el-table>
</ContentWrap>

@ -27,18 +27,18 @@
</el-select>
</el-form-item></el-col>
<el-col :span="12">
<el-form-item label="换电服务单价" prop="price">
<el-form-item label="换电服务单价(分)" prop="price">
<el-input v-model="formData.price" placeholder="请输入换电服务单价" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="电池服务费" prop="batFee">
<el-form-item label="电池服务费(分)" prop="batFee">
<el-input v-model="formData.batFee" placeholder="请输入电池服务费" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="平台服务费" prop="platformFee">
<el-form-item label="平台服务费(分)" prop="platformFee">
<el-input v-model="formData.platformFee" placeholder="请输入平台服务费" />
</el-form-item>
</el-col>

@ -116,14 +116,24 @@
<!-- <el-table-column label="索引" align="center" prop="id" /> -->
<el-table-column label="计费模型名称" align="center" prop="name" />
<!-- <el-table-column label="计费模型id" align="center" prop="billingModelId" /> -->
<el-table-column label="换电服务单价" align="center" prop="price" >
<template #defaluut="scope">
{{scope.price / 100}}
<el-table-column label="换电服务单价(分)" align="center" prop="price" >
<template #default="scope">
{{scope.row.price }}
</template>
</el-table-column>
<el-table-column label="电池服务费(分)" align="center" prop="batFee" >
<template #default="scope">
{{scope.row.batFee }}
</template>
</el-table-column>
<el-table-column label="平台服务费(分)" align="center" prop="platformFee" >
<template #default="scope">
{{scope.row.platformFee }}
</template>
</el-table-column>
<el-table-column label="电池服务费" align="center" prop="batFee" />
<el-table-column label="平台服务费" align="center" prop="platformFee" />
<el-table-column label="是否启用" align="center" prop="status" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.MODEL_TIME_STATUS" :value="scope.row.status" />

@ -128,8 +128,8 @@
backgroundColor: '#eff4fa'
}">
<el-table-column label="序号" type="index" align="center" width="80" />
<el-table-column label="电网电价月份模型 ID" align="center" prop="id" />
<el-table-column label="电网电价模型id" align="center" prop="priceId" />
<!-- <el-table-column label="电网电价月份模型 ID" align="center" prop="id" /> -->
<!-- <el-table-column label="电网电价模型id" align="center" prop="priceId" /> -->
<el-table-column label="计费模型名称" align="center" prop="name" />
<el-table-column label="时段数量" align="center" prop="periodsAmount" />
<!-- <el-table-column label="序列" align="center" prop="no" /> -->

@ -49,7 +49,7 @@
backgroundColor: '#eff4fa'
}">
<el-table-column label="序号" type="index" align="center" width="80" />
<el-table-column label="索引" align="center" prop="id" />
<!-- <el-table-column label="索引" align="center" prop="id" /> -->
<el-table-column label="计费模型名称" align="center" prop="name" />
<el-table-column label="站点" align="center" >
<template #default="scope">

@ -76,8 +76,9 @@
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" :header-cell-style="{
backgroundColor: '#eff4fa'
}">
<el-table-column label="电网电价分时模型 ID" align="center" prop="id" />
<el-table-column label="分时模型(月日)id" align="center" prop="dateId" />
<el-table-column label="序号" type="index" align="center" width="80" />
<!-- <el-table-column label="电网电价分时模型 ID" align="center" prop="id" /> -->
<!-- <el-table-column label="分时模型(月日)id" align="center" prop="dateId" /> -->
<el-table-column label="计费模型名称" align="center" prop="name" />
<!-- <el-table-column label="1尖2峰3平4谷" align="center" prop="type" /> -->
<el-table-column label="尖电价开始时刻" align="center" prop="startTime" />

@ -53,22 +53,27 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="尖电价" prop="theTipPrice">
<el-input v-model="formData.theTipPrice" placeholder="请输入尖电价" />
<el-form-item label="尖电价(分)" prop="theTipPrice">
<el-input v-model="formData.theTipPrice" placeholder="请输入尖电价" >
<!-- <template #default="scope">
{{scope.row.theTipPrice * 100}}
</template> -->
</el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="峰电价" prop="peakPrice">
<el-form-item label="峰电价(分)" prop="peakPrice">
<el-input v-model="formData.peakPrice" placeholder="请输入峰电价" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="平电价" prop="flatPrice">
<el-form-item label="平电价(分)" prop="flatPrice">
<el-input v-model="formData.flatPrice" placeholder="请输入平电价" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="谷电价" prop="theValleyPrice">
<el-form-item label="谷电价(分)" prop="theValleyPrice">
<el-input v-model="formData.theValleyPrice" placeholder="请输入谷电价" />
</el-form-item>
</el-col>

@ -19,7 +19,7 @@
/>
</el-form-item>
<el-form-item label="尖电价" prop="theTipPrice">
<el-form-item label="尖电价(分)" prop="theTipPrice">
<el-input
v-model="queryParams.theTipPrice"
placeholder="请输入尖电价"
@ -28,7 +28,7 @@
class="!w-200px"
/>
</el-form-item>
<el-form-item label="峰电价" prop="peakPrice">
<el-form-item label="峰电价(分)" prop="peakPrice">
<el-input
v-model="queryParams.peakPrice"
placeholder="请输入峰电价"
@ -37,7 +37,7 @@
class="!w-200px"
/>
</el-form-item>
<el-form-item label="平电价" prop="flatPrice">
<el-form-item label="平电价(分)" prop="flatPrice">
<el-input
v-model="queryParams.flatPrice"
placeholder="请输入平电价"
@ -46,7 +46,7 @@
class="!w-200px"
/>
</el-form-item>
<el-form-item label="谷电价" prop="theValleyPrice">
<el-form-item label="谷电价(分)" prop="theValleyPrice">
<el-input
v-model="queryParams.theValleyPrice"
placeholder="请输入谷电价"
@ -97,18 +97,35 @@
backgroundColor: '#eff4fa'
}">
<el-table-column label="序号" type="index" align="center" width="80" />
<el-table-column label="电网电价月份模型 ID" align="center" prop="id" />
<el-table-column label="电网电价模型id" align="center" prop="priceId" />
<!-- <el-table-column label="电网电价月份模型 ID" align="center" prop="id" /> -->
<!-- <el-table-column label="电网电价模型id" align="center" prop="priceId" /> -->
<el-table-column label="计费模型名称" align="center" prop="name" />
<!-- <el-table-column label="时段数量" align="center" prop="periodsAmount" />
<el-table-column label="序列" align="center" prop="no" /> -->
<el-table-column label="开始日期" align="center" prop="startDate" />
<el-table-column label="结束日期" align="center" prop="endDate" />
<el-table-column label="尖电价(元)" align="center" prop="theTipPrice" />
<el-table-column label="尖电价(分)" align="center" prop="theTipPrice" >
<template #default="scope">
{{scope.row.theTipPrice }}
</template>
</el-table-column>
<el-table-column label="峰电价(元)" align="center" prop="peakPrice" />
<el-table-column label="平电价(元)" align="center" prop="flatPrice" />
<el-table-column label="谷电价(元)" align="center" prop="theValleyPrice" />
<el-table-column label="峰电价(分)" align="center" prop="peakPrice" >
<template #default="scope">
{{scope.row.peakPrice }}
</template>
</el-table-column>
<el-table-column label="平电价(分)" align="center" prop="flatPrice" >
<template #default="scope">
{{scope.row.flatPrice }}
</template>
</el-table-column>
<el-table-column label="谷电价(分)" align="center" prop="theValleyPrice" >
<template #default="scope">
{{scope.row.theValleyPrice }}
</template>
</el-table-column>
<!-- <el-table-column label="是否启用:0启用;1禁用" align="center" prop="status" /> -->
<el-table-column label="备注" align="center" prop="remark" />
<!-- <el-table-column label="数据来源:0:云平台;1;三方运营商" align="center" prop="source" />

@ -17,43 +17,61 @@
<el-table-column label="换电站编码" align="center" prop="stationNo" />
<el-table-column label="换电站名称" align="center" prop="stationName" />
<el-table-column label="换电站识别号" align="center" prop="stationSn" />
<el-table-column label="地理位置" align="center" prop="stationLocation" />
<el-table-column label="站类型" align="center" prop="stationType" />
<el-table-column label="换电站现场照片" align="center" prop="avatar" />
<el-table-column label="纬度" align="center" prop="latitude" />
<el-table-column label="经度" align="center" prop="longitude" />
<!-- <el-table-column label="地理位置" align="center" prop="stationLocation" /> -->
<!-- <el-table-column label="站类型" align="center" prop="stationType" /> -->
<!-- <el-table-column label="换电站现场照片" align="center" prop="avatar" /> -->
<!-- <el-table-column label="纬度" align="center" prop="latitude" /> -->
<!-- <el-table-column label="经度" align="center" prop="longitude" /> -->
<el-table-column label="区域名称" align="center" prop="areaName" />
<el-table-column label="区域编号" align="center" prop="areaCode" />
<!-- <el-table-column label="区域编号" align="center" prop="areaCode" /> -->
<el-table-column label="营运时间" align="center" prop="operationTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="投放时间 " align="center" prop="launchTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="联系方式-手机号 " align="center" prop="contactWay" />
<el-table-column label="服务电话" align="center" prop="serviceTel" />
<el-table-column label="联系方式-邮箱地址 " align="center" prop="email" />
<!-- <el-table-column label="服务电话" align="center" prop="serviceTel" /> -->
<!-- <el-table-column label="联系方式-邮箱地址 " align="center" prop="email" /> -->
<el-table-column label="负责人" align="center" prop="principal" />
<el-table-column label="所属运营企业" align="center" prop="stationCompany" />
<!-- <el-table-column label="所属运营企业" align="center" prop="stationCompany" /> -->
<el-table-column label="场站服务状态" align="center" prop="status" />
<el-table-column label="场站运行模式" align="center" prop="runModel" />
<el-table-column label="工位分类" align="center" prop="staType" />
<el-table-column label="区域分类" align="center" prop="areaType" />
<el-table-column label="站型类型 " align="center" prop="siteType" />
<!-- <el-table-column label="场站运行模式" align="center" prop="runModel" /> -->
<!-- <el-table-column label="工位分类" align="center" prop="staType" /> -->
<!-- <el-table-column label="区域分类" align="center" prop="areaType" /> -->
<!-- <el-table-column label="站型类型 " align="center" prop="siteType" /> -->
<!-- 1公共; 50:个人; 100公交专用101环卫专用102物流专用103 出租专用104分时租赁专用105小区共享专用106单位专用107私人共享桩专用255其他 -->
<el-table-column label="服务车型" align="center" prop="matchVehicles" />
<el-table-column label="是否全天营业" align="center" prop="oahFlag" />
<!-- <el-table-column label="服务车型" align="center" prop="matchVehicles" /> -->
<el-table-column label="是否全天营业" align="center" prop="oahFlag" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.OAHFLAG_STATUS" :value="scope.row.oahFlag" />
</template>
</el-table-column>
<!-- 0;1 -->
<el-table-column label="站点分类" align="center" prop="siteClassification" />
<!-- <el-table-column label="站点分类" align="center" prop="siteClassification" /> -->
<!-- 站点分类 1:充电站;2:换电站;3:充换电一体站 -->
<el-table-column label="建设场所" align="center" prop="constructionSite" />
<!-- <el-table-column label="建设场所" align="center" prop="constructionSite" /> -->
<!-- construction建设场所 1居民区;2公共机构;3企事业单位;4写字楼;5工业园区;6交通枢纽;7大型文体设施;8城市绿地;9大型建筑配建停车场;10路边停车位;11城际高速服务区;2风景区;13公交场站;14加油加气站;15出租车;255其他 -->
<el-table-column label="是否启用" align="center" prop="enable" />
<el-table-column label="是否启用" align="center" prop="enable" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.MODEL_TIME_STATUS" :value="scope.row.enable" />
</template>
</el-table-column>
<!-- 0:未启用 1:启用 -->
<el-table-column label="计费电量" align="center" prop="electricitySource" />
<el-table-column label="计费电量" align="center" prop="electricitySource" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricitySource" />
</template>
</el-table-column>
<!-- 计费电量1默认最大值2soc差值3soe差值4交流5直流60 -->
<el-table-column label="电价电量" align="center" prop="electricityPriceSource" />
<el-table-column label="电价电量" align="center" prop="electricityPriceSource" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricityPriceSource" />
</template>
</el-table-column>
<!-- 电价电量1默认最大值2soc差值3soe差值4交流5直流60 -->
<el-table-column label="soc差值来源" align="center" prop="socSource" />
<!-- <el-table-column label="soc差值来源" align="center" prop="socSource" /> -->
<!-- soc差值来源:1换电时的SOC;2:充电时的SOC -->
</el-table>
@ -74,10 +92,10 @@
<el-table-column label="结束日期 " align="center" prop="endDate" width="180"
:formatter="dateFormatter"/>
<el-table-column label="尖电价 " align="center" prop="theTipPrice" />
<el-table-column label="峰电价 " align="center" prop="peakPrice" />
<el-table-column label="平电价 " align="center" prop="flatPrice" />
<el-table-column label="谷电价 " align="center" prop="theValleyPrice " />
<el-table-column label="尖电价(分)" align="center" prop="theTipPrice" />
<el-table-column label="峰电价(分)" align="center" prop="peakPrice" />
<el-table-column label="平电价(分)" align="center" prop="flatPrice" />
<el-table-column label="谷电价(分)" align="center" prop="theValleyPrice " />
<el-table-column label="是否启用" align="center" prop="status" >
<template #default="scope">
@ -85,7 +103,7 @@
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="数据来源" align="center" prop="source" />
<!-- <el-table-column label="数据来源" align="center" prop="source" /> -->
<!-- :0:云平台;1;三方运营商 -->
</el-table>
</ContentWrap>
@ -98,12 +116,16 @@
backgroundColor: '#eff4fa'
}">
<el-table-column label="计费模型名称" align="center" prop="name" />
<el-table-column label="类型 " align="center" prop="type " />
<el-table-column label="类型" align="center" prop="type">
<template #default="scope">
<dict-tag :type="DICT_TYPE.PEAK_PLATEAU_STATE" :value="scope.row.type" />
</template>
</el-table-column>
<!-- 1尖2峰3平4谷 -->
<el-table-column label="尖电价开始时刻" align="center" prop="startDate" width="180"
:formatter="dateFormatter" />
<el-table-column label="尖电价结束时刻" align="center" prop="endDate" width="180"
:formatter="dateFormatter"/>
<el-table-column label="尖电价开始时刻" align="center" prop="startTime" width="180"
/>
<el-table-column label="尖电价结束时刻" align="center" prop="endTime" width="180"
/>
</el-table>
@ -156,12 +178,14 @@
if (id) {
formLoading.value = true
try {
const formData2 = await ElectricityPriceApi.getElectricityPrice(id)
oldlist.value = formData2
electricityDate.value = formData2.electricityDateResp
// console.log(formData2,"-++++++---")
electricityDate.value[0] = formData2.electricityDateResp
stationList.value = formData2.stationList
electricityTimeList.value = formData2.electricityTimeList
// console.log(electricityTimeList.value,"==========")
} finally {
formLoading.value = false
}

@ -17,43 +17,60 @@
<el-table-column label="换电站编码" align="center" prop="stationNo" />
<el-table-column label="换电站名称" align="center" prop="stationName" />
<el-table-column label="换电站识别号" align="center" prop="stationSn" />
<el-table-column label="地理位置" align="center" prop="stationLocation" />
<!-- <el-table-column label="地理位置" align="center" prop="stationLocation" /> -->
<el-table-column label="站类型" align="center" prop="stationType" />
<el-table-column label="换电站现场照片" align="center" prop="avatar" />
<el-table-column label="纬度" align="center" prop="latitude" />
<el-table-column label="经度" align="center" prop="longitude" />
<!-- <el-table-column label="换电站现场照片" align="center" prop="avatar" /> -->
<!-- <el-table-column label="纬度" align="center" prop="latitude" /> -->
<!-- <el-table-column label="经度" align="center" prop="longitude" /> -->
<el-table-column label="区域名称" align="center" prop="areaName" />
<el-table-column label="区域编号" align="center" prop="areaCode" />
<!-- <el-table-column label="区域编号" align="center" prop="areaCode" /> -->
<el-table-column label="营运时间" align="center" prop="operationTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="投放时间 " align="center" prop="launchTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="联系方式-手机号 " align="center" prop="contactWay" />
<el-table-column label="服务电话" align="center" prop="serviceTel" />
<el-table-column label="联系方式-邮箱地址 " align="center" prop="email" />
<!-- <el-table-column label="服务电话" align="center" prop="serviceTel" /> -->
<!-- <el-table-column label="联系方式-邮箱地址 " align="center" prop="email" /> -->
<el-table-column label="负责人" align="center" prop="principal" />
<el-table-column label="所属运营企业" align="center" prop="stationCompany" />
<!-- <el-table-column label="所属运营企业" align="center" prop="stationCompany" /> -->
<el-table-column label="场站服务状态" align="center" prop="status" />
<el-table-column label="场站运行模式" align="center" prop="runModel" />
<el-table-column label="工位分类" align="center" prop="staType" />
<el-table-column label="区域分类" align="center" prop="areaType" />
<el-table-column label="站型类型 " align="center" prop="siteType" />
<!-- <el-table-column label="场站运行模式" align="center" prop="runModel" /> -->
<!-- <el-table-column label="工位分类" align="center" prop="staType" /> -->
<!-- <el-table-column label="区域分类" align="center" prop="areaType" /> -->
<!-- <el-table-column label="站型类型 " align="center" prop="siteType" /> -->
<!-- 1公共; 50:个人; 100公交专用101环卫专用102物流专用103 出租专用104分时租赁专用105小区共享专用106单位专用107私人共享桩专用255其他 -->
<el-table-column label="服务车型" align="center" prop="matchVehicles" />
<el-table-column label="是否全天营业" align="center" prop="oahFlag" />
<!-- <el-table-column label="服务车型" align="center" prop="matchVehicles" /> -->
<el-table-column label="是否全天营业" align="center" prop="oahFlag" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.OAHFLAG_STATUS" :value="scope.row.oahFlag" />
</template>
</el-table-column>
<!-- 0;1 -->
<el-table-column label="站点分类" align="center" prop="siteClassification" />
<!-- <el-table-column label="站点分类" align="center" prop="siteClassification" /> -->
<!-- 站点分类 1:充电站;2:换电站;3:充换电一体站 -->
<el-table-column label="建设场所" align="center" prop="constructionSite" />
<!-- <el-table-column label="建设场所" align="center" prop="constructionSite" /> -->
<!-- construction建设场所 1居民区;2公共机构;3企事业单位;4写字楼;5工业园区;6交通枢纽;7大型文体设施;8城市绿地;9大型建筑配建停车场;10路边停车位;11城际高速服务区;2风景区;13公交场站;14加油加气站;15出租车;255其他 -->
<el-table-column label="是否启用" align="center" prop="enable" />
<el-table-column label="是否启用" align="center" prop="enable" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.MODEL_TIME_STATUS" :value="scope.row.enable" />
</template>
</el-table-column>
<!-- 0:未启用 1:启用 -->
<el-table-column label="计费电量" align="center" prop="electricitySource" />
<el-table-column label="计费电量" align="center" prop="electricitySource" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricitySource" />
</template>
</el-table-column>
<!-- 计费电量1默认最大值2soc差值3soe差值4交流5直流60 -->
<el-table-column label="电价电量" align="center" prop="electricityPriceSource" />
<el-table-column label="电价电量" align="center" prop="electricityPriceSource" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricityPriceSource" />
</template>
</el-table-column>
<!-- 电价电量1默认最大值2soc差值3soe差值4交流5直流60 -->
<el-table-column label="soc差值来源" align="center" prop="socSource" />
<!-- <el-table-column label="soc差值来源" align="center" prop="socSource" /> -->
<!-- soc差值来源:1换电时的SOC;2:充电时的SOC -->
</el-table>
@ -67,12 +84,13 @@
backgroundColor: '#eff4fa'
}">
<el-table-column label="运营模型id " align="center" prop="modelId" />
<!-- <el-table-column label="运营模型id " align="center" prop="modelId" /> -->
<el-table-column label="运营区间模型名称 " align="center" prop="name" />
<el-table-column label="开始日期 " align="center" prop="startTime" width="180"
:formatter="dateFormatter" />
<el-table-column label="结束日期 " align="center" prop="endTime" width="180"
:formatter="dateFormatter"/>
<el-table-column label="开始日期" align="center" prop="startTime" width="180"
value = "hh:mm:ss"
/>
<el-table-column label="结束日期" align="center" prop="endTime" width="180"
value = "hh:mm:ss"/>
@ -82,6 +100,7 @@
</el-drawer>
</template>
<script setup lang="ts">
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { RunModelApi, RunModelVO } from '@/api/operationsManagement/operationalModel'
import { dateFormatter } from '@/utils/formatTime'
/** 场站运营模型 表单 */

@ -45,9 +45,12 @@
<!-- 列表 -->
<ContentWrap>
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="id" align="center" prop="id" />
<el-table-column label="运营模型id" align="center" prop="modelId" />
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" :header-cell-style="{
backgroundColor: '#eff4fa'
}">
<el-table-column label="序号" type="index" align="center" width="80" />
<!-- <el-table-column label="id" align="center" prop="id" /> -->
<!-- <el-table-column label="运营模型id" align="center" prop="modelId" /> -->
<el-table-column label="运营区间模型名称" align="center" prop="name" width="180"/>
<!-- <el-table-column
label="创建时间"

@ -44,8 +44,10 @@
<!-- 列表 -->
<ContentWrap>
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
<el-table-column label="模型id" align="center" prop="id" />
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" :header-cell-style="{
backgroundColor: '#eff4fa'
}">
<!-- <el-table-column label="模型id" align="center" prop="id" /> -->
<el-table-column label="运营模型名称" align="center" prop="name" />
<el-table-column label="站点" align="center">
<template #default="scope">

Loading…
Cancel
Save