From 0bc524c2ad75096ab88b6fc5d5725012020b3ea9 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 21 Feb 2024 16:25:53 +0800
Subject: [PATCH] 抽奖

---
 src/main/resources/templates/febs/views/modules/goods/tzList.html |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/goods/tzList.html b/src/main/resources/templates/febs/views/modules/goods/tzList.html
index 555af92..3787916 100644
--- a/src/main/resources/templates/febs/views/modules/goods/tzList.html
+++ b/src/main/resources/templates/febs/views/modules/goods/tzList.html
@@ -85,12 +85,11 @@
         table.on('tool(tzTable)', function (obj) {
             var data = obj.data,
                 layEvent = obj.event;
-            if (layEvent === 'goodsUpdate') {
-                febs.modal.open('编辑', 'modules/goods/goodsUpdateNew/' + data.id, {
+            if (layEvent === 'tzUpdate') {
+                febs.modal.open('编辑', 'modules/goods/tzUpdate/' + data.id, {
                     btn: ['提交', '取消'],
-                    area:['100%','100%'],
                     yes: function (index, layero) {
-                        $('#febs-update').find('#submit').trigger('click');
+                        $('#tz-update').find('#submit').trigger('click');
                     },
                     btn2: function () {
                         layer.closeAll();
@@ -124,7 +123,7 @@
                     {field: 'tzAmount', title: '投注总额', minWidth: 100,align:'left'},
                     {title: '操作',
                         templet: function (d) {
-                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="goodsUpdate" shiro:hasPermission="user:update">编辑</button>'
+                            return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="tzUpdate" shiro:hasPermission="tzUpdate:update">编辑</button>'
                         },minWidth: 160,align:'center'}
                 ]]
             });

--
Gitblit v1.9.1