mirror of https://github.com/certd/certd
chore: env
parent
e85b4da2e3
commit
f9ff9191a1
|
@ -136,14 +136,15 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
min-width: 260px;
|
min-width: 300px;
|
||||||
|
width: 94%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin: 48px 0 24px;
|
margin: 24px 0 24px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
.links {
|
.links {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { request } from "/src/api/service";
|
||||||
|
|
||||||
const apiPrefix = "/pi/history";
|
const apiPrefix = "/pi/history";
|
||||||
|
|
||||||
export function GetList(query: any) {
|
export async function GetList(query: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/page",
|
url: apiPrefix + "/page",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -10,7 +10,7 @@ export function GetList(query: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function AddObj(obj: any) {
|
export async function AddObj(obj: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/add",
|
url: apiPrefix + "/add",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -18,7 +18,7 @@ export function AddObj(obj: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function UpdateObj(obj: any) {
|
export async function UpdateObj(obj: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/update",
|
url: apiPrefix + "/update",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -26,7 +26,7 @@ export function UpdateObj(obj: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function DelObj(id: any) {
|
export async function DelObj(id: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/delete",
|
url: apiPrefix + "/delete",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -34,7 +34,7 @@ export function DelObj(id: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetObj(id: any) {
|
export async function GetObj(id: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/info",
|
url: apiPrefix + "/info",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -42,7 +42,7 @@ export function GetObj(id: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetDetail(id: any) {
|
export async function GetDetail(id: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/detail",
|
url: apiPrefix + "/detail",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -50,7 +50,7 @@ export function GetDetail(id: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function DeleteBatch(ids: any[]) {
|
export async function DeleteBatch(ids: any[]) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/deleteByIds",
|
url: apiPrefix + "/deleteByIds",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { request } from "/src/api/service";
|
||||||
const apiPrefix = "/pi/pipeline";
|
const apiPrefix = "/pi/pipeline";
|
||||||
const historyApiPrefix = "/pi/history";
|
const historyApiPrefix = "/pi/history";
|
||||||
|
|
||||||
export function GetList(query: any) {
|
export async function GetList(query: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/page",
|
url: apiPrefix + "/page",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -11,7 +11,7 @@ export function GetList(query: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function AddObj(obj: any) {
|
export async function AddObj(obj: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/add",
|
url: apiPrefix + "/add",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -19,7 +19,7 @@ export function AddObj(obj: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function UpdateObj(obj: any) {
|
export async function UpdateObj(obj: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/update",
|
url: apiPrefix + "/update",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -27,7 +27,7 @@ export function UpdateObj(obj: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function DelObj(id: any) {
|
export async function DelObj(id: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/delete",
|
url: apiPrefix + "/delete",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -35,7 +35,7 @@ export function DelObj(id: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetObj(id: any) {
|
export async function GetObj(id: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/info",
|
url: apiPrefix + "/info",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -43,7 +43,7 @@ export function GetObj(id: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GetDetail(id: any) {
|
export async function GetDetail(id: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/detail",
|
url: apiPrefix + "/detail",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -51,7 +51,7 @@ export function GetDetail(id: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function Save(pipelineEntity: any) {
|
export async function Save(pipelineEntity: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/save",
|
url: apiPrefix + "/save",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -59,7 +59,7 @@ export function Save(pipelineEntity: any) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function Trigger(id: any, stepId?: string) {
|
export async function Trigger(id: any, stepId?: string) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/trigger",
|
url: apiPrefix + "/trigger",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -67,7 +67,7 @@ export function Trigger(id: any, stepId?: string) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function Cancel(historyId: any) {
|
export async function Cancel(historyId: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/cancel",
|
url: apiPrefix + "/cancel",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|
|
@ -208,7 +208,8 @@ export default defineComponent({
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import "../../../style/theme/index.less";
|
@import "../../../style/theme/index.less";
|
||||||
.login-page.main {
|
.login-page.main {
|
||||||
margin: 20px !important;
|
//margin: 20px !important;
|
||||||
|
margin-bottom: 100px;
|
||||||
.user-layout-login {
|
.user-layout-login {
|
||||||
label {
|
label {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
|
@ -46,7 +46,7 @@ export async function GetObj(id: any) {
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
export function getPermissionIds(roleId: any) {
|
export async function getPermissionIds(roleId: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/getPermissionIds",
|
url: apiPrefix + "/getPermissionIds",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
@ -61,7 +61,7 @@ export function getPermissionIds(roleId: any) {
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
export function DoAuthz(roleId: any, permissionIds: any) {
|
export async function DoAuthz(roleId: any, permissionIds: any) {
|
||||||
return await request({
|
return await request({
|
||||||
url: apiPrefix + "/authz",
|
url: apiPrefix + "/authz",
|
||||||
method: "post",
|
method: "post",
|
||||||
|
|
Loading…
Reference in New Issue