This commit is contained in:
孟帅
2024-07-21 22:21:02 +08:00
parent 7d8330f72f
commit a37d088360
440 changed files with 6303 additions and 3339 deletions

View File

@@ -3,7 +3,7 @@
<n-drawer v-model:show="showModal" :width="dialogWidth">
<n-drawer-content title="@{.tableComment}详情" closable>
<n-spin :show="loading" description="请稍候...">
<n-descriptions label-placement="left" class="py-2" column="1">
<n-descriptions label-placement="left" class="py-2" :column="1">
@{.item}
</n-descriptions>
</n-spin>
@@ -16,11 +16,13 @@
import { computed, ref } from 'vue';
import { useMessage } from 'naive-ui';
import { View } from '@{.importWebApi}';
import { State, newState, options } from './model';
import { adaModalWidth, getOptionLabel, getOptionTag } from '@/utils/hotgo';
import { State, newState } from './model';
import { adaModalWidth } from '@/utils/hotgo';
import { getFileExt } from '@/utils/urlUtils';
@{ if eq .options.DictOps.Has true }import { useDictStore } from '@/store/modules/dict';@{end}
const message = useMessage();
@{ if eq .options.DictOps.Has true }const dict = useDictStore();@{end}
const loading = ref(false);
const showModal = ref(false);
const formValue = ref(newState(null));
@@ -34,11 +36,12 @@
};
});
//下载
// 下载
function download(url: string) {
window.open(url);
}
// 打开模态框
function openModal(state: State) {
showModal.value = true;
loading.value = true;