<template>
    <div>
		<el-card>
			<SearchBox ref="SearchBoxRef" formName="inputQuery" :formData="query" @PopupNo="PopupNo" @reset="reset"></SearchBox>
		</el-card>
    
	<ButtonBar @search="handleSearch" @add="handleAdd" @handleExportBatch="handleExportBatch"
	  @handleExportAll="handleExportAll" @edit="handleEditBatch" @upload="handleUpload" @download="handleDownload"
	  @import="handleImport" @export="handleExport"></ButtonBar>
        <el-card :body-style="cardBodyStyle">
            <el-form :inline="true">
                            </el-form>
        </el-card>
        
        <el-card :body-style="cardBodyStyle">
            <el-table :data="tableData" border highlight-current-row  @selection-change="handleSelectionChange">
                <el-table-column type="selection" fixed></el-table-column>
                <el-table-column type="index" label="序号" align="center" width="60">
                    <template #default="scope">
                        <span>{{ scope.$index + (currentPage - 1) * pageSize + 1 }}</span>
                    </template>
                </el-table-column>
				<el-table-column label="操作" header-align="center" align="center" width="200px">
				    <template #default="scope">
				        <el-button plain type="warning" @click="handleEdit(scope.row)">编辑</el-button>
				        <el-button plain type="danger" @click="handleDelete(scope.row )">删除</el-button>
				    </template>
				</el-table-column>
                        <!-- <el-table-column v-if="false" prop="" label="衡器ID自动生成" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="主键(衡器ID自动生成)" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="流程ID" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="流程ID" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="流程状态" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="流程状态" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加人id" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加人id" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加人名称" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加人名称" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加部门ID" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加部门ID" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加部门编码" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加部门编码" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加部门名称" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加部门名称" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加时间" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="添加时间" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改人id" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改人id" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改人名称" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改人名称" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改时间" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="修改时间" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废人id" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废人id" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废人名称" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废人名称" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废时间(停用操作时间)" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废时间(停用操作时间)" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废标记" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="作废标记" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="BELONG_ID" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="BELONG_ID" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="name" label="衡器名称 比如1#磅" width="600"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="衡器名称 比如1#磅" width="600"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adress" label="衡器工控机IP地址" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="衡器工控机IP地址" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="type" label="衡器类型 默认C汽车衡，G轨道衡" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="衡器类型 默认C汽车衡，G轨道衡" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="length" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tonnage" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="balance" label="无用" width="120"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="xh" label="排序号11,2,3" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="排序号11,2,3" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="configfile" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="upTime" label="更新时间" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="更新时间" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="upOperatorid" label="更新人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="更新人编码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="upOperator" label="更新人名字" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="更新人名字" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="cancelOperatorid" label="停用操作人编码" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="停用操作人编码" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="cancelOperator" label="停用操作人" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="停用操作人" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="cancel" label="停用1，启用0" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="停用1，启用0" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="groupno" label="分组，暂无用" width="360"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="分组，暂无用" width="360"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="filetype" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tvIp" label="硬盘录像机IP地址" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="硬盘录像机IP地址" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tvPort" label="硬盘录像机 端口" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="硬盘录像机 端口" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="qy" label="区域编号 默认1" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="区域编号 默认1" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="bdjlip" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="username" label="硬盘录像机登录号" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="硬盘录像机登录号" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="password" label="硬盘录像机登录密码" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="硬盘录像机登录密码" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="localip" label="本机IP地址和ADRESS同" width="840"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="本机IP地址和ADRESS同" width="840"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="outpassword" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="printpassword" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serinum" label="仪表数值" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表数值" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="seritime" label="仪表数值时间" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表数值时间" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ssrihead" label="仪表数头部" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表数头部" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="seritag" label="仪表数状态" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表数状态" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="danjunum" label="单据数量" width="240"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="单据数量" width="240"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tandainum" label="无用" width="120"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tandainum" label="无用" width="120"
                                         header-align="center" align="right"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needrfid" label="是否启用RFID" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needrfid" label="是否启用RFID" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="neediccard" label="是否启用IC卡" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用IC卡" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="macaddress" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gqqj" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gqqj" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needqrcode" label="是否启用扫码器" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用扫码器" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needreadcarno" label="是否启用车号识别" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用车号识别" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno1" label="是否启用左边车号识别" width="600"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用左边车号识别" width="600"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno1ip" label="左边车号识别IP地址" width="600"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="左边车号识别IP地址" width="600"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno1un" label="左边车号识别登录号" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="左边车号识别登录号" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno1pw" label="左边车号识别密码" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="左边车号识别密码" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno2" label="是否启用 右边边车号识别" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用 右边边车号识别" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno2ip" label="是否启用 右边边车号识别IP" width="840"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用 右边边车号识别IP" width="840"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno2un" label="是否启用 右边边车号识别登录号" width="900"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用 右边边车号识别登录号" width="900"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="rcarno2pw" label="是否启用 右边边车号识别密码" width="840"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用 右边边车号识别密码" width="840"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1com" label="是否启用 左边IC读卡器" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1com" label="是否启用 左边IC读卡器" width="720"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1baud" label="是否启用 左边IC读卡器波特率" width="900"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1baud" label="是否启用 左边IC读卡器波特率" width="900"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1byte" label="是否启用 左边IC读卡器byte" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1byte" label="是否启用 左边IC读卡器byte" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1stop" label="是否启用 左边IC读卡器stop" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1stop" label="是否启用 左边IC读卡器stop" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1parity" label="是否启用 左边IC读卡器Parity" width="1080"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic1parity" label="是否启用 左边IC读卡器Parity" width="1080"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2com" label="是否启用 右边边IC读卡器" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2com" label="是否启用 右边边IC读卡器" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2baud" label="是否启用 右边IC读卡器波特率" width="900"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2baud" label="是否启用 右边IC读卡器波特率" width="900"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2byte" label="是否启用 右边IC读卡器byte" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2byte" label="是否启用 右边IC读卡器byte" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2stop" label="是否启用 右边IC读卡器stop" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2stop" label="是否启用 右边IC读卡器stop" width="960"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2parity" label="是否启用 右边IC读卡器Parity" width="1080"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ic2parity" label="是否启用 右边IC读卡器Parity" width="1080"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needadam" label="是否启用IO模块" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needadam" label="是否启用IO模块" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needgate" label="是否启用道闸" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needgate" label="是否启用道闸" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adamip" label="IO模块 ip" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adamip" label="IO模块 ip" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adam01" label="IO地址1" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adam01" label="IO地址1" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adam02" label="IO地址1" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="adam02" label="IO地址1" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gate1open" label="IO地址对应道闸1开 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gate1open" label="IO地址对应道闸1开 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gate2open" label="IO地址对应道闸2开 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="IO地址对应道闸2开 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gate1close" label="IO地址对应道闸1关 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="IO地址对应道闸1关 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gate2close" label="IO地址对应道闸2关 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="IO地址对应道闸2关 地址" width="780"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="needlight" label="是否启用红绿灯" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="是否启用红绿灯" width="420"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="randg1" label="红绿灯1绿 地址" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="红绿灯1绿 地址" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="randg2" label="红绿灯2绿 地址" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="红绿灯2绿 地址" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serptype" label="仪表类型" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表类型" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serport" label="仪表端口" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表端口" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serboud" label="仪表波特率" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表波特率" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serbyte" label="仪表波特率Byte" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表波特率Byte" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serstop" label="仪表波特率STOP" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表波特率STOP" width="540"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="serparity" label="仪表波特率Parity" width="660"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="仪表波特率Parity" width="660"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="carnoread" label="识别到车号" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="识别到车号" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ibill" label="当前运单号" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="当前运单号" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="msg" label="消息" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="消息" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="carnoqr" label="当前二维码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="当前二维码" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="gorr" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="" label="无用" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="lsh" label="流水号" width="180"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>-->
                        <el-table-column v-if="true" prop="mc" label="名称" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="zdip" label="终端IP" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="yplxjip" label="硬盘录像机IP" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="yplxjyhm" label="硬盘录像机用户名" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="yplxjdk" label="硬盘录像机端口" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="yplxjmm" label="硬盘录像机密码" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="ic" label="IC卡" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="ewm" label="二维码" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="chsb" label="车号识别" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
						<el-table-column v-if="true" prop="ochsb" label="1#车号识别" width="150"
						                 header-align="center" align="center"
						                 show-overflow-tooltip>
						</el-table-column>
						<el-table-column v-if="true" prop="tchsb" label="2#车号识别" width="150"
						                 header-align="center" align="center"
						                 show-overflow-tooltip>
						</el-table-column>
                        <el-table-column v-if="true" prop="gs" label="光栅" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="dz" label="道闸" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
						<el-table-column v-if="true" prop="odz" label="1#道闸" width="150"
						                 header-align="center" align="center"
						                 show-overflow-tooltip>
						</el-table-column>
						<el-table-column v-if="true" prop="tdz" label="2#道闸" width="150"
						                 header-align="center" align="center"
						                 show-overflow-tooltip>
						</el-table-column>
                        <el-table-column v-if="true" prop="odkqdk" label="1#读卡器端口" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="odkqbtl" label="1#读卡器波特率" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="odkqsjw" label="1#读卡器数据位" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="odkqjyfs" label="1#读卡器校验方式" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="odkqtzw" label="1#读卡器停止位" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="tdkqdk" label="2#读卡器端口" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="tdkqbtl" label="2#读卡器波特率" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="tdkqsjw" label="2#读卡器数据位" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="tdkqjyfs" label="2#读卡器校验方式" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="true" prop="tdkqtzw" label="2#读卡器停止位" width="150"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="lx" label="类型" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ip" label="IP" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="dkq" label="读卡器" width="180"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
						<el-table-column v-if="false" prop="odkq" label="1#读卡器" width="180"
						                 header-align="center" align="center"
						                 show-overflow-tooltip>
						</el-table-column>
						<el-table-column v-if="false" prop="tdkq" label="2#读卡器" width="180"
						                 header-align="center" align="center"
						                 show-overflow-tooltip>
						</el-table-column>
                        <el-table-column v-if="false" prop="hld" label="红绿灯" width="180"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ybshlx" label="仪表数据类型" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ochsbqy" label="1#车号识别启用" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="oip" label="1#IP" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="oyhm" label="1#用户名" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="omm" label="1#密码" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tchsbqy" label="2#车号识别启用" width="480"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tip" label="2#IP" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tyhm" label="2#用户名" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tmm" label="2#密码" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="hwgsip" label="红外光栅IP" width="360"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ogs" label="1#光栅" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tgs" label="2#光栅" width="240"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="odzk" label="1#道闸开" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="odzg" label="1#道闸关" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tdzk" label="2#道闸开" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="tdzg" label="2#道闸关" width="300"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="hd" label="红灯" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column v-if="false" prop="ld" label="绿灯" width="120"
                                         header-align="center" align="center"
                                         show-overflow-tooltip>
                        </el-table-column>


                
            </el-table>
        </el-card>
        <el-card :body-style="cardBodyStyle">
            <el-pagination  :current-page="currentPage"  :page-size="pageSize" :page-sizes="pageSizes"
                           :total="totalRows" background="background" layout="total, sizes, prev, pager, next, jumper"
                           @size-change="handleSizeChange" @current-change="handleCurrentChange">
            </el-pagination>
        </el-card>

      <el-dialog :close-on-click-modal="false" draggable title="编辑" v-model="dialogVisible" width="1000px"
                 top="5vh"  @open="openDialog" height="800px">
      		<div>
      			<el-button type="success" @click="handleSave()">保存</el-button>
      		</div><br>
      
      		<!-- 此处是列表描述 -->
      		<el-card :body-style="cardBodyStyle" class="diaClass90">
      
      
      
                  <el-descriptions title="基本信息" :column="4">
      			</el-descriptions>
      			<el-form inline>
      				<el-row>
      					<el-col :span="6">
      						<el-form-item label="序号" width="100">
      							<el-input v-model="form.xh" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="名称" width="100">
      							<el-input v-model="form.mc" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="IP" width="100">
      							<el-input v-model="form.zdip" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="类型" width="100">
      							<el-select v-model="form.lx" clearable style="width: 150px">
      								<el-option label="汽车衡" value="Y"></el-option>
      								<el-option label="否" value="N"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					
      				</el-row>
      			</el-form>
      		
      		
      		
      		
                  <el-descriptions title="仪表参数" :column="4">
      			</el-descriptions>
      			<el-form inline>
      				<el-row>
      					<el-col :span="6">
      						<el-form-item label="仪表数据类型" width="100">
      							<el-input v-model="form.ybshlx" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      			<el-descriptions title="硬盘录像机" :column="4">
      			</el-descriptions>
      			<el-form inline>
      				<el-row>
      					<el-col :span="6">
      						<el-form-item label="IP" width="100">
      							<el-input v-model="form.yplxjip" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="用户名" width="100">
      							<el-input v-model="form.yplxjyhm" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="端口" width="100">
      							<el-input v-model="form.yplxjdk" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="密码" width="100">
      							<el-input v-model="form.yplxjmm" clearable style="width: 150px">
      							</el-input>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      			
      			<el-descriptions title="IC读卡器" :column="4">
      			</el-descriptions>
      			<el-form :model="form" label-width="140px" label-position="left" inline ref="ruleFormRef" :rules="rules">
      				<el-row>
						<el-col :span="12">
							<el-form-item label="1#读卡器" width="100">
								<el-select v-model="form.odkq" clearable style="width: 150px" @change="change1">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
						<el-col :span="12">
							<el-form-item label="2#读卡器" width="100" >
								<el-select v-model="form.tdkq" clearable style="width: 150px" @change="change2">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#读卡器端口号" width="100"  >
      							<el-select v-model="form.odkqdk" clearable style="width: 150px" :disabled="isDisabled1">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#读卡器端口号" width="100">
      							<el-select v-model="form.tdkqdk" clearable style="width: 150px" :disabled="isDisabled2">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="Y9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#读卡器波特率" width="100" >
      							<el-select v-model="form.odkqbtl" clearable style="width: 150px" :disabled="isDisabled1">
      								<el-option label="1200" value="a"></el-option>
      								<el-option label="2400" value="b"></el-option>
      								<el-option label="4800" value="c"></el-option>
      								<el-option label="9600" value="d"></el-option>
      								<el-option label="115200" value="e"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#读卡器波特率" width="100">
      							<el-select v-model="form.tdkqbtl" clearable style="width: 150px" :disabled="isDisabled2">
      								<el-option label="1200" value="a"></el-option>
      								<el-option label="2400" value="b"></el-option>
      								<el-option label="4800" value="c"></el-option>
      								<el-option label="9600" value="d"></el-option>
      								<el-option label="115200" value="e"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#读卡器数据位" width="100" >
      							<el-select v-model="form.odkqsjw" clearable style="width: 150px" :disabled="isDisabled1">
      								<el-option label="6" value="a"></el-option>
      								<el-option label="7" value="b"></el-option>
      								<el-option label="8" value="c"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#读卡器数据位" width="100">
      							<el-select v-model="form.tdkqsjw" clearable style="width: 150px" :disabled="isDisabled2">
      								<el-option label="6" value="a"></el-option>
      								<el-option label="7" value="b"></el-option>
      								<el-option label="8" value="c"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#读卡器校验方式" width="100" >
      							<el-select v-model="form.odkqjyfs" clearable style="width: 150px" :disabled="isDisabled1">
      								<el-option label="奇校验" value="a"></el-option>
      								<el-option label="偶校验" value="b"></el-option>
      								<el-option label="无校验" value="c"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#读卡器校验方式" width="100">
      							<el-select v-model="form.tdkqjyfs" clearable style="width: 150px" :disabled="isDisabled2">
      								<el-option label="奇校验" value="a"></el-option>
      								<el-option label="偶校验" value="b"></el-option>
      								<el-option label="无校验" value="c"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#读卡器停止位" width="100" >
      							<el-select v-model="form.odkqtzw" clearable style="width: 150px" :disabled="isDisabled1">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#读卡器停止位" width="100">
      							<el-select v-model="form.tdkqtzw" clearable style="width: 150px" :disabled="isDisabled2">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      			
      			<el-descriptions title="车号识别" :column="4">
      			</el-descriptions>
      			<el-form :model="form" label-width="140px" label-position="left" inline ref="ruleFormRef" :rules="rules">
      				<el-row>
						<el-col :span="12">
							<el-form-item label="1#车号识别" width="100">
								<el-select v-model="form.ochsb" clearable style="width: 150px" @change="change3">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
						<el-col :span="12">
							<el-form-item label="2#车号识别" width="100">
								<el-select v-model="form.tchsb" clearable style="width: 150px" @change="change4">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#车号识别IP" width="100">
      							<el-input v-model="form.oip" clearable style="width: 150px" :disabled="isDisabled3">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#车号识别IP" width="100">
      							<el-input v-model="form.tip" clearable style="width: 150px" :disabled="isDisabled4">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#车号识别用户名" width="100">
      							<el-input v-model="form.oyhm" clearable style="width: 150px" :disabled="isDisabled3">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#车号识别用户名" width="100">
      							<el-input v-model="form.tyhm" clearable style="width: 150px" :disabled="isDisabled4">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#车号识别密码" width="100">
      							<el-input v-model="form.omm" clearable style="width: 150px" :disabled="isDisabled3">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#车号识别密码" width="100">
      							<el-input v-model="form.tmm" clearable style="width: 150px" :disabled="isDisabled4">
      							</el-input>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      			
      			
      
      			<el-descriptions title="红外光栅信号" :column="4">
      			</el-descriptions>
      			<el-form inline >
      				<el-row>
						<el-col :span="6">
							<el-form-item label="光栅" width="100">
								<el-select v-model="form.gs" clearable style="width:150px" @change="change5">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
      					<el-col :span="6">
      						<el-form-item label="IP" width="100">
      							<el-input v-model="form.hwgsip" clearable style="width: 150px" :disabled="isDisabled5">
      							</el-input>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="1#光栅" width="100">
      							<el-select v-model="form.ogs" clearable style="width: 150px" :disabled="isDisabled5">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="6">
      						<el-form-item label="2#光栅" width="100">
      							<el-select v-model="form.tgs" clearable style="width: 150px" :disabled="isDisabled5">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      			<el-descriptions title="道闸信号" :column="4">
      			</el-descriptions>
      			<el-form :model="form" label-width="80px" label-position="left" inline ref="ruleFormRef" :rules="rules" >
      				<el-row>
						<el-col :span="12">
							<el-form-item label="1#道闸" width="100">
								<el-select v-model="form.odz" clearable style="width: 150px" @change="change6">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
						<el-col :span="12">
							<el-form-item label="2#道闸" width="100">
								<el-select v-model="form.tdz" clearable style="width: 150px" @change="change7">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#道闸开" width="100">
      							<el-select v-model="form.odzk" clearable style="width: 150px" :disabled="isDisabled6">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#道闸开" width="100">
      							<el-select v-model="form.tdzk" clearable style="width: 150px" :disabled="isDisabled7">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="1#道闸关" width="100">
      							<el-select v-model="form.odzg" clearable style="width: 150px" :disabled="isDisabled6">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="12">
      						<el-form-item label="2#道闸关" width="100">
      							<el-select v-model="form.tdzg" clearable style="width: 150px" :disabled="isDisabled7">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      			
      			<el-descriptions title="红绿灯信号" :column="4">
      			</el-descriptions>
      			<el-form inline >
      				<el-row>
						<el-col :span="8">
							<el-form-item label="红绿灯" width="100">
								<el-select v-model="form.hld" clearable style="width: 150px" @change="change8">
									<el-option label="有" value="Y"></el-option>
									<el-option label="无" value="N"></el-option>
								</el-select>
							</el-form-item>
						</el-col>
      					<el-col :span="8">
      						<el-form-item label="开" width="100">
      							<el-select v-model="form.hd" clearable style="width: 150px" :disabled="isDisabled8">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      					<el-col :span="8">
      						<el-form-item label="关" width="100">
      							<el-select v-model="form.ld" clearable style="width: 150px" :disabled="isDisabled8">
      								<el-option label="0" value="0"></el-option>
      								<el-option label="1" value="1"></el-option>
      								<el-option label="2" value="2"></el-option>
      								<el-option label="3" value="3"></el-option>
      								<el-option label="4" value="4"></el-option>
      								<el-option label="5" value="5"></el-option>
      								<el-option label="6" value="6"></el-option>
      								<el-option label="7" value="7"></el-option>
      								<el-option label="8" value="8"></el-option>
      								<el-option label="9" value="9"></el-option>
      								<el-option label="10" value="10"></el-option>
      							</el-select>
      						</el-form-item>
      					</el-col>
      				</el-row>
      			</el-form>
      			
      		</el-card>
      	</el-dialog>


    </div>
