11wqe1 6 dagar sedan
förälder
incheckning
a5700dfc23
1 ändrade filer med 15 tillägg och 0 borttagningar
  1. 15 0
      src/components/studyStudent.vue

+ 15 - 0
src/components/studyStudent.vue

@@ -13082,6 +13082,21 @@ export default {
     };
   },
   methods: {
+    // 获取学校或组织随机码
+    getCode2(){
+      let params = {
+        oid: this.oid,
+        org: this.org
+      };
+      this.ajax
+        .get(this.$store.state.api + "getCode2", params)
+        .then(res => {
+            this.Code2 = res.data[0][0].code2
+        })
+        .catch(err => {
+          console.error(err);
+        });
+    },
     //查看应用中心作业
     openCocoFlow(w){
       this.$refs.cocoFlowDiaRef.openAppWork(w)