diff --git a/src/views/xm/core/xmFunc/XmFuncEdit.vue b/src/views/xm/core/xmFunc/XmFuncEdit.vue index c11e5fd5..d4e0989a 100644 --- a/src/views/xm/core/xmFunc/XmFuncEdit.vue +++ b/src/views/xm/core/xmFunc/XmFuncEdit.vue @@ -5,27 +5,13 @@ - - - + + + + - - - - - - - - - - - - - - - - + @@ -51,7 +37,7 @@ ...mapGetters([ 'userInfo' ]), }, - props:['xmFunc','visible','opType'], + props:['xmFunc','visible','opType','parentFunc'], watch: { 'xmFunc':function( xmFunc ) { @@ -128,7 +114,13 @@ if(this.opType=='edit'){ }else{ - + if(this.parentFunc && this.parentFunc.id){ + this.editForm.pid=this.parentFunc.id + this.editForm.pname=this.parentFunc.name + }else{ + this.editForm.pid=null + this.editForm.pname=null + } } this.editFormBak={...this.editForm} }, diff --git a/src/views/xm/core/xmFunc/XmFuncSelect.vue b/src/views/xm/core/xmFunc/XmFuncSelect.vue new file mode 100644 index 00000000..546798d1 --- /dev/null +++ b/src/views/xm/core/xmFunc/XmFuncSelect.vue @@ -0,0 +1,319 @@ + + + + + \ No newline at end of file diff --git a/src/views/xm/core/xmTestCase/XmTestCaseMng.vue b/src/views/xm/core/xmTestCase/XmTestCaseMng.vue index 3a0fd306..589ab7da 100644 --- a/src/views/xm/core/xmTestCase/XmTestCaseMng.vue +++ b/src/views/xm/core/xmTestCase/XmTestCaseMng.vue @@ -1,134 +1,144 @@