浏览代码

Merge branch 'Inspection' into online

mo 4 年之前
父节点
当前提交
bc7dd0a77d
共有 2 个文件被更改,包括 5 次插入3 次删除
  1. 3 1
      src/components/remote-search/index.vue
  2. 2 2
      src/views/teacherManager/teacherDetail/index.vue

+ 3 - 1
src/components/remote-search/index.vue

@@ -48,7 +48,8 @@ export default {
   },
   async mounted() {
     // this.getList();
-    this.getOptions()
+    // console.log(this.value)
+    this.getOptions(this.value|| '' )
 
 
   },
@@ -122,6 +123,7 @@ export default {
       immediate: true,
       deep: true,
       handler(val) {
+
         if (this.multiple) {
           if (val?.length > 0 && this.isFirst) {
            this.getOptions('')

+ 2 - 2
src/views/teacherManager/teacherDetail/index.vue

@@ -175,13 +175,13 @@ export default {
       // 需要的参数 id
       this.$router.push({
         path: "/operateManager/serverIndexList",
-        query: { teacherId:  this.teacherId, activeIndex: "2" },
+        query: { teacherId:  this.teacherId*1, activeIndex: "2" },
       });
     },
     gotoOperating() {
       this.$router.push({
         path: "/operateManager/operateStudent",
-        query: { teacherId:  this.teacherId, operatingTag: "1" },
+        query: { teacherId:  this.teacherId*1, operatingTag: "1" },
       });
     },
   }