소스 검색

修改批量审批显示问题

chrislee 1 년 전
부모
커밋
c24daecd5a
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      src/views/modules/common/approve-component-batch.vue
  2. 3 3
      src/views/modules/msg-center/approve.vue

+ 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 () {