Ver Fonte

修改基础功能bug

zhoupeng há 1 ano atrás
pai
commit
22a354d5b3
16 ficheiros alterados com 373 adições e 177 exclusões
  1. 1 1
      chaunyi_opc/opc_da/src/main/resources/static/app/index.html
  2. BIN
      chaunyi_opc/opc_da/src/main/resources/static/app/static/image/search.png
  3. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/index.34adbc59.js
  4. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/index.f4984f1e.js
  5. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index.0dfc5d32.js
  6. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index.a1b41f12.js
  7. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index~pages-reportForm-index.696aff20.js
  8. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index~pages-reportForm-index.eabbe2f7.js
  9. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index~pages-reportForm-index~pages-user-auth-level-index~pages-user-index~pages-user-~15f3e891.81e87882.js
  10. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-login-index.ae4d5572.js
  11. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index.032ebccc.js
  12. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index.683e0b5e.js
  13. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index~pages-user-auth-level-index~pages-user-index~pages-user-system-info-index.19878746.js
  14. 0 0
      chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index~pages-user-auth-level-index~pages-user-index~pages-user-system-info-index.3f1cdf82.js
  15. 219 23
      chaunyi_opc/opc_da/src/main/resources/static/app/static/webview/record-wv.html
  16. 153 153
      chaunyi_opc/opc_da/src/main/resources/static/app/static/webview/report-wv.html

+ 1 - 1
chaunyi_opc/opc_da/src/main/resources/static/app/index.html

