diff --git a/src/views/xm/core/xmTestCasedb/XmTestCasedbInfo.vue b/src/views/xm/core/xmTestCasedb/XmTestCasedbInfo.vue index 1a5b6133..174eeea3 100644 --- a/src/views/xm/core/xmTestCasedb/XmTestCasedbInfo.vue +++ b/src/views/xm/core/xmTestCasedb/XmTestCasedbInfo.vue @@ -1,65 +1,17 @@ @@ -69,13 +21,15 @@ import util from '@/common/js/util';//全局公共库 import config from '@/common/config';//全局公共库 import { initDicts,listXmTestCasedb, delXmTestCasedb, batchDelXmTestCasedb,editSomeFieldsXmTestCasedb } from '@/api/xm/core/xmTestCasedb'; import XmTestCasedbEdit from './XmTestCasedbEdit';//新增修改界面 +import XmTestCaseMng from '../xmTestCase/XmTestCaseMng';//新增修改界面 +import XmTestPlanMng from '../xmTestPlan/XmTestPlanMng';//新增修改界面 import { mapGetters } from 'vuex' import XmProductSelect from '@/views/xm/core/components/XmProductSelect';//修改界面 export default { name:'xmTestCasedbMng', components: { - XmTestCasedbEdit,XmProductSelect, + XmTestCasedbEdit,XmProductSelect,XmTestCaseMng,XmTestPlanMng, }, props:['visible','xmProduct','selProject'], computed: { @@ -119,6 +73,7 @@ export default { id:'',name:'',cuserid:'',cusername:'',ctime:'',cbranchId:'',productId:'',productName:'' }, maxTableHeight:300, + activeIndex:'testPlan', } },//end data methods: { @@ -299,6 +254,9 @@ export default { goCasedbInfo(row){ localStorage.setItem('xm-test-casedb-info',JSON.stringify(row)); this.$route.push({path:'/xm/core/testCasedbRoute',query:{id:row.id}}) + }, + handleSelect(index){ + this.activeIndex=index } },//end methods mounted() { @@ -314,5 +272,13 @@ export default { - \ No newline at end of file