优化KPI展示
This commit is contained in:
@@ -131,6 +131,9 @@ type TabeStateType = {
|
||||
selectedRowKeys: (string | number)[];
|
||||
};
|
||||
|
||||
//是否显示type框
|
||||
const drawerVisible = ref(true);
|
||||
|
||||
/**表格状态 */
|
||||
let tableState: TabeStateType = reactive({
|
||||
loading: false,
|
||||
@@ -502,9 +505,11 @@ onMounted(() => {
|
||||
message.error(t('views.system.dictData.typeDataErr'), 3);
|
||||
}
|
||||
});
|
||||
drawerVisible.value = true;
|
||||
} else {
|
||||
// 获取列表数据
|
||||
fnGetList();
|
||||
drawerVisible.value = false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -881,7 +886,7 @@ onMounted(() => {
|
||||
default-value="sys_oper_type"
|
||||
:placeholder="t('common.selectPlease')"
|
||||
:options="dict.sysDictType"
|
||||
:disabled="true"
|
||||
:disabled="drawerVisible"
|
||||
>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
|
||||
Reference in New Issue
Block a user