lsc há 3 anos atrás
pai
commit
67e36869d3
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/components/pages/student.vue

+ 3 - 1
src/components/pages/student.vue

@@ -208,6 +208,7 @@ export default {
       sPhoneUser: "",
       userid: this.$route.query.userid,
       oid: this.$route.query.oid,
+      cid: this.$route.query.cid,
       tx: require("../../assets/avatar.png"),
     };
   },
@@ -442,12 +443,13 @@ export default {
       this.isLoading = true;
       let params = {
         oid: this.oid,
+        cid: this.cid,
         cu: "",
         cn: this.sPhoneUser,
         page: this.page,
       };
       this.ajax
-        .get(this.$store.state.api + "selectStudent", params)
+        .get(this.$store.state.api + "selectStudent2", params)
         .then((res) => {
           this.isLoading = false;
           this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;