wenbobowen преди 4 години
родител
ревизия
693f2341aa
променени са 2 файла, в които са добавени 2 реда и са изтрити 5 реда
  1. 1 1
      src/components/searchHeader/index.vue
  2. 1 4
      src/views/projectManage/onlineproblem/create/component/base.vue

+ 1 - 1
src/components/searchHeader/index.vue

@@ -143,7 +143,7 @@ export default {
           }
         }))
       } else if (utilName === 'getTeam') {
-        const res = await teamQueryTeamInfo({ teamName: q, bizId: this.$store.state.global.bizId })
+        const res = await teamQueryTeamInfo({ teamName: q })
         this.data[type].map(t => t.map(g => {
           if (g.key === key) {
             g.option = res.data.map(t => ({

+ 1 - 4
src/views/projectManage/onlineproblem/create/component/base.vue

@@ -39,12 +39,9 @@ export default {
     }
   },
   methods: {
-    // onChange(key, value) {
-    //   this.$emit('onChange', { [key]: value })
-    // },
     async remoteMethod(key, q, utilName) {
       if (utilName === 'getTeam') {
-        const res = await teamQueryTeamInfo({ teamName: q, bizId: this.$store.state.global.bizId })
+        const res = await teamQueryTeamInfo({ teamName: q })
         this.renderBaseData.map(t => t.map(g => {
           if (g.key === key) {
             g.option = res.data.map(t => ({