| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div class="container" v-loading="isLoading"> |
| | | <div class="table-tab"> |
| | | <div> |
| | | <ul class="tab"> |
| | |
| | | <lims-table :tableData="tableData" :column="column" :isSelection="true" :handleSelectionChange="selectMethod" |
| | | @pagination="pagination" :height="'calc(100vh - 280px)'" :key="upIndex" :page="page" |
| | | :tableLoading="tableLoading"></lims-table> |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <!-- 审核 --> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | isLoading: false, // 控制加载状态 |
| | | entity: { |
| | | orderType: '', |
| | | state: '', |
| | |
| | | } |
| | | } |
| | | const params = { ...this.entity, state: this.tabList[this.tabIndex].value } |
| | | this.tableLoading = true |
| | | this.isLoading = true; // 开始加载 |
| | | selectInsOrderParameter({...this.page,...params}).then(res => { |
| | | this.isLoading = false; // 结束加载 |
| | | this.upIndex++ |
| | | this.tableLoading = false |
| | | if (res.code === 200) { |
| | |
| | | this.page.total = res.data.total |
| | | } |
| | | }).catch(err => { |
| | | this.tableLoading = false |
| | | this.isLoading = false; // 结束加载 |
| | | }) |
| | | }, |
| | | refresh() { |