|
|
@@ -37,7 +37,7 @@ |
|
|
|
<a v-on:click="refresh" class="btn btn-default" style="margin-right:8px;font-size:14px"><i class="el-icon-refresh"></i></a> |
|
|
|
<a class="btn btn-default" v-on:click="detailShow"><i class="el-icon-edit-outline" style="margin-right:4px"></i>查看</a> |
|
|
|
<a class="btn btn-default" v-on:click="importantData"><i class="el-icon-download" style="margin-right:4px"></i>导入</a> |
|
|
|
<a class="btn btn-default" v-on:click="del"><i class="el-icon-delete" style="margin-right:4px"></i>删除</a> |
|
|
|
@*<a class="btn btn-default" v-on:click="del"><i class="el-icon-delete" style="margin-right:4px"></i>删除</a>*@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div style="height:calc(100% - 80px)"> |
|
|
@@ -123,11 +123,11 @@ |
|
|
|
border |
|
|
|
show-overflow-tooltip |
|
|
|
height="500"> |
|
|
|
<template v-for="item in fixedColumn"> |
|
|
|
@*<template v-for="item in fixedColumn"> |
|
|
|
<el-table-column :prop="item.prop" |
|
|
|
:label="item.label"> |
|
|
|
</el-table-column> |
|
|
|
</template> |
|
|
|
</template>*@ |
|
|
|
<template v-for="item in trendsColumn"> |
|
|
|
<el-table-column :prop="item.prop" |
|
|
|
:label="item.label"> |
|
|
@@ -154,21 +154,20 @@ |
|
|
|
total: 0, |
|
|
|
//固定列 |
|
|
|
fixedColumn: [ |
|
|
|
{ prop: 'UserNo', label: '部门名称' }, |
|
|
|
{ prop: 'UserNo', label: '部门名称' }, |
|
|
|
{ prop: 'UserNo', label: '职员类型代码' }, |
|
|
|
{ prop: 'UserNo', label: '职员类型' }, |
|
|
|
{ prop: 'DeptCode', label: '部门代码' }, |
|
|
|
{ prop: 'DeptName', label: '部门名称' }, |
|
|
|
{ prop: 'PersonTypeCode', label: '职员类型代码' }, |
|
|
|
{ prop: 'PersonType', label: '职员类型' }, |
|
|
|
{ prop: 'UserNo', label: '职员代码' }, |
|
|
|
{ prop: 'UserNo', label: '职员姓名' }, |
|
|
|
{ prop: 'CreateTime', label: '发放时间' }, |
|
|
|
{ prop: 'UserNo', label: '发放次数' }, |
|
|
|
{ prop: 'UserNo', label: '扣款合计' }, |
|
|
|
{ prop: 'UserNo', label: '职员类型代码' }, |
|
|
|
{ prop: 'RealName', label: '职员姓名' }, |
|
|
|
{ prop: 'SendDate', label: '发放时间' }, |
|
|
|
{ prop: 'SendCount', label: '发放次数' }, |
|
|
|
{ prop: 'TotalDeduction', label: '扣款合计' }, |
|
|
|
{ prop: 'Year', label: '发放年份' }, |
|
|
|
{ prop: 'Month', label: '发放月份' }, |
|
|
|
{ prop: 'Amount', label: '实发合计' }, |
|
|
|
{ prop: 'UserNo', label: '备注' }, |
|
|
|
{ prop: 'UserNo', label: '审核人' } |
|
|
|
{ prop: 'TotalSend', label: '实发合计' }, |
|
|
|
{ prop: 'Remark', label: '备注' }, |
|
|
|
{ prop: 'Reviewer', label: '审核人' } |
|
|
|
], |
|
|
|
// 导入 |
|
|
|
dialogVisible: false, |
|
|
@@ -238,7 +237,7 @@ |
|
|
|
}), |
|
|
|
queryJson: JSON.stringify(this.query) |
|
|
|
} |
|
|
|
let result = await this.NetRequest('/PersonnelManagement/Gz_Amounts/GetPageList', $.param(getParams), 'get') |
|
|
|
let result = await this.NetRequest('/PersonnelManagement/Gz_Amounts/GetPageListCol', $.param(getParams), 'get') |
|
|
|
this.tableData = result.rows |
|
|
|
this.total = result.records |
|
|
|
}, |
|
|
@@ -382,8 +381,10 @@ |
|
|
|
return |
|
|
|
} |
|
|
|
this.detailData = [] |
|
|
|
let result = await this.NetRequest('/PersonnelManagement/Gz_Amounts/SaveForm', $.param({ keyValue: this.multipleSelection[0].id }), 'get') |
|
|
|
this.trendsColumn = [{ porp: 'aaa', label: '动态1' }] |
|
|
|
let result = await this.NetRequest('/PersonnelManagement/Gz_Amounts/GetDetail', $.param({ userNo: this.multipleSelection[0].UserNo, year: this.multipleSelection[0].Year, month: this.multipleSelection[0].Month }), 'get') |
|
|
|
debugger |
|
|
|
this.detailData = result; |
|
|
|
this.trendsColumn = [{ porp: 'Item2', label: 'Item1' }] |
|
|
|
this.dialogVisible1 = true |
|
|
|
}, |
|
|
|
} |
|
|
|