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

添加站点分类查询

parent d51484eb
......@@ -300,6 +300,23 @@ export default {
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) {
let info;
......
......@@ -16,10 +16,13 @@
name: "PjEvaluateList",
components: {
drawerShow
},
},
mixins: [table],
created() {
const siteid = session.getSession("siteid");
console.log("siteid"+siteid)
this.query["siteId"]=siteid?siteid:1;
},
methods: {
......@@ -51,6 +54,10 @@
columns: [
{type: "index",label: "序号",width: 50},
{label: "站点编码", prop: "siteCode"},
{label: "站点名称", prop: "siteName"},
{label: "评价人身份证号", prop: "peopleIdcard"},
{label: "评价人姓名", prop: "peopleName"},
......@@ -63,8 +70,6 @@
{label: "评价标签", prop: "contentTag"},
{label: "评价人图片地址", prop: "picUrl"},
{label: "部门", prop: "sectionName"},
{label: "大厅", prop: "hallName"},
......@@ -85,31 +90,14 @@
{label: "工作人员工号", prop: "workmanNumber"},
{label: "评价器mac", prop: "devicenum"},
{label: "评价状态", prop: "evaluatestatus"},
{label: "截图还是评价 ", prop: "evaluatetype"},
{label: "截图地址", prop: "photobefor"},
{label: "签字图片", prop: "photoautograph"},
{label: "抓拍评价人照片", prop: "picture"},
{label: "音频视频地址", prop: "process"},
{label: "评价标记 ", prop: "eyevaluate"},
{label: "评价指向 ", prop: "pjType"},
{label: "评价时间", prop: "pjTime", formatter: this.formatterDate},
{label: "站点编码", prop: "siteCode"},
{label: "站点名称", prop: "siteName"},
{label: "扩展编号", prop: "extNum"},
{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