样式一致性修改
This commit is contained in:
@@ -151,10 +151,10 @@ const tableStore = new TableStore({
|
||||
buttons: [
|
||||
{
|
||||
name: 'edit',
|
||||
text: '波形分析',
|
||||
title: '波形分析',
|
||||
type: 'primary',
|
||||
icon: 'el-icon-DataLine',
|
||||
render: 'basicButton',
|
||||
render: 'tipButton',
|
||||
disabled: row => {
|
||||
return !row.wavePath && row.evtParamTm < 20
|
||||
},
|
||||
|
||||
@@ -256,15 +256,15 @@ const tableStore = new TableStore({
|
||||
{
|
||||
title: '操作',
|
||||
align: 'center',
|
||||
width: '340',
|
||||
width: '180',
|
||||
render: 'buttons',
|
||||
buttons: [
|
||||
{
|
||||
name: 'edit',
|
||||
text: '编辑',
|
||||
title:'编辑',
|
||||
type: 'primary',
|
||||
icon: 'el-icon-Edit',
|
||||
render: 'basicButton',
|
||||
render: 'tipButton',
|
||||
|
||||
click: async row => {
|
||||
dialogFormVisible.value = true
|
||||
@@ -276,11 +276,10 @@ const tableStore = new TableStore({
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'edit',
|
||||
text: '二维码',
|
||||
title: '二维码',
|
||||
type: 'primary',
|
||||
icon: 'el-icon-Grid',
|
||||
render: 'basicButton',
|
||||
render: 'tipButton',
|
||||
|
||||
click: row => {
|
||||
deivce.value = row
|
||||
@@ -300,32 +299,12 @@ const tableStore = new TableStore({
|
||||
}, 0)
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'edit',
|
||||
text: '出厂恢复',
|
||||
type: 'primary',
|
||||
icon: 'el-icon-Setting',
|
||||
render: 'basicButton',
|
||||
|
||||
click: row => {
|
||||
ElMessageBox.confirm('确定该设备恢复出厂吗?', '提示', {
|
||||
confirmButtonText: '确认',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
resetEquipmentDelivery(row.ndid).then(res => {
|
||||
ElMessage.success('恢复成功!')
|
||||
tableStore.onTableAction('search', {})
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'del',
|
||||
text: '删除',
|
||||
title: '删除',
|
||||
type: 'danger',
|
||||
icon: 'el-icon-Delete',
|
||||
render: 'basicButton',
|
||||
render: 'tipButton',
|
||||
|
||||
click: row => {
|
||||
ElMessageBox.confirm('确定删除该设备吗?', '提示', {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<el-tag v-if="scoped.row.status == 1" type="warning">待处理</el-tag>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column title="操作" min-width="15px">
|
||||
<vxe-column title="操作" width="180">
|
||||
<template v-slot:default="scoped">
|
||||
<el-button
|
||||
size="small"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-dialog class="cn-operate-dialog statistical-type-binding" v-model="dialogVisible" title="绑定指标">
|
||||
<el-dialog class="cn-operate-dialog statistical-type-binding" v-model="dialogVisible" title="绑定指标" style="width: 1040px;">
|
||||
<el-scrollbar style="padding-right: 0">
|
||||
<div class="box">
|
||||
<div class="box-left">
|
||||
|
||||
Reference in New Issue
Block a user