Commit 293351d8 authored by ‘老张’'s avatar ‘老张’

修改员工年假

parent 0b0ee048
......@@ -57,7 +57,7 @@
<div class="table - title - container">
<div class="table-container">
<div class="div1"></div>
<span class="leave-application-title">员工余额</span>
<span class="leave-application-title">员工年假</span>
<span class="add">
<el-tooltip content="新增" placement="top" >
<el-button
......@@ -123,7 +123,7 @@
</div>
</div>
</div>
<!-- 添加或修改员工余额对话框 -->
<!-- 添加或修改员工年假对话框 -->
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
<el-form ref="balanceRef" :model="form" :rules="rules" label-width="80px">
<el-form-item label="员工ID" prop="employeeId">
......@@ -219,7 +219,7 @@ const data = reactive({
const { queryParams, form, rules } = toRefs(data);
/** 查询员工余额列表 */
/** 查询员工年假列表 */
function getList() {
loading.value = true;
listBalance(queryParams.value).then(response => {
......@@ -280,7 +280,7 @@ function handleSelectionChange(selection) {
function handleAdd() {
reset();
open.value = true;
title.value = "添加员工余额";
title.value = "添加员工年假";
}
/** 修改按钮操作 */
......@@ -290,7 +290,7 @@ function handleUpdate(row) {
getBalance(_id).then(response => {
form.value = response.data;
open.value = true;
title.value = "修改员工余额";
title.value = "修改员工年假";
});
}
......@@ -318,7 +318,7 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
const _ids = row.id || ids.value;
proxy.$modal.confirm('是否确认删除员工余额编号为"' + _ids + '"的数据项?').then(function() {
proxy.$modal.confirm('是否确认删除员工年假编号为"' + _ids + '"的数据项?').then(function() {
return delBalance(_ids);
}).then(() => {
getList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment