新增DropdownTable组件
This commit is contained in:
@@ -22,10 +22,6 @@
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
index: {
|
|
||||||
type: Number,
|
|
||||||
default: () => 0
|
|
||||||
},
|
|
||||||
placeholder: {
|
placeholder: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '请选择'
|
default: '请选择'
|
||||||
@@ -84,8 +80,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleRowClick(val) {
|
handleRowClick(val, column) {
|
||||||
this.$emit('selectedData', { list: val, index: this.index })
|
this.$emit('selectedData', { list: val, index: column })
|
||||||
this.timer = setTimeout(() => {
|
this.timer = setTimeout(() => {
|
||||||
this.popVisible = false
|
this.popVisible = false
|
||||||
}, 200)
|
}, 200)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
:name.sync="temp.licenseId"
|
:name.sync="temp.licenseId"
|
||||||
:tableData= "licenseList"
|
:tableData= "licenseList"
|
||||||
@selectedData="selectedFeeItem"
|
@selectedData="selectedFeeItem"
|
||||||
placeholder="选择费用项"
|
placeholder="请选择"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
Reference in New Issue
Block a user