fix: 修改bug
This commit is contained in:
parent
0a80fd716c
commit
760d08ec45
|
@ -22,7 +22,7 @@
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:request="CascadeApi.queryChannelList"
|
:request="CascadeApi.queryChannelList"
|
||||||
:defaultParams="{
|
:defaultParams="{
|
||||||
sorts: [{ name: 'name', order: 'desc' }],
|
sorts: [{ name: 'deviceName', order: 'asc' }, { name: 'name', order: 'asc' }],
|
||||||
terms: [
|
terms: [
|
||||||
{
|
{
|
||||||
column: 'id',
|
column: 'id',
|
||||||
|
@ -145,6 +145,7 @@ const columns = [
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
scopedSlots: true,
|
scopedSlots: true,
|
||||||
|
width: 150,
|
||||||
search: {
|
search: {
|
||||||
type: 'select',
|
type: 'select',
|
||||||
options: [
|
options: [
|
||||||
|
|
|
@ -215,6 +215,7 @@ const columns = [
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
scopedSlots: true,
|
scopedSlots: true,
|
||||||
|
width: 150,
|
||||||
search: {
|
search: {
|
||||||
type: 'select',
|
type: 'select',
|
||||||
options: [
|
options: [
|
||||||
|
@ -229,6 +230,7 @@ const columns = [
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
key: 'action',
|
key: 'action',
|
||||||
|
width: 100,
|
||||||
scopedSlots: true,
|
scopedSlots: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -428,6 +428,10 @@
|
||||||
required: true,
|
required: true,
|
||||||
message: '请输入心跳周期',
|
message: '请输入心跳周期',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pattern: /^[1-9]\d*$/,
|
||||||
|
message: '请输入1~10000的整数',
|
||||||
|
}
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
<j-input-number
|
<j-input-number
|
||||||
|
@ -450,6 +454,10 @@
|
||||||
required: true,
|
required: true,
|
||||||
message: '请输入注册间隔',
|
message: '请输入注册间隔',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pattern: /^[1-9]\d*$/,
|
||||||
|
message: '请输入1~10000的整数',
|
||||||
|
}
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
<j-input-number
|
<j-input-number
|
||||||
|
|
|
@ -194,6 +194,7 @@ const columns = [
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
scopedSlots: true,
|
scopedSlots: true,
|
||||||
|
width: 150,
|
||||||
search: {
|
search: {
|
||||||
type: 'select',
|
type: 'select',
|
||||||
options: [
|
options: [
|
||||||
|
|
Loading…
Reference in New Issue