@@ -99,16 +92,15 @@ const tableOptions = reactive({
width: 200,
dictType: 'dict_type'
},
+ {
+ field: 'createDate',
+ label: '创建时间'
+ },
{
field: 'remarks',
label: '备注',
width: 200
},
- {
- field: 'sort',
- label: '排序',
- width: 100
- },
{
label: '操作',
type: 'btns',
@@ -161,7 +153,6 @@ const dialogTitle = ref('')
const rules = reactive({
dictType: [{ required: true, message: '请输入标签', trigger: 'change' }],
type: [{ required: true, message: '请输入类型', trigger: 'change' }],
- sort: [{ required: true, message: '请输入排序', trigger: 'change' }],
descRibe: [{ required: true, message: '请输入描述', trigger: 'change' }]
})
const table = ref()
@@ -174,7 +165,6 @@ function getTemp() {
id: '',
dictType: '',
type: '',
- sort: 0,
descRibe: '',
remarks: ''
}
@@ -184,15 +174,8 @@ function reloadTable() {
table.value.reload()
}
-function getSort() {
- proxy.$get('/system/dict/sort').then(res => {
- temp.value.sort = res.data
- })
-}
-
function handleCreate() {
temp.value = getTemp()
- getSort()
dialogTitle.value = '添加'
dictDialog.value.show()
nextTick(() => {
diff --git a/magic-boot-ui/src/views/system/menu/menu-list.vue b/magic-boot-ui/src/views/system/menu/menu-list.vue
index 9d5a304..6fc7b01 100644
--- a/magic-boot-ui/src/views/system/menu/menu-list.vue
+++ b/magic-boot-ui/src/views/system/menu/menu-list.vue
@@ -84,7 +84,7 @@ const tableOptions = reactive({
},
{
field: 'sort',
- label: '序号',
+ label: '排序',
width: 60
},
{
diff --git a/magic-boot-ui/src/views/system/office/office-list.vue b/magic-boot-ui/src/views/system/office/office-list.vue
index 50a76f8..9aa7fd1 100644
--- a/magic-boot-ui/src/views/system/office/office-list.vue
+++ b/magic-boot-ui/src/views/system/office/office-list.vue
@@ -10,7 +10,7 @@
-
+
@@ -114,7 +114,7 @@ const tableOptions = reactive({
},
{
field: 'sort',
- label: '序号',
+ label: '排序',
width: 60
},
{