修改bug
This commit is contained in:
parent
fdc764a73e
commit
cc41e23ddf
@ -126,10 +126,10 @@
|
||||
<template slot-scope="scope">
|
||||
<div class="flex-row align-items-center">
|
||||
<el-button size="mini" @click="jumpUrl(`/case-management?dataKey=casepack&pkgName=${scope.row.pkgName}`)">查看</el-button>
|
||||
<el-button size="mini" @click="handleCaseAllocation(scope)">案件分配</el-button>
|
||||
<el-button size="mini" v-if="CreateuserId == scope.row.createBy" @click="handleCaseAllocation(scope)">案件分配</el-button>
|
||||
<!-- <el-button size="mini" @click="handleEdit(scope)">预设还款方案</el-button> -->
|
||||
<el-button size="mini" v-if="scope.row.assignTotal == 0" @click="handleDelete(scope)">删除</el-button>
|
||||
<el-button size="mini" v-if="scope.row.assignTotal > 0" @click="handleBackCase(scope)">撤回分案</el-button>
|
||||
<el-button size="mini" v-if="scope.row.assignTotal == 0 && CreateuserId == scope.row.createBy" @click="handleDelete(scope)">删除</el-button>
|
||||
<el-button size="mini" v-if="scope.row.assignTotal > 0 && CreateuserId == scope.row.createBy" @click="handleBackCase(scope)">撤回分案</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@ -173,6 +173,7 @@ import api from "@/services/casePackageManagement";
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
CreateuserId:'',
|
||||
activeName:'all',
|
||||
showSearch: true,
|
||||
queryDate: '',
|
||||
@ -205,7 +206,9 @@ import api from "@/services/casePackageManagement";
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
if(JSON.parse(sessionStorage.getItem('userInfo'))){
|
||||
this.CreateuserId = JSON.parse(sessionStorage.getItem('userInfo')).id
|
||||
}
|
||||
this.getOrgList()
|
||||
this.getCaseInfoList(1)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user