1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
webpackJsonp([5,32,33,34],{"6VOP":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={data:function(){return{visible:!1,gridData:[],PLCID:"",parameterEdit:!1,pageIndex:1,pageSize:10,totalPage:0,headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},value:""}},components:{parameterEdit:a("H2Hk").default},methods:{init:function(t){var e=this;this.PLCID=t,this.visible=!0,this.$nextTick(function(){e.getList()})},getList:function(){var t=this,e={id:this.PLCID,current:this.pageIndex,size:this.pageSize};this.$http({url:this.$http.adornUrl("api/server/parameter-config/page"),method:"post",data:e}).then(function(e){var a=e.data;a&&0===a.code?(t.gridData=a.data.records,t.totalPage=a.data.total):(t.gridData=[],t.totalPage=0)})},Edit:function(t){var e=this;this.parameterEdit=!0,this.$nextTick(function(){e.$refs.parameterEdit.init(t,e.PLCID)})},handleCloseReview:function(){this.value="",document.body.click()},Write:function(t){var e=this;if(this.value||0===this.value){var a={id:t,value:this.value};this.$http({url:this.$http.adornUrl("api/server/parameter-config/writeParameters"),method:"post",data:a}).then(function(t){var a=t.data;a&&0===a.code?e.$message({message:"操作成功",type:"success",duration:1500,onClose:function(){e.getList()}}):e.$message.error(a.msg)}),document.body.click()}else this.$message("参数值不能为空");this.value=""},Read:function(t){var e=this,a={current:1,id:t.id,size:10};this.$http({url:this.$http.adornUrl("api/server/parameter-config/readParameters"),method:"post",data:a}).then(function(a){var r=a.data;e.$message({message:r.msg,duration:1500,onClose:function(){t.value=r.data.value}})})},sizeChangeHandle:function(t){this.pageSize=t,this.pageIndex=1,this.getList()},currentChangeHandle:function(t){this.pageIndex=t,this.getList()},deleteHandle:function(t,e){var a=this,r={current:1,id:t,size:10};this.$confirm("确定对[参数名:"+e+"]进行删除操作?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){a.$http({url:a.$http.adornUrl("api/server/parameter-config/deleteParameters"),method:"post",data:r}).then(function(t){var e=t.data;e&&0===e.code?a.$message({message:"操作成功",type:"success",duration:1500,onClose:function(){a.getList()}}):a.$message.error(e.msg)})})},handleExcel:function(t){var e=this,a=new FormData;a.append("excle",t.raw),a.append("plcId",this.PLCID),this.$http({url:this.$http.adornUrl("api/server/parameter-config/importParameter"),method:"post",data:a}).then(function(t){var a=t.data;a&&0===a.code?(e.$message.success("导入成功"),e.getList()):e.$message.error(a.msg)}).catch(function(t){console.log(t),e.$message.error("导入失败")})}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"PLC参数配置",visible:t.visible,width:"70%","show-close":!1},on:{"update:visible":function(e){t.visible=e}}},[a("div",{staticStyle:{"margin-top":"-40px",float:"right"}},[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.Edit()}}},[t._v("新增")]),t._v(" "),a("el-upload",{staticClass:"upload",staticStyle:{float:"right","margin-left":"10px"},attrs:{action:"","show-file-list":!1,"on-change":t.handleExcel,accept:"'.xlsx','xls'","auto-upload":!1,headers:t.headers}},[a("el-button",{attrs:{size:"mini",type:"success"}},[t._v("导入")])],1)],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.gridData,stripe:!0,"header-cell-style":{background:"#eef1f6",color:"#606266",height:"56px"},border:""}},[a("el-table-column",{attrs:{prop:"parameterId",label:"参数ID"}}),t._v(" "),a("el-table-column",{attrs:{prop:"parameterName",label:"参数名"}}),t._v(" "),a("el-table-column",{attrs:{prop:"readType",label:"参数类型"}}),t._v(" "),a("el-table-column",{attrs:{prop:"readAddress",label:"参数地址"}}),t._v(" "),a("el-table-column",{attrs:{prop:"length",label:"读取长度"}}),t._v(" "),a("el-table-column",{attrs:{prop:"value",label:"参数值"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-popover",{ref:"popover-"+e.$index,attrs:{placement:"top",width:"160"}},[a("el-input",{attrs:{placeholder:"参数值"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t._v(" "),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.handleCloseReview()}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){t.Write(e.row.id,e.$index)}}},[t._v("确定")])],1),t._v(" "),a("div",{staticStyle:{cursor:"pointer"},attrs:{slot:"reference"},slot:"reference"},[t._v("\n "+t._s(e.row.value)),a("i",{staticClass:"el-icon-edit",staticStyle:{color:"#409EFF","margin-left":"10px"}})])],1)]}}])}),t._v(" "),a("el-table-column",{attrs:{fixed:"right","header-align":"center",align:"center",width:"200",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.Edit(e.row.id,e.row.plcType)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.deleteHandle(e.row.id,e.row.parameterName)}}},[t._v("删除")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.Read(e.row)}}},[t._v("读取")])]}}])})],1),t._v(" "),a("el-pagination",{attrs:{"current-page":t.pageIndex,"page-sizes":[10,20,50,100],"page-size":t.pageSize,total:t.totalPage,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":t.sizeChangeHandle,"current-change":t.currentChangeHandle}}),t._v(" "),t.parameterEdit?a("parameter-edit",{ref:"parameterEdit",on:{refreshDataList:t.getList}}):t._e()],1)},staticRenderFns:[]},n=a("VU/8")(r,o,!1,null,null,null);e.default=n.exports},Yzs3:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"更新MQ配置","close-on-click-modal":!1,visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"80px"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:"username",prop:"username"}},[a("el-input",{attrs:{placeholder:"username",clearable:""},model:{value:t.dataForm.username,callback:function(e){t.$set(t.dataForm,"username",e)},expression:"dataForm.username"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"port",prop:"port"}},[a("el-input",{attrs:{placeholder:"port",clearable:""},model:{value:t.dataForm.port,callback:function(e){t.$set(t.dataForm,"port",e)},expression:"dataForm.port"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"host",prop:"host"}},[a("el-input",{attrs:{placeholder:"host",clearable:""},model:{value:t.dataForm.host,callback:function(e){t.$set(t.dataForm,"host",e)},expression:"dataForm.host"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"isstart",prop:"isstart"}},[a("el-switch",{model:{value:t.dataForm.isstart,callback:function(e){t.$set(t.dataForm,"isstart",e)},expression:"dataForm.isstart"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"passport",prop:"passport"}},[a("el-input",{attrs:{placeholder:"passport",clearable:""},model:{value:t.dataForm.passport,callback:function(e){t.$set(t.dataForm,"passport",e)},expression:"dataForm.passport"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"virtualhost",prop:"virtualhost"}},[a("el-input",{attrs:{placeholder:"",clearable:""},model:{value:t.dataForm.virtualhost,callback:function(e){t.$set(t.dataForm,"virtualhost",e)},expression:"dataForm.virtualhost"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dataFormSubmit()}}},[t._v("确定")])],1)],1)},staticRenderFns:[]},o=a("VU/8")({data:function(){return{visible:!1,dataForm:{id:"",username:"",port:"",host:"",passport:"",isstart:"",virtualhost:""},dataRule:{username:[{required:!0,message:"名称不能为空",trigger:"blur"}],port:[{required:!0,message:"端口不能为空",trigger:"blur"}],host:[{required:!0,message:"IP不能为空",trigger:"blur"}],passport:[{required:!0,message:"passport不能为空",trigger:"blur"}],isstart:[{required:!0,message:"isstart不能为空",trigger:"blur"}],virtualhost:[{required:!0,message:"isstart不能为空",trigger:"blur"}]}}},methods:{init:function(){var t=this;this.visible=!0,this.$nextTick(function(){t.$refs.dataForm.resetFields(),t.$http({url:t.$http.adornUrl("api/server/main-config/getMqConfig"),method:"post"}).then(function(e){var a=e.data;a&&0===a.code&&(t.dataForm=a.data)})})},dataFormSubmit:function(){var t=this;this.$refs.dataForm.validate(function(e){e&&t.$http({url:t.$http.adornUrl("api/server/main-config/updateMqConfig"),method:"post",data:t.$http.adornData(t.dataForm)}).then(function(e){var a=e.data;a&&0===a.code?t.$message({message:"操作成功",type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}}):t.$message.error(a.msg)})})}}},r,!1,null,null,null);e.default=o.exports},fKQd:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("mvHQ"),o=a.n(r),n={data:function(){return{visible:!1,dataForm:{id:"",plcName:"",port:"",address:"",frequence:"",dataFormat:"",autoConnect:!0,autoRead:!0,station:"",plcType:""},updataURL:"",options:[],options1:[],options2:[],model:0,dataRule:{plcName:[{required:!0,message:"设备名称不能为空",trigger:"blur"}],port:[{required:!0,message:"端口号不能为空",trigger:"blur"}],address:[{required:!0,message:"IP不能为空",trigger:"blur"}],frequence:[{required:!0,message:"读取频率不能为空",trigger:"blur"}],station:[{required:!0,message:"站号不能为空",trigger:"blur"}],plcType:[{required:!0,message:"设备型号不能为空",trigger:"change"}]}}},methods:{init:function(t,e){var a=this;switch(this.dataForm.id=t||"",this.model=0,e){case"Melsec":this.updataURL="MelsecPlc";break;case"Modbus":this.model=1,this.$http({url:this.$http.adornUrl("api/server/plcCreate/list-DataFormat"),method:"post"}).then(function(t){var e=t.data;e&&0===e.code&&(a.options2=e.data)}),this.updataURL="Modbus";break;case"Omron":this.updataURL="OmronPlc";break;default:this.model=2,this.updataURL="siemensPlc",this.$http({url:this.$http.adornUrl("api/server/plcCreate/list-siemensType"),method:"post"}).then(function(t){var e=t.data;e&&0===e.code&&(a.options=e.data)})}this.$http({url:this.$http.adornUrl("api/server/plcCreate/list-frequence"),method:"post"}).then(function(t){var e=t.data;e&&0===e.code&&(a.options1=e.data)}),this.visible=!0,this.$nextTick(function(){if(a.$refs.dataForm.resetFields(),a.dataForm.id){var t={current:1,id:a.dataForm.id,size:10};a.$http({url:a.$http.adornUrl("api/server/main-config/get"),method:"post",data:t}).then(function(t){var e=t.data;if(e&&0===e.code)if(a.dataForm=e.data,2===a.model)a.dataForm.plcType=a.dataForm.plcType.substring(7);else if(1===a.model){var r=JSON.parse(a.dataForm.paramJson).station;a.dataForm.station=JSON.parse(o()(r));var n=JSON.parse(a.dataForm.paramJson).dataFormat;a.dataForm.dataFormat=JSON.parse(o()(n))}})}})},dataFormSubmit:function(){var t=this;this.$refs.dataForm.validate(function(e){e&&t.$http({url:t.$http.adornUrl("api/server/plcCreate/update-"+t.updataURL),method:"post",data:t.$http.adornData(t.dataForm)}).then(function(e){var a=e.data;a&&0===a.code?t.$message({message:"操作成功",type:"success",duration:1500,onClose:function(){t.visible=!1,t.$emit("refreshDataList")}}):t.$message.error(a.msg)})})}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"编辑PLC","close-on-click-modal":!1,visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"80px"},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:"设备名称",prop:"plcName"}},[a("el-input",{attrs:{placeholder:"设备名称",clearable:""},model:{value:t.dataForm.plcName,callback:function(e){t.$set(t.dataForm,"plcName",e)},expression:"dataForm.plcName"}})],1),t._v(" "),2===t.model?a("el-form-item",{attrs:{label:"设备型号",prop:"plcType"}},[a("el-select",{attrs:{placeholder:"请选择设备型号"},model:{value:t.dataForm.plcType,callback:function(e){t.$set(t.dataForm,"plcType",e)},expression:"dataForm.plcType"}},t._l(t.options,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}))],1):t._e(),t._v(" "),a("el-form-item",{attrs:{label:"IP",prop:"address"}},[a("el-input",{attrs:{placeholder:"IP",clearable:""},model:{value:t.dataForm.address,callback:function(e){t.$set(t.dataForm,"address",e)},expression:"dataForm.address"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"端口号",prop:"port"}},[a("el-input",{attrs:{placeholder:"端口号",clearable:""},model:{value:t.dataForm.port,callback:function(e){t.$set(t.dataForm,"port",e)},expression:"dataForm.port"}})],1),t._v(" "),1===t.model?a("el-form-item",{attrs:{label:"站号",prop:"station"}},[a("el-input",{attrs:{placeholder:"站号",clearable:""},on:{input:function(e){t.$forceUpdate()}},model:{value:t.dataForm.station,callback:function(e){t.$set(t.dataForm,"station",e)},expression:"dataForm.station"}})],1):t._e(),t._v(" "),1===t.model?a("el-form-item",{attrs:{label:"读取格式",prop:"dataFormat"}},[a("el-select",{attrs:{placeholder:"请选择读取格式"},on:{change:function(e){t.$forceUpdate()}},model:{value:t.dataForm.dataFormat,callback:function(e){t.$set(t.dataForm,"dataFormat",e)},expression:"dataForm.dataFormat"}},t._l(t.options2,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}))],1):t._e(),t._v(" "),a("el-form-item",{attrs:{label:"读取频率",prop:"frequence"}},[a("el-select",{attrs:{placeholder:"请选择读取频率"},model:{value:t.dataForm.frequence,callback:function(e){t.$set(t.dataForm,"frequence",e)},expression:"dataForm.frequence"}},t._l(t.options1,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}))],1),t._v(" "),a("el-form-item",{attrs:{label:"自动连接",prop:"autoConnect"}},[a("el-switch",{model:{value:t.dataForm.autoConnect,callback:function(e){t.$set(t.dataForm,"autoConnect",e)},expression:"dataForm.autoConnect"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"自动读取",prop:"autoRead"}},[a("el-switch",{model:{value:t.dataForm.autoRead,callback:function(e){t.$set(t.dataForm,"autoRead",e)},expression:"dataForm.autoRead"}})],1)],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dataFormSubmit()}}},[t._v("确定")])],1)],1)},staticRenderFns:[]},s=a("VU/8")(n,i,!1,null,null,null);e.default=s.exports},rYw1:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("Yzs3"),o=a("fKQd"),n=a("6VOP"),i={data:function(){return{dataForm:{key:""},dataList:[],pageIndex:1,pageSize:10,totalPage:0,dataListLoading:!1,addOrUpdateVisible:!1,plcCreate:!1,parameter:!1}},components:{AddOrUpdate:r.default,plcCreate:o.default,Parameter:n.default},activated:function(){this.getDataList()},methods:{getDataList:function(){var t=this;this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("api/server/main-config/page"),method:"post",data:this.$http.adornData({current:this.pageIndex,size:this.pageSize,plcName:this.dataForm.key})}).then(function(e){var a=e.data;a&&0===a.code?(t.dataList=a.data.records,t.totalPage=a.data.total):(t.dataList=[],t.totalPage=0),t.dataListLoading=!1})},sizeChangeHandle:function(t){this.pageSize=t,this.pageIndex=1,this.getDataList()},currentChangeHandle:function(t){this.pageIndex=t,this.getDataList()},addOrUpdateHandle:function(){var t=this;this.addOrUpdateVisible=!0,this.$nextTick(function(){t.$refs.addOrUpdate.init()})},Edit:function(t,e){var a=this;this.plcCreate=!0,this.$nextTick(function(){a.$refs.plcCreate.init(t,e)})},Stop:function(t){var e=this,a={current:1,id:t,size:10};this.$http({url:this.$http.adornUrl("api/server/main-config/disConnectRequest"),method:"post",data:a}).then(function(t){var a=t.data;e.$message({message:a.msg,duration:1500,onClose:function(){e.getDataList()}})})},Connect:function(t){var e=this,a={current:1,id:t,size:10};this.$http({url:this.$http.adornUrl("api/server/main-config/connectRequest"),method:"post",data:a}).then(function(t){var a=t.data;e.$message({message:a.msg,duration:1500,onClose:function(){e.getDataList()}})})},Parameter:function(t){var e=this;this.parameter=!0,this.$nextTick(function(){e.$refs.parameter.init(t)})},deleteHandle:function(t,e){var a=this;this.$confirm("确定对[名称:"+e+"]进行删除操作?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var e={current:1,id:t,size:10};a.$http({url:a.$http.adornUrl("api/server/main-config/delete"),method:"post",data:e}).then(function(t){var e=t.data;e&&0===e.code?a.$message({message:"操作成功",type:"success",duration:1500,onClose:function(){a.getDataList()}}):a.$message.error(e.msg)})})}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mod-config"},[a("el-form",{attrs:{inline:!0,model:t.dataForm},nativeOn:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.getDataList()}}},[a("el-form-item",[a("el-input",{attrs:{placeholder:"设备名称",clearable:""},model:{value:t.dataForm.key,callback:function(e){t.$set(t.dataForm,"key",e)},expression:"dataForm.key"}})],1),t._v(" "),a("el-form-item",[a("el-button",{on:{click:function(e){t.getDataList()}}},[t._v("查询")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.addOrUpdateHandle()}}},[t._v("更新MQ配置")])],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.dataListLoading,expression:"dataListLoading"}],staticStyle:{width:"100%"},attrs:{data:t.dataList,stripe:!0,"header-cell-style":{background:"#eef1f6",color:"#606266",height:"56px"},border:""}},[a("el-table-column",{attrs:{type:"index",label:"序号","header-align":"center",align:"center",width:"50"}}),t._v(" "),a("el-table-column",{attrs:{prop:"plcName","header-align":"center",align:"center",label:"设备名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"plcType","header-align":"center",align:"center",label:"协议类型"}}),t._v(" "),a("el-table-column",{attrs:{prop:"address","header-align":"center",align:"center",label:"IP"}}),t._v(" "),a("el-table-column",{attrs:{prop:"port","header-align":"center",align:"center",label:"端口"}}),t._v(" "),a("el-table-column",{attrs:{prop:"frequence","header-align":"center",align:"center",label:"读取频率"}}),t._v(" "),a("el-table-column",{attrs:{prop:"autoRead","header-align":"center",align:"center",label:"自动读取"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.autoRead?"是":"否"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"autoConnect","header-align":"center",align:"center",label:"自动连接"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.autoConnect?"是":"否"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"connectStatus","header-align":"center",align:"center",label:"连接状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tag",{attrs:{size:"mini",type:"connected"===e.row.connectStatus?"success":"danger"}},[t._v(t._s(e.row.connectStatus))])]}}])}),t._v(" "),a("el-table-column",{attrs:{fixed:"right","header-align":"center",align:"center",width:"250",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.Edit(e.row.id,e.row.plcType)}}},[t._v("编辑")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.deleteHandle(e.row.id,e.row.plcName)}}},[t._v("删除")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.Connect(e.row.id)}}},[t._v("连接")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.Stop(e.row.id)}}},[t._v("停止")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){t.Parameter(e.row.id)}}},[t._v("参数")])]}}])})],1),t._v(" "),a("el-pagination",{attrs:{"current-page":t.pageIndex,"page-sizes":[10,20,50,100],"page-size":t.pageSize,total:t.totalPage,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":t.sizeChangeHandle,"current-change":t.currentChangeHandle}}),t._v(" "),t.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:t.getDataList}}):t._e(),t._v(" "),t.plcCreate?a("plc-create",{ref:"plcCreate",on:{refreshDataList:t.getDataList}}):t._e(),t._v(" "),t.parameter?a("parameter",{ref:"parameter",on:{refreshDataList:t.getDataList}}):t._e()],1)},staticRenderFns:[]},l=a("VU/8")(i,s,!1,null,null,null);e.default=l.exports}}); |