9.24 列表宽度 字典的添加

master
zz 2 months ago
parent f678922ba1
commit 735f58533b

@ -143,7 +143,7 @@ export enum DICT_TYPE {
TOP_UP_STATUS = 'top_up_status',
TOP_UP_STATUS_TWO = 'top_up_status_two',
ENABLE_STATUS = 'enable_status',
REFUND_STATUS_DETAILS = 'refund_status_details',
REFUND_STATUS_DETAILS = 'refund_status_details',//WAITING(0, "未退款"), SUCCESS(10, "退款成功"), FAILURE(20, "退款失败");
PACKAGE_TYPE = 'package_type',//zz
ORDER_MANAGEMENT_DETAILS = 'order_management_details',
PACKAGE_STATUS = 'package_status',

@ -54,14 +54,14 @@
{{ formData.ratedVoltage || "--" }}
</el-descriptions-item>
<el-descriptions-item label="电池规格" >
{{ formData.sglBtyRatedVoltage || "--" }}
</el-descriptions-item>
<el-descriptions-item label="单体蓄电池额定电压" >
{{ formData.specification || "--" }}
</el-descriptions-item>
<el-descriptions-item label="电池性质" >
<!-- <el-descriptions-item label="单体蓄电池额定电压" >
{{ formData.specification || "--" }}
</el-descriptions-item> -->
<!-- <el-descriptions-item label="电池性质" >
{{ formData.btyFeature || "--" }}
</el-descriptions-item>
</el-descriptions-item> -->
<!-- <el-descriptions-item label="车辆性质">
<dict-tag :type="DICT_TYPE.VEHICLEPROPERTY" :value="formData.vehicleProperty" />
</el-descriptions-item> -->

@ -15,7 +15,11 @@
>
<!-- <el-table-column label="id" align="center" prop="id" /> -->
<el-table-column label="车牌号" align="center" prop="vehicleNo" />
<el-table-column label="车辆型号" align="center" prop="vehicleType" />
<el-table-column label="车辆型号" align="center" prop="vehicleType" >
<template #default="scope">
<dict-tag :type="DICT_TYPE.CARTYPE" :value="scope.row.vehicleType" />
</template>
</el-table-column>
<el-table-column label="车辆VIN码" align="center" prop="vehicleVin" />
<el-table-column label="mac地址" align="center" prop="vehicleMac" />
<el-table-column label="rfid" align="center" prop="rfid" />
@ -33,7 +37,7 @@
</template>
<script setup lang="ts">
import PersonalVehicleForm from './PersonalVehicleForm.vue'
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
const { t } = useI18n() //
const message = useMessage() //

@ -14,11 +14,11 @@
backgroundColor: '#eff4fa'
}">
<!-- <el-table-column label="索引" align="center" prop="id" /> -->
<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="stationNo" width="120"/>
<el-table-column label="换电站名称" align="center" prop="stationName" width="120"/>
<el-table-column label="换电站识别号" align="center" prop="stationSn" width="120"/>
<!-- <el-table-column label="地理位置" align="center" prop="stationLocation" /> -->
<el-table-column label="站类型" align="center" prop="stationType" >
<el-table-column label="站类型" align="center" prop="stationType" width="100">
<template #default="scope">
<dict-tag :type="DICT_TYPE.SITECLASSIFICATION_TYPE" :value="scope.row.stationType" />
</template>
@ -32,7 +32,7 @@
: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="contactWay" width="160"/>
<!-- <el-table-column label="服务电话" align="center" prop="serviceTel" /> -->
<!-- <el-table-column label="联系方式-邮箱地址 " align="center" prop="email" /> -->
<el-table-column label="负责人" align="center" prop="principal" />
@ -44,7 +44,7 @@
<!-- <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="oahFlag" width="120">
<template #default="scope">
<dict-tag :type="DICT_TYPE.OAHFLAG_STATUS" :value="scope.row.oahFlag" />
</template>
@ -61,13 +61,13 @@
</el-table-column>
<!-- 0:未启用 1:启用 -->
<el-table-column label="计费电量" align="center" prop="electricitySource" >
<el-table-column label="计费电量" align="center" prop="electricitySource" width="100">
<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" width="100">
<template #default="scope">
<dict-tag :type="DICT_TYPE.ELECTRICITYSOURCE" :value="scope.row.electricityPriceSource" />
</template>

@ -1,5 +1,5 @@
<template>
<el-drawer title="基本信息" v-model="dialogVisible">
<el-drawer title="基本信息" v-model="dialogVisible" size="60%">
<el-descriptions :column="3" border>
<el-descriptions-item label="用户名" label-class-name="my-label"
class-name="my-content"

Loading…
Cancel
Save