微调
This commit is contained in:
@@ -77,8 +77,8 @@
|
||||
</el-row>
|
||||
<el-row :gutter="24" >
|
||||
<el-col :span="8">
|
||||
<el-form-item label='生产厂家' prop='manufacturer'>
|
||||
<el-select v-model="formContent.manufacturer" clearable placeholder="请选择生产厂家">
|
||||
<el-form-item label='生产厂商' prop='manufacturer'>
|
||||
<el-select v-model="formContent.manufacturer" clearable placeholder="请选择生产厂商">
|
||||
<el-option
|
||||
v-for="item in dictStore.getDictData('Dev_Manufacturers')"
|
||||
:key="item.id"
|
||||
|
||||
@@ -84,7 +84,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
return (
|
||||
<div class='flx-flex-start'>
|
||||
<TimeControl
|
||||
include={['日', '周', '月', '季度','年','自定义']}
|
||||
|
||||
default={'月'}
|
||||
onUpdate-dates={handleDateChange}
|
||||
/>
|
||||
@@ -97,25 +97,19 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
|
||||
prop: 'devChns',
|
||||
label: '设备通道数',
|
||||
minWidth: 110,
|
||||
render: scope => {
|
||||
return String(scope.row.devChns) // 将数字转换为字符串
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
prop: 'devVolt',
|
||||
label: '额定电压(V)',
|
||||
minWidth: 130,
|
||||
render: scope => {
|
||||
return String(scope.row.devVolt) // 将数字转换为字符串
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
prop: 'devCurr',
|
||||
label: '额定电流(A)',
|
||||
minWidth: 130,
|
||||
render: scope => {
|
||||
return String(scope.row.devCurr) // 将数字转换为字符串
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
prop: 'manufacturer',
|
||||
@@ -155,7 +149,7 @@ const handleDelete = async (params: Device.ResPqDev) => {
|
||||
}
|
||||
|
||||
// 导出设备
|
||||
const downloadFile = async (params: Device.ReqPqDevParams) => {
|
||||
const downloadFile = async () => {
|
||||
// 获取当前的搜索参数
|
||||
const searchParam = proTable.value?.searchParam || {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user