Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
962a3e43
Commit
962a3e43
authored
4 years ago
by
shiziyuan9527
Browse files
Options
Download
Email Patches
Plain Diff
fix(缺陷管理): 禅道模版创建缺陷报错
parent
26c9e03f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java
+4
-0
.../main/java/io/metersphere/track/issue/ZentaoPlatform.java
frontend/src/business/components/track/issue/IssueEditDetail.vue
+6
-4
...d/src/business/components/track/issue/IssueEditDetail.vue
with
10 additions
and
4 deletions
+10
-4
backend/src/main/java/io/metersphere/track/issue/ZentaoPlatform.java
+
4
-
0
View file @
962a3e43
...
...
@@ -47,6 +47,10 @@ public class ZentaoPlatform extends AbstractIssuePlatform {
public
ZentaoPlatform
(
IssuesRequest
issuesRequest
)
{
super
(
issuesRequest
);
String
config
=
getPlatformConfig
(
IssuesManagePlatform
.
Zentao
.
toString
());
// todo
if
(
StringUtils
.
isBlank
(
config
))
{
MSException
.
throwException
(
"未集成禅道平台!"
);
}
JSONObject
object
=
JSON
.
parseObject
(
config
);
this
.
account
=
object
.
getString
(
"account"
);
this
.
password
=
object
.
getString
(
"password"
);
...
...
This diff is collapsed.
Click to expand it.
frontend/src/business/components/track/issue/IssueEditDetail.vue
+
6
-
4
View file @
962a3e43
...
...
@@ -159,10 +159,12 @@ export default {
if
(
platform
===
'
Zentao
'
)
{
this
.
hasZentaoId
=
true
;
this
.
result
=
this
.
$post
(
"
/issues/zentao/builds
"
,
{
projectId
:
this
.
projectId
},
response
=>
{
this
.
Builds
=
response
.
data
;
});
this
.
result
=
this
.
$post
(
"
/issues/zentao/user
"
,
{
projectId
:
this
.
projectId
},
response
=>
{
this
.
zentaoUsers
=
response
.
data
;
if
(
response
.
data
)
{
this
.
Builds
=
response
.
data
;
}
this
.
result
=
this
.
$post
(
"
/issues/zentao/user
"
,
{
projectId
:
this
.
projectId
},
response
=>
{
this
.
zentaoUsers
=
response
.
data
;
});
});
}
if
(
platform
===
'
Tapd
'
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment