| | |
| | | placeholder="请选择" |
| | | :clearable="false" |
| | | > |
| | | <el-option :label="item.label" :value="item.value" v-for="(item,index) in jidu" :key="value" /> |
| | | <el-option :label="item.label" :value="item.value" v-for="(item,index) in jidu" :key="item.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="员工名称:"> |
| | |
| | | @pagination="changePage" |
| | | > |
| | | <template #operation="{ row }"> |
| | | <el-button type="primary" text @click="edit(row)" icon="editPen"> |
| | | <el-button type="primary" link @click="edit(row)"> |
| | | 编辑 |
| | | </el-button> |
| | | <el-button type="primary" :disabled="row.adoptedDate ? true : false" text @click="adopted(row)"> |
| | | <el-button type="success" :disabled="row.adoptedDate ? true : false" link @click="adopted(row)"> |
| | | 领用 |
| | | </el-button> |
| | | </template> |
| | | </PIMTable> |
| | | </div> |
| | | <Modal ref="modalRef" @success="getTableData"></Modal> |
| | | <EditModal ref="editModalRef" @success="getTableData"></EditModal> |
| | | <files-dia ref="filesDia"></files-dia> |
| | | </div> |
| | | </template> |
| | |
| | | import { listPage,deleteLedger,update } from "@/api/lavorissce/ledger"; |
| | | import { onMounted, getCurrentInstance } from "vue"; |
| | | import Modal from "./Modal.vue"; |
| | | import EditModal from "./EditModal.vue"; |
| | | import { ElMessageBox, ElMessage } from "element-plus"; |
| | | import dayjs from "dayjs"; |
| | | import FilesDia from "./filesDia.vue"; |
| | |
| | | const multipleList = ref([]); |
| | | const { proxy } = getCurrentInstance(); |
| | | const modalRef = ref(); |
| | | const editModalRef = ref(); |
| | | const { payment_methods } = proxy.useDict("payment_methods"); |
| | | const { income_types } = proxy.useDict("income_types"); |
| | | const filesDia = ref() |
| | |
| | | }, |
| | | [ |
| | | { |
| | | label: "部门/岗位", |
| | | align: "center", |
| | | prop: "deptName" |
| | | }, |
| | | { |
| | | label: "劳保单号", |
| | | align: "center", |
| | | prop: "orderNo", |
| | |
| | | align: "center", |
| | | prop: "staffNo" |
| | | }, |
| | | |
| | | { |
| | | label: "劳保类型", |
| | | align: "center", |
| | |
| | | dataType: "slot", |
| | | slot: "operation", |
| | | align: "center", |
| | | width: "200px", |
| | | width: "150px", |
| | | }, |
| | | ] |
| | | ); |
| | |
| | | modalRef.value.openModal(); |
| | | }; |
| | | const edit = (row) => { |
| | | modalRef.value.loadForm(row); |
| | | editModalRef.value.loadForm(row); |
| | | }; |
| | | |
| | | /** 搜索按钮操作 */ |
| | |
| | | type: "warning", |
| | | }) |
| | | .then(() => { |
| | | proxy.download(`/lavorIssue/exportCopy`, {season: filters.season}, "劳保台账.xlsx"); |
| | | proxy.download(`/lavorIssue/export`, {}, "劳保台账.xlsx"); |
| | | }) |
| | | .catch(() => { |
| | | proxy.$modal.msg("已取消"); |