|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-container class="bgColor" @click.native="listenClick()">
|
|
|
+ <el-container class="bgColor">
|
|
|
<el-header v-if="type === 'page'" style="height: auto; margin-top: 1%; padding: 0 1%;">
|
|
|
<el-row class="headerBg">
|
|
|
<el-col :span="24" class="Layout">
|
|
@@ -371,7 +371,7 @@
|
|
|
<br>
|
|
|
<span
|
|
|
class="bugNameSty"
|
|
|
- @click="click_bugName(scope.row.id)"
|
|
|
+ @click.stop="click_bugName(scope.row.id)"
|
|
|
>{{ scope.row.bugName }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -414,8 +414,9 @@
|
|
|
:with-header="false"
|
|
|
size="50%"
|
|
|
class="bug_manage_drawer"
|
|
|
+ @click.stop
|
|
|
>
|
|
|
- <div>
|
|
|
+ <div @click.stop>
|
|
|
<bug-details
|
|
|
:id="bugQuery.id+''"
|
|
|
ref="bugDetails"
|
|
@@ -527,7 +528,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.getBugList()
|
|
|
+ if (this.type === 'page') {
|
|
|
+ this.getBugList()
|
|
|
+ } else {
|
|
|
+ this.getBugSelfList(2, 10)
|
|
|
+ }
|
|
|
this.bugListSelect()
|
|
|
this.$store.state.data.status = true
|
|
|
},
|
|
@@ -535,17 +540,6 @@ export default {
|
|
|
this.$store.state.data.status = false
|
|
|
},
|
|
|
methods: {
|
|
|
- listenClick() {
|
|
|
- this.isBugNameClick = false
|
|
|
- setTimeout(() => {
|
|
|
- if (this.isBugNameClick) {
|
|
|
- this.drawerShow = true
|
|
|
- } else {
|
|
|
- this.drawerShow = false
|
|
|
- this.$store.state.data.status = true
|
|
|
- }
|
|
|
- }, 500)
|
|
|
- },
|
|
|
getBugList() {
|
|
|
this.indexPage = this.formInline
|
|
|
this.indexPage.bizId = Number(localStorage.getItem('bizId'))
|
|
@@ -665,9 +659,7 @@ export default {
|
|
|
JSON.stringify(this.tableData.filter(value => value.id === e)[0])
|
|
|
)
|
|
|
this.initCount++
|
|
|
- setTimeout(() => {
|
|
|
- this.isBugNameClick = true
|
|
|
- }, 300)
|
|
|
+ this.drawerShow = true
|
|
|
},
|
|
|
createdDefect() {
|
|
|
this.modalShow = true
|