ludc
2024-03-04 27bd6a398f88ee8de1b548b66d2f18cdf346b3b2
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -328,6 +328,7 @@
          </template>
        </avue-crud>
        <div slot="footer" class="dialog-footer">
          <el-button type="info" @click="sysClear">清空</el-button>
          <el-button type="primary" @click="sysnonymSubmit">确定</el-button>
          <el-button @click="sysnonymCancel">取消</el-button>
        </div>
@@ -1697,12 +1698,17 @@
        this.$set(this.CurrentCell, 'sysonymRuleOids', newString)
        //text
        this.$set(this.CurrentCell, 'sysonymRuleOidsText', newStringName)
        this.$set(this.CurrentCell, 'sysonymRuleOidsData', this.sysSelectData)
        this.AddCellFlag = true;
        this.synonymVisible = false;
      }
    },
    sysClear(){
      this.CurrentCell.sysonymRuleOidsText = "";
      this.CurrentCell.sysonymRuleOidsData = "";
      this.AddCellFlag = true;
    },
    sysChange(row) {
      console.log(row)
      this.sysSelectData = row;
    },
    //新增搜索
@@ -1969,6 +1975,7 @@
    //表格行编辑
    handleCellClicks(row, column) {
      if (this.editOpenFlag) {
        this.AddCellFlag = false;
        this.editingRows = row;
        this.editShows = column.property;
        this.rowOid = row.oid;
@@ -2043,6 +2050,7 @@
            }).catch(() => {
              this.$message.error('请检查控制台错误信息!')
            })
            this.synonymVisible = true;
          }
        };