|
@@ -54,7 +54,7 @@
|
|
|
<el-form-item style="float:right;">
|
|
|
<el-link type="primary" :underline="false" @click="showExportDialog">导出人员</el-link>
|
|
|
</el-form-item>
|
|
|
- <el-form-item style="float:right;">
|
|
|
+ <el-form-item style="float:right;" v-if="isDingShow == false">
|
|
|
<el-link type="primary" :underline="false" @click="openInsertDialog(null)">添加人员</el-link>
|
|
|
</el-form-item>
|
|
|
<!-- 原来的 -->
|
|
@@ -63,13 +63,13 @@
|
|
|
<el-link type="primary" :underline="false">批量导入</el-link>
|
|
|
</el-upload>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item style="float:right;">
|
|
|
+ <el-form-item style="float:right;" v-if="isDingShow == false">
|
|
|
<el-upload ref="upload" action="#" :limit="1" :http-request="importUser" :show-file-list="false">
|
|
|
<el-link type="primary" :underline="false">批量导入</el-link>
|
|
|
</el-upload>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item style="float:right;">
|
|
|
+ <el-form-item style="float:right;" v-if="isDingShow == false">
|
|
|
<el-link type="primary" :underline="false" href="./upload/人员导入模板.xlsx" download="人员导入模板.xlsx">模板下载</el-link>
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item v-if="depData != null && depData.id != -1 && depData.id != 0" style="float:right;border: 0.5px solid #20a0ff;height: 27px;margin-top: 6px;">
|
|
@@ -392,6 +392,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ isDingShow : false,
|
|
|
handleSelectionZzjgshow: false,
|
|
|
submitLoading:false,
|
|
|
deactiveUser:null,
|
|
@@ -1549,6 +1550,7 @@
|
|
|
this.getUser();
|
|
|
this.getCompanyTimeSetting();
|
|
|
this.getUsers();
|
|
|
+ this.isDingShow = this.$store.state.isDing;
|
|
|
}
|
|
|
};
|
|
|
</script>
|