Merge remote-tracking branch 'origin/master' into master

This commit is contained in:
Captain.B 2020-11-10 17:34:12 +08:00
commit 8ab1065805
7 changed files with 17 additions and 43 deletions

@ -1 +1 @@
Subproject commit 57d6f78efa4b0300be188e8b024511ceef0873ed
Subproject commit 24047fea950a74f7848a9fdaa857a22b884c4ce2

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -126,6 +126,7 @@ export default {
let data = response.data;
this.total = data.itemCount;
this.tableData = data.listObject;
this.selectRows.clear();
});
},
handleSelectionChange(val) {
@ -171,28 +172,13 @@ export default {
this.$set(row, "showMore", true);
this.selectRows.add(row);
}
let arr = Array.from(this.selectRows);
// 1
if (this.selectRows.size === 1) {
this.$set(arr[0], "showMore", false);
} else if (this.selectRows.size === 2) {
arr.forEach(row => {
this.$set(row, "showMore", true);
})
}
},
handleSelectAll(selection) {
if (selection.length > 0) {
if (selection.length === 1) {
this.selectRows.add(selection[0]);
} else {
this.tableData.forEach(item => {
this.$set(item, "showMore", true);
this.selectRows.add(item);
});
}
this.tableData.forEach(item => {
this.$set(item, "showMore", true);
this.selectRows.add(item);
});
} else {
this.selectRows.clear();
this.tableData.forEach(row => {

View File

@ -222,28 +222,13 @@ export default {
this.$set(row, "showMore", true);
this.selectRows.add(row);
}
let arr = Array.from(this.selectRows);
// 1
if (this.selectRows.size === 1) {
this.$set(arr[0], "showMore", false);
} else if (this.selectRows.size === 2) {
arr.forEach(row => {
this.$set(row, "showMore", true);
})
}
},
handleSelectAll(selection) {
if (selection.length > 0) {
if (selection.length === 1) {
this.selectRows.add(selection[0]);
} else {
this.tableData.forEach(item => {
this.$set(item, "showMore", true);
this.selectRows.add(item);
});
}
this.tableData.forEach(item => {
this.$set(item, "showMore", true);
this.selectRows.add(item);
});
} else {
this.selectRows.clear();
this.tableData.forEach(row => {

View File

@ -9,6 +9,9 @@
<el-radio label="Jira">
<img class="platform" src="../../../../assets/jira.png" alt="Jira"/>
</el-radio>
<el-radio label="Zentao">
<img class="platform" src="../../../../assets/zentao.jpg" alt="Zentao"/>
</el-radio>
</el-radio-group>
</div>

View File

@ -2,7 +2,7 @@
<el-card>
<el-tabs class="system-setting" v-model="activeName">
<el-tab-pane :label="$t('organization.defect_manage')" name="defect">
<defect-management/>
<bug-management/>
</el-tab-pane>
</el-tabs>
</el-card>
@ -10,12 +10,12 @@
<script>
import DefectManagement from "./IssuesManagement";
import BugManagement from "./BugManagement";
export default {
name: "ServiceIntegration",
components: {
DefectManagement
BugManagement
},
data() {
return {

@ -1 +1 @@
Subproject commit eb237fb6bfeba8d99e4db52450ae92f3cdd4ea33
Subproject commit b9091a47b197faef77c72b134b7cf604fe3209f0