|
@@ -53,8 +53,8 @@
|
|
|
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
@change="handleTableChange">
|
|
|
<span slot="basicSalary" slot-scope="text, record">
|
|
|
- <!-- <a @click="handleBasicSalary(record)" >record.basicSalary</a> -->
|
|
|
- <a @click="handleBasicSalary(record)" >333333</a>
|
|
|
+ <a>record.basicSalary</a>
|
|
|
+ <!-- <a >333333</a> -->
|
|
|
</span>
|
|
|
</a-table>
|
|
|
</div>
|
|
@@ -126,7 +126,8 @@
|
|
|
title: '基本薪资',
|
|
|
align:"center",
|
|
|
dataIndex: 'basicSalary',
|
|
|
- scopedSlots: { customRender: 'basicSalary' }
|
|
|
+ scopedSlots: { customRender: 'basicSalary' } ,
|
|
|
+ customCell: this.handleBasicSalary,
|
|
|
},
|
|
|
{
|
|
|
title: '最后变更时间',
|
|
@@ -151,7 +152,13 @@
|
|
|
|
|
|
},
|
|
|
handleBasicSalary(){
|
|
|
- this.$refs.ChangeBasicSalary.visible = true
|
|
|
+ return {
|
|
|
+ on: {
|
|
|
+ dblclick: event => {
|
|
|
+ this.$refs.ChangeBasicSalary.visible = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
searchQuery(){
|
|
|
|