| | |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <!-- <ValueTable ref="ValueTable" :url="$api.manageRecordTotal.pageManageRecordTotal" |
| | | :componentData="componentData" :key="upIndex" /> --> |
| | | <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 280px)'" @pagination="pagination"></lims-table> |
| | | </div> |
| | |
| | | <script> |
| | | import limsTable from "@/components/Table/lims-table.vue"; |
| | | import filePreview from '@/components/Preview/filePreview.vue' |
| | | import ValueTable from '@/components/Table/value-table.vue' |
| | | import { |
| | | addManageRecordVerify, |
| | | pageManageRecordVerify, |
| | |
| | | } from '@/api/cnas/systemManagement/documentRecords.js' |
| | | export default { |
| | | components: { |
| | | ValueTable, |
| | | filePreview, |
| | | limsTable, |
| | | }, |
| | |
| | | { |
| | | name: "批准", |
| | | type: "text", |
| | | clickFun: (handleApproval) => { |
| | | this.handleSubmit(row); |
| | | clickFun: (row) => { |
| | | this.handleApproval(row); |
| | | }, |
| | | disabled: (row) => { |
| | | return !row.submitUserName || !!row.ratifyUserName |
| | |
| | | }).catch(err => { }); |
| | | }, |
| | | handleDown0(row) { |
| | | let url = this.javaApi + '/word/' + row.url |
| | | this.$download.saveAs(url, '外来文件确认记录') |
| | | this.$download.downloadFileFromUrl(row.url, '外来文件确认记录') |
| | | }, |
| | | // 提交 |
| | | handleSubmit(row) { |
| | |
| | | type: 'success', |
| | | message: '提交成功!' |
| | | }); |
| | | this.refreshTable()() |
| | | this.refreshTable() |
| | | }).catch(err => { }); |
| | | }) |
| | | }, |
| | |
| | | }).then(res => { |
| | | this.checkLoading = false |
| | | this.noCheckLoading = false |
| | | if (res.code === 201) return |
| | | this.$message({ |
| | | type: 'success', |
| | | message: '操作成功!' |
| | | }); |
| | | this.refreshTable()() |
| | | this.refreshTable() |
| | | this.lookDialogVisible = false |
| | | }).catch(err => { }); |
| | | }, |
| | |
| | | }) |
| | | .then(() => { |
| | | delManageRecordVerify({ id: row.id }).then((res) => { |
| | | if (res.code == 201) return; |
| | | this.$message.success("删除成功"); |
| | | this.getList0() |
| | | }); |