From 6425bb776a66e5bb9154b1f6a8e5452bb4cbd000 Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期六, 28 九月 2024 15:38:49 +0800
Subject: [PATCH] 工序下拉优化

---
 jcdm-ui/src/views/main/bs/processFile/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/jcdm-ui/src/views/main/bs/processFile/index.vue b/jcdm-ui/src/views/main/bs/processFile/index.vue
index a1b860d..482beb4 100644
--- a/jcdm-ui/src/views/main/bs/processFile/index.vue
+++ b/jcdm-ui/src/views/main/bs/processFile/index.vue
@@ -177,7 +177,7 @@
             <el-option
               v-for="item in options"
               :key="item.index"
-              :label="item.processesName"
+              :label="item.processesCode"
               :value="item.processesCode">
             </el-option>
           </el-select>
@@ -196,7 +196,7 @@
           <el-upload
             ref="upload"
             :limit="1"
-            accept=".doc, .docx"
+            accept=".doc, .pdf"
             :action="upload.url"
             :headers="upload.headers"
             :on-remove="removes"
@@ -354,7 +354,7 @@
     },
     handleSelectChangeprocessesCode(selectedOption) {
       this.processesCodeQueryParams.processesCodes = selectedOption;
-      listProcesses(this.queryParams).then(response => {
+      listProcesses({processesCode: selectedOption}).then(response => {
         this.form.processesName = response.rows[0].processesName;
       });
     },

--
Gitblit v1.9.3