From ef229a635dd15af070e1a783be5b5311f40736b9 Mon Sep 17 00:00:00 2001
From: dinglink <837816638@qq.com>
Date: Fri, 27 Mar 2020 10:04:21 +0800
Subject: [PATCH 1/9] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/AppConfig.js | 2 +-
src/forge/Merge/MergeDetail.js | 2 +-
src/forge/Order/Milepost.js | 34 +++++-----
src/forge/Order/Milepostitem.js | 106 ++++++++++++++++++++++++++++++++
src/forge/Order/order.js | 13 ++--
5 files changed, 135 insertions(+), 22 deletions(-)
create mode 100644 src/forge/Order/Milepostitem.js
diff --git a/src/AppConfig.js b/src/AppConfig.js
index 406f60226..9388b124f 100644
--- a/src/AppConfig.js
+++ b/src/AppConfig.js
@@ -39,7 +39,7 @@ if (isDev) {
}
debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
window.location.search.indexOf('debug=s') != -1 ? 'student' :
- window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || ''
+ window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin'
}
// 超管
// debugType="admin";
diff --git a/src/forge/Merge/MergeDetail.js b/src/forge/Merge/MergeDetail.js
index 225e031b2..6fbdd0659 100644
--- a/src/forge/Merge/MergeDetail.js
+++ b/src/forge/Merge/MergeDetail.js
@@ -251,7 +251,7 @@ class MergeDetail extends Component{
由 { data && data.issue.author_name} 于 { data && data.issue.created_at }创建{ data && data.issue.journals_count && data.issue.journals_count > 0 ?` · ${data.issue.journals_count} 条评论`:""}
-
+
Date: Wed, 1 Apr 2020 18:57:58 +0800
Subject: [PATCH 3/9] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 266 +++++++++++++-------------------
src/forge/Merge/MergeItem.js | 2 +-
src/forge/Merge/MessageCount.js | 10 +-
src/forge/Version/NewVersion.js | 4 +-
4 files changed, 115 insertions(+), 167 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f01b417b0..51fa0abde 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,17 +2,9 @@
-
-
-
-
-
-
-
-
-
+
@@ -23,19 +15,10 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -43,53 +26,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -100,8 +41,8 @@
-
-
+
+
@@ -109,23 +50,10 @@
-
-
-
-
-
-
-
-
-
- axios.delete
- style=
- width75f
- max-width
请输入合并
journal-list-item
issue-tag-show
@@ -146,12 +74,16 @@
Fork
forked
.OptionsUl
- deletedetail
tyle=
overflo
- orderid
<span className="span_title">里程碑</span>
<span className="span_title">里程碑
+ 分支合并到
+ Input
+ 新建标签
+ orderid
+ deletedetail
+ onMouseMove
$PROJECT_DIR$
@@ -167,7 +99,6 @@
@@ -218,6 +150,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -272,12 +222,12 @@
-
+
-
+
@@ -296,7 +246,7 @@
-
+
@@ -429,17 +379,6 @@
-
-
-
-
-
-
-
-
-
-
-
@@ -605,19 +544,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -637,16 +563,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -684,16 +600,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -732,16 +638,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -752,16 +648,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -783,10 +669,70 @@
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -795,20 +741,20 @@
-
-
+
+
-
+
-
-
+
+
-
+
diff --git a/src/forge/Merge/MergeItem.js b/src/forge/Merge/MergeItem.js
index b7bea6e03..553a4a6d7 100644
--- a/src/forge/Merge/MergeItem.js
+++ b/src/forge/Merge/MergeItem.js
@@ -63,7 +63,7 @@ class MergeItem extends Component{
}
-
+ this.onMouseMove(item.id)} onMouseOut={()=>this.onMouseOut()}>
- {this.set_issue_tags(item.issue_tags)}
{/*- {item.issue_type || "--"}
*/}
- {item.version || "--"}
diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js
index ed7cf0354..2ea07020c 100644
--- a/src/forge/Merge/MessageCount.js
+++ b/src/forge/Merge/MessageCount.js
@@ -502,11 +502,13 @@ class MessageCount extends Component{
}
{data&&data.issue.issue_status==="关闭"?"关闭中":data&&data.pull_request.status===0?"开启中":"已合并"}
-
- 请求从{data && data.pull_request.head}分支合并到{data && data.pull_request.base}分支
-
- {/* 由 { data && data.issue.author_name} 于 { data && data.issue.created_at }创建{ data && data.issue.journals_count && data.issue.journals_count > 0 ?` · ${data.issue.journals_count} 条评论`:""} */}
+
+ 由 { data && data.issue.author_name} 于 { data && data.issue.created_at }创建{ data && data.issue.journals_count && data.issue.journals_count > 0 ?` · ${data.issue.journals_count} 条评论`:""}
+
+
+ 请求从 {data && data.pull_request.head} 分支合并到 {data && data.pull_request.base} 分支
+
{
data && data.issue.user_permission ?
diff --git a/src/forge/Version/NewVersion.js b/src/forge/Version/NewVersion.js
index 350a929a4..6cda959cb 100644
--- a/src/forge/Version/NewVersion.js
+++ b/src/forge/Version/NewVersion.js
@@ -145,7 +145,7 @@ class NewVersion extends Component{
版本发布组织项目的版本。
From 3cfb5a037030195b7c9471a2cab1863fa79674af Mon Sep 17 00:00:00 2001
From: "sylor_huang@126.com"
Date: Wed, 1 Apr 2020 19:08:52 +0800
Subject: [PATCH 4/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 98 +++++++++++++++++++-----------
src/forge/Version/UpdateVersion.js | 2 +-
2 files changed, 62 insertions(+), 38 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 51fa0abde..86b49613c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,9 +2,7 @@
-
-
-
+
@@ -18,7 +16,7 @@
-
+
@@ -26,11 +24,11 @@
-
+
-
-
+
+
@@ -41,8 +39,32 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -130,6 +152,7 @@
+
@@ -166,7 +189,7 @@
-
+
@@ -222,12 +245,12 @@
-
+
-
+
@@ -246,7 +269,7 @@
-
+
@@ -308,15 +331,6 @@
-
-
-
-
-
-
-
-
-
@@ -712,23 +726,13 @@
-
+
-
-
-
-
-
-
-
-
-
-
@@ -741,8 +745,8 @@
-
-
+
+
@@ -751,8 +755,28 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/forge/Version/UpdateVersion.js b/src/forge/Version/UpdateVersion.js
index 07c82b3ec..6f873cbc4 100644
--- a/src/forge/Version/UpdateVersion.js
+++ b/src/forge/Version/UpdateVersion.js
@@ -152,7 +152,7 @@ class NewVersion extends Component{
initialValue:this.state.data&&this.state.data.name
})(
-
+
)}
From aae855bda50f312cb23e54de84a0974d2c416fc4 Mon Sep 17 00:00:00 2001
From: "sylor_huang@126.com"
Date: Thu, 2 Apr 2020 10:09:38 +0800
Subject: [PATCH 5/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 88 ++++++++++++++++++++-------------
src/forge/Branch/branch.css | 2 +-
src/forge/Merge/MessageCount.js | 2 +-
3 files changed, 57 insertions(+), 35 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 86b49613c..e1e91cf60 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,7 +2,8 @@
-
+
+
@@ -28,7 +29,7 @@
-
+
@@ -40,7 +41,7 @@
-
+
@@ -60,11 +61,11 @@
-
+
-
-
+
+
@@ -72,6 +73,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -141,7 +163,6 @@
-
@@ -149,10 +170,11 @@
-
+
+
@@ -189,7 +211,7 @@
-
+
@@ -245,12 +267,12 @@
-
+
-
+
@@ -269,7 +291,7 @@
-
+
@@ -634,13 +656,6 @@
-
-
-
-
-
-
-
@@ -693,16 +708,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -746,7 +751,7 @@
-
+
@@ -756,7 +761,7 @@
-
+
@@ -775,13 +780,30 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/forge/Branch/branch.css b/src/forge/Branch/branch.css
index f9c4dbd5b..5f9ae58f6 100644
--- a/src/forge/Branch/branch.css
+++ b/src/forge/Branch/branch.css
@@ -17,7 +17,7 @@
box-shadow: 0px 0px 1px 1px rgba(134, 134, 134, 0.1);
border-radius: 3px;
background: #fff;
- max-height: 200px;
+ max-height: 300px;
}
.OptionsUl{
max-height: 200px;
diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js
index 2ea07020c..69c364ab4 100644
--- a/src/forge/Merge/MessageCount.js
+++ b/src/forge/Merge/MessageCount.js
@@ -502,7 +502,7 @@ class MessageCount extends Component{
}
{data&&data.issue.issue_status==="关闭"?"关闭中":data&&data.pull_request.status===0?"开启中":"已合并"}
-
+
由 { data && data.issue.author_name} 于 { data && data.issue.created_at }创建{ data && data.issue.journals_count && data.issue.journals_count > 0 ?` · ${data.issue.journals_count} 条评论`:""}
From 65df8b01466c6de5c2bbbbc44112cb0db19b1fef Mon Sep 17 00:00:00 2001
From: "sylor_huang@126.com"
Date: Thu, 2 Apr 2020 11:00:53 +0800
Subject: [PATCH 6/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=88=E5=B9=B6?=
=?UTF-8?q?=E8=AF=B7=E6=B1=82=E7=9A=84=E6=8F=8F=E8=BF=B0=E4=B8=BAtextarea?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 126 +++++++-------------------------
src/forge/Merge/MessageCount.js | 33 +++++----
2 files changed, 45 insertions(+), 114 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e1e91cf60..b73c5f511 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,7 +2,6 @@
-
@@ -13,80 +12,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -98,8 +28,6 @@
- 请输入合并
- journal-list-item
issue-tag-show
创建
.map((item,key)=>{
@@ -128,6 +56,8 @@
orderid
deletedetail
onMouseMove
+ commitKey
+ TextArea
$PROJECT_DIR$
@@ -267,18 +197,18 @@
-
+
-
+
-
+
@@ -291,7 +221,7 @@
-
+
@@ -609,23 +539,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -791,14 +704,31 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js
index 69c364ab4..201b9c4c3 100644
--- a/src/forge/Merge/MessageCount.js
+++ b/src/forge/Merge/MessageCount.js
@@ -11,7 +11,7 @@ import './merge.css';
import QuillForEditor from '../quillForEditor';
import MergeSubmit from './MergeSubmit';
-// const TextArea = Input.TextArea;
+const TextArea = Input.TextArea;
const options = [
['bold', 'italic', 'underline'],
@@ -20,6 +20,7 @@ const options = [
['link', 'image'],
['formula']
];
+
class MessageCount extends Component{
constructor(props){
super(props);
@@ -566,21 +567,21 @@ class MessageCount extends Component{
-
-
-
- {/*
*/}
+ {/*
*/}
+ {/**/}
+ {/*
*/}
+
this.prmerge()}>合并请求
From bc496c6d8b202be053a66247765668b641b6256a Mon Sep 17 00:00:00 2001
From: "sylor_huang@126.com"
Date: Thu, 2 Apr 2020 11:27:46 +0800
Subject: [PATCH 7/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9pr=E7=9A=84=E6=8F=8F?=
=?UTF-8?q?=E8=BF=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 21 +++++++++++----------
src/forge/Merge/MessageCount.js | 6 +++---
2 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b73c5f511..b424df457 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,6 +2,7 @@
+
@@ -15,8 +16,8 @@
-
-
+
+
@@ -28,12 +29,10 @@
- issue-tag-show
创建
.map((item,key)=>{
.map((item,key)
评论成
- 该合并请求可以进行自动合并操作
没有
创建工单
可读权限
@@ -58,6 +57,8 @@
onMouseMove
commitKey
TextArea
+ 该合并请求可以进行自动合并操作
+ body
$PROJECT_DIR$
@@ -197,12 +198,12 @@
-
+
-
+
@@ -220,8 +221,8 @@
-
-
+
+
@@ -727,8 +728,8 @@
-
-
+
+
diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js
index 201b9c4c3..f3aa818c8 100644
--- a/src/forge/Merge/MessageCount.js
+++ b/src/forge/Merge/MessageCount.js
@@ -183,7 +183,7 @@ class MessageCount extends Component{
project_id:projectsId,
id:data.pull_request.id,
do:mergekey,
- body:JSON.stringify(body),
+ body:body,
title:title,
}).then(result=>{
if(result){
@@ -378,7 +378,7 @@ class MessageCount extends Component{
render(){
const { projectsId,mergeId } = this.props.match.params;
- const { data,journalsdata, page, limit, search_count, isSpin, isedit, showFiles , commentsContent , quillFlag } = this.state;
+ const { data,journalsdata, page, limit, search_count, isSpin, isedit, showFiles , commentsContent , quillFlag, body } = this.state;
const { getFieldDecorator } = this.props.form;
const { current_user } = this.props;
const url = this.props.history.location.pathname;
@@ -581,7 +581,7 @@ class MessageCount extends Component{
{/*onContentChange={this.changbodypr}*/}
{/*/>*/}
{/**/}
-
+
this.prmerge()}>合并请求
From dc01557c591c16c77ad90b20003548860337bebb Mon Sep 17 00:00:00 2001
From: "sylor_huang@126.com"
Date: Thu, 2 Apr 2020 11:38:51 +0800
Subject: [PATCH 8/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9pr=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E4=B8=BAtextarea?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 25 +++++++++++--------------
src/forge/Merge/MessageCount.js | 8 ++++----
2 files changed, 15 insertions(+), 18 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b424df457..341caf23a 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,10 +1,7 @@
-
-
-
-
+
@@ -16,8 +13,8 @@
-
-
+
+
@@ -57,8 +54,8 @@
onMouseMove
commitKey
TextArea
- 该合并请求可以进行自动合并操作
body
+ 该合并请求可以进行自动合并操作
$PROJECT_DIR$
@@ -198,18 +195,18 @@
-
+
-
+
-
+
@@ -221,8 +218,8 @@
-
-
+
+
@@ -728,8 +725,8 @@
-
-
+
+
diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js
index f3aa818c8..60743728f 100644
--- a/src/forge/Merge/MessageCount.js
+++ b/src/forge/Merge/MessageCount.js
@@ -251,9 +251,9 @@ class MessageCount extends Component{
})
}
- changbodypr=(value)=>{
+ changbodypr=(e)=>{
this.setState({
- body:value
+ body:e.target.value
})
}
editdetail=(count,status)=>{
@@ -378,7 +378,7 @@ class MessageCount extends Component{
render(){
const { projectsId,mergeId } = this.props.match.params;
- const { data,journalsdata, page, limit, search_count, isSpin, isedit, showFiles , commentsContent , quillFlag, body } = this.state;
+ const { data,journalsdata, page, limit, search_count, isSpin, isedit, showFiles , commentsContent , quillFlag } = this.state;
const { getFieldDecorator } = this.props.form;
const { current_user } = this.props;
const url = this.props.history.location.pathname;
@@ -581,7 +581,7 @@ class MessageCount extends Component{
{/*onContentChange={this.changbodypr}*/}
{/*/>*/}
{/**/}
-
+
this.prmerge()}>合并请求
From dc00ffc34bb683cdb8f23bd7491e4ceefb53c06d Mon Sep 17 00:00:00 2001
From: "sylor_huang@126.com"
Date: Thu, 2 Apr 2020 13:35:56 +0800
Subject: [PATCH 9/9] build
---
.idea/workspace.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 341caf23a..e81ee7eb6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -13,8 +13,8 @@
-
-
+
+
@@ -26,8 +26,6 @@
- 创建
- .map((item,key)=>{
.map((item,key)
评论成
没有
@@ -56,6 +54,8 @@
TextArea
body
该合并请求可以进行自动合并操作
+ title
+ changbodypr
$PROJECT_DIR$
@@ -195,12 +195,12 @@
-
+
-
+
@@ -218,8 +218,8 @@
-
-
+
+
@@ -725,8 +725,8 @@
-
-
+
+