Commit 5afccd4a authored by 姬鋆屾's avatar 姬鋆屾

tui

parent 1f32e2fa
...@@ -108,6 +108,135 @@ export default { ...@@ -108,6 +108,135 @@ export default {
handleClick() { handleClick() {
this.query.page = 1; this.query.page = 1;
this.query.size = 10; this.query.size = 10;
console.log(this.tableConfig);
this.activeName == 1
? ""
: (this.tableConfig.columns = [
{ type: "selection", width: 60 },
{ type: "index", label: "序号", width: 50 },
{
label: "窗口首席代表",
prop: "appealPerson",
},
{ label: "姓名", prop: "staffName", formatter: this.formatter },
{
label: "所属大厅",
prop: "salaName",
formatter: this.formatter,
},
{
label: "所属部门",
prop: "deptName",
formatter: this.formatter,
},
{
label: "违规类型",
prop: "irregularType",
formatter: this.formatter,
},
{
label: "绩效规则",
prop: "ruleId",
formatter: this.formatter,
},
{
label: "加分/扣分方式",
prop: "subMethod",
formatter: this.formatter,
},
// {
// label: "加分/扣分方式",
// prop: "subAddType",
// formatter: this.formatter,
// },
{
label: "加分/扣分时间",
prop: "deductTime",
formatter: this.formatterDate,
},
{ label: "分值", prop: "score", formatter: this.formatter },
{
label: "申诉时间",
prop: "appealTime",
formatter: this.formatterDate,
},
{
label: "申诉人",
prop: "appealPerson",
formatter: this.formatter,
},
{
label: "处理时间",
prop: "processTime",
formatter: this.formatterDate,
},
{
label: "处理人员",
prop: "processPerson",
formatter: this.formatter,
},
{
label: "是否核查",
prop: "checkStatus",
formatter: this.formatter,
},
{
label: "处理状态",
prop: "processStatus",
formatter: this.formatter,
},
/* {label: "绩效记录申诉附件信息",
width: 120,
prop: "subColumns",
formatter: (row) => {
let widthsize = this.columnSet.reduce((pre, cur) => {
return pre + Number(cur.width);
}, 50);
return (
<el-popover placement="right" width={widthsize} trigger="click">
{this.renderTable(row.performAttendAppealFilesList)}
<el-button type="text" slot="reference">详细</el-button>
</el-popover>
);
},
},*/
{
label: "操作",
formatter: (row) => {
return row.processStatus == 2 ? (
<table-buttons
noAdd
noDel
noEdit
row={row}
onEdit={this.toEdit}
onView={this.toView}
onDel={this.toDel}
/>
) : (
<table-buttons
noAdd
noDel
noView
noEdit
chuli
row={row}
onEdit={this.toEdit}
onView={this.toView}
onDel={this.toDel}
/>
);
},
},
]);
this.getData(); this.getData();
}, },
getData() { getData() {
...@@ -119,6 +248,11 @@ export default { ...@@ -119,6 +248,11 @@ export default {
? this.query.yearmonth + "-01" ? this.query.yearmonth + "-01"
: "", : "",
appealTimeEnd: this.query.yearmonth ? this.query.yearmonth + "-31" : "", appealTimeEnd: this.query.yearmonth ? this.query.yearmonth + "-31" : "",
staffName: this.query.staffName,
salaId:this.query.salaId,
deptId:this.query.deptId,
checkStatus: this.query.checkStatus,
irregularOtherType: this.query.irregularOtherType,
}; };
this.activeName == 2 this.activeName == 2
? (obj.appealResult = 1) ? (obj.appealResult = 1)
...@@ -202,6 +336,12 @@ export default { ...@@ -202,6 +336,12 @@ export default {
config: { config: {
isshowTabPane: false, isshowTabPane: false,
search: [ search: [
{
name: "checkStatus",
type: "select",
label: "核查情况",
fuzzy: false,
},
{ {
name: "irregularOtherType", name: "irregularOtherType",
type: "select", type: "select",
...@@ -295,16 +435,16 @@ export default { ...@@ -295,16 +435,16 @@ export default {
prop: "appealPerson", prop: "appealPerson",
formatter: this.formatter, formatter: this.formatter,
}, },
{ // {
label: "处理时间", // label: "处理时间",
prop: "processTime", // prop: "processTime",
formatter: this.formatterDate, // formatter: this.formatterDate,
}, // },
{ // {
label: "处理人员", // label: "处理人员",
prop: "processPerson", // prop: "processPerson",
formatter: this.formatter, // formatter: this.formatter,
}, // },
{ {
label: "是否核查", label: "是否核查",
prop: "checkStatus", prop: "checkStatus",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment