| | |
| | | <template> |
| | | <!-- 费用统计页面--> |
| | | <div class="capacity-scope"> |
| | | <div class="search"> |
| | | <div> |
| | |
| | | :height="'calc(100vh - 250px)'" @pagination="pagination" |
| | | :page="page" :tableLoading="tableLoading"></lims-table> |
| | | </div> |
| | | <viewInfoDia ref="viewInfoDia" v-if="viewInfoDia"></viewInfoDia> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import limsTable from "@/components/Table/lims-table.vue"; |
| | | import viewInfoDia from "./components/viewInfoDia.vue"; |
| | | import {selectRatesPage} from "@/api/business/insOrderRates"; |
| | | import {selectCustomPageList} from "@/api/system/customer"; |
| | | |
| | | export default { |
| | | components: {limsTable}, |
| | | components: {limsTable,viewInfoDia}, |
| | | data() { |
| | | return { |
| | | entity: { |
| | |
| | | { label: '委托人', prop: 'prepareUser' }, |
| | | { label: '生产单位', prop: 'production' }, |
| | | { label: '工程名称', prop: 'engineering' }, |
| | | { label: '工时', prop: 'cost' } |
| | | { label: '工时', prop: 'cost' }, |
| | | { |
| | | dataType: "action", |
| | | fixed: "right", |
| | | label: "操作", |
| | | operation: [ |
| | | { |
| | | name: "查看详情", |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | this.openDia(row) |
| | | }, |
| | | }, |
| | | ], |
| | | } |
| | | ], |
| | | page: { |
| | | total: 0, |
| | | size: 10, |
| | | current: 1 |
| | | }, |
| | | companyOptions: [] |
| | | companyOptions: [], |
| | | viewInfoDia: false |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | this.page.size = page.limit |
| | | this.refreshTable() |
| | | }, |
| | | // 查看详情 |
| | | openDia (row) { |
| | | this.viewInfoDia = true |
| | | this.$nextTick(() => { |
| | | this.$refs.viewInfoDia.openDia(row) |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |