🐞 fix: 部分bug修复
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
<li class="list-group-item" v-if="hasDocument">
|
||||
个人档案
|
||||
<div class="pull-right">
|
||||
<el-button type="danger" @click="openFileDrawer">查看档案</el-button>
|
||||
<el-button type="text" @click="openFileDrawer">查看档案</el-button>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -92,7 +92,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-drawer :title="`${user.nickName} - 文件管理`"
|
||||
<el-drawer :title="`文件管理`"
|
||||
:visible.sync="fileDrawerVisible"
|
||||
size="800px"
|
||||
direction="rtl"
|
||||
@@ -100,7 +100,7 @@
|
||||
<UserFileManager
|
||||
:user-id="user.userId"
|
||||
:read-only="true"
|
||||
v-if="showFile" />
|
||||
v-if="fileDrawerVisible" />
|
||||
</el-drawer>
|
||||
</div>
|
||||
</template>
|
||||
@@ -122,9 +122,9 @@ export default {
|
||||
roleGroup: {},
|
||||
postGroup: {},
|
||||
activeTab: "userinfo",
|
||||
showFile: false,
|
||||
onBoardingInfo: {},
|
||||
hasDocument: false,
|
||||
fileDrawerVisible: false
|
||||
};
|
||||
},
|
||||
|
||||
@@ -154,11 +154,13 @@ export default {
|
||||
|
||||
this.hasDocument = !dir.includes("admin")
|
||||
},
|
||||
|
||||
openFileDrawer() {
|
||||
console.log("打开文件抽屉");
|
||||
this.showFile = true;
|
||||
console.log(this.showFile);
|
||||
this.fileDrawerVisible = true;
|
||||
},
|
||||
// 跳转到申请入职页面
|
||||
toApplyOnboarding() {
|
||||
console.log("跳转到申请入职页面");
|
||||
this.$router.push('/people/addOnboarding');
|
||||
},
|
||||
// 跳转到申请转正页面
|
||||
toApplyProbation() {
|
||||
|
||||
Reference in New Issue
Block a user