no message
This commit is contained in:
parent
588e366e13
commit
7bc7e27b60
@ -1,18 +1,34 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- <transition name="popupfade"> -->
|
<!-- <transition name="popupfade"> -->
|
||||||
<div class="taskDetailRight" @click="getRight">
|
<div
|
||||||
<div class="taskDetailRight-contant" @click.stop="aa">
|
class="taskDetailRight"
|
||||||
|
@click="getRight"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="taskDetailRight-contant"
|
||||||
|
@click.stop="aa"
|
||||||
|
>
|
||||||
<div class="taskDetailRight-contant-title commonFont">{{title}}</div>
|
<div class="taskDetailRight-contant-title commonFont">{{title}}</div>
|
||||||
<div class="taskDetailRight-contant-content">
|
<div class="taskDetailRight-contant-content">
|
||||||
<slot name="content"></slot>
|
<slot name="content"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="footer" class="taskDetailRight-contant-footer" >
|
<div
|
||||||
|
v-if="footer"
|
||||||
|
class="taskDetailRight-contant-footer"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<slot name="footer-left"></slot>
|
<slot name="footer-left"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button size="small" @click="$emit('cancel')">取 消</el-button>
|
<el-button
|
||||||
<el-button size="small" type="primary" @click="$emit('submit')">{{subumitText}}</el-button>
|
size="small"
|
||||||
|
@click="$emit('cancel')"
|
||||||
|
>取 消</el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
type="primary"
|
||||||
|
@click="$emit('submit')"
|
||||||
|
>{{subumitText}}</el-button>
|
||||||
<slot name="footer"></slot>
|
<slot name="footer"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -81,7 +97,8 @@ export default {
|
|||||||
.fade-enter-to {
|
.fade-enter-to {
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
}
|
}
|
||||||
.popupfade-leave-active,.fade-enter-active {
|
.popupfade-leave-active,
|
||||||
|
.fade-enter-active {
|
||||||
transition: all 40s;
|
transition: all 40s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,7 +108,7 @@ export default {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
background: rgba(0,0,0,.12);
|
background: rgba(0, 0, 0, 0.12);
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
transition: all 1s;
|
transition: all 1s;
|
||||||
@ -100,7 +117,7 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
float: right;
|
float: right;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: 0 1px 6px 0 rgba(0,0,0,.12), 0 1px 6px 0 rgba(0,0,0,.12);
|
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
&-title {
|
&-title {
|
||||||
|
|||||||
@ -1,27 +1,29 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<popup-right
|
<popup-right
|
||||||
v-if="showChooseList"
|
v-if="showPopup"
|
||||||
@cancel="hundlePopupHide"
|
@cancel="hundlePopupHide"
|
||||||
@submit="handleSubmitPopup"
|
@submit="handleSubmitPopup"
|
||||||
:title="popupRightTitle"
|
:title="popupRightTitle"
|
||||||
:subumitText='subumitText'
|
:subumitText='subumitText'
|
||||||
class="popup commonFont"
|
class="popup commonFont"
|
||||||
>
|
>
|
||||||
<div slot="content">
|
<div
|
||||||
<div class="popup-selection">
|
slot="content"
|
||||||
<div class="comonTitle row">变更参与考核人员(9人)</div>
|
class="popup-content"
|
||||||
|
>
|
||||||
|
<div class="popup-content-selection">
|
||||||
|
<div class="row popup-content-selection-title">变更参与考核人员(9人)</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-circle-plus-outline"
|
icon="el-icon-circle-plus-outline"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
plain
|
|
||||||
>添加</el-button>
|
>添加</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-remove-outline"
|
icon="el-icon-remove-outline"
|
||||||
@click="handleDelete"
|
@click="handleDelete"
|
||||||
plain
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -81,15 +83,18 @@
|
|||||||
>设置</el-button>
|
>设置</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</popup-right>
|
</popup-right>
|
||||||
|
<popupRemovePerson :showPopup.sync='showPerson' />
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import PopupRight from '@/components/PopupRight'
|
import PopupRight from '@/components/PopupRight'
|
||||||
|
import popupRemovePerson from '@/components/popupPerson'
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
showChooseList: {
|
showPopup: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
@ -104,26 +109,28 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
showPerson: false,
|
||||||
permissionsRadio: '0', // 部门主管选项
|
permissionsRadio: '0', // 部门主管选项
|
||||||
permissionsPrompt: '被考核人的目标完成确认后,管理员和部门主管都可以调整目标'
|
permissionsPrompt: '被考核人的目标完成确认后,管理员和部门主管都可以调整目标'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
PopupRight,
|
||||||
|
popupRemovePerson
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
hundlePopupHide () {
|
hundlePopupHide () {
|
||||||
this.showChooseList = false
|
this.$emit('update:showPopup', false)
|
||||||
this.$emit('update:showChooseList', false)
|
|
||||||
},
|
},
|
||||||
handleSubmitPopup () {
|
handleSubmitPopup () {
|
||||||
this.$emit('cb', {})
|
this.$emit('cb', {})
|
||||||
},
|
},
|
||||||
handleAdd () { },
|
handleAdd () { },
|
||||||
handleDelete () {
|
handleDelete () {
|
||||||
|
this.showPerson = true
|
||||||
}
|
}
|
||||||
// handlePermissionsRadio () {
|
// handlePermissionsRadio () {
|
||||||
// this.permissionsPrompt = this.permissionsRadio === '0' ? '被考核人的目标完成确认后,管理员和部门主管都可以调整目标' : '被考核人的目标完成确认后,只有管理员可以调整目标'
|
// this.permissionsPrompt = this.permissionsRadio === '0' ? '被考核人的目标完成确认后,管理员和部门主管都可以调整目标' : '被考核人的目标完成确认后,只有管理员可以调整目标'
|
||||||
@ -134,10 +141,18 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.popup {
|
.popup {
|
||||||
|
&-content {
|
||||||
|
width: 440px;
|
||||||
&-selection {
|
&-selection {
|
||||||
border-bottom: 1px solid @borderColor;
|
border-bottom: 1px solid @borderColor;
|
||||||
|
padding: 0px 0px 10px 0px;
|
||||||
|
&-title {
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
.row {
|
.row {
|
||||||
height: 50px;
|
display: flex;
|
||||||
|
align-content: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
183
src/components/popupPerson/index.vue
Normal file
183
src/components/popupPerson/index.vue
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
<template>
|
||||||
|
<popup-right
|
||||||
|
v-if="showPopup"
|
||||||
|
@cancel="hundlePopupHide"
|
||||||
|
@submit="handleSubmitPopup"
|
||||||
|
:title="title"
|
||||||
|
class="popup"
|
||||||
|
>
|
||||||
|
<div slot="content">
|
||||||
|
<div class="line-space ">
|
||||||
|
<div class="line-space ">
|
||||||
|
<el-input
|
||||||
|
v-model="rqAssessmentParameter.searchName"
|
||||||
|
@change="handlePopupSearchChange"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
placeholder="按姓名搜索"
|
||||||
|
size="small"
|
||||||
|
></el-input>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-button
|
||||||
|
@click="handleChooseDepartment"
|
||||||
|
size="small"
|
||||||
|
>选择部门<i class="el-icon-arrow-down"></i></el-button>
|
||||||
|
<el-button
|
||||||
|
@click="handleChooseGroup"
|
||||||
|
size="small"
|
||||||
|
>选择考评组<i class="el-icon-arrow-down"></i></el-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="popup-table">
|
||||||
|
<el-table
|
||||||
|
v-if="popupData.tableList.length"
|
||||||
|
ref="popupMultipleTable"
|
||||||
|
:data="popupData.tableList"
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
:row-key="handleGetRowKeys"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="40"
|
||||||
|
:reserve-selection="true"
|
||||||
|
></el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="姓名"
|
||||||
|
width="250"
|
||||||
|
><template slot-scope="scope"><img
|
||||||
|
src="xx"
|
||||||
|
class="popup-table-img"
|
||||||
|
/>{{scope.row.name}}</template></el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div
|
||||||
|
v-else
|
||||||
|
class="popup-empty comonPromptFont"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src=""
|
||||||
|
style="height: 150px; width: 150px;"
|
||||||
|
/>
|
||||||
|
<div>暂无数据</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-pagination
|
||||||
|
:hide-on-single-page="true"
|
||||||
|
:current-page.sync="rqAssessmentParameter.currPage"
|
||||||
|
:page-size="rqAssessmentParameter.pageSize"
|
||||||
|
:total="rqAssessmentParameter.totalCount"
|
||||||
|
:page-count="rqAssessmentParameter.totalPage"
|
||||||
|
@current-change="handleCurrentChange"
|
||||||
|
layout="total, prev, pager, next, jumper"
|
||||||
|
></el-pagination>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
slot="footer-left"
|
||||||
|
class="popup-footer-left"
|
||||||
|
>已选择:{{popupData.selectedList.length}}个</div>
|
||||||
|
</popup-right>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import PopupRight from '@/components/PopupRight'
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
title: {
|
||||||
|
type: String,
|
||||||
|
default: '请选择开始评分的考评组'
|
||||||
|
},
|
||||||
|
showPopup: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
popupData: {
|
||||||
|
tableList: [],
|
||||||
|
selectedList: []
|
||||||
|
},
|
||||||
|
rqAssessmentParameter: {
|
||||||
|
currPage: 1,
|
||||||
|
pageSize: 100,
|
||||||
|
searchName: '',
|
||||||
|
totalCount: 1,
|
||||||
|
totalPage: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
PopupRight
|
||||||
|
},
|
||||||
|
computed: {},
|
||||||
|
beforeMount () { },
|
||||||
|
mounted () { },
|
||||||
|
methods: {
|
||||||
|
handlePopupSearchChange (val) {
|
||||||
|
// 去搜搜
|
||||||
|
this.handleGainAssessmentGroupList()
|
||||||
|
},
|
||||||
|
handleChooseDepartment () {
|
||||||
|
|
||||||
|
},
|
||||||
|
handleChooseGroup () {
|
||||||
|
|
||||||
|
},
|
||||||
|
handleSelectionChange (val) {
|
||||||
|
// 选择发生变化
|
||||||
|
this.popupData.selectedList = val
|
||||||
|
},
|
||||||
|
handleEmpty () {
|
||||||
|
this.showChooseList = false
|
||||||
|
// 新建考评组
|
||||||
|
// this.$router.push({ name: 'workbench-edit-group' })
|
||||||
|
},
|
||||||
|
handleSubmitPopup () {
|
||||||
|
const list = this.popupData.selectedList
|
||||||
|
},
|
||||||
|
hundlePopupHide () {
|
||||||
|
this.$emit('update:showPopup', false)
|
||||||
|
},
|
||||||
|
handleCurrentChange (val) {
|
||||||
|
this.handleGainAssessmentGroupList(val)
|
||||||
|
},
|
||||||
|
// 获取数据
|
||||||
|
handleGainAssessmentGroupList (currPage) {
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
watch: {}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang='less' scoped>
|
||||||
|
.popup {
|
||||||
|
.line-space {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
&-table {
|
||||||
|
&-img {
|
||||||
|
width: 34px;
|
||||||
|
height: 34px;
|
||||||
|
border-radius: 17px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-empty {
|
||||||
|
padding-top: 100px;
|
||||||
|
height: 500px;
|
||||||
|
width: 440px;
|
||||||
|
font-size: 14px;
|
||||||
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-footer-left {
|
||||||
|
color: @fontBlue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -1,63 +0,0 @@
|
|||||||
<!-- -->
|
|
||||||
<template>
|
|
||||||
<div>
|
|
||||||
<popup-right v-if="show" @cancel='handleCancel' @submit="handleSubmit" title="添加维度">
|
|
||||||
<div slot='content'>
|
|
||||||
<el-input v-model="searchTxt"
|
|
||||||
@click="handleSearch"
|
|
||||||
placeholder="搜索考评组"
|
|
||||||
style="margin-top:40px">
|
|
||||||
<i slot="prefix" class="el-input__icon el-icon-search"></i>
|
|
||||||
</el-input>
|
|
||||||
<div>
|
|
||||||
<el-checkbox>全选</el-checkbox>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</popup-right>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import PopupRight from '@/components/PopupRight'
|
|
||||||
export default {
|
|
||||||
props: {
|
|
||||||
show: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
|
||||||
data () {
|
|
||||||
return {
|
|
||||||
// 搜索条件内容
|
|
||||||
searchTxt: '',
|
|
||||||
//
|
|
||||||
form: {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
PopupRight
|
|
||||||
},
|
|
||||||
computed: {},
|
|
||||||
beforeMount () {},
|
|
||||||
mounted () {},
|
|
||||||
methods: {
|
|
||||||
handleSearch () {
|
|
||||||
|
|
||||||
},
|
|
||||||
handleCancel () {
|
|
||||||
this.$emit('update:show', false)
|
|
||||||
},
|
|
||||||
handleSubmit () {
|
|
||||||
this.$emit('update:show', false)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
watch: {}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang='' scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@ -9,35 +9,86 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
:props="props"
|
:props="props"
|
||||||
:options="timeOptions"
|
:options="timeOptions"
|
||||||
@change="handleChange"></el-cascader>
|
@change="handleChange"
|
||||||
|
></el-cascader>
|
||||||
</div>
|
</div>
|
||||||
</small-nav>
|
</small-nav>
|
||||||
<div class="step-content boderAndRadius">
|
<div class="step-content boderAndRadius">
|
||||||
<div class="step-content-top">
|
<div class="step-content-top">
|
||||||
<div class="step-content-top-left">
|
<div class="step-content-top-left">
|
||||||
<el-button size="small" @click="handleChoose" plain>{{formTitle}}<i style="margin-left:10px;" class="el-icon-arrow-down"></i></el-button>
|
<el-button
|
||||||
<el-button size="small" @click="handleKaoping" plain>{{params.evaluationIds?params.title:'选择考评组'}}<i style="margin-left:10px;" class="el-icon-arrow-down"></i></el-button>
|
size="small"
|
||||||
<el-input clearable @change="handleChangeInput" @keyup.enter="handleChangeInput" size="small" style="margin-left:10px;" v-model="params.name" prefix-icon="el-icon-search" placeholder="请输入姓名搜索"></el-input>
|
@click="handleChoose"
|
||||||
|
plain
|
||||||
|
>{{formTitle}}<i
|
||||||
|
style="margin-left:10px;"
|
||||||
|
class="el-icon-arrow-down"
|
||||||
|
></i></el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="handleKaoping"
|
||||||
|
plain
|
||||||
|
>{{params.evaluationIds?params.title:'选择考评组'}}<i
|
||||||
|
style="margin-left:10px;"
|
||||||
|
class="el-icon-arrow-down"
|
||||||
|
></i></el-button>
|
||||||
|
<el-input
|
||||||
|
clearable
|
||||||
|
@change="handleChangeInput"
|
||||||
|
@keyup.enter="handleChangeInput"
|
||||||
|
size="small"
|
||||||
|
style="margin-left:10px;"
|
||||||
|
v-model="params.name"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
placeholder="请输入姓名搜索"
|
||||||
|
></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="step-content-top-right">
|
<div class="step-content-top-right">
|
||||||
<el-button size="small" @click="showChooseList= true" type="primary">开始评分</el-button>
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="showChooseList= true"
|
||||||
|
type="primary"
|
||||||
|
>开始评分</el-button>
|
||||||
<!-- handleGetList handleChoose -->
|
<!-- handleGetList handleChoose -->
|
||||||
<el-button size="small" @click="handleGetList" plain>更多</el-button>
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="handleMore"
|
||||||
|
plain
|
||||||
|
>更多</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="step-content-center boderAndRadius">
|
<div class="step-content-center boderAndRadius">
|
||||||
<div class="step-content-center-item commonFont" v-for="(i,index) in titleList" :key="i.id">
|
<div
|
||||||
<span class="hover" :class="{active:i.active}" @click="handleActive(i)" style="cursor: pointer;">{{i.desc}}( {{i.num}} )</span>
|
class="step-content-center-item commonFont"
|
||||||
<div v-if="index<titleList.length-1" class="step-content-center-item-img">
|
v-for="(i,index) in titleList"
|
||||||
<div v-if="titleList.length>2 && index===0" class='shuxian'></div>
|
:key="i.id"
|
||||||
<i v-else class="el-icon-arrow-right"></i>
|
>
|
||||||
|
<span
|
||||||
|
class="hover"
|
||||||
|
:class="{active:i.active}"
|
||||||
|
@click="handleActive(i)"
|
||||||
|
style="cursor: pointer;"
|
||||||
|
>{{i.desc}}( {{i.num}} )</span>
|
||||||
|
<div
|
||||||
|
v-if="index<titleList.length-1"
|
||||||
|
class="step-content-center-item-img"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-if="titleList.length>2 && index===0"
|
||||||
|
class='shuxian'
|
||||||
|
></div>
|
||||||
|
<i
|
||||||
|
v-else
|
||||||
|
class="el-icon-arrow-right"
|
||||||
|
></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
style="width: 100%">
|
style="width: 100%"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="staffName"
|
prop="staffName"
|
||||||
label="姓名"
|
label="姓名"
|
||||||
@ -71,13 +122,15 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="address"
|
prop="address"
|
||||||
align='center'
|
align='center'
|
||||||
label="操作">
|
label="操作"
|
||||||
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
<el-button
|
<el-button
|
||||||
@click="handleLook(scope.row.id)"
|
@click="handleLook(scope.row.id)"
|
||||||
type="text"
|
type="text"
|
||||||
size="small">
|
size="small"
|
||||||
|
>
|
||||||
查 看
|
查 看
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
@ -93,23 +146,53 @@
|
|||||||
layout="prev, pager, next"
|
layout="prev, pager, next"
|
||||||
:page-size.sync='params.pageSize'
|
:page-size.sync='params.pageSize'
|
||||||
:current-page.sync='params.currPage'
|
:current-page.sync='params.currPage'
|
||||||
:total="params.totalCount">
|
:total="params.totalCount"
|
||||||
|
>
|
||||||
</el-pagination>
|
</el-pagination>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ChooseInitiate @cb='handleCallBackChoose' subumitText='开始评分' popupRightTitle='请选择开始评分的考评组' :options='options' :showChooseList.sync='showChooseList'/>
|
<ChooseInitiate
|
||||||
<EvaluationTeamFilter v-if="dialogVisible" :value='params.evaluationIds' :filtersDic="{startId: this.params.startId }" :dialogVisible.sync='dialogVisible' @submitClick='submitClick' @close='dialogVisible = false'/>
|
@cb='handleCallBackChoose'
|
||||||
<getPersonnel v-if="form.isShowPersonnel" :value.sync='params.staffIds' :isShow.sync='form.isShowPersonnel' :showDataList.sync='form.personnelList'/>
|
subumitText='开始评分'
|
||||||
|
popupRightTitle='请选择开始评分的考评组'
|
||||||
|
:options='options'
|
||||||
|
:showChooseList.sync='showChooseList'
|
||||||
|
/>
|
||||||
|
<EvaluationTeamFilter
|
||||||
|
v-if="dialogVisible"
|
||||||
|
:value='params.evaluationIds'
|
||||||
|
:filtersDic="{startId: this.params.startId }"
|
||||||
|
:dialogVisible.sync='dialogVisible'
|
||||||
|
@submitClick='submitClick'
|
||||||
|
@close='dialogVisible = false'
|
||||||
|
/>
|
||||||
|
<getPersonnel
|
||||||
|
v-if="form.isShowPersonnel"
|
||||||
|
:value.sync='params.staffIds'
|
||||||
|
:isShow.sync='form.isShowPersonnel'
|
||||||
|
:showDataList.sync='form.personnelList'
|
||||||
|
/>
|
||||||
|
<popupMange
|
||||||
|
:showPopup.sync="showPopupMange"
|
||||||
|
popupRightTitle="管理绩效考核"
|
||||||
|
@cb="handlePopupMangeSubmit"
|
||||||
|
/>
|
||||||
|
<popupRemovePerson
|
||||||
|
:showPopup="showPopupPerson"
|
||||||
|
title="删除被考核人员"
|
||||||
|
></popupRemovePerson>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import SmallNav from '@/components/kpi-layout/SmallNav'
|
import SmallNav from '@/components/kpi-layout/SmallNav'
|
||||||
import getPersonnel from '@/components/getPersonnel'
|
import getPersonnel from '@/components/getPersonnel'
|
||||||
|
import popupMange from '@/components/popupMange'
|
||||||
import PopupRight from '@/components/PopupRight'
|
import PopupRight from '@/components/PopupRight'
|
||||||
import EvaluationTeamFilter from '@/components/EvaluationTeamFilter'
|
import EvaluationTeamFilter from '@/components/EvaluationTeamFilter'
|
||||||
import ChooseInitiate from '@/components/ChooseInitiate'
|
import ChooseInitiate from '@/components/ChooseInitiate'
|
||||||
|
import popupRemovePerson from '@/components/popupPerson'
|
||||||
|
|
||||||
import { apiManagerDetail, apiChartList } from '@/api/assessment'
|
import { apiManagerDetail, apiChartList } from '@/api/assessment'
|
||||||
import { getStartsData } from '@/api/report'
|
import { getStartsData } from '@/api/report'
|
||||||
@ -120,6 +203,8 @@ export default {
|
|||||||
options: {
|
options: {
|
||||||
startId: this.$route.query.id || ''
|
startId: this.$route.query.id || ''
|
||||||
},
|
},
|
||||||
|
showPopupMange: false, // 显示管理
|
||||||
|
showPopupPerson: false,
|
||||||
showChooseList: false,
|
showChooseList: false,
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
form: {
|
form: {
|
||||||
@ -162,6 +247,8 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
SmallNav,
|
SmallNav,
|
||||||
getPersonnel,
|
getPersonnel,
|
||||||
|
popupMange,
|
||||||
|
popupRemovePerson,
|
||||||
PopupRight,
|
PopupRight,
|
||||||
EvaluationTeamFilter,
|
EvaluationTeamFilter,
|
||||||
ChooseInitiate
|
ChooseInitiate
|
||||||
@ -305,6 +392,13 @@ export default {
|
|||||||
this.params.flowProcess = this.titleList[0].flowProcess
|
this.params.flowProcess = this.titleList[0].flowProcess
|
||||||
}
|
}
|
||||||
this.handleGetListContent()
|
this.handleGetListContent()
|
||||||
|
},
|
||||||
|
handleMore () {
|
||||||
|
// this.showPopupPerson = true
|
||||||
|
this.showPopupMange = true
|
||||||
|
},
|
||||||
|
handlePopupMangeSubmit () {
|
||||||
|
this.showPopupMange = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user