diff --git a/.env b/.env index 0029708..fa6d7e5 100644 --- a/.env +++ b/.env @@ -1,3 +1,4 @@ -VUE_APP_API_HOST=127.0.0.1:8000 +VUE_APP_API_HOST=192.168.100.82:8888 + VUE_APP_TITLE=管理平台 VUE_APP_TITLE_EN=PROJECT PACKAGE MANAGER \ No newline at end of file diff --git a/src/utils/Url.ts b/src/utils/Url.ts index d32fdcf..b60be02 100644 --- a/src/utils/Url.ts +++ b/src/utils/Url.ts @@ -14,6 +14,7 @@ export default class Url { static readonly ALLOT_NODE_GROUP : string = "allot-node-group/%d"; static readonly ALLOT_MENU : string = "allot-menu/%d"; static readonly UPDATE_NICKNAME : string = "update-nickname"; + static readonly UPDATE_EMAIL : string = "update-email/%d"; // TODO 菜单 static readonly MENUS : string = "menu"; @@ -43,7 +44,10 @@ export default class Url { static readonly DELETE_APPLY : string = "apply/%d"; static readonly APPLY_PASS : string = "apply/pass/%d"; static readonly APPLY_NO_PASS : string = "apply/no-pass/%d"; + static readonly APPLY_PASS_FINAL : string = "apply/pass-final/%d"; + static readonly APPLY_NO_PASS_FINAL : string = "apply/no-pass-final/%d"; static readonly EXECUTE_APPLY : string = "apply/execute/%d"; + static readonly REJECT_APPLY : string = "apply/reject/%d"; } diff --git a/src/views/home/Common/Types.ts b/src/views/home/Common/Types.ts index 14de89f..fb2cef6 100644 --- a/src/views/home/Common/Types.ts +++ b/src/views/home/Common/Types.ts @@ -33,7 +33,8 @@ export interface ApplyInterface{ item_id : number; reason : string; send_account : string; - state : number; + audit_state_one : number; + audit_state_two : number; unikey : string; execute_state ?: number; } diff --git a/src/views/home/pages/apply/apple.vue b/src/views/home/pages/apply/apple.vue index 00163f9..942a560 100644 --- a/src/views/home/pages/apply/apple.vue +++ b/src/views/home/pages/apply/apple.vue @@ -6,14 +6,29 @@ -