| | |
| | | <template> |
| | | <!-- 外来文件确认记录 --> |
| | | <div class="ExternalDocumentConfirmationRecords"> |
| | | <el-tabs type="border-card" v-model="activeName" style="height: 100%;"> |
| | | <div class="capacity-scope"> |
| | | <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @change="getTableData"> |
| | | <el-tab-pane label="填写" name="填写" style="height: 100%;"> |
| | | <div style="display: flex;align-items: center;justify-content: flex-end;margin-right: 20px;"> |
| | | <el-button size="small" type="primary" @click="openAdd('新增')" style="margin-left: 20px;">新增</el-button> |
| | |
| | | :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;"> |
| | | <el-button size="small" type="primary" :loading="upLoading">导入</el-button></el-upload> |
| | | </div> |
| | | <div class="table" style="height: calc(100% - 200px)"> |
| | | <!-- <ValueTable ref="ValueTable0" :url="$api.manageRecordTotal.pageManageRecordVerify" |
| | | :componentData="componentData0" :key="upIndex0" :delUrl="$api.manageRecordTotal.delManageRecordVerify" |
| | | :upUrl="$api.manageRecordTotal.doManageRecordVerify" /> --> |
| | | <lims-table :tableData="tableData0" :column="column0" :page="page0" :tableLoading="tableLoading0" |
| | | :height="'calc(100vh - 270px)'" @pagination="pagination0"></lims-table> |
| | | </div> |
| | | :height="'calc(100vh - 290px)'" @pagination="pagination0"></lims-table> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="历史记录" name="历史记录" style="height: 100%;"> |
| | | <div class="search"> |
| | |
| | | <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 280px)'" @pagination="pagination"></lims-table> |
| | | </div> |
| | | :height="'calc(100vh - 290px)'" @pagination="pagination"></lims-table> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | <!-- 详情/下载/审核 --> |
| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | // this.entityCopy = this.HaveJson(this.componentData.entity); |
| | | this.getList() |
| | | this.getList0() |
| | | this.getTableData(); |
| | | }, |
| | | methods: { |
| | | getTableData() { |
| | | if (this.activeName === '填写') { |
| | | this.getList0() |
| | | } else { |
| | | this.getList() |
| | | } |
| | | }, |
| | | openAdd(title, row) { |
| | | this.title = title; |
| | | if (row) { |
| | |
| | | }); |
| | | }, |
| | | pagination0({ page, limit }) { |
| | | this.pag0.current = page; |
| | | this.page0.current = page; |
| | | this.page0.size = limit; |
| | | this.getList0(); |
| | | }, |