zhaowei
2024-12-02 a6e90514db278028dec30da60fffc16ba95950af
调整MDC设备实施台账页面导入功能代码
已修改1个文件
7 ■■■■ 文件已修改
src/views/system/MdcEquipmentImplementLedger.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/MdcEquipmentImplementLedger.vue
@@ -39,7 +39,7 @@
      <div class="table-operator" style="border-top: 5px">
        <a-button @click="handleAdd" type="primary" icon="plus">添加台账</a-button>
        <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader"
                  :action="url.importExcelUrl"
                  :action="importExcelUrl"
                  @change="handleImportExcel">
          <a-button type="primary" icon="import">导入</a-button>
        </a-upload>
@@ -288,6 +288,11 @@
    created() {
      this.loadData()
    },
    computed: {
      importExcelUrl: function () {
        return `${window._CONFIG['domianURL']}${this.url.importExcelUrl}`;
      },
    },
    filters: {
      numFilter(value) {
        if (value) {