feat : 流程渲染与有任务跳转到首页
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<ul>
|
||||
<li>主次账号切换</li>
|
||||
<li class="avatar-li" v-for="item in accountList" @click="accountChange(item.userId)">
|
||||
<el-badge :value="item.taskCount" v-if="item.taskCount!==0">
|
||||
<el-badge :value="item.taskCount" v-if="item.taskCount!==0" @click="taskClick">
|
||||
<el-avatar>{{ item.nickName }}</el-avatar>
|
||||
</el-badge>
|
||||
<el-avatar v-else>{{ item.nickName }}</el-avatar>
|
||||
@@ -107,6 +107,10 @@ const handleVisitedP = () => {
|
||||
})
|
||||
}
|
||||
|
||||
const taskClick = () => {
|
||||
router.push('/')
|
||||
}
|
||||
|
||||
const accountChange = (userId) => {
|
||||
switchAccount(userId).then(res => {
|
||||
if (res.code == 1000) {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="remark">{{ operation.remark }}</div>
|
||||
<!-- <div class="remark">{{ operation.remark }}</div>-->
|
||||
<!-- <div>-->
|
||||
<!-- <div>审批人:</div>-->
|
||||
<!-- <div>{{ user.name }}</div>-->
|
||||
|
||||
Reference in New Issue
Block a user