</template>

<script setup>
    import ButtonBar from '@/components/ButtonBar.vue'

    import {
        ref,
        reactive,
        onMounted,
        getCurrentInstance
    } from 'vue'

    const {
        proxy
    } = getCurrentInstance()

    import tools from '@/tools'
    const cardBodyStyle = ref(tools.style.card)
    const inputStyle = ref(tools.style.input)

    onMounted(() => {
        handleSearch()
    })



    /**
     *   查询
     */
/* 
const isDisabled =()=>{
	
	if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	}
	
} */
const isDisabled1 = ref(false)
const change1 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled1.value = form.value.odkq=='Y' ? false : true
}

const isDisabled2 = ref(false)
const change2 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled2.value = form.value.tdkq=='Y' ? false : true
}

const isDisabled3 = ref(false)
const change3 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled3.value = form.value.ochsb=='Y' ? false : true
}

const isDisabled4 = ref(false)
const change4 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled4.value = form.value.tchsb=='Y' ? false : true
}

const isDisabled5 = ref(false)
const change5 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled5.value = form.value.gs=='Y' ? false : true
}

const isDisabled6 = ref(false)
const change6 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled6.value = form.value.odz=='Y' ? false : true
}

const isDisabled7 = ref(false)
const change7 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled7.value = form.value.tdz=='Y' ? false : true
}

