| | |
| | | } |
| | | |
| | | if (_index == 0) { |
| | | this.keyWordFind = record.queryField |
| | | this.keyWordFind = record.queryField; |
| | | console.log(record) |
| | | } |
| | | }) |
| | | this.tableHeadFindDatas = newval; |
| | |
| | | similarHandler() { |
| | | if (this.selectRow.length <= 0) { |
| | | this.$message.warning("请选择一条数据"); |
| | | } else if (this.selectRow.length > 1) { |
| | | this.$message.warning("只能选择一条数据"); |
| | | } else { |
| | | this.similarVisible = true; |
| | | return; |
| | | } |
| | | if (this.selectRow.length > 1) { |
| | | this.$message.warning("只能选择一条数据"); |
| | | return; |
| | | } |
| | | this.similarVisible = true; |
| | | }, |
| | | //数据更改 |
| | | DataChange() { |
| | | if (this.selectRow.length <= 0) { |
| | | this.$message.warning("请选择一条数据"); |
| | | } else if (this.selectRow.length > 1) { |
| | | this.$message.warning("只能选择一条数据"); |
| | | } else if (this.selectRow[0].lcstatus != "Released") { |
| | | this.$message.warning("只有状态为已发布的数据才能进行数据更改"); |
| | | } else { |
| | | this.DataVisible = true; |
| | | this.rowOid = this.selectRow[0]['oid'] |
| | | return |
| | | } |
| | | if (this.selectRow.length > 1) { |
| | | this.$message.warning("只能选择一条数据"); |
| | | return; |
| | | } |
| | | if (this.selectRow[0].lcstatus != "Released") { |
| | | this.$message.warning("只有状态为已发布的数据才能进行数据更改"); |
| | | return; |
| | | } |
| | | this.DataVisible = true; |
| | | this.rowOid = this.selectRow[0]['oid'] |
| | | }, |
| | | //增加保存 |
| | | AddSumbit(val) { |