14474 三项数据库都有 监管端的三项数据库没有根据增删改查进行调整

5_7_地图同步
liujun 2024-03-12 14:35:49 +08:00
parent ea75b6c121
commit dc7ff8d213
1 changed files with 9 additions and 9 deletions

View File

@ -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>