初始版本

This commit is contained in:
2026-04-19 01:39:41 +08:00
commit 2b4d3e9880
1272 changed files with 389959 additions and 0 deletions

28
statics/js/dist/print-templates-manage.js vendored Executable file
View File

@@ -0,0 +1,28 @@
$(function() {
$("#registerBtn").click( function () {
var url,data;
url="../noteprinttemp/add";
data="name="+encodeURIComponent($.trim($('#name').val()));
data+="&info="+encodeURIComponent($.trim($('#info').val()));
data+="&isDefault="+encodeURIComponent($.trim($('#isDefault').val()));
data+="&type="+encodeURIComponent($.trim($('#type').val()));
$.ajax({
type: "post",
cache: !1,
url: url,
data: data,
timeout: 1e4,
error: function() {},
success: function(e) {
if (e=='OK') {
window.location='../settings/print_templates';
alert('提交成功');
}else {
alert(e);
}
}
})
});
})