chenhaozhe
2025-07-02 dfd4d114395ce69b51bccd746b02e336873b8088
WebTM/views/home/console.html
@@ -228,6 +228,25 @@
                }
            });
            table.on('tool(mainTable)', function (obj) {
                var data = obj.data;
                if (obj.event == '主题') {
                    var linterid = data.HInterID.toString();
                    var HEntryID = data.HEntryID.toString();
                    layer.open({
                        type: 2
                        , area: ['100%', '100%']
                        , title: '编辑公告'
                        , shift: 0//弹出动画
                        , content: '../系统管理/公告/GG_NoticeBillEdit.html?OperationType=3&linterid=' + linterid + '&HEntryID=' + HEntryID+'&HSouceBillType='
                        , btn: ['确定'],
                        // 按钮1 的回调
                        end: function (index, layero, that) {
                        }
                    })
                }
            });
            $('.FastMenu_1').on('click', 'ul li', function (event) {
                // 这里写你的点击事件处理代码
                console.log('List item clicked:', $(this).text());
@@ -385,6 +404,13 @@
                                if ($.inArray(data[i].name, titleData) > -1) {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                }
                                else if (data[i].name == '主题') {//添加超链接
                                    col.push({
                                        field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '主题', templet: function (d) {
                                            return '<span style="color: blue;">' + d.主题 + '</span>'
                                        }, style: 'cursor: pointer;'
                                    });
                                }
                                else {
                                    switch (data[i].Type) {
                                        //int