|
@@ -326,8 +326,10 @@ export default {
|
|
|
this.visible = true
|
|
|
this.modalTitle = '选择信息'
|
|
|
this.queryParam = queryParam
|
|
|
- this.isSpecial = queryParam.isSpecial
|
|
|
- this.record = record
|
|
|
+ if (queryParam.isSpecial !== undefined) {
|
|
|
+ this.isSpecial = queryParam.isSpecial
|
|
|
+ this.record = record
|
|
|
+ }
|
|
|
if (this.isCreated) {
|
|
|
this.$refs.table.clearSelected()
|
|
|
// this.options.rowSelection.type = this.type
|
|
@@ -351,7 +353,9 @@ export default {
|
|
|
return
|
|
|
} */
|
|
|
this.confirmLoading = true
|
|
|
- this.record.isSpecial = this.isSpecial
|
|
|
+ if (this.record !== null) {
|
|
|
+ this.record.isSpecial = this.isSpecial
|
|
|
+ }
|
|
|
this.$emit('selected', this.record, this.selectedRowKeys, this.selectedRows)
|
|
|
this.confirmLoading = false
|
|
|
this.visible = false
|