From 98a62246339c7e921a980494f0aaf04f49176252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Mon, 18 Jul 2022 23:43:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/core/xmTestCasedb/XmTestCasedbInfo.vue | 90 ++++++------------- 1 file changed, 28 insertions(+), 62 deletions(-) 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