@@ -2,4 +2,4 @@
 				.supports('top: constant(a)'))
 			document.write(
 				'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
-				(coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.63b34199.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.7d651a70.js></script><script src=./static/js/index.34adbc59.js></script></body></html>
+				(coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.63b34199.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.7d651a70.js></script><script src=./static/js/index.f4984f1e.js></script></body></html>

BIN
chaunyi_opc/opc_da/src/main/resources/static/app/static/image/search.png


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/index.34adbc59.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/index.f4984f1e.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index.0dfc5d32.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index.a1b41f12.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index~pages-reportForm-index.696aff20.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index~pages-reportForm-index.eabbe2f7.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-homePage-index~pages-reportForm-index~pages-user-auth-level-index~pages-user-index~pages-user-~15f3e891.81e87882.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-login-index.ae4d5572.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index.032ebccc.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index.683e0b5e.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index~pages-user-auth-level-index~pages-user-index~pages-user-system-info-index.19878746.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
chaunyi_opc/opc_da/src/main/resources/static/app/static/js/pages-reportForm-index~pages-user-auth-level-index~pages-user-index~pages-user-system-info-index.3f1cdf82.js


+ 219 - 23
chaunyi_opc/opc_da/src/main/resources/static/app/static/webview/record-wv.html

@@ -37,40 +37,236 @@
 				uni.getEnv(function(res) {
 					console.log('当前环境:' + JSON.stringify(res));
 					const id = window.location.search.split('?id=')[1]
-
+					const token = window.localStorage.getItem('C_TOKEN')
 					$.ajax({
-						url: "/reportTable/getReportTableById/" + id,
+						url: "" + id,
 						type: 'GET',
-						beforeSend: function() {
-							// getUserIP(function(ip) {
-							// 	console.log("得到的本地IP :" + ip);
-							// 	this.url = "http://" + ip +
-							// 		":8081/reportTable/getReportTableById/" + this.id
-							// });
-							this.url = window.location.origin
+						beforeSend: function(xhr) {
+							// this.url =
+							// 	"http://192.168.0.40:8081/reportTable/getReportTableById?id=" +
+							// 	id
+							this.url = window.location.origin +
+								'/reportTable/getReportTableById?id=' + id
+							xhr.setRequestHeader("Authorization", "Bearer " +
+								token);
+							xhr.setRequestHeader("token", token);
 						},
 						success: function(res) {
+							console.log(res);
+							const data = res.data
 							if (res.code === 200) {
-								const tableData = JSON.parse(res.data.reportTableData)
-								const option = tableData.option
-								if (option) {
-									option.allowEdit = false
-									tableData.showtoolbar = false
-									tableData.option.enableAddRow = false
-									tableData.option.enableAddBackTop = false
-									let data = tableData.option.showtoolbarConfig
-									for (let item in data) {
-										data[item] = false
+								// 报表数据
+								let tableData = JSON.parse(data.reportTableData)
+								let option = tableData.option
+								// 基础数据项值
+								let baseItem = tableData.baseItem
+								// 数据项
+								let reportTableItemList = data.reportTableItemList
+								let reportChartList = data.reportChartList
+								// 报表类型
+								let reportTableType = data.reportTableType
+
+								let luckysheetOption = {
+									container: 'luckysheet', // 设定 DOM 容器的 id
+									title: '报表模板', // 设定表格名称
+									lang: 'zh', // 设定表格语言
+									showinfobar: false, // 是否显示顶部信息栏
+									showtoolbar: false, // 是否显示工具栏
+									showtoolbarConfig: {
+										paintFormat: true, //格式刷
+										moreFormats: true, // 单元格格式
+										font: true, // 字体
+										fontSize: true, // 字号大小
+										bold: true, // 粗体 (Ctrl+B)
+										italic: true, // 斜体 (Ctrl+I)
+										strikethrough: true, // 删除线 (Alt+Shift+5)
+										underline: true, // 下划线 (Alt+Shift+6)
+										textColor: true, // 文本颜色
+										fillColor: true, // 单元格颜色
+										border: true, // 边框
+										mergeCell: true, // 合并单元格
+										horizontalAlignMode: true, // 水平对齐方式
+										verticalAlignMode: true, // 垂直对齐方式
+										function: true, // 公式
+										// image: true
+										// chart: true
+									},
+									showsheetbar: false, // 是否显示底部 sheet 页按钮
+									sheetFormulaBar: false, // 是否显示公式
+									row: 120, // 是否显示底部 sheet 页按钮
+									data: [{
+										"name": "统计报表", //工作表名称
+									}],
+									cellRightClickConfig: { // 自定义配置单元格右击菜单
+										copy: true, // 复制
+										copyAs: false, // 复制为
+										paste: true, // 粘贴
+										insertRow: true, // 插入行
+										insertColumn: true, // 插入列
+										deleteRow: true, // 删除选中行
+										deleteColumn: true, // 删除选中列
+										deleteCell: false, // 删除单元格
+										hideRow: false, // 隐藏选中行和显示选中行
+										hideColumn: false, // 隐藏选中列和显示选中列
+										rowHeight: true, // 行高
+										columnWidth: true, // 列宽
+										clear: false, // 清除内容
+										matrix: false, // 矩阵操作选区
+										sort: false, // 排序选区
+										filter: false, // 筛选选区
+										chart: true, // 图表生成
+										image: false, // 插入图片
+										link: false, // 插入链接
+										data: false, // 数据验证
+										cellFormat: false // 设置单元格格式
+									},
+									plugins: ['chart']
+								}
+
+								if (!option) {
+									option = JSON.parse(JSON.stringify(luckysheetOption))
+								}
+								option.data = tableData.data
+								// 设置工作表保护
+								option.data[0].config.authority = {
+									sheet: 1, // 如果为 1 或 true,则该工作表受到保护;如果为 0 或 false,则该工作表不受保护。
+									hintText: '该工作表受到保护,无法操作', // 弹窗提示的文字
+								}
+
+								// 关闭右键菜单
+								option.cellRightClickConfig.chart = false
+								option.cellRightClickConfig.columnWidth = false
+								option.cellRightClickConfig.rowHeight = false
+								option.cellRightClickConfig.deleteColumn = false
+								option.cellRightClickConfig.deleteRow = false
+								option.cellRightClickConfig.insertColumn = false
+								option.cellRightClickConfig.insertRow = false
+								// 关闭工具栏
+								option.showtoolbar = false
+								option.enableAddRow = false
+								option.showtoolbarConfig = {
+									bold: false,
+									border: false,
+									fillColor: false,
+									font: false,
+									fontSize: false,
+									function: false,
+									horizontalAlignMode: false,
+									italic: false,
+									mergeCell: false,
+									moreFormats: false,
+									paintFormat: false,
+									strikethrough: false,
+									textColor: false,
+									underline: false,
+									verticalAlignMode: false
+								}
+								// 钩子函数
+								option.hook = {
+									workbookCreateAfter() {
+										// 图表操作
+										for (let i in reportChartList) {
+											insertEChartInfo(reportChartList[i])
+										}
+										// option.data.forEach((data, i) => {
+										//   if (data.chart && data.chart.length > 0) {
+										//     data.chart.forEach((chart, j) => {
+										//       console.log(chart.chart_id)
+										//       let dom = document.getElementById(chart.chart_id + '_c')
+										//       if (dom) dom.style.display = 'none'
+										//     })
+										//   }
+										// })
+										// 绘制基础数据项
+										drawBaseInfo(baseItem)
+										// 绘制数据值
+										drawTableData(reportTableItemList,
+											reportTableType)
+										luckysheet.setRangeShow('BH1')
+										// convertChart(tableData)
+										// printExcel()
 									}
-									luckysheet.create(option)
 								}
+								luckysheet.create(option)
+							} else {
+
 							}
 						}
 					})
+					/** 绘制基础数据项布局信息 */
+					function drawBaseInfo(baseData) {
+						if (!baseData) return
+						let option = luckysheet.getAllSheets()[0]
+						option.celldata.map(item => {
+							if (item.v.v) {
+								item.v.v = String(item.v.v).trim()
+								if (item.v.v.match(/\${([^}]+)}/g)) { // 替换${xxx}内部数据
+									if (item.v.v.indexOf('${currDate}') > -1) {
+										let val = item.v.v
+										val = val.replace('${currDate}', baseData.currDate)
+										luckysheet.setCellValue(item.r, item.c, val)
+									}
+									if (item.v.v.indexOf('${currDateTime}') > -1) {
+										let val = item.v.v
+										val = val.replace('${currDateTime}', baseData
+											.currDateTime)
+										luckysheet.setCellValue(item.r, item.c, val)
+									}
+									if (item.v.v.indexOf('${userName}') > -1) {
+										let val = item.v.v
+										val = val.replace('${userName}', baseData.userName)
+										luckysheet.setCellValue(item.r, item.c, val)
+									}
+									if (item.v.v.indexOf('${winUserName}') > -1) {
+										let val = item.v.v
+										val = val.replace('${winUserName}', baseData
+											.winUserName)
+										luckysheet.setCellValue(item.r, item.c, val)
+									}
+								}
+							}
+						})
+					}
+					/** 绘制表格数据 */
+					function drawTableData(tableItemList, type) {
+						if (!tableItemList || tableItemList.length == 0) return
+						// 事件驱动报表
+						if (type == 2 || type == 4) {
+							tableItemList.forEach((tableItem, i) => {
+								let valueList = tableItem.valueList ? tableItem.valueList
+									.split(',') : []
+								let xAxis = tableItem.xaxis
+								let yAxis = tableItem.yaxis
+								if (valueList.length == 0) {
+									luckysheet.setCellValue(xAxis, yAxis, '')
+								} else {
+									valueList.forEach((v, j) => {
+										luckysheet.setCellValue(xAxis + j, yAxis,
+											v)
+									})
+								}
+							})
+							return
+						}
+						// 其余报表信息
+						tableItemList.forEach((tableItem, i) => {
+							let standby = tableItem.standby ? JSON.parse(tableItem.standby) : {}
+							let dataIndex = standby.index != null ? standby.index : -1
+							let valueList = tableItem.valueList ? tableItem.valueList.split(
+								',') : []
+							let val = (dataIndex == -1 || (dataIndex + 1) > valueList
+									.length) ?
+								cqcyCode['invalidData'] : valueList[dataIndex]
+							let xAxis = tableItem.xaxis
+							let yAxis = tableItem.yaxis
+							try {
+								luckysheet.setCellValue(xAxis, yAxis, val)
+							} catch (e) {
+								console.warn(e)
+							}
+						})
+					}
 				});
-
-
-
 			});
 		</script>
 

+ 153 - 153
chaunyi_opc/opc_da/src/main/resources/static/app/static/webview/report-wv.html

@@ -77,18 +77,27 @@
 				border-top: 1px solid #000000;
 				padding: 5px;
 			}
+
+			.layui-layer-title {
+				text-align: center;
+				font-size: 22px;
+				padding: 0 81px;
+			}
+			.layui-layer{
+				top:70 !important;
+			}
 		</style>
 	</head>
 	<body>
 		<div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:90%;left: 0px;top: 0px;">
 		</div>
 
-		<!-- <table id="demo" lay-filter="test"></table> -->
-		<div class="model" style="display: none;">
+		<table id="demo" lay-filter="test"></table>
+		<!-- <div class="model" style="display: none;">
 			<div class="table-box">
-				<div class="head">
-					<!-- <div>运行记录</div> -->
-					<div class="cel">×</div>
+				<div class="head"> -->
+		<!-- <div>运行记录</div> -->
+		<!-- 		<div class="cel">×</div>
 				</div>
 				<table id="table">
 					<tr>
@@ -98,7 +107,7 @@
 					</tr>
 				</table>
 			</div>
-		</div>
+		</div> -->
 
 		<div class="la-btn">
 			<button id="recordBtn" type="button" class="layui-btn layui-btn-normal layui-btn-sm btn">运行记录</button>
@@ -128,15 +137,11 @@
 					uni.getEnv(function(res) {
 						console.log('当前环境:' + JSON.stringify(res));
 						const id = window.location.search.split('?id=')[1]
-						
+
+						// const baseUrl = "http://192.168.0.40:8081"
 						const baseUrl = window.location.origin
 						axios.defaults.baseURL = baseUrl
 
-						// getUserIP(function(ip) {
-						// 	console.log(ip);
-						// 	// axios.defaults.baseURL = "http://" + ip + ":8081"
-						// });
-
 						axios.get('/reportTable/getReportTableById?id=' + id).then(res => {
 							console.log(res, 'res');
 							const data = res.data
@@ -683,152 +688,147 @@
 
 						$('#recordBtn').on('click', () => {
 							$('.model').show()
-
-
-							$.ajax({
-								type: 'GET',
-								url: "/reportTable/getAutoChReportTable",
-								beforeSend: function() {
-									getUserIP(function(ip) {
-										console.log("得到的本地IP :" + ip);
-										this.url =
-											"http://" + ip +
-											":8081/reportTable/getAutoChReportTable"
-									});
-								},
-								success: function(res) {
-									if (res.code === 200) {
-										$.each(res.data.reportTableList, function(k,
-											v) {
-											$("#table tbody").append(
-												`"<tr >" +
-												"<td data-id='${k.id}' data-title='${k.reportTableName}'>" +
-												${k.reportTableName} +
-												"</td>" +
-												"</tr>" + "<tr >"`
-											)
-										})
+							const token = window.localStorage.getItem('C_TOKEN')
+							// $.ajax({
+							// 	type: 'GET',
+							// 	beforeSend: function(xhr) {
+							// 		this.url =
+							// 			`http://192.168.0.40:8081/reportTable/getAutoChReportTable?page=1&limit=10&autoTableId=${id}`
+							// 		xhr.setRequestHeader("Authorization", "Bearer " +
+							// 			token);
+							// 		xhr.setRequestHeader("token", token);
+							// 	},
+							// 	success: function(res) {
+							// 		if (res.code === 200) {
+							// 			$.each(res.data.reportTableList, function(k,
+							// 				v) {
+							// 				// $("#table tbody").append(
+							// 				// 	`<tr > 
+							// 				// 	<td data-id='${v.id}' data-title='${v.reportTableName}'> 
+							// 				// 	${v.reportTableName} 
+							// 				// 	</td>`
+							// 				// )
+							// 			})
+							// 		}
+							// 	}
+							// })
+
+							// var tableReload = table.render({
+							// 	elem: '#demo',
+							// 	width: 300,
+							// 	page: {
+							// 		elem: '#demo',
+							// 		layout: ['prev', 'page', 'next',
+							// 			'count'
+							// 		]
+							// 	},
+							// 	url: `http://192.168.0.40:8081/reportTable/getAutoChReportTable?page=1&limit=10&autoTableId=${id}`,
+							// 	where: {
+							// 		autoTableId: id
+							// 	},
+							// 	text: {
+							// 		none: '暂无数据' //默认:无数据。
+							// 	},
+							// 	cols: [
+							// 		[{
+							// 			field: 'reportTableName',
+							// 			title: null,
+							// 			width: 300
+							// 		}]
+							// 	],
+							// 	parseData: function(res) {
+							// 		return {
+							// 			"code": 0,
+							// 			"msg": res.msg,
+							// 			"count": res.data.count,
+							// 			"data": res.data
+							// 				.reportTableList
+							// 		};
+							// 	}
+							// })
+
+
+							layui.use('table', function() {
+								var table = layui.table;
+								var layer = layui.layer;
+
+								layer.open({
+									type: 1,
+									title: '运行记录',
+									content: $('#demo'),
+									offset: ['30px', '45px'],
+									end: function() {
+										$('#demo').hide();
+										$('.layui-table-view').hide()
+									},
+									cancel: function(index, layero) {
+										$('.layui-layer-content')
+											.hide()
 									}
-								}
+								});
+								var tableReload = table.render({
+									elem: '#demo',
+									width: 300,
+									page: {
+										elem: '#demo',
+										layout: ['prev', 'page', 'next',
+											'count'
+										]
+									},
+									url: `${baseUrl}/reportTable/getAutoChReportTable`,
+									headers: {
+										token: token
+									},
+									where: {
+										autoTableId: id
+									},
+									text: {
+										none: '暂无数据' //默认:无数据。
+									},
+									cols: [
+										[{
+											field: 'reportTableName',
+											title: null,
+											width: 300
+										}]
+									],
+									parseData: function(res) {
+										return {
+											"code": 0,
+											"msg": res.msg,
+											"count": res.data.count,
+											"data": res.data
+												.reportTableList
+										};
+									}
+								});
 
-								// var tableReload = table.render({
-								// 	elem: '#demo',
-								// 	width: 300,
-								// 	page: {
-								// 		elem: '#demo',
-								// 		layout: ['prev', 'page', 'next',
-								// 			'count'
-								// 		]
-								// 	},
-								// 	url: 'http://localhost:8081/reportTable/getAutoChReportTable',
-								// 	where: {
-								// 		autoTableId: id
-								// 	},
-								// 	text: {
-								// 		none: '暂无数据' //默认:无数据。
-								// 	},
-								// 	cols: [
-								// 		[{
-								// 			field: 'reportTableName',
-								// 			title: null,
-								// 			width: 300
-								// 		}]
-								// 	],
-								// 	parseData: function(res) {
-								// 		return {
-								// 			"code": 0,
-								// 			"msg": res.msg,
-								// 			"count": res.data.count,
-								// 			"data": res.data
-								// 				.reportTableList
-								// 		};
-								// 	}
-								// })
-
-
-								// layui.use('table', function() {
-								// 	var table = layui.table;
-								// 	var layer = layui.layer;
-
-								// 	layer.open({
-								// 		type: 1,
-								// 		title: '运行记录',
-								// 		content: $('#demo'),
-								// 		offset: ['180px', '45px'],
-								// 		end: function() {
-								// 			$('#demo').hide();
-								// 			$('.layui-table-view').hide()
-								// 		},
-								// 		cancel: function(index, layero) {
-								// 			$('.layui-layer-content')
-								// 				.hide()
-								// 		}
-								// 	});
-								// 	var tableReload = table.render({
-								// 		elem: '#demo',
-								// 		width: 300,
-								// 		page: {
-								// 			elem: '#demo',
-								// 			layout: ['prev', 'page', 'next',
-								// 				'count'
-								// 			]
-								// 		},
-								// 		// url: 'http://192.168.0.40:8081/reportTable/getAutoChReportTable',
-								// 		where: {
-								// 			autoTableId: id
-								// 		},
-								// 		text: {
-								// 			none: '暂无数据' //默认:无数据。
-								// 		},
-								// 		cols: [
-								// 			[{
-								// 				field: 'reportTableName',
-								// 				title: null,
-								// 				width: 300
-								// 			}]
-								// 		],
-								// 		parseData: function(res) {
-								// 			return {
-								// 				"code": 0,
-								// 				"msg": res.msg,
-								// 				"count": res.data.count,
-								// 				"data": res.data
-								// 					.reportTableList
-								// 			};
-								// 		}
-								// 	});
-								// 	getUserIP(function(ip) {
-								// 		console.log("得到的本地IP :" + ip);
-								// 		tableReload.config.url = "http://" + ip +
-								// 			":8081/reportTable/getAutoChReportTable"
-								// 	});
-
-								// 	//触发行单击事件
-								// 	table.on('row(test)', function(obj) {
-								// 		const id = obj.data.id
-								// 		const title = obj.data
-								// 			.reportTableName
-								// 		
-								// 	});
-
-								// 	$('th').hide()
-								// });
-							})
+								//触发行单击事件
+								table.on('row(test)', function(obj) {
+									const id = obj.data.id
+									const title = obj.data
+										.reportTableName
+									uni.navigateTo({
+										url: `/pages/reportForm/report-detail/recordDetail?id=${id}&title=${title}`
+									})
+								});
+								$('th').hide()
+							});
 						})
 
-						$("#table tbody").on('click', 'tr', (e) => {
-							if (e.target.nodeName.toLowerCase() === 'td') {
-								const id = e.target.getAttribute('data-id')
-								const title = e.target.getAttribute('data-title')
-								uni.navigateTo({
-									url: `/pages/reportForm/report-detail/recordDetail?id=${id}&title=${title}`
-								})
-							}
-						})
+						// $("#table tbody").on('click', 'tr', (e) => {
+						// 	if (e.target.nodeName.toLowerCase() === 'td') {
+						// 		const id = e.target.getAttribute('data-id')
+						// 		const title = e.target.getAttribute('data-title')
+						// 		uni.navigateTo({
+						// 			url: `/pages/reportForm/report-detail/recordDetail?id=${id}&title=${title}`
+						// 		})
+						// 	}
+						// })
 
-						$('.cel').on('click', () => {
-							$('.model').hide()
-						})
+						// $('.cel').on('click', () => {
+						// 	$('.model').hide()
+						// })
 					});
 				});
 			})

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff