diff --git a/src/views/xm/core/xmTestCasedb/XmTestCasedbEdit.vue b/src/views/xm/core/xmTestCasedb/XmTestCasedbEdit.vue index c53d5790..c38de2ec 100644 --- a/src/views/xm/core/xmTestCasedb/XmTestCasedbEdit.vue +++ b/src/views/xm/core/xmTestCasedb/XmTestCasedbEdit.vue @@ -176,7 +176,7 @@ import XmProductSelect from '@/views/xm/core/components/XmProductSelect';//修 onProductSelected(product){ this.editForm.productId=product.id this.editForm.productName=product.productName - this.editForm.name=this.editForm.productName+"测试库" + this.editForm.name=this.editForm.productName+"-测试库-V1.0" }, },//end method mounted() { diff --git a/src/views/xm/core/xmTestPlan/XmTestPlanEdit.vue b/src/views/xm/core/xmTestPlan/XmTestPlanEdit.vue index aa9a0199..cdae6470 100644 --- a/src/views/xm/core/xmTestPlan/XmTestPlanEdit.vue +++ b/src/views/xm/core/xmTestPlan/XmTestPlanEdit.vue @@ -3,6 +3,17 @@ + + + + + + 选择项目 + +
{{editForm.projectName}}
+
+
{{editForm.projectName}}
+
@@ -26,12 +37,6 @@ {{editForm.productName}} - - {{editForm.projectName?editForm.projectName:editForm.projectId}} - - 选择项目 - - @@ -65,7 +70,7 @@ import XmUserField from '@/views/xm/core/components/XmUserField';//修改界面 ...mapGetters([ 'userInfo' ]), }, - props:['xmTestPlan','visible','opType'], + props:['xmTestPlan','visible','opType','selProject','xmTestCasedb'], watch: { 'xmTestPlan':function( xmTestPlan ) { @@ -186,6 +191,7 @@ import XmUserField from '@/views/xm/core/components/XmUserField';//修改界面 onPorjectConfirm(row){ this.editForm.projectId=row.id this.editForm.projectName=row.name + this.editForm.name=this.editForm.projectName+'-测试计划-V1.0' } },//end method mounted() { diff --git a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue index 9dacfcd3..099905b4 100644 --- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue +++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue @@ -4,6 +4,23 @@ + + + + {{editForm.casedbName?editForm.casedbName:editForm.casedbId }} + + + + {{editForm.productName?editForm.productName:editForm.productId }} + + + {{editForm.menuName?editForm.menuName:'暂无关联需求'}} 选择需求 + + + + + + @@ -128,23 +145,7 @@ - - - {{editForm.casedbName?editForm.casedbName:editForm.casedbId }} - - - - {{editForm.productName?editForm.productName:editForm.productId }} - - - {{editForm.menuName?editForm.menuName:'暂无关联需求'}} 选择需求 - - - - - -