bug修复
This commit is contained in:
parent
d0d4033842
commit
05f8582e48
|
|
@ -71,7 +71,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<TableModelTwo
|
<TableModelTwo
|
||||||
:columnsList="columnsListInsert"
|
:columnsList="columnsListInsertTwo"
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
@transIdList="getIdList"
|
@transIdList="getIdList"
|
||||||
:show-btn-crews="false"
|
:show-btn-crews="false"
|
||||||
|
|
@ -129,7 +129,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { columnsListInsert } from "../config-insert";
|
import { columnsListInsertTwo } from "../config-insert";
|
||||||
// import { formLabelApprove,columnsListApprove} from '../config-approve'
|
// import { formLabelApprove,columnsListApprove} from '../config-approve'
|
||||||
import {
|
import {
|
||||||
// addEdgeDeviceApi,
|
// addEdgeDeviceApi,
|
||||||
|
|
@ -176,7 +176,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
columnsListInsert,
|
columnsListInsertTwo,
|
||||||
exportList: [],
|
exportList: [],
|
||||||
subSort: "", // 提交类型:新增 1 / 修改 2
|
subSort: "", // 提交类型:新增 1 / 修改 2
|
||||||
projectParams: {
|
projectParams: {
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<TableModelTwo
|
<TableModelTwo
|
||||||
:columnsList="columnsListInsert"
|
:columnsList="columnsListInsertTwo"
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
@transIdList="getIdList"
|
@transIdList="getIdList"
|
||||||
:show-btn-crews="false"
|
:show-btn-crews="false"
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { columnsListInsert } from "../config-insert";
|
import { columnsListInsertTwo } from "../config-insert";
|
||||||
// import { formLabelApprove,columnsListApprove} from '../config-approve'
|
// import { formLabelApprove,columnsListApprove} from '../config-approve'
|
||||||
import {
|
import {
|
||||||
// addEdgeDeviceApi,
|
// addEdgeDeviceApi,
|
||||||
|
|
@ -151,7 +151,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
columnsListInsert,
|
columnsListInsertTwo,
|
||||||
exportList: [],
|
exportList: [],
|
||||||
subSort: "", // 提交类型:新增 1 / 修改 2
|
subSort: "", // 提交类型:新增 1 / 修改 2
|
||||||
projectParams: {
|
projectParams: {
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
<template slot="btn" slot-scope="{ queryParams }">
|
<template slot="btn" slot-scope="{ queryParams }">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleAddEdge"
|
@click="handleAddEdge()"
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
>添加边代设备</el-button
|
>添加边代设备</el-button
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
export const columnsListInsert = [
|
export const columnsListInsert = [
|
||||||
|
{ t_props: 'devName', t_label: '设备名称', t_slot: 'devName' },
|
||||||
|
{ t_props: 'devCode', t_label: '设备编码', t_slot: 'devCode' },
|
||||||
|
{ t_props: 'unitName', t_label: '所属单位', t_slot: 'unitName' },
|
||||||
|
{ t_props: 'areaName', t_label: '所属区域', t_slot: 'areaName' },
|
||||||
|
{ t_props: 'devUser', t_label: '设备负责人', t_slot: 'devUser' },
|
||||||
|
{ t_props: 'devUserPhone', t_label: '负责人电话', t_slot: 'devUserPhone' },
|
||||||
|
]
|
||||||
|
|
||||||
|
export const columnsListInsertTwo = [
|
||||||
{ t_props: 'devName', t_label: '设备名称', },
|
{ t_props: 'devName', t_label: '设备名称', },
|
||||||
{ t_props: 'devCode', t_label: '设备编码', },
|
{ t_props: 'devCode', t_label: '设备编码', },
|
||||||
{ t_props: 'unitName', t_label: '所属单位', },
|
{ t_props: 'unitName', t_label: '所属单位', },
|
||||||
|
|
@ -6,4 +15,3 @@ export const columnsListInsert = [
|
||||||
{ t_props: 'devUser', t_label: '设备负责人', },
|
{ t_props: 'devUser', t_label: '设备负责人', },
|
||||||
{ t_props: 'devUserPhone', t_label: '负责人电话', },
|
{ t_props: 'devUserPhone', t_label: '负责人电话', },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue