|
|
@@ -14,6 +14,9 @@
|
|
|
<script type="text/html" id="photo">
|
|
|
<img src='{{d.photo}}' lay-event='open_image'>
|
|
|
</script>
|
|
|
+ <script type="text/html" id="qrcode">
|
|
|
+ <img src='{{d.qrcode}}' lay-event='open_image2'>
|
|
|
+ </script>
|
|
|
|
|
|
<script type="text/html" id="act">
|
|
|
{{# if(d.status == 0 ){ }}
|
|
|
@@ -43,6 +46,7 @@
|
|
|
{field: 'idcard', title: '身份证号码', width: '15%'},
|
|
|
{field: 'job', title: '职业', width: '7%'},
|
|
|
{field: 'photo', title: '照片', width: '10%', toolbar: "#photo"},
|
|
|
+ {field: 'qrcode', title: '二维码', width: '10%', toolbar: "#qrcode"},
|
|
|
{field: 'level_name', title: '等级', width: '5%'},
|
|
|
{field: 'code', title: '编码'},
|
|
|
{field: 'date', title: '录入时间', width: "10%"},
|
|
|
@@ -56,6 +60,9 @@
|
|
|
case 'open_image':
|
|
|
$eb.openImage(data.photo);
|
|
|
break;
|
|
|
+ case 'open_image2':
|
|
|
+ $eb.openImage(data.qrcode);
|
|
|
+ break;
|
|
|
case 'edit':
|
|
|
$eb.createModalFrame(data.name + '-确认', layList.U({a: 'check', q: {id: data.id}}), {
|
|
|
h: 550,
|