const isDisabled8 = ref(false)
const change8 =()=>{
	/* if(form.value.odkq=='Y'){
		return false
	}else{
		return true
	} */
	
	isDisabled8.value = form.value.hld=='Y' ? false : true
}








    const query = ref({
   })
   const tableData = ref([])
   const handleSearch = () => {
       currentPage.value = 1
       getTableData()
   }

   const getTableData = () => {
       var url = 'wgt/Weight/query'
       var param = {
           page: currentPage.value,
           rows: pageSize.value,
           params: JSON.stringify(query.value)
       }
       proxy.$axios.get(url, param).then(response => {
            if (response.data.code == '0') {
                tableData.value = response.data.data.records
                totalRows.value = response.data.data.total
            } else {
                ElMessage.error('操作失败！' + response.data.msg)
            }
        })
    }
    /**
     *   查询
     */

    /**
     * 分页
     */
   const currentPage = ref(1)
   const totalRows = ref(0)
   const pageSizes = ref([10, 20, 30, 40, 50, 100])
   const pageSize = ref(10)
   const handleSizeChange = (val) => {
     pageSize.value = val
     getTableData()
   }
    const handleCurrentChange = (val) => {
        currentPage.value = val
        getTableData()
    }
    /**
     * 分页
     */


    /**
     * 新增
     */
    const dialogVisible = ref(false)
    const form = ref({
		odkq:''
		
    })
    const ruleFormRef = ref()
    const rules = reactive({
    })

    const handleAdd = () => {
        form.value = {
        }
        dialogVisible.value = true
    }
    /**
     * 新增
     */


    /**
     * 保存、修改、删除
     */

    const openDialog=()=>{
    }

    const handleSave = () => {
     var url = 'wgt/Weight/save'
     var param = {
         json: JSON.stringify(form.value),
     }
     proxy.$axios.post(url, param).then(response => {
         if (response.data.code == 0) {
             form.value = response.data.data
             ElMessage({
                 message: '保存成功',
                 type: 'success',
             })
             getTableData()
             dialogVisible.value = false
         } else {
             // ElMessage.error('操作失败！' + response.data.msg)
             ElMessage({
                 message: '操作失败' + response.data.msg,
                 type: 'error'
             })
         }
     })
    }
    const handleCancelSave = () => {
        dialogVisible.value = false
    }
    const handleEdit = (row) => {
        dialogVisible.value = true
        form.value = {...row} 
		console.log(form.value.odkq);
    }
    const handleDelete = (row) => {
        ElMessageBox.confirm(
            '确定删除本条记录?',
            '提示', {
                confirmButtonText: '确认',
                cancelButtonText: '取消',
                type: 'warning',
                draggable: true,
            }
        )
            .then(() => {
                var url = 'wgt/Weight/remove'
                var param = {
                    id: row.id
                }
                proxy.$axios.post(url, param).then(response => {
                    if (response.data.code == 0) {
                        ElMessage({
                            type: 'success',
                            message: '删除成功',
                        })
                        getTableData()
                    } else {
                        ElMessage({
                            type: 'error',
                            message: '删除失败' + response.data.msg
                        });
                    }
                });
            })
            .catch(() => {
                ElMessage({
                    type: 'info',
                    message: '已取消',
                })
            })
    }

    /**
     * 保存、修改、删除
     */
	

    const multipleSelection = ref([])
    const handleSelectionChange = (val) => {
        multipleSelection.value = val
    }

    const handleRemoveBatch = () => {
        console.log('handleRemoveBatch')

        if (multipleSelection.value.length < 1) {
            ElMessage({
                type: 'warning',
                message: '请选择要删除的数据!'
            })
            return
        }

        ElMessageBox.confirm('此操作将删除该数据, 是否继续?', '提示', {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
            type: 'warning'
        }).then(() => {
            var ids = []
            multipleSelection.value.forEach((item, index) => {
                ids.push(item.id)
            })
            var url = 'wgt/Weight/removeBatch'
            var param = {
                ids: JSON.stringify(ids)
            }
            proxy.$axios.post(url, param).then(response => {
                if (response.data.code == '0') {
                    ElMessage({
                        type: 'success',
                        message: '操作成功!',
                    });
                    getTableData()
                    dialogVisible.value = false
                } else {
                    ElMessage({
                        type: 'error',
                        message: '操作失败!' + response.data.msg
                    });
                }
            })
        }).catch(() => {
            ElMessage({
                type: 'info',
                message: '已取消删除'
            })
        })
    }

    const handleEditBatch = () => {
        console.log('handleEditBatch')
        if (multipleSelection.value.length != 1) {
            ElMessage({
                type: 'warning',
                message: '请选择一条数据编辑!'
            })
            return
        }
        handleEdit(multipleSelection.value[0])
    }

    const handleUpload = () => {
        console.log('handleUpload')
    }

    const handleDownload = () => {
        console.log('handleDownload')
    }

    const handleImport = () => {
        console.log('handleImport')
    }

    const handleExport = () => {
        console.log('handleExport')
    }

</script>

<style>
</style>