diff --git a/src/api/dictionary.ts b/src/api/dictionary.ts index efdd2d3dbbc8279cc9be96bf9ebcc2514237a1c1..5aeff5f61687220af0258729433a22a70a3ebf92 100644 --- a/src/api/dictionary.ts +++ b/src/api/dictionary.ts @@ -5,7 +5,7 @@ const Api = { list: '/api/dictionary/getList', add: '/api/dictionary/add', update: '/api/dictionary/update', - remove: '/api/dictionary/remove', + delete: '/api/dictionary/delete', } export const getDictionaryList = ( dicTypeId: string @@ -32,11 +32,11 @@ export const updateDictionary = (data: Dictionary) => { data, }) } -export const removeDictionary = (id: string) => { +export const deleteDictionary = (id: string) => { return request({ - url: Api.remove, + url: Api.delete, method: 'POST', - params: { + data: { id, }, }) diff --git a/src/api/dictionaryType.ts b/src/api/dictionaryType.ts index 388e1baaa69a242f9ba433423f979237b52b0c30..a9f399c3deafe041e76bcd6f54c1e13a5e5f6298 100644 --- a/src/api/dictionaryType.ts +++ b/src/api/dictionaryType.ts @@ -5,7 +5,7 @@ const Api = { list: '/api/dictionaryType/getList', add: '/api/dictionaryType/add', update: '/api/dictionaryType/update', - remove: '/api/dictionaryType/remove', + delete: '/api/dictionaryType/delete', } export const getDictionaryTypeList = (): Promise< QuickResponseData> @@ -30,11 +30,11 @@ export const updateDictionaryType = (data: DictionaryType) => { data, }) } -export const removeDictionaryType = (id: string) => { +export const deleteDictionaryType = (id: string) => { return request({ - url: Api.remove, + url: Api.delete, method: 'POST', - params: { + data: { id, }, }) diff --git a/src/api/user.ts b/src/api/user.ts index c553b1b697b3ce0361f8e97aed989226256ba407..636bbc770ac2734a338a8fa64972dd14b63fbb5d 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -7,8 +7,8 @@ const Api = { info: '/api/user/getInfo', add: '/api/user/add', update: '/api/user/update', - remove: '/api/user/remove', - batchRemoveUser: '/api/user/batchRemove', + delete: '/api/user/delete', + batchDeleteUser: '/api/user/batchRemove', resetPassword: '/api/user/resetPassword', enabled: '/api/user/enabled', disable: '/api/user/disable', @@ -53,18 +53,18 @@ export const updateUser = (data: User) => { data, }) } -export const removeUser = (id: string) => { +export const deleteUser = (id: string) => { return request({ - url: Api.remove, + url: Api.delete, method: 'POST', data: { id, }, }) } -export const batchRemoveUser = (ids: string) => { +export const batchDeleteUser = (ids: string) => { return request({ - url: Api.batchRemoveUser, + url: Api.batchDeleteUser, method: 'POST', data: { ids, diff --git a/src/assets/audios/order.mp3 b/src/assets/audios/order.mp3 deleted file mode 100644 index f67c4e9569c9471f4412fd246e1d42c35f3b42f6..0000000000000000000000000000000000000000 Binary files a/src/assets/audios/order.mp3 and /dev/null differ diff --git a/src/components/QuickCode/index.vue b/src/components/QuickCode/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..22aa2e7fb920cc6790b18fccb830b1ad4dd35df3 --- /dev/null +++ b/src/components/QuickCode/index.vue @@ -0,0 +1,31 @@ + + diff --git a/src/components/QuickCrud/index.scss b/src/components/QuickCrud/index.scss deleted file mode 100644 index 119aed57fa2d396423eefa49aefe83b143c214e4..0000000000000000000000000000000000000000 --- a/src/components/QuickCrud/index.scss +++ /dev/null @@ -1,12 +0,0 @@ -.toobar { - margin-bottom: 10px; - } - .demo-pagination-block + .demo-pagination-block { - margin-top: 10px; - } - .demo-pagination-block .demonstration { - margin-bottom: 16px; - } - .el-pagination { - margin-top: 10px; - } \ No newline at end of file diff --git a/src/components/QuickCrud/index.ts b/src/components/QuickCrud/index.ts deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/src/components/QuickCrud/index.vue b/src/components/QuickCrud/index.vue index ec69731b24bdd0c6cdd2addefa33169a04421d39..773ce8da534da634a3a8019cdce78baa3502dda9 100644 --- a/src/components/QuickCrud/index.vue +++ b/src/components/QuickCrud/index.vue @@ -1,47 +1,56 @@ - diff --git a/src/components/QuickSearch/index.vue b/src/components/QuickSearch/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..583bb35f3778ef945ccfddd1c6f87eceb6efc18e --- /dev/null +++ b/src/components/QuickSearch/index.vue @@ -0,0 +1,63 @@ + + diff --git a/src/components/QuickTable/index.scss b/src/components/QuickTable/index.scss deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/src/components/QuickTable/index.ts b/src/components/QuickTable/index.ts deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/src/components/QuickTable/index.vue b/src/components/QuickTable/index.vue index 0abcd3ab1cad4714d67884217044146773bcccd1..20d89e46b530d95f3689a0877f4046161f398fe3 100644 --- a/src/components/QuickTable/index.vue +++ b/src/components/QuickTable/index.vue @@ -1,7 +1,9 @@