|
@@ -42,16 +42,11 @@
|
|
|
:loading="loading"
|
|
|
: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>
|
|
|
- </span>
|
|
|
</a-table>
|
|
|
</div>
|
|
|
<!-- table区域-end -->
|
|
|
|
|
|
<!-- 表单区域 -->
|
|
|
- <ChangeBasicSalary ref="ChangeBasicSalary"></ChangeBasicSalary>
|
|
|
</a-card>
|
|
|
</template>
|
|
|
|
|
@@ -60,14 +55,12 @@
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
import { getAction } from '@/api/manage'
|
|
|
import moment from 'moment'
|
|
|
- import ChangeBasicSalary from './modules/ChangeBasicSalary.vue'
|
|
|
import JSearchSelectTag from '@/components/dict/JSearchSelectTag'
|
|
|
export default {
|
|
|
name: "SalaryChangeRecords",
|
|
|
mixins: [JeecgListMixin],
|
|
|
components: {
|
|
|
moment,
|
|
|
- ChangeBasicSalary,
|
|
|
JSearchSelectTag
|
|
|
},
|
|
|
data () {
|
|
@@ -133,7 +126,18 @@
|
|
|
},
|
|
|
methods: {
|
|
|
getTableList(){
|
|
|
-
|
|
|
+ getAction('/salary/salaryChangeRecord/list',this.queryParam).then(res=>{
|
|
|
+ if(res.success){
|
|
|
+ this.dataSource =res.result.records
|
|
|
+ this.ipagination = {
|
|
|
+ total: res.result.total,
|
|
|
+ current: res.result.current,
|
|
|
+ pageSize: res.result.size
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.$message.error(res.message);
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
handleBasicSalary(){
|
|
|
this.$refs.ChangeBasicSalary.visible = true
|