diff --git a/public/images/apply/1.png b/public/images/apply/1.png new file mode 100644 index 00000000..c0384917 Binary files /dev/null and b/public/images/apply/1.png differ diff --git a/public/images/apply/2.png b/public/images/apply/2.png new file mode 100644 index 00000000..591b47ff Binary files /dev/null and b/public/images/apply/2.png differ diff --git a/public/images/apply/3.png b/public/images/apply/3.png new file mode 100644 index 00000000..5be403ee Binary files /dev/null and b/public/images/apply/3.png differ diff --git a/public/images/apply/4.png b/public/images/apply/4.png new file mode 100644 index 00000000..2c730f08 Binary files /dev/null and b/public/images/apply/4.png differ diff --git a/public/images/apply/5.png b/public/images/apply/5.png new file mode 100644 index 00000000..3929b513 Binary files /dev/null and b/public/images/apply/5.png differ diff --git a/src/api/system/apply.ts b/src/api/system/apply.ts new file mode 100644 index 00000000..f1e30331 --- /dev/null +++ b/src/api/system/apply.ts @@ -0,0 +1,9 @@ +import server from '@/utils/request'; + + +// 获取应用管理列表 +export const getApplyList_api = (data: any) => server.post(`/application/_query/`, data) +// 修改应用状态 +export const changeApplyStatus_api = (id:string,data: any) => server.put(`/application/${id}`, data) +// 删除应用 +export const delApply_api = (id:string) => server.remove(`/application/${id}`) diff --git a/src/views/system/Apply/Save/components/Does.vue b/src/views/system/Apply/Save/components/Does.vue new file mode 100644 index 00000000..e6653501 --- /dev/null +++ b/src/views/system/Apply/Save/components/Does.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/src/views/system/Apply/Save/components/FormLabel.vue b/src/views/system/Apply/Save/components/FormLabel.vue new file mode 100644 index 00000000..814de405 --- /dev/null +++ b/src/views/system/Apply/Save/components/FormLabel.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/system/Apply/Save/index.vue b/src/views/system/Apply/Save/index.vue new file mode 100644 index 00000000..8689f773 --- /dev/null +++ b/src/views/system/Apply/Save/index.vue @@ -0,0 +1,505 @@ + + + + + diff --git a/src/views/system/Apply/Save/typing.d.ts b/src/views/system/Apply/Save/typing.d.ts new file mode 100644 index 00000000..ae70211b --- /dev/null +++ b/src/views/system/Apply/Save/typing.d.ts @@ -0,0 +1,30 @@ +export type applyType = 'internal-standalone' + | 'wechat-webapp' + | 'internal-integrated' + | 'dingtalk-ent-app' + | 'third-party' + +export type formType = { + name: string; + provider: applyType; + integrationModes: string[]; + config: string; + description: string; + page: { + baseUrl:string, + routeType:'hash' | 'history' + }, + apiClient: { + baseUrl: string, + authConfig: { + type:string, + oauth2 :{ + authorizationUrl:string, + tokenUrl: string, + redirectUri:string, + clientId:string, + clientSecret:string + } + } + } +} \ No newline at end of file diff --git a/src/views/system/Apply/index.vue b/src/views/system/Apply/index.vue index 6f252d0c..aa8d8021 100644 --- a/src/views/system/Apply/index.vue +++ b/src/views/system/Apply/index.vue @@ -1,8 +1,399 @@ - + + +