From a31721c6deee97f54ecb1dcf6d7324433c1f9dbc Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 04 Jun 2021 11:31:07 +0800 Subject: [PATCH] 20210604 --- src/main/resources/templates/febs/views/modules/otc/otcAppealList.html | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/otc/otcAppealList.html b/src/main/resources/templates/febs/views/modules/otc/otcAppealList.html index c523299..8e2e7e0 100644 --- a/src/main/resources/templates/febs/views/modules/otc/otcAppealList.html +++ b/src/main/resources/templates/febs/views/modules/otc/otcAppealList.html @@ -49,6 +49,14 @@ <a lay-event="edit" shiro:hasPermission="user:update"><i class="layui-icon febs-edit-area febs-blue"></i></a> </script> +<script id="showScreenhost" type="text/html"> + {{# var srr=d.content.split(","); + for(var j in srr) { srr[j] }} + <div style="margin:0 10px; display:inline-block !important; display:inline; max-width:70px; max-height:50px;"> + <img style=" max-width:70px; max-height:50px;" src="{{srr[j]}}" /> + </div> + {{# } }} +</script> <!-- 表格操作栏 end --> <script data-th-inline="none" type="text/javascript"> // 引入组件并初始化 @@ -74,9 +82,9 @@ var data = obj.data, layEvent = obj.event; if (layEvent === 'dealIng') { - febs.modal.confirm('处理', '开始处理申诉?', function () { - dealIng(data.id); - }); + // febs.modal.confirm('处理', '开始处理申诉?', function () { + // dealIng(data.id); + // }); febs.modal.open( '详情', 'modules/otc/otcAppealInfo/' + data.id, { maxmin: true, }); @@ -124,7 +132,7 @@ {field: 'realName', title: '姓名', minWidth: 100,align:'left'}, {field: 'inviteId', title: '邀请码', minWidth: 80,align:'center'}, {field: 'reason', title: '申诉原因', minWidth: 80,align:'center'}, - {field: 'content', title: '申诉内容', minWidth: 80,align:'center'}, + {field: 'content', title: '申诉内容', minWidth: 80,templet: '#showScreenhost',align:'center'}, {field: 'status', title: '状态', templet: function (d) { if (d.status === 1) { @@ -138,7 +146,7 @@ } }, minWidth: 80,align:'center'}, {field: 'orderNo', title: '订单编号',minWidth: 100,align:'center'}, - {field: 'nikename', title: '商户昵称',minWidth: 100,align:'center'}, + // {field: 'nikename', title: '商户昵称',minWidth: 100,align:'center'}, {title: '操作',templet: function (d) { if(d.status === 1){ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealIng" shiro:hasPermission="user:update">查看详情</button>' -- Gitblit v1.9.1