Browse Source

修改测试计划创建时的下一步

plg 6 months ago
parent
commit
ff82e336bb
2 changed files with 5 additions and 5 deletions
  1. 4 4
      src/components/PlanRegister.vue
  2. 1 1
      src/views/manage/channelInfo/invite.vue

+ 4 - 4
src/components/PlanRegister.vue

@@ -47,7 +47,7 @@
               <!-- <el-button type="success" round @click="submitForm('ruleForm')"
                 >提交</el-button
               > -->
-              <el-button type="success" round @click="submitCom()">提交</el-button>
+              <el-button type="success" round @click="submitCom()">下一步</el-button>
             </div>
           </el-form>
         </div>
@@ -263,10 +263,7 @@ export default {
       });
     },
     register() {
-      console.log(this.ruleForm.endTime);
       let that = this;
-      console.log(this.userInfo);
-
       //判断是选了两个还是一个
       let list = [];
       if (this.checkboxGroup2.length == 2) {
@@ -325,7 +322,10 @@ export default {
 
             // this.$toast.success({ message: "成功" });
             //调用父组件的查询方法
+
             that.$emit("search");
+            that.$emit('configuration',res.data)
+            //也调用打开人员配置的方法
           } else {
             // this.$toast.fail({ message: res.msg });
             this.$message.error(res.msg);

+ 1 - 1
src/views/manage/channelInfo/invite.vue

@@ -146,7 +146,7 @@
       <!-- <el-pagination small background layout="total prev, pager, next" :total="36">
       </el-pagination> -->
     </div>
-    <PlanRegister ref="register" @search="searchTarget" />
+    <PlanRegister ref="register" @search="searchTarget" @configuration="userOp"/>
     <PlanUser ref="planUserAdd" />
     <PlanUserStatus ref="userStatus" />
     <el-dialog