Kaynağa Gözat

设定分组人刷新

master
wwp 2 ay önce
ebeveyn
işleme
e18112a731
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      SafeCampus.WEB/src/views/monitor/live/index.vue

+ 5
- 1
SafeCampus.WEB/src/views/monitor/live/index.vue Dosyayı Görüntüle

@@ -396,6 +396,10 @@ async function onDelete(ids: string[], msg: string) {
function RefreshTable() { function RefreshTable() {
proTable.value?.refresh(); proTable.value?.refresh();
} }
function RefreshTables() {
proTable.value?.refresh();
getGroupList();
}
// 表单引用 // 表单引用
const formRef = ref<InstanceType<typeof Form> | null>(null); const formRef = ref<InstanceType<typeof Form> | null>(null);
/** /**
@@ -416,7 +420,7 @@ const userFormRef = ref<InstanceType<typeof Form> | null>(null);
* @param record 记录 * @param record 记录
*/ */
function pushPerson(opt: FormOptEnum, record: {} | SysOrg.SysOrgInfo = {}) { function pushPerson(opt: FormOptEnum, record: {} | SysOrg.SysOrgInfo = {}) {
userFormRef.value?.onOpen({ opt: opt, record: record, successful: RefreshTable });
userFormRef.value?.onOpen({ opt: opt, record: record, successful: RefreshTables });
} }
// 详情数据 // 详情数据
// let detailData: globalThis.Ref<{}> // let detailData: globalThis.Ref<{}>


Yükleniyor…
İptal
Kaydet