性能检验

This commit is contained in:
shijing 2024-01-05 17:50:20 +08:00
parent d741746c7f
commit 6472e9adcb
1 changed files with 4 additions and 2 deletions

View File

@ -141,9 +141,9 @@ import saveDialog from './behavior_form.vue';
components:{ saveDialog }, components:{ saveDialog },
data() { data() {
return { return {
apiObj: this.$API.qm.ptest.list, apiObj: null,
query: { query: {
testitem:'3442815297965547520', testitem:'',
test_date:'' test_date:''
}, },
state_:{ state_:{
@ -180,6 +180,8 @@ import saveDialog from './behavior_form.vue';
let that = this; let that = this;
that.$API.qm.getTestItem.get({tag:'behavior',page:0}).then(res=>{ that.$API.qm.getTestItem.get({tag:'behavior',page:0}).then(res=>{
that.behaviors = res; that.behaviors = res;
that.query.testitem = res[0].id;
that.apiObj = that.$API.qm.ptest.list;
}) })
}, },
handleClick(val){ handleClick(val){