吴羡
6 小时以前 9862248787934f4242ac9636e0c4d5b8ee0870b8
src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
@@ -22,10 +22,7 @@
          </div>
          <div>
            <el-button size="small" type="primary" @click="openAdd" v-if="addPower">新增</el-button>
            <el-upload :action="action" :multiple="false" :show-file-list="false" accept='.doc,.docx'
                       :headers="uploadHeader" :on-change="beforeUpload" :on-error="onError" ref='upload' v-if="upPower"
                       :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;">
              <el-button type="primary" size="small">导入</el-button></el-upload>
            <el-button v-if="upPower" type="primary" size="small" style="margin-left: 20px" @click="$refs.importDialog.open()">导入</el-button>
          </div>
        </div>
        <div class="table">
@@ -122,12 +119,23 @@
        <el-button type="primary" @click="submitCheck('通过')" :loading="checkLoading">通 过</el-button>
      </span></template>
    </el-dialog>
    <import-dialog
      ref="importDialog"
      title="导入文件定期审查记录"
      :action="action"
      accept=".doc,.docx"
      template-url="/import-templates/文件定期审查记录导入模板.docx"
      template-name="文件定期审查记录导入模板.docx"
      :tips="['请勿删除表头或增删列,数据从第 2 行开始填写', '适宜性填写“适宜 / 不适宜”或“√ / ×”']"
      @success="refreshTable"
    />
  </div>
</template>
<script>
import limsTable from "@/components/Table/lims-table.vue";
import filePreview from '@/components/Preview/filePreview.vue'
import ImportDialog from '@/components/ImportDialog/index.vue'
import {
  exportOutManageRecordIntervals,
  addManageRecordIntervals,
@@ -145,7 +153,8 @@
  name: 'RegularReviewsRecord',
  components: {
    limsTable,
    filePreview
    filePreview,
    ImportDialog
  },
  data() {
    return {