Forráskód Böngészése

优化创建时归属项目。需求不能出现无归属

qinzhipeng_v 5 éve
szülő
commit
3dc480767d

+ 1 - 0
src/views/Platform/presentation/Templates/DailyReport.vue

@@ -113,6 +113,7 @@ export default {
           this.active = 3
           break
         case 7:
+          console.log(newData, 'ddddddd')
           this.daily_task = newData
           this.showOne = true
           this.showTow = false

+ 2 - 2
src/views/projectManage/dialog_vue.vue

@@ -247,11 +247,11 @@ export default {
           break
       }
       projectListProject({ bizId: Number(localStorage.getItem('bizId')) }).then(res => { // 获取项目(查询)
-        this.projectList = res.data
+        this.projectList = res.data.filter(item => item.id !== -1)
       })
       configShowRequirementVersionEnum({ bizId: Number(localStorage.getItem('bizId')) }).then(res => {
         // 获取需求(查询)
-        this.demandList = res.data
+        this.demandList = res.data.filter(item => item.id !== -1)
       })
     },
     test2(item, e) { // 获取团队人员信息

+ 1 - 1
src/views/projectManage/requirement/list/create.vue

@@ -210,7 +210,7 @@ export default {
         this.$set(this.form, 'bizId', Number(localStorage.getItem('bizId')))
       })
       projectListProject({ bizId: Number(localStorage.getItem('bizId')) }).then(res => {
-        this.AttributionItems = res.data
+        this.AttributionItems = res.data.filter(item => item.id !== -1)
       })
     },
     showRequirementEnum() {