Commit a2e3c9b2 authored by 赵啸非's avatar 赵啸非

添加站点分类查询

parent d51484eb
...@@ -300,6 +300,23 @@ export default { ...@@ -300,6 +300,23 @@ export default {
formatterDateOnly(row, column) { formatterDateOnly(row, column) {
return formatterDateOnly(row, column); return formatterDateOnly(row, column);
}, },
// 格式化单元格数据
formatterDateSeconds(row, column,val) {
let h = parseInt(val / 60 / 60 % 24)
let m = parseInt(val / 60 % 60)
let s = parseInt(val % 60)
//三元表达式 补零 如果小于10 则在前边进行补零 如果大于10 则不需要补零
h = h < 10 ? '0' + h : h
m = m < 10 ? '0' + m : m
s = s < 10 ? '0' + s : s
return `${h}小时${m}分钟${s}秒`
//return formatterDate(row, column);
},
// 格式化人员 // 格式化人员
formaterPeople(row, column, val) { formaterPeople(row, column, val) {
let info; let info;
......
...@@ -16,10 +16,13 @@ ...@@ -16,10 +16,13 @@
name: "PjEvaluateList", name: "PjEvaluateList",
components: { components: {
drawerShow drawerShow
}, },
mixins: [table], mixins: [table],
created() { created() {
const siteid = session.getSession("siteid"); const siteid = session.getSession("siteid");
console.log("siteid"+siteid)
this.query["siteId"]=siteid?siteid:1; this.query["siteId"]=siteid?siteid:1;
}, },
methods: { methods: {
...@@ -51,7 +54,11 @@ ...@@ -51,7 +54,11 @@
columns: [ columns: [
{type: "index",label: "序号",width: 50}, {type: "index",label: "序号",width: 50},
{label: "评价人身份证号", prop: "peopleIdcard"}, {label: "站点编码", prop: "siteCode"},
{label: "站点名称", prop: "siteName"},
{label: "评价人身份证号", prop: "peopleIdcard"},
{label: "评价人姓名", prop: "peopleName"}, {label: "评价人姓名", prop: "peopleName"},
...@@ -63,8 +70,6 @@ ...@@ -63,8 +70,6 @@
{label: "评价标签", prop: "contentTag"}, {label: "评价标签", prop: "contentTag"},
{label: "评价人图片地址", prop: "picUrl"},
{label: "部门", prop: "sectionName"}, {label: "部门", prop: "sectionName"},
{label: "大厅", prop: "hallName"}, {label: "大厅", prop: "hallName"},
...@@ -85,31 +90,14 @@ ...@@ -85,31 +90,14 @@
{label: "工作人员工号", prop: "workmanNumber"}, {label: "工作人员工号", prop: "workmanNumber"},
{label: "评价器mac", prop: "devicenum"},
{label: "评价状态", prop: "evaluatestatus"}, {label: "评价状态", prop: "evaluatestatus"},
{label: "截图还是评价 ", prop: "evaluatetype"},
{label: "截图地址", prop: "photobefor"},
{label: "签字图片", prop: "photoautograph"},
{label: "抓拍评价人照片", prop: "picture"},
{label: "音频视频地址", prop: "process"},
{label: "评价标记 ", prop: "eyevaluate"}, {label: "评价标记 ", prop: "eyevaluate"},
{label: "评价指向 ", prop: "pjType"}, {label: "评价指向 ", prop: "pjType"},
{label: "评价时间", prop: "pjTime", formatter: this.formatterDate}, {label: "评价时间", prop: "pjTime", formatter: this.formatterDate},
{label: "站点编码", prop: "siteCode"},
{label: "站点名称", prop: "siteName"},
{label: "扩展编号", prop: "extNum"}, {label: "扩展编号", prop: "extNum"},
{label: "创建时间", prop: "createTime", formatter: this.formatterDate}, {label: "创建时间", prop: "createTime", formatter: this.formatterDate},
......
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