|
|
@ -31,35 +31,40 @@ |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
plain |
|
|
|
|
|
|
|
v-if="permission.productioninformation_add" |
|
|
|
@click="$refs.crud.rowAdd()">新增</el-button> |
|
|
|
@click="$refs.crud.rowAdd()">新增</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
plain |
|
|
|
|
|
|
|
v-if="permission.productioninformation_release" |
|
|
|
@click="handleRelease">发布 |
|
|
|
@click="handleRelease">发布 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
plain |
|
|
|
|
|
|
|
v-if="permission.productioninformation_stop" |
|
|
|
@click="handleStop">停用 |
|
|
|
@click="handleStop">停用 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
plain |
|
|
|
|
|
|
|
v-if="permission.productioninformation_reject" |
|
|
|
@click="handleReject">批量驳回 |
|
|
|
@click="handleReject">批量驳回 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
<el-button type="primary" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
plain |
|
|
|
plain |
|
|
|
|
|
|
|
v-if="permission.productioninformation_audit" |
|
|
|
@click="handleAuditing">批量审核 |
|
|
|
@click="handleAuditing">批量审核 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<template #menu="{row,index,size}"> |
|
|
|
<template #menu="{row,index,size}"> |
|
|
|
<el-button type="text" size="small" |
|
|
|
<el-button type="text" size="small" |
|
|
|
@click="$refs.crud.rowEdit(row,index)">编辑</el-button> |
|
|
|
@click="$refs.crud.rowEdit(row,index)" v-if="permission.productioninformation_edit">修改</el-button> |
|
|
|
<el-button type="text" size="small" |
|
|
|
<el-button type="text" size="small" |
|
|
|
@click="$refs.crud.rowDel(row,index)">删除</el-button> |
|
|
|
@click="$refs.crud.rowDel(row,index)" v-if="permission.productioninformation_delete">删除</el-button> |
|
|
|
<el-button @click="auditing(row,index)" type="text" size="small" plain>审核</el-button> |
|
|
|
<el-button @click="auditing(row,index)" type="text" size="small" plain v-if="permission.productioninformation_audit">审核</el-button> |
|
|
|
<el-button @click="reject(row,index)" type="text" size="small" plain >驳回</el-button> |
|
|
|
<el-button @click="reject(row,index)" type="text" size="small" plain v-if="permission.productioninformation_reject">驳回</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</avue-crud> |
|
|
|
</basic-container> |
|
|
|
</basic-container> |
|
|
|