From 1b9d40e6dfbdec7fed460ae3f6374526362ef65c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 6 May 2021 21:12:04 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=AD=A3=E5=9C=A8=E6=95=B4=E6=94=B9?= =?UTF-8?q?=E4=B8=AD=E5=8F=AF=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/templates/checkjob.html | 15 ++-- safesite/templates/departp.html | 141 +++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+), 10 deletions(-) create mode 100644 safesite/templates/departp.html diff --git a/safesite/templates/checkjob.html b/safesite/templates/checkjob.html index 10fbabfe..240a40b1 100644 --- a/safesite/templates/checkjob.html +++ b/safesite/templates/checkjob.html @@ -179,16 +179,11 @@ function detailtask() { var row = $('#jobtab').datagrid('getSelected'); if (row) { - $.get('api/checkproject?a=jobdetail&id=' + row.id, function (res) { - var data = res.data - console.log(data) - if (data.taskstate == 1) { - $.messager.alert('提示', '该任务还没有执行完,请去执行任务!'); - } - - else - opendg('任务详情','html/detailjob/'+row.id.toString()) - }); + opendg('任务详情','html/detailjob/'+row.id.toString()) + // $.get('api/checkproject?a=jobdetail&id=' + row.id, function (res) { + // var data = res.data + // opendg('任务详情','html/detailjob/'+row.id.toString()) + // }); } else { diff --git a/safesite/templates/departp.html b/safesite/templates/departp.html new file mode 100644 index 00000000..98d08669 --- /dev/null +++ b/safesite/templates/departp.html @@ -0,0 +1,141 @@ +
+
+ + + 至 + + + + 选择员工 + 查询 + 导出 +
+
+
+
+

个人安全数据统计

+
+

+ 感谢您为公司的安全生产付出的一份力,以下是您的安全数据清单。 + +

+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ \ No newline at end of file From 694a9411d7bd1886a337a0ff8f8e3c62d5224f69 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 6 May 2021 21:48:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/templates/inspectitem.html | 62 ++++++++++------------------- safesite/views.py | 18 +++++++++ 2 files changed, 39 insertions(+), 41 deletions(-) diff --git a/safesite/templates/inspectitem.html b/safesite/templates/inspectitem.html index a42ef520..13f7408f 100644 --- a/safesite/templates/inspectitem.html +++ b/safesite/templates/inspectitem.html @@ -2,15 +2,23 @@
- +
+
+ + + - + + + 查询 + 重置 +
+ +
查看详情 -
-
-
-
-
-
-
-
-
-
- -
-
-
-
- 查询 - 重置 -
- -
+