Commit 2b4ac010 by 怪兽?别跑

离职继承接口参数调整

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