Jelajahi Sumber

修改批量审批显示问题

chrislee 1 tahun lalu
induk
melakukan
c24daecd5a

+ 1 - 1
src/views/modules/common/approve-component-batch.vue

@@ -8,7 +8,7 @@
             </el-form-item>
           </el-row>
           <el-row class="my-row">
-            <upload-component :title="'审批附件'" :accept="'*'" :file-obj-list="fileList" @uploadSuccess="uploadSuccess"/>
+            <upload-component :display-star="false" :title="'审批附件'" :accept="'*'" :file-obj-list="fileList" @uploadSuccess="uploadSuccess"/>
           </el-row>
         </el-form>
       </el-col>

+ 3 - 3
src/views/modules/msg-center/approve.vue

@@ -330,16 +330,16 @@
         }
       },
       batchApprove () {
-        console.log(this.dataListSelections)
+        // console.log(JSON.stringify(this.dataListSelections))
         if (this.dataListSelections && this.dataListSelections.length > 0) {
           this.approveDialogVisible = true
           let businessIds = this.dataListSelections.map(item => item.businessId)
-  
+
           this.$nextTick(() => {
             this.$refs.approve.init(this.dataListSelections[0].businessType, businessIds)
           })
         } else {
-  
+          this.$message.warning('请选择后再提交审批!')
         }
       },
       approveChose () {