更新
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2023-12-20 14:20:16
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-12-20 14:21:39
|
||||
* @LastEditTime: 2026-07-15 10:28:05
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -10,7 +10,6 @@
|
||||
title="更新HJ212配置"
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="visible"
|
||||
destroy-on-close
|
||||
>
|
||||
<el-form
|
||||
:model="dataForm"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
title="更新MQ配置"
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="visible"
|
||||
destroy-on-close
|
||||
>
|
||||
<el-form
|
||||
:model="dataForm"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
title="更新MQTT配置"
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="visible"
|
||||
destroy-on-close
|
||||
>
|
||||
<el-form
|
||||
:model="dataForm"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-21 09:51:45
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-12-20 14:24:28
|
||||
* @LastEditTime: 2026-07-15 10:30:22
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -235,6 +235,7 @@ export default {
|
||||
methods: {
|
||||
// 获取数据列表
|
||||
getDataList () {
|
||||
console.log(11111, this.dataForm.key)
|
||||
this.dataListLoading = true
|
||||
this.$http({
|
||||
url: this.$http.adornUrl('api/server/main-config/page'),
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="visible"
|
||||
append-to-body
|
||||
destroy-on-close
|
||||
>
|
||||
<el-form
|
||||
:model="dataForm"
|
||||
@@ -129,6 +128,7 @@ export default {
|
||||
dataFormSubmit () {
|
||||
this.$refs['dataForm'].validate(valid => {
|
||||
if (valid) {
|
||||
this.dataForm.readAddress = this.dataForm.readAddress.trim()
|
||||
this.$http({
|
||||
url: this.$http.adornUrl(
|
||||
`api/server/parameter-config/${
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-21 16:15:28
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2026-07-15 09:43:45
|
||||
* @LastEditTime: 2026-07-15 10:26:15
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -11,7 +11,6 @@
|
||||
:visible.sync="visible"
|
||||
width="70%"
|
||||
:show-close="false"
|
||||
destroy-on-close
|
||||
>
|
||||
<div style="margin-top: -40px;float: right;">
|
||||
<el-button type="primary" @click="Edit()" size="mini">新增</el-button>
|
||||
@@ -140,6 +139,8 @@ export default {
|
||||
methods: {
|
||||
init (id) {
|
||||
this.PLCID = id
|
||||
this.pageIndex = 1
|
||||
this.pageSize = 10
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.getList()
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
title="编辑PLC"
|
||||
:close-on-click-modal="false"
|
||||
:visible.sync="visible"
|
||||
destroy-on-close
|
||||
>
|
||||
<el-form
|
||||
:model="dataForm"
|
||||
|
||||
Reference in New Issue
Block a user