fix: 筛选框
This commit is contained in:
parent
387942050b
commit
37e99b3eee
|
@ -25,6 +25,7 @@
|
||||||
:select-ids="new Set(Array.from(this.selectRows).map(row => row.id))" @refresh="initTableData"/>
|
:select-ids="new Set(Array.from(this.selectRows).map(row => row.id))" @refresh="initTableData"/>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
|
:key="updata"
|
||||||
ref="table"
|
ref="table"
|
||||||
class="test-content adjust-table ms-select-all-fixed"
|
class="test-content adjust-table ms-select-all-fixed"
|
||||||
border
|
border
|
||||||
|
@ -323,6 +324,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
updata: false,
|
||||||
type: TEST_PLAN_FUNCTION_TEST_CASE,
|
type: TEST_PLAN_FUNCTION_TEST_CASE,
|
||||||
headerItems: Test_Plan_Function_Test_Case,
|
headerItems: Test_Plan_Function_Test_Case,
|
||||||
screenHeight: 'calc(100vh - 330px)',
|
screenHeight: 'calc(100vh - 330px)',
|
||||||
|
@ -413,6 +415,12 @@ export default {
|
||||||
},
|
},
|
||||||
selectNodeIds() {
|
selectNodeIds() {
|
||||||
this.search();
|
this.search();
|
||||||
|
},
|
||||||
|
tableLabel: {
|
||||||
|
handler(newVal) {
|
||||||
|
this.updata = !this.updata;
|
||||||
|
},
|
||||||
|
deep: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -430,8 +438,8 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
//const list = deepClone(this.tableLabel);
|
const list = deepClone(this.tableLabel);
|
||||||
this.$refs.headerCustom.open(this.tableLabel);
|
this.$refs.headerCustom.open(list);
|
||||||
},
|
},
|
||||||
|
|
||||||
initTableData() {
|
initTableData() {
|
||||||
|
|
Loading…
Reference in New Issue