| | |
| | | </el-radio-group> |
| | | </div> |
| | | <div class="table"> |
| | | <!-- <ValueTable ref="ValueTable0" |
| | | v-if="currentTable == 'value0' && isPermission('selectAuxiliaryOriginalHours')" :isColumnWidth="true" |
| | | :isShowZero="true" |
| | | :url="$api.auxiliaryOriginalHours.selectAuxiliaryOriginalHours" |
| | | :componentData="componentData" :key="upIndex" /> |
| | | <ValueTable ref="ValueTable1" :isShowZero="true" |
| | | v-if="currentTable == 'value1' && isPermission('selectAuxiliaryCorrectionHours')" :isColumnWidth="true" |
| | | :url="$api.auxiliaryCorrectionHours.selectAuxiliaryCorrectionHours" |
| | | :inputUrl="$api.auxiliaryCorrectionHours.upload" |
| | | :componentData="componentData0" |
| | | :key="upIndex1" /> --> |
| | | <lims-table |
| | | v-if="currentTable == 'value0'" |
| | | :tableData="tableData" |
| | | :column="column" |
| | | :key="upIndex" |
| | | :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 270px)'" |
| | | :height="tableHeight+''" |
| | | :page="page" |
| | | @pagination="pagination" |
| | | ></lims-table> |
| | |
| | | :column="column1" |
| | | :key="upIndex1" |
| | | :tableLoading="tableLoading1" |
| | | :height="'calc(100vh - 270px)'" |
| | | :height="tableHeight+''" |
| | | :page="page1" |
| | | @pagination="pagination1" |
| | | ></lims-table> |
| | |
| | | computed: {}, |
| | | data() { |
| | | return { |
| | | tableHeight: "", |
| | | column: [ |
| | | { |
| | | label: "姓名", |
| | |
| | | outLoading: false, |
| | | }; |
| | | }, |
| | | created() {}, |
| | | created() { |
| | | this.getTableHeight(); |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.entity); |
| | | this.entityCopy0 = this.HaveJson(this.entity); |
| | |
| | | }, |
| | | }, |
| | | methods: { |
| | | getTableHeight() { |
| | | this.tableHeight = window.innerHeight -50 -46 - 63 - 80 - 41 -30 -30 -32; |
| | | }, |
| | | getData() { |
| | | if (this.currentTable == "value0") { |
| | | console.log('value0'); |
| | |
| | | pagination({ page, limit }) { |
| | | this.page.current = page; |
| | | this.page.size = limit; |
| | | this.getList(); |
| | | this.getData(); |
| | | }, |
| | | // 返回分页值 |
| | | pagination1({ page, limit }) { |
| | | this.page1.current = page; |
| | | this.page1.size = limit; |
| | | this.getList(); |
| | | this.getData(); |
| | | }, |
| | | refresh() { |
| | | this.entity = { |