liyangzheng 2 년 전
부모
커밋
cec65d8bfa
3개의 변경된 파일6개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 1
      src/api/fileCount/fileCount.js
  2. 4 6
      src/views/myfile/modalComponebts/Transfer.vue
  3. 2 2
      vite.config.js

+ 0 - 1
src/api/fileCount/fileCount.js

@@ -5,7 +5,6 @@ function getActor(data) {
     return request({
         url: `/biz/actor/${data}`,
         method: "get",
-        params: data
     })
 }
 // 归档

+ 4 - 6
src/views/myfile/modalComponebts/Transfer.vue

@@ -21,7 +21,7 @@
                         <div class="needLog">
                             <el-tag v-for="(item, index) in chooseTagData" :key="index" class="tagtag"
                                 :closable="lastPeople" @close="handleClose(item)">
-                                {{ item.userName }}
+                                {{ item.userName ? item.userName : item.name }}
                             </el-tag>
                         </div>
                     </div>
@@ -59,7 +59,7 @@ export default {
             type: Number,
             required: true
         },
-        isNewMenu:{
+        isNewMenu: {
             type: Boolean,
             required: true
         },
@@ -163,7 +163,6 @@ export default {
         }
         // 获取用户树
         function getAllUser() {
-            console.log('isNewMenu', props.clickRowId)
             userTree.getUserTree({}).then(res => {
                 console.log('userTree',res);
                 allTreeData.value = [res]
@@ -192,9 +191,9 @@ export default {
                         return item.userId
                     })
                 })
-            } else if(!isNewMenus){   
+            } else if (!isNewMenus) {
                 fileCount.getActor(dees).then(res => {
-                    console.log(res, 'count');
+                    chooseTagData.value = res
                 })
             }
 
@@ -212,7 +211,6 @@ export default {
 
         }
         onMounted(() => {
-            console.log(feeh, 'eeh');
             allTeam()
             getAllUser()
         })

+ 2 - 2
vite.config.js

@@ -39,9 +39,9 @@ export default defineConfig(({
 			proxy: {
 				// https://cn.vitejs.dev/config/#server-proxy
 				'/dev-api': {
-					target: 'http://192.168.1.28:8080/',
+					// target: 'http://192.168.1.28:8080/',
 					// target: 'http://8.142.173.95:19527/',
-					// target:'http://192.168.1.28:8080/',
+					target:'http://192.168.1.28:8080/',
 					changeOrigin: true,
 					rewrite: (p) => p.replace(/^\/dev-api/, '')
 				},