diff --git a/src/api/account/sysUser.ts b/src/api/account/sysUser.ts index 94fbb9d..649a14d 100644 --- a/src/api/account/sysUser.ts +++ b/src/api/account/sysUser.ts @@ -18,9 +18,8 @@ const API = { }, delete(data: any) { return request({ - url: `${baseURL}`, + url: `${baseURL}?id=${data}`, method: "delete", - data: data, }); }, add(data: any) { @@ -42,7 +41,8 @@ const API = { return request({ url: `${baseURL}/download`, method: "get", - params + params, + responseType: "blob", }); }, pwd(data: any) { @@ -52,6 +52,7 @@ const API = { data }); } + , } export default API; diff --git a/src/views/application/list/advertisement/indexconfig/component/Paging.vue b/src/components/mycomponents/myPaging.vue similarity index 100% rename from src/views/application/list/advertisement/indexconfig/component/Paging.vue rename to src/components/mycomponents/myPaging.vue diff --git a/src/views/admin/system/user/index.vue b/src/views/admin/system/user/index.vue index 41a40c8..3995b95 100644 --- a/src/views/admin/system/user/index.vue +++ b/src/views/admin/system/user/index.vue @@ -1 +1,12 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/admin/system/user/indexconfig/Content.vue b/src/views/admin/system/user/indexconfig/Content.vue new file mode 100644 index 0000000..c468042 --- /dev/null +++ b/src/views/admin/system/user/indexconfig/Content.vue @@ -0,0 +1,283 @@ + + + \ No newline at end of file diff --git a/src/views/admin/system/user/indexconfig/Search.vue b/src/views/admin/system/user/indexconfig/Search.vue new file mode 100644 index 0000000..c49f384 --- /dev/null +++ b/src/views/admin/system/user/indexconfig/Search.vue @@ -0,0 +1,63 @@ + + + + + diff --git a/src/views/admin/system/user/indexconfig/component/AddButton.vue b/src/views/admin/system/user/indexconfig/component/AddButton.vue new file mode 100644 index 0000000..3bf6b8d --- /dev/null +++ b/src/views/admin/system/user/indexconfig/component/AddButton.vue @@ -0,0 +1,13 @@ + + \ No newline at end of file diff --git a/src/views/admin/system/user/indexconfig/component/Table.vue b/src/views/admin/system/user/indexconfig/component/Table.vue new file mode 100644 index 0000000..1ac6aef --- /dev/null +++ b/src/views/admin/system/user/indexconfig/component/Table.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/views/application/list/advertisement/indexconfig/Content.vue b/src/views/application/list/advertisement/indexconfig/Content.vue index cdd4286..01578a1 100644 --- a/src/views/application/list/advertisement/indexconfig/Content.vue +++ b/src/views/application/list/advertisement/indexconfig/Content.vue @@ -58,7 +58,7 @@ \ No newline at end of file diff --git a/src/views/application/list/storingWine/storingWineconfig/Winerecordconfig/Content.vue b/src/views/application/list/storingWine/storingWineconfig/Winerecordconfig/Content.vue index 875ca4b..974b6fb 100644 --- a/src/views/application/list/storingWine/storingWineconfig/Winerecordconfig/Content.vue +++ b/src/views/application/list/storingWine/storingWineconfig/Winerecordconfig/Content.vue @@ -51,7 +51,7 @@ \ No newline at end of file diff --git a/src/views/application/marketing/points/pointsconfig/Memberpointsconfig/Content.vue b/src/views/application/marketing/points/pointsconfig/Memberpointsconfig/Content.vue index ea94955..8c8b331 100644 --- a/src/views/application/marketing/points/pointsconfig/Memberpointsconfig/Content.vue +++ b/src/views/application/marketing/points/pointsconfig/Memberpointsconfig/Content.vue @@ -9,7 +9,7 @@ \ No newline at end of file diff --git a/src/views/application/marketing/points/pointsconfig/ProductSettingsconfig/Content.vue b/src/views/application/marketing/points/pointsconfig/ProductSettingsconfig/Content.vue index 298706c..e3b5734 100644 --- a/src/views/application/marketing/points/pointsconfig/ProductSettingsconfig/Content.vue +++ b/src/views/application/marketing/points/pointsconfig/ProductSettingsconfig/Content.vue @@ -63,7 +63,7 @@ \ No newline at end of file diff --git a/src/views/application/marketing/points/pointsconfig/exchangerecordsconfig/Content.vue b/src/views/application/marketing/points/pointsconfig/exchangerecordsconfig/Content.vue index 41c806d..e73c318 100644 --- a/src/views/application/marketing/points/pointsconfig/exchangerecordsconfig/Content.vue +++ b/src/views/application/marketing/points/pointsconfig/exchangerecordsconfig/Content.vue @@ -26,7 +26,7 @@ \ No newline at end of file diff --git a/src/views/mytemplate/indexconfig/Content.vue b/src/views/mytemplate/indexconfig/Content.vue index 67b4d82..69cb839 100644 --- a/src/views/mytemplate/indexconfig/Content.vue +++ b/src/views/mytemplate/indexconfig/Content.vue @@ -53,7 +53,7 @@ \ No newline at end of file diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 3e1999a..3caba7b 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -236,7 +236,7 @@ function createItem(val: IObject) { // 上架 function handleSwitchChange(data: any) { let obj = { - type: data.isGrounding ? "sku" : "product", + type: data.productId ? "sku" : "product", id: data.id, isSale: data.isSale, }; diff --git a/src/views/user/active/indexconfig/Content.vue b/src/views/user/active/indexconfig/Content.vue index d63b856..61fd6d5 100644 --- a/src/views/user/active/indexconfig/Content.vue +++ b/src/views/user/active/indexconfig/Content.vue @@ -58,7 +58,7 @@ \ No newline at end of file