Commit 59dc8084 by 怪兽?别跑

离职继承接口参数调整

1 parent 69c9694b
......@@ -31,7 +31,7 @@ export default {
<template>
<div class="page">
<el-form ref="queryForm" :inline="true" label-width="70px" class="top-search">
<el-form-item label="离职日期">
<el-form-item label="分配时间">
<el-date-picker
clearable
v-model="dateRange"
......
......@@ -35,6 +35,7 @@
created() {
this.query.handoverUserId = this.$route.query.userId
this.query.oldOwner = this.$route.query.userId
this.query.leaveUserId = this.$route.query.leaveUserId
this.getList()
},
mounted() {},
......
......@@ -102,7 +102,7 @@ export default {
@click="
$router.push({
path: 'allocatedStaffDetail',
query: { userId: scope.row.userId },
query: { userId: scope.row.userId, leaveUserId: scope.row.id },
})
"
text>
......
......@@ -54,7 +54,7 @@
<el-table-column label="导入时间" align="center" prop="createTime" width="180"></el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="{ row }">
<el-button v-if="row.addState !== 1" text @click="tipFn(row.id)">提醒</el-button>
<el-button v-if="row.addState == 0" text @click="tipFn(row.id)">提醒</el-button>
<el-button text @click="removeFn(row.id)">删除</el-button>
</template>
</el-table-column>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!