Jelajahi Sumber

fix 新增积木导出功能

Administrator 3 tahun lalu
induk
melakukan
3f21c8e475

+ 2 - 2
ruoyi-admin/src/main/resources/application.yml

@@ -9,8 +9,8 @@ ruoyi:
   # 实例演示开关
   demoEnabled: true
   # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
-  profile: D:/ruoyi/uploadPath
-#  profile: /usr/local/zhaoshang/upload
+#  profile: D:/ruoyi/uploadPath
+  profile: /usr/local/zhaoshang/upload
   # 获取ip地址开关
   addressEnabled: false
   # 验证码类型 math 数组计算 char 字符验证

+ 17 - 2
ruoyi-ui/src/views/management/info/index.vue

@@ -40,6 +40,16 @@
         <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
           v-hasPermi="['bmProject:project:remove']">销号</el-button>
       </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          plain
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['mProject:project:export']"
+        >导出</el-button>
+      </el-col>
       <!-- <el-col :span="1.5">
         <el-button
           type="warning"
@@ -550,6 +560,11 @@
           }
         });
       },
+
+      //导出跳转
+      handleExport(){
+
+      },
       /** 删除按钮操作 */
       handleDelete(row) {
         const ids = row.id || this.ids;
@@ -564,7 +579,7 @@
           this.msgSuccess("删除成功");
         })
       },
-      /** 导出按钮操作 */
+/*      /!** 导出按钮操作 *!/
       handleExport() {
         const queryParams = this.queryParams;
         this.$confirm('是否确认导出所有项目-线索信息数据项?', "警告", {
@@ -576,7 +591,7 @@
         }).then(response => {
           this.download(response.msg);
         })
-      },
+      },*/
       //查看
       chei(row) {
         this.$router.push({