|
@@ -414,12 +414,19 @@ export default {
|
|
|
})
|
|
|
if (res.code === 200) {
|
|
|
this.$message({ message: '删除成功', type: 'success', duration: 1000, offset: 150 })
|
|
|
+ this.$router.push({ name: '需求', query: {}})
|
|
|
}
|
|
|
},
|
|
|
reated_task() { // 新建任务
|
|
|
this.task_open = true
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.task_createdUpdata.init(4, this.$route.query.id, { requirementId: this.requirementId })
|
|
|
+ this.$refs.task_createdUpdata.init(4, this.$route.query.id,
|
|
|
+ {
|
|
|
+ requirementId: this.requirementId,
|
|
|
+ name: `${this.form_query.name}的任务`,
|
|
|
+ priority: this.form_query.priority
|
|
|
+ }
|
|
|
+ )
|
|
|
})
|
|
|
},
|
|
|
created_bug() { // 缺陷创建
|
|
@@ -502,12 +509,12 @@ export default {
|
|
|
}
|
|
|
.comment-main {
|
|
|
list-style: none;
|
|
|
- padding: 0px;
|
|
|
+ padding: 15px 0 0 0;
|
|
|
margin: 0 0 20px 0;
|
|
|
li {
|
|
|
list-style: none;
|
|
|
padding: 0px;
|
|
|
- margin: 0px;
|
|
|
+ margin: 0px 0px 25px 0;
|
|
|
}
|
|
|
.comment-name {
|
|
|
font-size:14px;
|