fix: bug#10433、10428、10426

This commit is contained in:
JiangQiming 2023-03-15 18:09:44 +08:00
parent f8906faa11
commit 54493d025f
6 changed files with 12 additions and 2 deletions

View File

@ -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,

View File

@ -176,6 +176,7 @@ const columns = [
key: 'name',
search: {
type: 'string',
first: true,
},
},
{

View File

@ -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: [

View File

@ -141,6 +141,7 @@ const columns = [
key: 'name',
search: {
type: 'string',
first: true,
},
},
{

View File

@ -148,6 +148,7 @@ const columns = [
key: 'name',
search: {
type: 'string',
first: true,
},
},
{

View File

@ -168,6 +168,7 @@ const columns = [
key: 'name',
search: {
type: 'string',
first: true,
},
},
{