三项制度库权限统一
parent
53b185536a
commit
19c0273616
|
@ -177,7 +177,7 @@
|
|||
size="mini"
|
||||
@click="openUpdateFile(row)">替换
|
||||
</el-button>
|
||||
<el-button v-show="edit" type="primary" icon="el-icon-printer" size="mini" @click="openUpdateLog(row)">
|
||||
<el-button type="primary" icon="el-icon-printer" size="mini" @click="openUpdateLog(row)">
|
||||
替换记录
|
||||
</el-button>
|
||||
<el-button
|
||||
|
|
|
@ -150,25 +150,25 @@
|
|||
<template slot-scope="{row}">
|
||||
<el-row style="margin-bottom: 10px">
|
||||
<el-col :span="24">
|
||||
<el-button v-show="!row.LOCKTOOL && del" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button v-if="!row.LOCKTOOL && del" type="success" icon="el-icon-lock" size="mini" @click="handleLock(row,'1')">锁定</el-button>
|
||||
<el-button v-if="row.LOCKTOOL && del" type="info" icon="el-icon-unlock" size="mini" @click="handleLock(row,'0')">解锁</el-button>
|
||||
<el-button v-show="!row.LOCKTOOL && edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button v-if="!row.LOCKTOOL && edit" type="success" icon="el-icon-lock" size="mini" @click="handleLock(row,'1')">锁定</el-button>
|
||||
<el-button v-if="row.LOCKTOOL && edit" type="info" icon="el-icon-unlock" size="mini" @click="handleLock(row,'0')">解锁</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row style="margin-bottom: 10px">
|
||||
<el-col :span="24">
|
||||
<el-button type="info" icon="el-icon-view" size="mini" @click="getInformation(row)">查看</el-button>
|
||||
<el-button v-if="!row.ISTOPTIME && del" type="success" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'1')">置顶</el-button>
|
||||
<el-button v-if="row.ISTOPTIME && del" type="warning" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'2')">取消置顶</el-button>
|
||||
<el-button v-if="!row.ISTOPTIME && edit" type="success" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'1')">置顶</el-button>
|
||||
<el-button v-if="row.ISTOPTIME && edit" type="warning" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'2')">取消置顶</el-button>
|
||||
<el-button type="warning" icon="el-icon-printer" size="mini" @click="handleExport(row)">导出</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-button v-show="!row.LOCKTOOL" type="primary" icon="el-icon-view" size="mini" @click="openUpdateFile(row)">替换</el-button>
|
||||
<el-button v-show="!row.LOCKTOOL && edit" type="primary" icon="el-icon-view" size="mini" @click="openUpdateFile(row)">替换</el-button>
|
||||
<el-button type="primary" icon="el-icon-printer" size="mini" @click="openUpdateLog(row)">替换记录</el-button>
|
||||
<el-button v-if="row.STATUS === '0' && del" type="success" icon="el-icon-edit-outline" size="mini" @click="setStatus(row,'1')">启用</el-button>
|
||||
<el-button v-if="row.STATUS === '1' && del" type="warning" icon="el-icon-edit-outline" size="mini" @click="setStatus(row,'0')">停用</el-button>
|
||||
<el-button v-if="row.STATUS === '0' && edit" type="success" icon="el-icon-edit-outline" size="mini" @click="setStatus(row,'1')">启用</el-button>
|
||||
<el-button v-if="row.STATUS === '1' && edit" type="warning" icon="el-icon-edit-outline" size="mini" @click="setStatus(row,'0')">停用</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue