瀏覽代碼

调整提交

Lijy 2 年之前
父節點
當前提交
ea782f48ab

+ 6 - 3
fhKeeper/formulahousekeeper/timesheet/src/components/cascader.vue

@@ -364,9 +364,12 @@ export default {
                 label: this.$t('defaultText.pleaseChoose'),
                 label: this.$t('defaultText.pleaseChoose'),
                 value: ''
                 value: ''
             }
             }
-            this.show = false
-            this.classDiv = false
-            this.move = false
+            const that = this
+            setTimeout(()=>{
+                that.show = false
+                that.classDiv = false
+                that.move = false
+            }, 200)
             this.liClist(obj)
             this.liClist(obj)
         }
         }
     },
     },

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

@@ -242,7 +242,7 @@
                     :options="option" :props="{ checkStrictly: false,expandTrigger: 'hover' }" :show-all-levels="false" clearable></el-cascader>
                     :options="option" :props="{ checkStrictly: false,expandTrigger: 'hover' }" :show-all-levels="false" clearable></el-cascader>
                 <el-button size="small" type="primary" @click="handleSelectionZzjgbtn2">修改</el-button> -->
                 <el-button size="small" type="primary" @click="handleSelectionZzjgbtn2">修改</el-button> -->
                     
                     
-                <el-button size="small" type="primary" @click="handleSelectionZzjgbtn3">{{ $t('modifyingDepartments') }}</el-button>
+                <el-button size="small" type="primary" @click="handleSelectionZzjgbtn3" v-if="user.userNameNeedTranslate != 1">{{ $t('modifyingDepartments') }}</el-button>
                 <el-button size="small" type="primary" @click="handJue">{{ $t('modifyingRoles') }}</el-button>
                 <el-button size="small" type="primary" @click="handJue">{{ $t('modifyingRoles') }}</el-button>