定义DevOps工作流,帮助您检测bug、发布代码…
diff --git a/src/forge/DevOps/ops.scss b/src/forge/DevOps/ops.scss
index 15ba0c60..6e0c4fa1 100644
--- a/src/forge/DevOps/ops.scss
+++ b/src/forge/DevOps/ops.scss
@@ -124,10 +124,6 @@
}
}
-.flags{
- border: 1px solid red;
- border-radius: 5px;
-}
// ops详情
.opsDetailPanel{
height: 100vh;
diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js
index 96eab7b4..74757c80 100644
--- a/src/forge/Main/Detail.js
+++ b/src/forge/Main/Detail.js
@@ -505,7 +505,7 @@ class Detail extends Component {
}
- 工作流
+ 工作流(beta版)
{projectDetail && projectDetail.ops_count ? {projectDetail.ops_count} : ""}
diff --git a/src/forge/users/CIdispose.jsx b/src/forge/users/CIdispose.jsx
index 8e87ace3..a0ec8f37 100644
--- a/src/forge/users/CIdispose.jsx
+++ b/src/forge/users/CIdispose.jsx
@@ -3,6 +3,8 @@ import { Button , Modal , Form , Input } from 'antd';
import { AlignCenter } from '../Component/layout';
import axios from 'axios';
import Modals from '../Component/Modal';
+import PasswordAuthority from '../Component/PasswordAuthority';
+import { func } from 'prop-types';
const TIPS = "解除CI服务器绑定后,您所有的项目构建数据将被清空。确定解除绑定?";
function CIdispose(props){
@@ -13,6 +15,7 @@ function CIdispose(props){
const [ ci_certification, setCi_certification ] = useState(false);
const [ btnLoading , setBtnLoading ] = useState(false);
+ const [ authorityValBox , setAuthorityValBox] = useState(false);
const { form: { getFieldDecorator, validateFields , setFieldsValue } } = props;
const helper = useCallback(
@@ -92,8 +95,18 @@ function CIdispose(props){
})
}
+ function okAuthority(){
+ setAuthorityValBox(false);
+ getInit();
+ }
+
+ function cancelAuthority(){
+ setAuthorityValBox(false);
+ }
+
return(
+
{ step === 0 && }
- { step > 0 && !ci_certification && }
+ { step > 0 && !ci_certification && }
{ step >= 1 && }