From 360d0522e3ed5f992c37b1d8b2314af3af9a26c8 Mon Sep 17 00:00:00 2001 From: wdg <2515717245@qq.com> Date: Sat, 12 Feb 2022 08:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8B=E8=BD=BD=E7=9A=84?= =?UTF-8?q?=E6=9D=83=E9=99=90(hhyo#1367)=20(#1369)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 增加下载的权限(hhyo#1367) * 修复拼写错误 * 补加SQL文件 * 变量名修改以及其他优化 * 权限名修改 --- sql/models.py | 1 + sql/templates/group.html | 2 +- sql/templates/sqlquery.html | 6 ++++-- sql/views.py | 6 +++--- src/init_sql/v1.8.3.sql | 7 ++++++- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sql/models.py b/sql/models.py index 552d24c505..4d6a2c0f16 100755 --- a/sql/models.py +++ b/sql/models.py @@ -730,6 +730,7 @@ class Meta: ('archive_review', '审核归档申请'), ('archive_mgt', '管理归档申请'), ('audit_user','审计权限'), + ('query_download', '在线查询下载权限'), ) diff --git a/sql/templates/group.html b/sql/templates/group.html index 9593d48f03..e464837431 100644 --- a/sql/templates/group.html +++ b/sql/templates/group.html @@ -85,7 +85,7 @@ }], onLoadSuccess: function () { }, - onLoadError: fonLoadErrorCallback, + onLoadError: onLoadErrorCallback, onSearch: function (e) { //传搜索参数给服务器 queryParams(e) diff --git a/sql/templates/sqlquery.html b/sql/templates/sqlquery.html index 46e1d5fe47..60deae3657 100644 --- a/sql/templates/sqlquery.html +++ b/sql/templates/sqlquery.html @@ -265,6 +265,7 @@