Merge remote-tracking branch 'origin/master'

This commit is contained in:
jiang 2025-07-24 14:32:53 +08:00
commit 4b3840f49f
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ function setCols(type) {
{
title: "延误因素分析",
align: "center",
templet: (d) => {
templet: (d, index) => {
let text = "";
text +=
'<a id="viewBtn" style="color: #007bff;cursor: pointer;font-size: 16px">查看</a>';
@ -144,8 +144,8 @@ function initTable(type, bidCode) {
$(".layui-table-body table.layui-table tbody tr #viewBtn").on(
"click",
function () {
// 获取当前行的数据
var index = $(this).index();
const index = $(this).closest("tr").data("index");
console.log(index, "index");
var rowData = res.rows[index]; // 获取对应行的数据
// 弹框配置