| | |
| | | type="primary" |
| | | style="position: absolute; right: 50px" |
| | | @click="openAdd()" |
| | | v-hasPermi="['performance:manHour:workTimeConfig:add']" |
| | | >新 增</el-button |
| | | > |
| | | </div> |
| | | <div class="table"> |
| | | <!-- <ValueTable ref="ValueTable0" |
| | | :url="$api.auxiliaryWorkingHours.selectAuxiliaryWorkingHours" :upUrl="$api.auxiliaryWorkingHours.upAuxiliaryWorkingHours" |
| | | :delUrl="$api.auxiliaryWorkingHours.deleteAuxiliaryWorkingHours" :componentData="componentData" :key="upIndex" /> --> |
| | | <lims-table |
| | | :tableData="tableData" |
| | | :column="column" |
| | | :tableLoading="tableLoading" |
| | | :height="'calc(100vh - 270px)'" |
| | | :height="tableHeight" |
| | | :page="page" |
| | | @pagination="pagination" |
| | | ></lims-table> |
| | |
| | | } from "../../../api/business/manHour"; |
| | | import { getYearAndMonthAndDays } from "../../../utils/date"; |
| | | |
| | | import auth from "@/plugins/auth.js"; |
| | | |
| | | import { getDicts } from "@/api/system/dict/data"; |
| | | import { number } from "echarts"; |
| | | export default { |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | tableHeight: "", |
| | | rules: { |
| | | number: [{ required: true, message: "请输入编号", trigger: "blur" }], |
| | | auxiliaryProject: [ |
| | |
| | | clickFun: (row) => { |
| | | this.openAdd(row); |
| | | }, |
| | | showHide: (row) => { |
| | | return auth.hasPermi("performance:manHour:workTimeConfig:edit"); |
| | | }, |
| | | }, |
| | | { |
| | | name: "删除", |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | this.del(row); |
| | | }, |
| | | showHide: (row) => { |
| | | return auth.hasPermi("performance:manHour:workTimeConfig:del"); |
| | | }, |
| | | }, |
| | | ], |
| | |
| | | addPower: true, |
| | | }; |
| | | }, |
| | | created() {}, |
| | | created() { |
| | | this.getTableHeight(); |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.entity); |
| | | this.obtainItemParameterList(); |
| | |
| | | this.getData(); |
| | | }, |
| | | methods: { |
| | | getTableHeight() { |
| | | this.tableHeight = window.innerHeight -50 -46 - 63 - 80 - 41 -30 -30 -32 + ''; |
| | | }, |
| | | getData() { |
| | | this.tableLoading = true; |
| | | this.page.total = 0; |