修改文字显示
This commit is contained in:
parent
5bdb4edaed
commit
1bb3dfe975
|
@ -14,7 +14,7 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'nuName'
|
dataIndex: 'nuName'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '表号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'address'
|
dataIndex: 'address'
|
||||||
},
|
},
|
||||||
|
@ -112,7 +112,7 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
colProps: { span: 6 },
|
colProps: { span: 6 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '表号',
|
label: '设备号',
|
||||||
field: 'address',
|
field: 'address',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: { span: 6 },
|
colProps: { span: 6 },
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { getWeekMonthQuarterYear } from '/@/utils';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '表号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'address'
|
dataIndex: 'address'
|
||||||
},
|
},
|
||||||
|
@ -56,7 +56,7 @@ export const columns: BasicColumn[] = [
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns2: BasicColumn[] = [
|
export const columns2: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '表号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'address'
|
dataIndex: 'address'
|
||||||
},
|
},
|
||||||
|
@ -85,7 +85,7 @@ export const columns2: BasicColumn[] = [
|
||||||
|
|
||||||
// 高级查询数据
|
// 高级查询数据
|
||||||
export const superQuerySchema = {
|
export const superQuerySchema = {
|
||||||
address: {title: '表号',order: 0,view: 'text', type: 'string',},
|
address: {title: '设备号',order: 0,view: 'text', type: 'string',},
|
||||||
type: {title: '类型',order: 1,view: 'list', type: 'string',dictCode: 'dbsb_type',},
|
type: {title: '类型',order: 1,view: 'list', type: 'string',dictCode: 'dbsb_type',},
|
||||||
requestValue: {title: '抄表时的值',order: 2,view: 'text', type: 'string',},
|
requestValue: {title: '抄表时的值',order: 2,view: 'text', type: 'string',},
|
||||||
requestTime: {title: '抄表时间',order: 3,view: 'text', type: 'string',},
|
requestTime: {title: '抄表时间',order: 3,view: 'text', type: 'string',},
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="NuIotTqApiRequestLogForm">
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="NuIotTqApiRequestLogForm">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="表号" v-bind="validateInfos.address" id="NuIotTqApiRequestLogForm-address" name="address">
|
<a-form-item label="设备号" v-bind="validateInfos.address" id="NuIotTqApiRequestLogForm-address" name="address">
|
||||||
<a-input v-model:value="formData.address" placeholder="请输入表号" allow-clear ></a-input>
|
<a-input v-model:value="formData.address" placeholder="请输入设备号" allow-clear ></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
|
|
|
@ -14,7 +14,7 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'nuName'
|
dataIndex: 'nuName'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '表号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'address'
|
dataIndex: 'address'
|
||||||
},
|
},
|
||||||
|
@ -120,7 +120,7 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
colProps: { span: 6 },
|
colProps: { span: 6 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '表号',
|
label: '设备号',
|
||||||
field: 'address',
|
field: 'address',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: { span: 6 },
|
colProps: { span: 6 },
|
||||||
|
|
|
@ -14,7 +14,7 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'nuName'
|
dataIndex: 'nuName'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '设备序号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'sn'
|
dataIndex: 'sn'
|
||||||
},
|
},
|
||||||
|
@ -99,7 +99,7 @@ export const searchFormSchema: FormSchema[] = [
|
||||||
colProps: { span: 6 },
|
colProps: { span: 6 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设备序号',
|
label: '设备号',
|
||||||
field: 'sn',
|
field: 'sn',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: { span: 6 },
|
colProps: { span: 6 },
|
||||||
|
@ -127,7 +127,7 @@ export const formSchema: FormSchema[] = [
|
||||||
ifShow: false,
|
ifShow: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设备序号',
|
label: '设备号',
|
||||||
field: 'sn',
|
field: 'sn',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
dynamicDisabled: ({ values }) => {
|
dynamicDisabled: ({ values }) => {
|
||||||
|
@ -347,7 +347,7 @@ export const formSchema: FormSchema[] = [
|
||||||
//列表数据
|
//列表数据
|
||||||
export const logColumns: BasicColumn[] = [
|
export const logColumns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '设备序号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'sn'
|
dataIndex: 'sn'
|
||||||
},
|
},
|
||||||
|
@ -361,10 +361,21 @@ export const logColumns: BasicColumn[] = [
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'optBy'
|
dataIndex: 'optBy'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '温度',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'temperature',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '湿度',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'humidity',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '操作类型',
|
title: '操作类型',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'optType',
|
dataIndex: 'optType',
|
||||||
|
defaultHidden: true,
|
||||||
customRender:({record})=>{
|
customRender:({record})=>{
|
||||||
if(record.optType == 'insert'){
|
if(record.optType == 'insert'){
|
||||||
return '新增';
|
return '新增';
|
||||||
|
@ -380,52 +391,62 @@ export const logColumns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '记录间隔',
|
title: '记录间隔',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'recordInterval'
|
dataIndex: 'recordInterval',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上报间隔',
|
title: '上报间隔',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'reportingInterval'
|
dataIndex: 'reportingInterval',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '历史数据上报时刻',
|
title: '历史数据上报时刻',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'historyReportTime'
|
dataIndex: 'historyReportTime',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '历史数据上报间隔',
|
title: '历史数据上报间隔',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'historyInterval'
|
dataIndex: 'historyInterval',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '温度预警-上限',
|
title: '温度预警-上限',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'temperatureHigh'
|
dataIndex: 'temperatureHigh',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '温度预警-下限',
|
title: '温度预警-下限',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'temperatureLow'
|
dataIndex: 'temperatureLow',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '温度缓冲值',
|
title: '温度缓冲值',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'temperatureBuffer'
|
dataIndex: 'temperatureBuffer',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '湿度预警-上限',
|
title: '湿度预警-上限',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'humidityHigh'
|
dataIndex: 'humidityHigh',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '湿度预警-下限',
|
title: '湿度预警-下限',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'humidityLow'
|
dataIndex: 'humidityLow',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '湿度缓冲值',
|
title: '湿度缓冲值',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'humidityBuffer'
|
dataIndex: 'humidityBuffer',
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '断电报警',
|
title: '断电报警',
|
||||||
|
@ -434,6 +455,7 @@ export const logColumns: BasicColumn[] = [
|
||||||
customRender:({record})=>{
|
customRender:({record})=>{
|
||||||
return record.izOutages?(record.izOutages=='0'?'开启':'关闭'):'';
|
return record.izOutages?(record.izOutages=='0'?'开启':'关闭'):'';
|
||||||
},
|
},
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '低电报警',
|
title: '低电报警',
|
||||||
|
@ -442,6 +464,7 @@ export const logColumns: BasicColumn[] = [
|
||||||
customRender:({record})=>{
|
customRender:({record})=>{
|
||||||
return record.izLowBattery?(record.izLowBattery=='0'?'开启':'关闭'):'';
|
return record.izLowBattery?(record.izLowBattery=='0'?'开启':'关闭'):'';
|
||||||
},
|
},
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上下线通知',
|
title: '上下线通知',
|
||||||
|
@ -450,6 +473,7 @@ export const logColumns: BasicColumn[] = [
|
||||||
customRender:({record})=>{
|
customRender:({record})=>{
|
||||||
return record.izOnline?(record.izOnline=='0'?'开启':'关闭'):'';
|
return record.izOnline?(record.izOnline=='0'?'开启':'关闭'):'';
|
||||||
},
|
},
|
||||||
|
defaultHidden: true
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -473,7 +497,7 @@ export const logQuerySchema: FormSchema[] = [
|
||||||
//列表数据
|
//列表数据
|
||||||
export const alarmColumns: BasicColumn[] = [
|
export const alarmColumns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '设备序号',
|
title: '设备号',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'sn'
|
dataIndex: 'sn'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue