gaosp
2024-01-14 9d63225708dcd79255223be4c716bf17b0997ffe
src/container/deviceType/Manage-add-update.vue
@@ -3,13 +3,13 @@
    <el-dialog
      :title="!dataForm.id ? '新建' : '编辑'"
      :close-on-click-modal="false"
      width="80%"
      width="20%"
      :visible.sync="addVisible">
      <!-- 添加内容-->
      <el-form  :model="dataForm" label-width="100px" ref="dataForm">
         <el-row :gutter="20">
         <el-row :gutter="24">
          
          <el-col :xs="24":sm="6":md="6":lg="6":xl="6">
          <el-col :xs="24":sm="24":md="24":lg="24":xl="24">
            <el-form-item label="名称" prop="name">
              <el-input v-model="dataForm.name" placeholder="名称" clearable></el-input>
            </el-form-item>
@@ -21,7 +21,7 @@
      <!-- 按钮 -->
       <span slot="footer" class="dialog-footer">
        <el-button size="mini" @click="cancel">取消</el-button>
        <el-button size="mini" type="primary" @click="dataFormSubmit()">保存</el-button>
        <el-button class="active" size="mini" type="primary" @click="dataFormSubmit()">保存</el-button>
      </span>
    </el-dialog>
  </div>
@@ -52,7 +52,7 @@
      }
    },
    created () {
      console.log('add create');
      //console.log('add create');
      this.init(this.row)
    },
    methods: {