fix: bug#10433、10428、10426
This commit is contained in:
parent
f8906faa11
commit
54493d025f
|
@ -115,6 +115,7 @@ const columns = [
|
|||
key: 'name',
|
||||
search: {
|
||||
type: 'string',
|
||||
first: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -159,7 +160,6 @@ const params = ref<Record<string, any>>({});
|
|||
*/
|
||||
const handleSearch = (e: any) => {
|
||||
params.value = e;
|
||||
console.log('params.value: ', params.value);
|
||||
};
|
||||
|
||||
const listRef = ref();
|
||||
|
@ -194,7 +194,10 @@ const getSetRowKey = (selectedRows: any[]) =>
|
|||
|
||||
const loading = ref(false);
|
||||
const handleSave = async () => {
|
||||
if (!_selectedRowKeys.value.length) message.error('请勾选数据');
|
||||
if (!_selectedRowKeys.value.length) {
|
||||
message.error('请勾选数据');
|
||||
return;
|
||||
}
|
||||
loading.value = true;
|
||||
const resp = await CascadeApi.bindChannel(
|
||||
route.query.id as string,
|
||||
|
|
|
@ -176,6 +176,7 @@ const columns = [
|
|||
key: 'name',
|
||||
search: {
|
||||
type: 'string',
|
||||
first: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -180,12 +180,14 @@ const columns = [
|
|||
title: '通道数量',
|
||||
dataIndex: 'count',
|
||||
key: 'count',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'status',
|
||||
key: 'status',
|
||||
scopedSlots: true,
|
||||
width: 100,
|
||||
search: {
|
||||
type: 'select',
|
||||
options: [
|
||||
|
@ -202,6 +204,7 @@ const columns = [
|
|||
dataIndex: 'onlineStatus',
|
||||
key: 'onlineStatus',
|
||||
scopedSlots: true,
|
||||
width: 100,
|
||||
search: {
|
||||
type: 'select',
|
||||
options: [
|
||||
|
|
|
@ -141,6 +141,7 @@ const columns = [
|
|||
key: 'name',
|
||||
search: {
|
||||
type: 'string',
|
||||
first: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -148,6 +148,7 @@ const columns = [
|
|||
key: 'name',
|
||||
search: {
|
||||
type: 'string',
|
||||
first: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -168,6 +168,7 @@ const columns = [
|
|||
key: 'name',
|
||||
search: {
|
||||
type: 'string',
|
||||
first: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue