|
@@ -213,6 +213,7 @@ export default {
|
|
|
value: {
|
|
|
handler(newV, old) {
|
|
|
this.form_query = newV
|
|
|
+ this.belongingProject(newV)
|
|
|
},
|
|
|
deep: true,
|
|
|
immediate: true
|
|
@@ -260,13 +261,15 @@ export default {
|
|
|
jump(page, id) { // 跳转
|
|
|
this.$router.push({ name: page, query: { id: id }})
|
|
|
},
|
|
|
- async showRequirementEnum() { // 获取需求状态列表,优先级列表,需求来源
|
|
|
- if (this.form_query.belongingProject !== -1 && this.form_query.belongingProject) {
|
|
|
- this.Jump.url = { name: '项目详情', query: { id: this.form_query.belongingProject }}
|
|
|
+ belongingProject(e) {
|
|
|
+ if (e.belongingProject && e.belongingProject !== -1) {
|
|
|
+ this.Jump.url = { name: '项目详情', query: { id: e.belongingProject }}
|
|
|
}
|
|
|
- if (this.form_query.iterationId !== -1 && this.form_query.iterationId) {
|
|
|
- this.Jump.url1 = { name: '迭代详情', query: { id: this.form_query.iterationId }}
|
|
|
+ if (e.iterationId !== -1 && e.iterationId) {
|
|
|
+ this.Jump.url1 = { name: '迭代详情', query: { id: e.iterationId }}
|
|
|
}
|
|
|
+ },
|
|
|
+ async showRequirementEnum() { // 获取需求状态列表,优先级列表,需求来源
|
|
|
const res1 = await projectListProject({ bizId: Number(localStorage.getItem('bizId')) })
|
|
|
if (res1.code === 200) {
|
|
|
this.belongProjectList = res1.data
|
|
@@ -358,6 +361,11 @@ export default {
|
|
|
margin-right: 0;
|
|
|
margin-bottom: 1px;
|
|
|
}
|
|
|
+ >>>.el-form-item__content {
|
|
|
+ width: calc(100% - 125px);
|
|
|
+ color: #333333;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
}
|
|
|
.PRD-link {
|
|
|
width: 50%;
|