فهرست منبع

Merge branch 'master' of http://120.46.159.163:7400/ezhizao/ezhizao_dms_vue

ezhizao_zx 9 ماه پیش
والد
کامیت
1f7b48ab3d
2فایلهای تغییر یافته به همراه8 افزوده شده و 2 حذف شده
  1. 2 2
      src/views/business/product/index.vue
  2. 6 0
      src/views/business/upload/upload.vue

+ 2 - 2
src/views/business/product/index.vue

@@ -93,13 +93,13 @@
             v-hasPermi="['business:product:sync']"
             >同步P2产品</el-button
           >
-          <el-button
+          <!-- <el-button
             v-if="true"
             type="warning"
             @click="handleImport"
             v-hasPermi="['business:product:sync']"
             >导出电子图纸</el-button
-          >
+          > -->
         </el-form-item>
       </el-form>
 

+ 6 - 0
src/views/business/upload/upload.vue

@@ -60,6 +60,7 @@
 </template>
 <script setup>
 import { ref } from "vue";
+import { getToken } from "@/utils/auth";
 const baseUrl = import.meta.env.VITE_APP_BASE_API;
 const { proxy } = getCurrentInstance();
 /*** 用户导入参数 */
@@ -97,6 +98,11 @@ const handleFileSuccess = (response, file, fileList) => {
   );
 };
 
+/** 提交上传文件 */
+function submitFileForm() {
+  proxy.$refs["uploadRef"].submit();
+}
+
 /** 导出按钮操作 */
 function handleExport() {
   var item = {};