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