wenbobowen 4 年之前
父節點
當前提交
6d646f0602

+ 5 - 0
src/views/projectManage/bugList/details/bugTableDialog.vue

@@ -166,6 +166,10 @@ export default {
     }
   },
   props: {
+    searchBiz: {
+      type: Boolean,
+      default: true
+    },
     noShow: {
       type: String,
       default: '',
@@ -329,6 +333,7 @@ export default {
       this.data.pageSize = this.pageSize
       this.data.curIndex = this.curIndex
       const query = Object.assign(this.data, this.eleId)
+      if (!this.searchBiz) delete query.bizId
       bugList(query).then(res => {
         if (res.code === 200) {
           this.tableData = res.data.map(item => { return { ...item, isSelected: false } })

+ 1 - 1
src/views/projectManage/requirement/requirementDetail.vue

@@ -248,7 +248,7 @@
       <!-- 缺陷 -->
       <el-container v-if="activeName === '3'" class="is-vertical">
         <section class="main-section contain">
-          <bug-table-dialog ref="bugTableDialog" :show-hide="true" no-show="requoirementName" :obj-id="bugListQuery" />
+          <bug-table-dialog ref="bugTableDialog" :search-biz="false" :show-hide="true" no-show="requoirementName" :obj-id="bugListQuery" />
         </section>
       </el-container>
       <!-- 缺陷 -->