mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-19 18:57:11 +08:00
refactor: 优化系统监控、代码生成、任务调度相关代码
This commit is contained in:
@@ -291,7 +291,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.logo {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
|
@@ -172,7 +172,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-form-item.arco-form-item-has-help) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
@@ -229,7 +229,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.input-width {
|
||||
width: 196px;
|
||||
}
|
||||
|
@@ -168,4 +168,4 @@ const onUpdate = async (id: string) => {
|
||||
defineExpose({ onAdd, onUpdate })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -169,4 +169,4 @@ const onUpdate = (record: DeptResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -130,4 +130,4 @@ const onUpdate = async (id: string) => {
|
||||
defineExpose({ onAdd, onUpdate })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -129,7 +129,10 @@ const reset = () => {
|
||||
|
||||
// 删除
|
||||
const onDelete = (record: DictItemResp) => {
|
||||
return handleDelete(() => deleteDictItem(record.id), { content: `是否确定删除 [${record.label}]?`, showModal: true })
|
||||
return handleDelete(() => deleteDictItem(record.id), {
|
||||
content: `是否确定删除字典「${record.label}」?`,
|
||||
showModal: true,
|
||||
})
|
||||
}
|
||||
|
||||
// 根据选中字典查询
|
||||
@@ -150,7 +153,7 @@ const onUpdate = (record: DictItemResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.page_header {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
@@ -97,4 +97,4 @@ const onUpdate = async (id: string) => {
|
||||
defineExpose({ onAdd, onUpdate })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -34,7 +34,7 @@ const onClick = (mode: string) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-menu-inner) {
|
||||
padding: 4px;
|
||||
|
||||
|
@@ -149,7 +149,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-tree-node) {
|
||||
line-height: normal;
|
||||
border-radius: var(--border-radius-medium);
|
||||
|
@@ -82,7 +82,7 @@ const close = () => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.audio-box {
|
||||
width: 300px;
|
||||
position: fixed;
|
||||
|
@@ -30,4 +30,4 @@ const form = reactive({
|
||||
defineExpose({ formRef })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -23,4 +23,4 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -16,7 +16,7 @@ import FileMain from './main/FileMain/index.vue'
|
||||
defineOptions({ name: 'SystemFile' })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.file-manage {
|
||||
flex: 1;
|
||||
padding: $margin;
|
||||
|
@@ -46,7 +46,7 @@ const onClickItem = (item: FileTypeListItem) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-card) {
|
||||
.arco-card-header {
|
||||
border-bottom-style: dashed;
|
||||
|
@@ -109,7 +109,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.statistic-space {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@@ -84,7 +84,7 @@ const handleRightMenuClick = (mode: string, item: FileItem) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.file-grid {
|
||||
flex: 1;
|
||||
margin-top: 12px;
|
||||
|
@@ -32,7 +32,7 @@ const getFileImg = computed<string>(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.file-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@@ -115,7 +115,7 @@ const handleRightMenuClick = (mode: string, item: FileItem) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-table-td .arco-table-cell) {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
|
@@ -30,7 +30,7 @@ const onClickItem = (mode: string) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.shadow {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
|
||||
border-radius: 4px;
|
||||
|
@@ -260,7 +260,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.file-main {
|
||||
height: 100%;
|
||||
background: var(--color-bg-1);
|
||||
|
@@ -246,4 +246,4 @@ const onUpdate = async (id: string) => {
|
||||
defineExpose({ onAdd, onUpdate })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -191,4 +191,4 @@ const onUpdate = (record: MenuResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -62,7 +62,7 @@ const reset = () => {
|
||||
defineExpose({ onDetail })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.arco-link {
|
||||
color: rgb(var(--gray-8));
|
||||
}
|
||||
|
@@ -96,7 +96,7 @@ onUnmounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
@@ -62,7 +62,7 @@ onUnmounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
@@ -132,4 +132,4 @@ const onDetail = (record: NoticeResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -260,7 +260,7 @@ const onOpen = async () => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
fieldset {
|
||||
padding: 15px 15px 0 15px;
|
||||
margin-bottom: 10px;
|
||||
|
@@ -66,4 +66,4 @@ const onOpen = async (id: string) => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -87,7 +87,7 @@ const onOpen = async (id: string) => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.permission :deep(.arco-descriptions-item-label-block) {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
@@ -222,7 +222,7 @@ const onOpen = async (id: string) => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
fieldset {
|
||||
padding: 15px 15px 0 15px;
|
||||
margin-bottom: 15px;
|
||||
|
@@ -158,4 +158,4 @@ const onAssign = (record: RoleResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -104,7 +104,7 @@ const columns: TableInstanceColumns[] = [
|
||||
{ title: '名称', dataIndex: 'name', slotName: 'name', width: 140, ellipsis: true, tooltip: true },
|
||||
{ title: '编码', dataIndex: 'code', ellipsis: true, tooltip: true },
|
||||
{ title: '状态', dataIndex: 'status', slotName: 'status', align: 'center' },
|
||||
{ title: '类型', dataIndex: 'type', slotName: 'type', align: 'center' },
|
||||
{ title: '类型', dataIndex: 'type', slotName: 'type', align: 'center', ellipsis: true, tooltip: true },
|
||||
{ title: '访问密钥', dataIndex: 'accessKey', ellipsis: true, tooltip: true },
|
||||
{ title: '终端节点', dataIndex: 'endpoint', ellipsis: true, tooltip: true },
|
||||
{ title: '桶名称', dataIndex: 'bucketName', ellipsis: true, tooltip: true },
|
||||
@@ -152,4 +152,4 @@ const onUpdate = (record: StorageResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -226,4 +226,4 @@ const onUpdate = async (id: string) => {
|
||||
defineExpose({ onAdd, onUpdate })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -54,4 +54,4 @@ const onOpen = async (id: string) => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -186,7 +186,7 @@ const onOpen = () => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
fieldset {
|
||||
padding: 15px 15px 0 15px;
|
||||
margin-bottom: 15px;
|
||||
|
@@ -70,4 +70,4 @@ const onOpen = (id: string) => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -89,4 +89,4 @@ const onOpen = async (id: string) => {
|
||||
defineExpose({ onOpen })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
@@ -100,7 +100,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-tree-node-title-text) {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
|
@@ -268,7 +268,7 @@ const onUpdateRole = (record: UserResp) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.page_header {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
Reference in New Issue
Block a user