|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
<el-table-column fixed="right" label="操作" width="260" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div v-if="scope.row.jilurenyuan==authName">
|
|
|
|
|
<div v-if="scope.row.jilurenyuan==authName||roleName=='系统管理员'">
|
|
|
|
|
<Button type="primary" size="small" style="margin-left: 10px;" @click="editorChuku(scope.row.id,'editor')">编辑</Button>
|
|
|
|
|
<Button v-if='scope.row.zhuangtai==="已办结"' type="primary" size="small" style="margin-left: 10px;" @click="editorChuku(scope.row.id,'outbounds')">出库</Button>
|
|
|
|
|
<Button v-if='scope.row.zhuangtai==="待处理"' type="primary" size="small" style="margin-left: 10px;" @click="tofollow(scope.row.id,scope.row)">请示流程</Button>
|
|
|
|
|
@ -87,7 +87,8 @@
|
|
|
|
|
},
|
|
|
|
|
loading:false,
|
|
|
|
|
userName:'',
|
|
|
|
|
authName:'',
|
|
|
|
|
authName:'',
|
|
|
|
|
roleName:'',
|
|
|
|
|
select: {
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
pageIndex: 1,
|
|
|
|
|
@ -162,6 +163,11 @@
|
|
|
|
|
const res = await JSON.parse(getWzglUser())
|
|
|
|
|
this.userName = res.username
|
|
|
|
|
this.authName = res.name
|
|
|
|
|
for(var k of res.role){
|
|
|
|
|
if(k.name=='系统管理员'){
|
|
|
|
|
this.roleName = k.name
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async getindex() {
|
|
|
|
|
this.loading = true
|
|
|
|
|
|