|
@@ -557,7 +557,7 @@
|
|
|
|
|
|
if (res) {
|
|
|
const datas = JSON.parse(res);
|
|
|
- let tableHTML = `<form id="editStatTypeForm">
|
|
|
+ let tableHTML = `<form id="editStatTypeForm" method="post" action="/">
|
|
|
<div style="width:500px;">
|
|
|
<table class="editStatTypeTable">
|
|
|
<thead>
|
|
@@ -581,6 +581,7 @@
|
|
|
btn: ['确定', '取消'],
|
|
|
yes: function() {
|
|
|
alert('确定提交');
|
|
|
+ $('#editStatTypeForm').submit();
|
|
|
},
|
|
|
btn2: function() {
|
|
|
console.log('取消');
|