From 34268d80a7ed3fc97f97de3e555f8b8aa44d96b1 Mon Sep 17 00:00:00 2001 From: song Date: Tue, 31 Aug 2021 16:08:26 +0800 Subject: [PATCH] first commit --- rest/project.http | 59 ++-- src/App.vue | 15 +- src/components/HeadNav/HeadNav.vue | 6 +- src/components/List/List.vue | 251 ++++++++-------- src/components/MemberPicker/MemberPicker.vue | 17 +- src/components/TimePicker/TimePicker.vue | 10 + src/config/api-user.js | 8 + src/config/api.js | 14 +- src/store/modules/home/actions.js | 117 +------- src/store/modules/home/mutations.js | 295 +------------------ src/store/modules/home/state.js | 61 +--- src/store/modules/user/actions.js | 27 +- src/store/modules/user/mutations.js | 9 - src/store/modules/user/state.js | 1 - src/views/FirstPage/FirstPage.vue | 10 +- 15 files changed, 267 insertions(+), 633 deletions(-) create mode 100644 src/config/api-user.js diff --git a/rest/project.http b/rest/project.http index 96b419b..9bdbc91 100644 --- a/rest/project.http +++ b/rest/project.http @@ -1,54 +1,39 @@ -# @tall = {{url}}/tall/v1.0 -@tall = https://www.tall.wiki/gateway/tall/v1.0 -@greenvalley = http://www.sxwikionline.com/gateway/greenvalley -@type = content-type: application/json;charset=utf-8 ### login - # @name login -POST {{tall}}/users/signin -{{type}} +POST https://www.tall.wiki/gateway/tall/v1.0/users/signin +content-type: application/json;charset=utf-8 { "client": 1, - "type": 3, "data": { - "identifier": "whj", - "credential": "123456" - } + "credential": "123456", + "identifier": "zy11" + }, + "scene": 0, + "type": 3 } -### send code -GET {{tall}}/users/smscode?phone=16603418748 +### 导入插件 +# POST http://127.0.0.1:7220/plugin/import +POST http://www.tall.wiki/gateway/pluginshop/plugin/import +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW +Authorization: Bearer {{login.response.body.$.data.token}} -### phone login +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="param"; filename="插件导入表格.xlsx" +Content-Type: xlsx -# @name phonelogin -POST {{tall}}/users/signin -{{type}} +< E:\ccsens\plugins\插件导入表格.xlsx -{ - "client": 1, - "type": 1, - "data": { - "identifier": "16603418748", - "credential": "1111" - } -} +------WebKitFormBoundary7MA4YWxkTrZu0gW-- -### 根据团队id查看研发团队相关信息 -POST {{greenvalley}}/business/frontSearchCompany -{{type}} -Authorization: Bearer {{login.response.body.$.data.token}} -{ - "param": { - "pageNum": 1, - "pageSize": 5, - "type": 2, - "typeOfPlatform": 2, - } -} +### 更新redis内的插件信息 +POST http://www.tall.wiki/gateway/pluginshop/plugin/updatePluginOfRedis +content-type: application/json;charset=utf-8 +Authorization: Bearer {{login.response.body.$.data.token}} diff --git a/src/App.vue b/src/App.vue index 5cbb4b3..bf233bf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,6 +6,7 @@ diff --git a/src/components/HeadNav/HeadNav.vue b/src/components/HeadNav/HeadNav.vue index c54b5c3..cbd2952 100644 --- a/src/components/HeadNav/HeadNav.vue +++ b/src/components/HeadNav/HeadNav.vue @@ -1,6 +1,6 @@