Browse Source

2022.3.25

17613754660 3 years ago
parent
commit
56d35b97c2

+ 0 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/Login.vue

@@ -62,7 +62,6 @@
             };
             };
         },
         },
         created() {
         created() {
-            this.isDingchg()
             if (localStorage.userInfo != null) {
             if (localStorage.userInfo != null) {
                 var user = JSON.parse(localStorage.userInfo);
                 var user = JSON.parse(localStorage.userInfo);
                 if (user.role == 3 ) {
                 if (user.role == 3 ) {

+ 3 - 3
fhKeeper/formulahousekeeper/timesheet/src/views/team/index.vue

@@ -54,7 +54,7 @@
                     <el-form-item style="float:right;">
                     <el-form-item style="float:right;">
                         <el-link type="primary" :underline="false" @click="showExportDialog">导出人员</el-link>
                         <el-link type="primary" :underline="false" @click="showExportDialog">导出人员</el-link>
                     </el-form-item>
                     </el-form-item>
-                    <el-form-item style="float:right;" v-if="isDingShow == false">
+                    <el-form-item style="float:right;" v-if="!isDingShow">
                         <el-link type="primary" :underline="false" @click="openInsertDialog(null)">添加人员</el-link>
                         <el-link type="primary" :underline="false" @click="openInsertDialog(null)">添加人员</el-link>
                     </el-form-item>
                     </el-form-item>
                     <!-- 原来的 -->
                     <!-- 原来的 -->
@@ -63,13 +63,13 @@
                             <el-link type="primary" :underline="false">批量导入</el-link>
                             <el-link type="primary" :underline="false">批量导入</el-link>
                         </el-upload>
                         </el-upload>
                     </el-form-item> -->
                     </el-form-item> -->
-                    <el-form-item style="float:right;" v-if="isDingShow == false">
+                    <el-form-item style="float:right;" v-if="!isDingShow">
                         <el-upload ref="upload" action="#" :limit="1" :http-request="importUser" :show-file-list="false">
                         <el-upload ref="upload" action="#" :limit="1" :http-request="importUser" :show-file-list="false">
                             <el-link type="primary" :underline="false">批量导入</el-link>
                             <el-link type="primary" :underline="false">批量导入</el-link>
                         </el-upload>
                         </el-upload>
                     </el-form-item>
                     </el-form-item>
 
 
-                    <el-form-item style="float:right;" v-if="isDingShow == false">
+                    <el-form-item style="float:right;" v-if="!isDingShow">
                         <el-link type="primary" :underline="false" href="./upload/人员导入模板.xlsx" download="人员导入模板.xlsx">模板下载</el-link>
                         <el-link type="primary" :underline="false" href="./upload/人员导入模板.xlsx" download="人员导入模板.xlsx">模板下载</el-link>
                     </el-form-item>
                     </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;">
                     <!-- <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;">