三项制度库权限统一

5_7_地图同步
liujun 2024-03-21 16:19:28 +08:00
parent 53b185536a
commit 19c0273616
2 changed files with 9 additions and 9 deletions

View File

@ -177,7 +177,7 @@
size="mini" size="mini"
@click="openUpdateFile(row)">替换 @click="openUpdateFile(row)">替换
</el-button> </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>
<el-button <el-button

View File

@ -150,25 +150,25 @@
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 10px">
<el-col :span="24"> <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-show="!row.LOCKTOOL && edit" 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 && edit" 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-if="row.LOCKTOOL && edit" type="info" icon="el-icon-unlock" size="mini" @click="handleLock(row,'0')"></el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="margin-bottom: 10px"> <el-row style="margin-bottom: 10px">
<el-col :span="24"> <el-col :span="24">
<el-button type="info" icon="el-icon-view" size="mini" @click="getInformation(row)"></el-button> <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 && edit" 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="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-button type="warning" icon="el-icon-printer" size="mini" @click="handleExport(row)"></el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <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 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 === '0' && edit" 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 === '1' && edit" type="warning" icon="el-icon-edit-outline" size="mini" @click="setStatus(row,'0')"></el-button>
</el-col> </el-col>
</el-row> </el-row>
</template> </template>