wenbobowen 4 жил өмнө
parent
commit
693f2341aa

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

@@ -143,7 +143,7 @@ export default {
           }
           }
         }))
         }))
       } else if (utilName === 'getTeam') {
       } 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 => {
         this.data[type].map(t => t.map(g => {
           if (g.key === key) {
           if (g.key === key) {
             g.option = res.data.map(t => ({
             g.option = res.data.map(t => ({

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

@@ -39,12 +39,9 @@ export default {
     }
     }
   },
   },
   methods: {
   methods: {
-    // onChange(key, value) {
-    //   this.$emit('onChange', { [key]: value })
-    // },
     async remoteMethod(key, q, utilName) {
     async remoteMethod(key, q, utilName) {
       if (utilName === 'getTeam') {
       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 => {
         this.renderBaseData.map(t => t.map(g => {
           if (g.key === key) {
           if (g.key === key) {
             g.option = res.data.map(t => ({
             g.option = res.data.map(t => ({