From 264980073d03ead5cfce39f87c611de623db4d3f Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 25 May 2021 15:00:23 +0800 Subject: [PATCH] 20210525 申诉单 --- src/main/resources/templates/febs/views/modules/otc/otcAppealList.html | 16 +++++++++++----- 1 files changed, 11 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 cc7d869..02b4fc9 100644 --- a/src/main/resources/templates/febs/views/modules/otc/otcAppealList.html +++ b/src/main/resources/templates/febs/views/modules/otc/otcAppealList.html @@ -74,8 +74,11 @@ 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, }); } if (layEvent === 'dealDone') { @@ -120,6 +123,8 @@ {field: 'phone', title: '手机号', minWidth: 150,align:'left'}, {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: 'status', title: '状态', templet: function (d) { if (d.status === 1) { @@ -136,11 +141,12 @@ {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>' + return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealIng" shiro:hasPermission="user:update">查看详情</button>' }else if(d.status === 2){ - return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealDone" shiro:hasPermission="user:update">已处理</button>' + return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealIng" shiro:hasPermission="user:update">查看详情</button>' + +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealDone" shiro:hasPermission="user:update">已处理</button>' }else{ - return '' + return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="dealIng" shiro:hasPermission="user:update">查看详情</button>' } },minWidth: 200,align:'center'} ]] -- Gitblit v1.9.1