|
@@ -681,7 +681,7 @@
|
|
|
$('#recordBtn').on('click', () => {
|
|
|
$('.model').show()
|
|
|
|
|
|
-<<<<<<< HEAD
|
|
|
+
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
|
|
url: "/reportTable/getAutoChReportTable",
|
|
@@ -704,42 +704,42 @@
|
|
|
"</tr>" + "<tr >"
|
|
|
)
|
|
|
})
|
|
|
-=======
|
|
|
- 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
|
|
|
- };
|
|
|
->>>>>>> 1808d45f36d85773c8654d57ee5f28ce304c85c1
|
|
|
}
|
|
|
}
|
|
|
- })
|
|
|
+
|
|
|
+ // 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() {
|
|
@@ -812,6 +812,7 @@
|
|
|
// $('th').hide()
|
|
|
// });
|
|
|
})
|
|
|
+ })
|
|
|
|
|
|
$('.cel').on('click', () => {
|
|
|
$('.model').hide()
|