[update] 标准选择修改
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
props: ['query', 'value', 'standard'],
|
||||
computed: {
|
||||
isDisabled () {
|
||||
if (this.query.db_field_name === 'replaced_standard') {
|
||||
if (this.query.dbFieldName === 'replaced_standard') {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
@@ -58,6 +58,7 @@ import JDictSelectTag from '../dict/JDictSelectTag'
|
||||
export default {
|
||||
name: 'StandardSelectionModal',
|
||||
components: { JDictSelectTag },
|
||||
props: ['query', 'standard'],
|
||||
data () {
|
||||
return {
|
||||
visible: false,
|
||||
@@ -131,7 +132,7 @@ export default {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records
|
||||
this.ipagination.total = res.result.total
|
||||
this.selectedRowKeys = this.standard[this.query.db_field_name] ? this.standard[this.query.db_field_name].split(',') : []
|
||||
this.selectedRowKeys = this.standard[this.query.dbFieldName] ? this.standard[this.query.dbFieldName].split(',') : []
|
||||
} else {
|
||||
this.dataList = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user