diff --git a/src/api/system/level.ts b/src/api/system/level.ts index 72615ef..80a592c 100644 --- a/src/api/system/level.ts +++ b/src/api/system/level.ts @@ -64,4 +64,14 @@ export function levelBatchDelete(data:any) { method: 'DELETE', data }); +} +/** + * @description: 导出职级 + */ +export function levelExport() { + return http.request({ + url: '/level/export', + method: 'GET', + responseType: 'blob' + }); } \ No newline at end of file diff --git a/src/views/data/param/edit.vue b/src/views/data/param/edit.vue index 2734c70..da0b0ab 100644 --- a/src/views/data/param/edit.vue +++ b/src/views/data/param/edit.vue @@ -36,6 +36,18 @@ clearable /> + + + 正常 @@ -72,7 +84,7 @@ const formData = reactive({ id: "", name: "", code:'', - type:'', + value:'', status: 1, sort: 0, note:'', diff --git a/src/views/system/level/columns.ts b/src/views/system/level/columns.ts index 3385421..74e3008 100644 --- a/src/views/system/level/columns.ts +++ b/src/views/system/level/columns.ts @@ -19,7 +19,7 @@ export const columns = [ type: record.row.status ==1 ? 'success' : 'danger', }, { - default: () => (record.row.status ==1 ? '正常' : '禁用'), + default: () => (record.row.status ==1 ? '正常' : '停用'), }, ); }, diff --git a/src/views/system/level/edit.vue b/src/views/system/level/edit.vue index 0ca2f93..9a129bf 100644 --- a/src/views/system/level/edit.vue +++ b/src/views/system/level/edit.vue @@ -27,15 +27,12 @@ 正常 - 禁用 + 停用 - - -