修改首页待办bug

This commit is contained in:
liuxi 2025-03-05 16:17:49 +08:00
parent 1a134f989d
commit f5071f8bc6

View File

@ -132,7 +132,7 @@
</span> </span>
</div> </div>
<div class="flex-row justify-content-end mb-8"> <div class="flex-row justify-content-end mb-8">
<el-button size="mini" type="primary" @click="handleCaseAllocation(item)">案件分配</el-button> <el-button size="mini" type="primary" v-if="CreateuserId == item.createBy" @click="handleCaseAllocation(item)">案件分配</el-button>
<!-- <el-button size="mini" @click="handleEdit(scope)">预设还款方案</el-button> --> <!-- <el-button size="mini" @click="handleEdit(scope)">预设还款方案</el-button> -->
</div> </div>
</div> </div>
@ -245,6 +245,7 @@
}, },
data() { data() {
return { return {
CreateuserId:'',
userInfo:{}, userInfo:{},
eventTraDialog:null,// eventTraDialog:null,//
casePkOptions:[],// casePkOptions:[],//
@ -331,7 +332,7 @@
mounted(){ mounted(){
if(JSON.parse(sessionStorage.getItem('userInfo'))){ if(JSON.parse(sessionStorage.getItem('userInfo'))){
this.userInfo = JSON.parse(sessionStorage.getItem('userInfo')) this.userInfo = JSON.parse(sessionStorage.getItem('userInfo'))
this.CreateuserId = this.userInfo.id
// //
let identifier = this.$store.state.userinfo let identifier = this.$store.state.userinfo
console.log(identifier,'identifier') console.log(identifier,'identifier')