| | |
| | | <div class="table"> |
| | | <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 290px)'" @pagination="pagination"></lims-table> |
| | | <!-- <ValueTable ref="ValueTable" :url="$api.manageRecordIntervals.pageManageRecordIntervals" |
| | | :delUrl="$api.manageRecordIntervals.delManageRecordIntervals" :componentData="componentData" |
| | | :upUrl="$api.manageRecordIssueRecycle.doManageRecordIssueRecycle" :key="upIndex" /> --> |
| | | </div> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="历史记录" name="历史记录" style="height: 100%;"> |
| | |
| | | <div class="table"> |
| | | <lims-table :tableData="tableData0" :column="column0" :page="page0" :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 290px)'" @pagination="pagination0"></lims-table> |
| | | <!-- <ValueTable ref="ValueTable0" :url="$api.manageRecordIntervals.pageManageRecordIntervalsTotal" |
| | | :componentData="componentData0" :key="upIndex" /> --> |
| | | </div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | |
| | | <script> |
| | | import limsTable from "@/components/Table/lims-table.vue"; |
| | | import filePreview from '@/components/Preview/filePreview.vue' |
| | | import { getToken } from "@/utils/auth"; |
| | | import { |
| | | exportOutManageRecordIntervals, |
| | | addManageRecordIntervals, |
| | |
| | | font: '查看', |
| | | type: 'text', |
| | | method: 'handleLook', |
| | | disabFun: (row, index) => { |
| | | disabled: (row, index) => { |
| | | return !row.url |
| | | } |
| | | }, { |
| | |
| | | font: '下载', |
| | | type: 'text', |
| | | method: 'handleDown0', |
| | | disabFun: (row, index) => { |
| | | disabled: (row, index) => { |
| | | return !row.url |
| | | } |
| | | }, |
| | |
| | | font: '提交', |
| | | type: 'text', |
| | | method: 'handleSubmit', |
| | | disabFun: (row, index) => { |
| | | disabled: (row, index) => { |
| | | return !!row.submitUserName |
| | | } |
| | | }, { |
| | |
| | | font: '批准', |
| | | type: 'text', |
| | | method: 'handleApproval', |
| | | disabFun: (row, index) => { |
| | | disabled: (row, index) => { |
| | | return !row.submitUserName || !!row.ratifyUserName |
| | | } |
| | | }], |
| | |
| | | exportOutManageRecordIntervals(this.queryParams).then(res => { |
| | | this.outLoading = false |
| | | if (res.code == 201) return this.$message.error('导出失败') |
| | | this.$message.success('导出成功') |
| | | let url = this.javaApi + 'word/' + res.message |
| | | this.$download.saveAs(url, "文件定期审查记录"); |
| | | }) |