Browse Source

修改测试计划报告

plg 3 months ago
parent
commit
473d7256a3
1 changed files with 11 additions and 1 deletions
  1. 11 1
      src/components/PlanReport.vue

+ 11 - 1
src/components/PlanReport.vue

@@ -144,6 +144,7 @@
               <el-radio-button label="压力"></el-radio-button>
               <el-radio-button label="焦虑"></el-radio-button>
               <el-radio-button label="精神障碍"></el-radio-button>
+              <!-- <el-radio-button label="其他"></el-radio-button> -->
             </el-radio-group>
           </div>
 
@@ -864,6 +865,7 @@ export default {
       );
     },
     userTypeChange(val) {
+      console.log(this.userType)
       this.pageNum = 1;
       if (val == "心理异常") {
         this.getAbnormalList();
@@ -909,7 +911,15 @@ export default {
 
     handleCurrentChange(val) {
       this.pageNum = val;
-      this.searchList();
+      if(this.userType=='心理异常'){
+        this.getAbnormalList();
+      }else if(this.userType=="压力"){
+        //---
+        this.getDimensionPeopleList("躯体化");
+      }else {
+        this.getDimensionPeopleList(this.userType);
+      }
+      // this.searchList();
     },
     formaCom(val) {
       if (val.isComplete == "0") {