apply-clients 5.0.35-ezhou-1 → 5.0.35-ezhou-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -286,9 +286,12 @@
286
286
  </header>
287
287
  <article slot="modal-body" class="modal-body">
288
288
  <div class="form-group">
289
- <file-upload class="my-file-uploader" :name="Math.random()"
289
+ <file-upload class="my-file-uploader" :name="key+Math.random()"
290
290
  action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>
291
+ <a type="button" class="btn btn-info head-but"
292
+ href="/apply/download/excel/报建批量导入.xlsx" download>模板下载</a>
291
293
  </div>
294
+
292
295
  </article>
293
296
  <footer slot="modal-footer" class="modal-footer"></footer>
294
297
  </modal>
@@ -331,7 +334,8 @@
331
334
  startFlowonce:true,
332
335
  startFlowall:true,
333
336
  usertype: this.$appdata.getParam('用户类型'),
334
- headers: "批量导入"
337
+ headers: "批量导入",
338
+ key: "批量导入"
335
339
  }
336
340
  },
337
341
  compiled(){
@@ -603,6 +607,10 @@
603
607
  },
604
608
  closeFile() {
605
609
  this.showFile = false
610
+
611
+ // 将选的文件清空
612
+ this.$refs.file.$el.querySelector('input').value = ''
613
+
606
614
  this.$dispatch('close')
607
615
  }
608
616
  },