Browse Source

修改测试计划预计用时

plg 5 months ago
parent
commit
49c4b69413
1 changed files with 8 additions and 3 deletions
  1. 8 3
      src/components/PlanRegister.vue

+ 8 - 3
src/components/PlanRegister.vue

@@ -257,6 +257,7 @@ export default {
       this.$http.get(`/content/findAllByTemplate?template=studentContent`, {}, (res) => {
         //  this.$toast.success({message:'成功'});
         if (res && res.code == 200) {
+          debugger;
           //将值赋值给list
           if (res.data.length > 0) {
             this.scaleAndTaskList = res.data;
@@ -678,8 +679,8 @@ export default {
     resetData() {
       this.$refs["ruleForm"].clearValidate();
       //清空表单
-      this.grade=[];
-      this.instructor=[];
+      this.grade = [];
+      this.instructor = [];
       this.ruleForm.planName = "";
       this.ruleForm.endTime = "";
       this.ruleForm.checkboxGroup2 = [];
@@ -693,7 +694,7 @@ export default {
       this.grade = [];
       this.ruleForm.planName = "";
       this.ruleForm.endTime = "";
-      
+
       this.ruleForm.checkedList = [];
       this.$refs.tree.setCheckedKeys([]);
       this.ruleForm.checkboxGroup2 = [];
@@ -767,6 +768,7 @@ export default {
           isDisplayed: listTmp[i].isDisplayed,
           isAvailable: listTmp[i].isAvailable,
           name: listTmp[i].name,
+          expectTime: listTmp[i].expectTime
         };
         list.push(obj);
       }
@@ -781,6 +783,7 @@ export default {
           isDisplayed: listTmpNo[i].isDisplayed,
           isAvailable: listTmpNo[i].isAvailable,
           name: listTmpNo[i].name,
+          expectTime: listTmpNo[i].expectTime
         };
         list.push(obj);
       }
@@ -854,6 +857,7 @@ export default {
           isDisplayed: listTmp[i].isDisplayed,
           isAvailable: listTmp[i].isAvailable,
           name: listTmp[i].name,
+          expectTime: listTmp[i].expectTime,
         };
         list.push(obj);
       }
@@ -868,6 +872,7 @@ export default {
           isDisplayed: listTmpNo[i].isDisplayed,
           isAvailable: listTmpNo[i].isAvailable,
           name: listTmpNo[i].name,
+          expectTime: listTmpNo[i].expectTime
         };
         list.push(obj);
       }