|
@@ -157,17 +157,10 @@
|
|
|
|
|
|
<el-dialog :close-on-click-modal="false" ref="EditInformation_list" title="员工详情" width="500px" :before-close="detailFormreturn" :visible.sync="diaTableVisible">
|
|
|
<div style="padding-right:50px;">
|
|
|
- <!-- <el-table-column prop="id" label="员工标识" width="80">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button size="mini" type="primary">复制</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column> -->
|
|
|
-
|
|
|
<el-form ref="detailForm" :model="messageMore" @submit.native.prevent v-loading="show_loading">
|
|
|
<el-form-item label="员工标识" prop="id" :label-width="'100px'">
|
|
|
<el-input v-model="copyIds" disabled auto-complete="off"></el-input>
|
|
|
<span style="position:absolute;top:1px;right:7px;font-size:12px;color:#61aeff;cursor:pointer;" @click="copyToClipboard()">点击复制</span>
|
|
|
- <!-- <el-button size="mini" type="primary" @click="copyId(messageMore.id)">复制</el-button> -->
|
|
|
</el-form-item>
|
|
|
<el-form-item label="姓名" prop="name" :label-width="'100px'">
|
|
|
<el-input v-model="messageMore.name" disabled ref="inputName" auto-complete="off"></el-input>
|
|
@@ -186,14 +179,12 @@
|
|
|
<el-input v-model="deptList" disabled ref="inputName" placeholder="暂无部门" auto-complete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="是否参与排名" prop="name" :label-width="'100px'">
|
|
|
- <span v-if="messageMore.is_creator != 1"
|
|
|
- class="participateRank"
|
|
|
+ <span v-if="messageMore.is_creator != 1" class="participateRank"
|
|
|
:style="messageMore.is_ranking == 1 ? 'color:#409eff' : 'color:#F56C6C'"
|
|
|
@click="rankingtakePartIn(messageMore.id, messageMore.is_ranking)">
|
|
|
{{ messageMore.is_ranking == 1 ? '参与' : '不参与' }}
|
|
|
</span>
|
|
|
<span v-else class="fontColorB">不参与</span>
|
|
|
- <!-- <div class="rankingcla">参与排名在排名中显示此人</div> -->
|
|
|
</el-form-item>
|
|
|
<el-form-item label="管理上级" prop="name" :label-width="'100px'">
|
|
|
<el-input auto-complete="off" v-model="propList" :disabled="messageMore.is_creator == 1 || messageMore.is_official == 0" placeholder="暂无管理上级"></el-input>
|
|
@@ -254,6 +245,7 @@
|
|
|
ref="Employee2"
|
|
|
:employee_list="employeeList"
|
|
|
:user_no_select="false"
|
|
|
+ :close_clear_data="false"
|
|
|
isCreatorSelect
|
|
|
createDimness
|
|
|
:selected="selected_manage"
|
|
@@ -264,12 +256,14 @@
|
|
|
<el-button type="primary" :loading="scope_loading" :disabled="scope_loading" @click="sub_manageScope">完成</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
<el-dialog title="设置直属上级" :visible.sync="dirSupScope_show" :before-close="publicClose3" top="5vh" width="700px">
|
|
|
<EmployeeSelector
|
|
|
v-if="dirSupScope_show"
|
|
|
:max="1"
|
|
|
ref="Employee3"
|
|
|
:multi="false"
|
|
|
+ :close_clear_data="false"
|
|
|
:employee_list="dirSupList"
|
|
|
isCreatorSelect
|
|
|
:selected="selected_dirSup"
|
|
@@ -413,11 +407,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
dirSup_confirm(date){
|
|
|
- // if(date.employee.length == 0) {
|
|
|
- // this.$message.warning('请选择上级')
|
|
|
- // this.scope_loading = false
|
|
|
- // return
|
|
|
- // }
|
|
|
let data = {
|
|
|
employee_ids: [this.newId],
|
|
|
superior_id: date.employee.length > 0 ? date.employee[0].id : null
|
|
@@ -974,23 +963,6 @@ export default {
|
|
|
font-weight: normal;
|
|
|
transition: 0.35s ease-in-out;
|
|
|
}
|
|
|
- // ::v-deep .is-current .el-tree-node__content .el-icon-caret-right {
|
|
|
- // color: #409eff !important;
|
|
|
- // }
|
|
|
- // ::v-deep .is-current .el-tree-node__content .el-tree-node__label {
|
|
|
- // color: #409eff !important;
|
|
|
- // }
|
|
|
- // ::v-deep .is-current .el-tree-node__children .el-icon-caret-right {
|
|
|
- // color: #c0c4cc !important;
|
|
|
- // }
|
|
|
- // ::v-deep .is-current .el-tree-node__children .el-tree-node__label {
|
|
|
- // color: #606266 !important;
|
|
|
- // }
|
|
|
- // ::v-deep .is-current .name {
|
|
|
- // color: #409eff !important;
|
|
|
- // font-weight: normal;
|
|
|
- // transition: 0.35s ease-in-out;
|
|
|
- // }
|
|
|
}
|
|
|
.participateRank {
|
|
|
cursor: pointer;
|