Commit 2f5046f2 by wangweidong

统计查询修改

parent b687985f
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="item.dateTime">{{scope.row[item.key]?$dateformat(scope.row[item.key],'yyyy-mm-dd HH:MM:ss'):''}}</span> <span v-if="item.dateTime">{{scope.row[item.key]?$dateformat(scope.row[item.key],'yyyy-mm-dd HH:MM:ss'):''}}</span>
<span v-else-if="item.judged">{{scope.row[item.key]===1?'是':'否'}}</span>
<span v-else>{{scope.row[item.key]}}</span> <span v-else>{{scope.row[item.key]}}</span>
</template> </template>
</vxe-table-column> </vxe-table-column>
...@@ -102,7 +103,7 @@ export default { ...@@ -102,7 +103,7 @@ export default {
{ title: '比较符', key: 'compare', width: 140 }, { title: '比较符', key: 'compare', width: 140 },
{ title: '限量值', key: 'limitValue', width: 160 }, { title: '限量值', key: 'limitValue', width: 160 },
{ title: '单位', key: 'unit', width: 220 }, { title: '单位', key: 'unit', width: 220 },
{ title: '是否判定', key: 'judged', width: 110 }, { title: '是否判定', key: 'judged', width: 110, judged: true },
{ title: '备注', key: 'remark' } { title: '备注', key: 'remark' }
], ],
catalogueId: '', catalogueId: '',
......
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