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