Commit 7ed28d02 authored by “yiyousong”'s avatar “yiyousong”

perf: 办理事项评价报表添加窗口和工作人员展示

parent 19e7429c
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
:data-source="tableData" :data-source="tableData"
:loading="loading" :loading="loading"
:scroll="{ :scroll="{
x: 1500,
y: 490, y: 490,
}" }"
:row-selection="{ :row-selection="{
...@@ -117,6 +118,8 @@ const tHeader = [ ...@@ -117,6 +118,8 @@ const tHeader = [
"评价人", "评价人",
"身份证号", "身份证号",
"手机号", "手机号",
"窗口编号",
"工作人员",
"评价时间", "评价时间",
"评价来源", "评价来源",
"评价设备", "评价设备",
...@@ -127,6 +130,8 @@ const filterVal = [ ...@@ -127,6 +130,8 @@ const filterVal = [
"idcard_Name", "idcard_Name",
"idcard_IDCardNo", "idcard_IDCardNo",
"phone", "phone",
"window",
"workman_name",
"create_time", "create_time",
"pjxt", "pjxt",
"devicenum", "devicenum",
...@@ -142,6 +147,7 @@ export default { ...@@ -142,6 +147,7 @@ export default {
title: "序号", title: "序号",
width: 100, width: 100,
align: "center", align: "center",
fixed: "left",
customRender: (text, record, index) => { customRender: (text, record, index) => {
return (this.current - 1) * this.size + index + 1; return (this.current - 1) * this.size + index + 1;
}, },
...@@ -150,49 +156,42 @@ export default { ...@@ -150,49 +156,42 @@ export default {
title: "排队编号", title: "排队编号",
width: 100, width: 100,
dataIndex: "flounum", dataIndex: "flounum",
customRender: (text) => { fixed: "left",
return text ? text : "--";
},
}, },
{ {
title: "评价选项", title: "评价选项",
width: 100, width: 100,
dataIndex: "option_id", dataIndex: "option_id",
customRender: (text) => {
return text ? text : "--";
},
}, },
{ {
title: "评价人", title: "评价人",
width: 100, width: 100,
dataIndex: "idcard_Name", dataIndex: "idcard_Name",
customRender: (text) => {
return text ? text : "--";
},
}, },
{ {
title: "身份证号", title: "身份证号",
width: 200, width: 200,
dataIndex: "idcard_IDCardNo", dataIndex: "idcard_IDCardNo",
customRender: (text) => {
return text ? text : "--";
},
}, },
{ {
title: "手机号", title: "手机号",
width: 150, width: 150,
dataIndex: "phone", dataIndex: "phone",
customRender: (text) => { },
return text ? text : "--"; {
}, title: "窗口编号",
width: 150,
dataIndex: "window",
},
{
title: "工作人员",
width: 150,
dataIndex: "workman_name",
}, },
{ {
title: "评价时间", title: "评价时间",
width: 150, width: 150,
dataIndex: "create_time", dataIndex: "create_time",
customRender: (text) => {
return text ? text : "--";
},
}, },
{ {
title: "评价系统", title: "评价系统",
...@@ -220,9 +219,6 @@ export default { ...@@ -220,9 +219,6 @@ export default {
title: "评价设备", title: "评价设备",
width: 150, width: 150,
dataIndex: "devicenum", dataIndex: "devicenum",
customRender: (text) => {
return text ? text : "--";
},
}, },
{ {
title: "评价人照片", title: "评价人照片",
...@@ -237,6 +233,7 @@ export default { ...@@ -237,6 +233,7 @@ export default {
title: "操作", title: "操作",
width: 150, width: 150,
align: "center", align: "center",
fixed: "right",
scopedSlots: { scopedSlots: {
customRender: "action", customRender: "action",
}, },
......
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