14474 三项数据库都有 监管端的三项数据库没有根据增删改查进行调整
parent
ea75b6c121
commit
dc7ff8d213
|
@ -110,26 +110,26 @@
|
|||
<template slot-scope="{row}">
|
||||
<el-row style="margin-bottom: 10px">
|
||||
<el-col :span="24">
|
||||
<el-button v-show="!row.LOCKTOOL" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)">编辑</el-button>
|
||||
<el-button v-show="!row.LOCKTOOL" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row)">删除</el-button>
|
||||
<el-button v-if="!row.LOCKTOOL" type="success" icon="el-icon-lock" size="mini" @click="handleLock(row,'1')">锁定</el-button>
|
||||
<el-button v-if="row.LOCKTOOL" 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-show="!row.LOCKTOOL && del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row)">删除</el-button>
|
||||
<el-button v-if="!row.LOCKTOO && 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" type="success" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'1')">置顶</el-button>
|
||||
<el-button v-if="row.ISTOPTIME" 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'" type="success" icon="el-icon-edit-outline" size="mini" @click="setStatus(row,'1')">启用</el-button>
|
||||
<el-button v-if="row.STATUS === '1'" 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