Procházet zdrojové kódy

业务流程优化-4

wyh před 1 rokem
rodič
revize
9ce18b5a5f

+ 17 - 5
itdmWeb/src/views/module-iTDM/itdmYeWu/itdmBgJiaofu.vue

@@ -23,11 +23,13 @@
       <tr>
         <td class="title" style="width: 100px">添加试验报告</td>
         <td class="content" style="width: 360px">
-          <div style="width: 440px"></div>
+          <j-upload v-model="fileListBg" text="上传"></j-upload>
+          <!-- <div style="width: 440px"></div> -->
         </td>
         <td class="title white" style="width: 100px">质量审核</td>
         <td class="content" style="width: 450px">
-          <input v-model="tableData.shuruLeixing" style="text-align: center" />
+          <div class="btn" style="margin-right:1.1%" @click="addSubTable">提交</div>
+          <!-- <input v-model="tableData.shuruLeixing" style="text-align: center" /> -->
         </td>
       </tr>
       <tr>
@@ -43,7 +45,8 @@
       <tr>
         <td class="title" style="width: 100px">报告办理</td>
         <td class="content" style="width: 360px">
-          <div style="width: 440px"></div>
+          <j-upload v-model="fileListBl" text="上传"></j-upload>
+          <!-- <div style="width: 440px"></div> -->
         </td>
         <td class="title white" style="width: 100px">报告接收</td>
         <td class="content" style="width: 450px">
@@ -58,7 +61,8 @@
         <!-- <td class="content" style="width: 100px" colspan="2"></td> -->
         <td class="title white" style="width: 100px">报告归档</td>
         <td class="content" style="width: 450px">
-          <input v-model="tableData.shuruLeixing" style="text-align: center" />
+          <div class="btn" style="margin-right:1.1%" @click="addSubTable">提交</div>
+          <!-- <input v-model="tableData.shuruLeixing" style="text-align: center" /> -->
         </td>
       </tr>
     </table>
@@ -69,6 +73,7 @@
 import JUpload from '@/components/jeecg/JUpload'
 export default {
     name: 'itdmBgJiaofu',
+    components: { JUpload },
     data() {
         return {
             tableData: {
@@ -80,8 +85,12 @@ export default {
               // 完成时间
               wanChengTime: '',
             },
-            // 导入文档
+            // 添加归档材料
             fileList:[],
+            // 添加试验报告
+            fileListBg:[],
+            // 报告办理
+            fileListBl:[],
             // 导入excel
             excel: '',
         }
@@ -95,6 +104,9 @@ export default {
         this.excel = document.getElementById('excel').files[0].name
         console.log(this.excel)
       },
+      addSubTable() {
+        console.log(this.fileList)
+      }
     }
 }
 </script>