rev: 工单字段修改
This commit is contained in:
@@ -101,6 +101,10 @@ export default {
|
||||
isSingle: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
flag: {
|
||||
type: Number,
|
||||
default: 1
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -143,7 +147,7 @@ export default {
|
||||
// 处理单选
|
||||
if (this.isSingle && this.tableRadio) {
|
||||
this.$emit('update:dialogShow', false)
|
||||
this.$emit('tableChanged', this.tableRadio)
|
||||
this.$emit('tableChanged', this.tableRadio, this.flag)
|
||||
return
|
||||
}
|
||||
this.rows = this.$refs.table.selection
|
||||
@@ -153,7 +157,7 @@ export default {
|
||||
}
|
||||
this.crud.resetQuery(false)
|
||||
this.$emit('update:dialogShow', false)
|
||||
this.$emit('tableChanged', this.rows)
|
||||
this.$emit('tableChanged', this.rows, this.flag)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user