scorpio 3 éve
szülő
commit
2d14423017

+ 1 - 1
src/views/home/component/dash.vue

@@ -275,7 +275,7 @@ export default {
       if (['view'].includes(type)) {
         this.$router.push({
           path: '/home/details',
-          query: { id: this.form.id, type: '0' }
+          query: { id: this.form.id, type: '0', ownerId: this.form.createUser }
         })
       } else if (type === 'edit') {
         this.$alert('功能建设中,尽情期待...', '消息提醒', {

+ 3 - 3
src/views/home/component/folder_list.vue

@@ -33,7 +33,7 @@
                        title="上传文件" width="85" @click="uploadFiles(item)"/>
           <main-button v-if="permissions.permissions.home_folder_authorize" icon="Pointer" title="授权操作" width="85"
                        @click='getFileList(item)'/>
-          <main-button v-if="permissions.permissions.home_folder_apply && item.isAccess === 3" icon="Position"
+          <main-button v-if="permissions.permissions.home_folder_apply && [1,3].includes(item.isAccess)" icon="Position"
                        title="授权申请" width="85" @click="folderApply(item)"/>
           <main-button v-if="permissions.permissions.home_folder_del" icon="Delete" title="删除" width="85"
                        @click="folderRemove(item)"/>
@@ -240,7 +240,7 @@ export default {
         item.volume = res.response.data.volume
         item.fileId = res.response.data.id
         item.url = res.response.data.filePath
-        item.projectId = this.$route.query.projectId
+        item.projectId = this.$route.query.id
         if (this.type === 0) {
           item.fileFolderId = this.currentRow.fileFolderId
         } else {
@@ -293,7 +293,7 @@ export default {
     },
     SendMsg () {
       this.sendParams.ids = this.fileList.map(e => e.fileId).join(',')
-      this.sendParams.projectId = this.$route.query.projectId
+      this.sendParams.projectId = this.$route.query.id
       this.sendParams.ownerId = this.$route.query.ownerId
       this.$api.project.send(this.sendParams).then(res => {
         if (res.code === 200) {

+ 2 - 2
vite.config.js

@@ -34,8 +34,8 @@ export default defineConfig({
       '/api': {
         // 正式环境地址
         // target: 'https://dev.wutongresearch.club/api',
-        // target: 'https://prod.wutongshucloud.com/api',
-        target: 'http://192.168.31.181:8110',
+        target: 'https://prod.wutongshucloud.com/api',
+        // target: 'http://192.168.31.181:8110',
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/api/, '')
       }