|
@@ -15,34 +15,17 @@
|
|
|
<div class="table-page-search-wrapper">
|
|
|
<a-form-model layout="inline" ref="form" :model="formState" >
|
|
|
<a-row :gutter="24">
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
+ <a-col :md="8" :sm="8">
|
|
|
<a-form-model-item label="组织" prop="name">
|
|
|
<a-input v-model="formState.orgName" />
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
- <a-form-model-item label="考勤时间" prop="totalNum">
|
|
|
- <a-input placeholder="" v-model="formState.DateTime" />
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
- <a-form-model-item label="版本" >
|
|
|
- <a-input placeholder="请输入" v-model="formState.version" />
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
+ <a-col :md="8" :sm="8">
|
|
|
<a-form-model-item label="姓名" >
|
|
|
<a-input placeholder="请输入" v-model="formState.name" />
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :md="18" :sm="8">
|
|
|
- <a-form-model-item label="备注" >
|
|
|
- <a-input placeholder="请输入" v-model="formState.remarks" />
|
|
|
- </a-form-model-item>
|
|
|
- </a-col>
|
|
|
- <a-col :md="6" :sm="8">
|
|
|
+ <a-col :md="8" :sm="8">
|
|
|
<a-form-model-item label="" >
|
|
|
<a-button type="primary" icon="search" @click="searchSonList">查询</a-button>
|
|
|
</a-form-model-item>
|
|
@@ -54,7 +37,7 @@
|
|
|
:columns="columns"
|
|
|
:data-source="dataSource"
|
|
|
:loading="loading"
|
|
|
- :scroll="{x: 3500 ,y:300}"
|
|
|
+ :scroll="{x: 2500 ,y:300}"
|
|
|
:pagination="false"
|
|
|
>
|
|
|
</a-table>
|
|
@@ -106,145 +89,96 @@
|
|
|
align: "center",
|
|
|
dataIndex: 'cardNo',
|
|
|
ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '单双休',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'restMode',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '工时/天',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'workingHours',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '出勤天数',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'attendanceDays',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '话费补贴',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'phoneBill',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
+ width:'8%'
|
|
|
},
|
|
|
{
|
|
|
- title: '午餐补贴',
|
|
|
+ title: '1月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'lunch',
|
|
|
+ dataIndex: 'january',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '住房补贴',
|
|
|
+ title: '2月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'housingSubsidies',
|
|
|
+ dataIndex: 'february',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '交通补贴',
|
|
|
+ title: '3月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'transportation',
|
|
|
+ dataIndex: 'march',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '全勤奖',
|
|
|
+ title: '4月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'fullAttendance',
|
|
|
+ dataIndex: 'april',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '养老保险',
|
|
|
+ title: '5月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'endowmentInsurance',
|
|
|
+ dataIndex: 'may',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '失业保险',
|
|
|
+ title: '6月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'unemploymentInsurance',
|
|
|
+ dataIndex: 'june',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '医疗保险',
|
|
|
+ title: '7月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'medicalInsurance',
|
|
|
+ dataIndex: 'july',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '公积金',
|
|
|
+ title: '8月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'accumulationFund',
|
|
|
+ dataIndex: 'august',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '工资抵扣',
|
|
|
+ title: '9月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'deduction',
|
|
|
+ dataIndex: 'september',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '迟到次数',
|
|
|
+ title: '10月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'latenessTimes',
|
|
|
+ dataIndex: 'october',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '迟到扣费',
|
|
|
+ title: '11月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'latenessCost',
|
|
|
+ dataIndex: 'november',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '事假时间',
|
|
|
+ title: '12月份',
|
|
|
align: "center",
|
|
|
- dataIndex: 'personalLeave',
|
|
|
+ dataIndex: 'december',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
|
{
|
|
|
- title: '病假时间',
|
|
|
+ title: '合计',
|
|
|
align: "center",
|
|
|
- dataIndex: 'sickLeave',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '婚假时间',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'marriageLeave',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '丧假时间',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'funeralLeave',
|
|
|
- ellipsis: true,
|
|
|
- width:'4%'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '年假时间',
|
|
|
- align: "center",
|
|
|
- dataIndex: 'yearLeave',
|
|
|
+ dataIndex: 'total',
|
|
|
ellipsis: true,
|
|
|
width:'4%'
|
|
|
},
|
|
@@ -258,9 +192,18 @@
|
|
|
methods: {
|
|
|
handleCancel(){
|
|
|
this.visible = false
|
|
|
+ this.formState ={}
|
|
|
+ this.dataSource =[]
|
|
|
},
|
|
|
- getTableList(id){
|
|
|
- getAction('/salary/salaryAttendance/querySalaryAttendanceDetailByMainId',{id:id}).then(res=>{
|
|
|
+ detail(id){
|
|
|
+ this.formState = {}
|
|
|
+ this.formState.id=id
|
|
|
+ this.getTableList()
|
|
|
+ },
|
|
|
+ getTableList(){
|
|
|
+ this.loading = true
|
|
|
+ getAction('/salary/salaryAttendance/querySalaryAttendanceWorkOvertimeByMainId',this.formState).then(res=>{
|
|
|
+ this.loading = false
|
|
|
if(res.success){
|
|
|
this.dataSource =res.result
|
|
|
}else{
|
|
@@ -269,7 +212,7 @@
|
|
|
})
|
|
|
},
|
|
|
searchSonList(){
|
|
|
-
|
|
|
+ this.getTableList()
|
|
|
}
|
|
|
}
|
|
|
}
|