fix: 表头修改
This commit is contained in:
parent
d12ec06066
commit
5ac89f8410
|
@ -374,7 +374,6 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, API_SCENARIO_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
selectByParam() {
|
selectByParam() {
|
||||||
|
|
|
@ -264,11 +264,9 @@ export default {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.caseTable.bodyWrapper.scrollTop = 5
|
this.$refs.caseTable.bodyWrapper.scrollTop = 5
|
||||||
})
|
})
|
||||||
getLabel(this, API_CASE_LIST);
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
selectNodeIds() {
|
selectNodeIds() {
|
||||||
getLabel(this, API_CASE_LIST);
|
|
||||||
this.initTable();
|
this.initTable();
|
||||||
},
|
},
|
||||||
currentProtocol() {
|
currentProtocol() {
|
||||||
|
@ -294,11 +292,9 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, API_CASE_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
initTable() {
|
initTable() {
|
||||||
getLabel(this, API_CASE_LIST);
|
|
||||||
this.selectRows = new Set();
|
this.selectRows = new Set();
|
||||||
this.condition.status = "";
|
this.condition.status = "";
|
||||||
this.condition.moduleIds = this.selectNodeIds;
|
this.condition.moduleIds = this.selectNodeIds;
|
||||||
|
|
|
@ -383,7 +383,6 @@
|
||||||
this.getSystemLabel(this.type)
|
this.getSystemLabel(this.type)
|
||||||
this.initTable();
|
this.initTable();
|
||||||
this.getMaintainerOptions();
|
this.getMaintainerOptions();
|
||||||
getLabel(this, API_LIST);
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
selectNodeIds() {
|
selectNodeIds() {
|
||||||
|
@ -413,7 +412,6 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, API_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
handleBatchMove() {
|
handleBatchMove() {
|
||||||
|
|
|
@ -309,7 +309,7 @@ export default {
|
||||||
this.condition.filters = {status: ["Prepare", "Pass", "UnPass"]};
|
this.condition.filters = {status: ["Prepare", "Pass", "UnPass"]};
|
||||||
}
|
}
|
||||||
this.initTableData();
|
this.initTableData();
|
||||||
getSystemLabel(this, this.type)
|
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
if (this.trashEnable) {
|
if (this.trashEnable) {
|
||||||
|
@ -330,7 +330,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_CASE_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
getSelectDataRange() {
|
getSelectDataRange() {
|
||||||
|
@ -352,6 +351,7 @@ export default {
|
||||||
this.condition.nodeIds = this.selectNodeIds;
|
this.condition.nodeIds = this.selectNodeIds;
|
||||||
}
|
}
|
||||||
getLabel(this, TEST_CASE_LIST);
|
getLabel(this, TEST_CASE_LIST);
|
||||||
|
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
|
|
|
@ -295,7 +295,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
inite() {
|
inite() {
|
||||||
getLabel(this, TEST_PLAN_LIST);
|
|
||||||
this.initTableData()
|
this.initTableData()
|
||||||
},
|
},
|
||||||
calPassRate(scope) {
|
calPassRate(scope) {
|
||||||
|
@ -303,7 +302,6 @@ export default {
|
||||||
return Number.parseInt(passRate, 10);
|
return Number.parseInt(passRate, 10);
|
||||||
},
|
},
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_PLAN_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
initTableData() {
|
initTableData() {
|
||||||
|
|
|
@ -304,8 +304,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_PLAN_API_CASE);
|
|
||||||
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
getMaintainerOptions() {
|
getMaintainerOptions() {
|
||||||
|
|
|
@ -201,8 +201,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_PLAN_SCENARIO_CASE);
|
|
||||||
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
search() {
|
search() {
|
||||||
|
|
|
@ -429,7 +429,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_PLAN_FUNCTION_TEST_CASE);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_PLAN_LOAD_CASE);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
initTable() {
|
initTable() {
|
||||||
|
|
|
@ -183,7 +183,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_CASE_REVIEW_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -301,7 +301,6 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
customHeader() {
|
customHeader() {
|
||||||
getLabel(this, TEST_CASE_REVIEW_CASE_LIST);
|
|
||||||
this.$refs.headerCustom.open(this.tableLabel)
|
this.$refs.headerCustom.open(this.tableLabel)
|
||||||
},
|
},
|
||||||
initTableData() {
|
initTableData() {
|
||||||
|
|
|
@ -114,15 +114,14 @@ export function getLabel(vueObj, type) {
|
||||||
vueObj.result = vueObj.$post('/system/header/info', param, response => {
|
vueObj.result = vueObj.$post('/system/header/info', param, response => {
|
||||||
if (response.data != null) {
|
if (response.data != null) {
|
||||||
vueObj.tableLabel = eval(response.data.props);
|
vueObj.tableLabel = eval(response.data.props);
|
||||||
}
|
}else{
|
||||||
})
|
let param = {}
|
||||||
}
|
param.type=type
|
||||||
export function getSystemLabel(vueObj, type) {
|
vueObj.result = vueObj.$post('/system/system/header',param, response => {
|
||||||
let param = {}
|
if (response.data != null) {
|
||||||
param.type=type
|
vueObj.tableLabel = eval(response.data.props);
|
||||||
vueObj.result = vueObj.$post('/system/system/header',param, response => {
|
}
|
||||||
if (response.data != null) {
|
})
|
||||||
vueObj.tableLabel = eval(response.data.props);
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -1193,7 +1193,7 @@ export default {
|
||||||
batch_delete_case: '批量删除',
|
batch_delete_case: '批量删除',
|
||||||
batch_unlink: '批量取消关联',
|
batch_unlink: '批量取消关联',
|
||||||
project_name: '所属项目',
|
project_name: '所属项目',
|
||||||
status: '评审状态',
|
status: '评审结果',
|
||||||
status_prepare: '未评审',
|
status_prepare: '未评审',
|
||||||
status_pass: '通过',
|
status_pass: '通过',
|
||||||
status_un_pass: '未通过',
|
status_un_pass: '未通过',
|
||||||
|
|
Loading…
Reference in New Issue