2 Revize 66c71364ce ... b4dcd50dee

Autor SHA1 Zpráva Datum
  xingye b4dcd50dee ok před 4 roky
  xingye ecff1f3df9 ok před 4 roky

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 478 - 323
.idea/workspace.xml


+ 19 - 11
Apache24/conf/httpd.conf

@@ -34,9 +34,9 @@
 # same ServerRoot for multiple httpd daemons, you will need to change at
 # least PidFile.
 #
-Define SRVROOT "E:/12446/PycharmProjects/wangli/wanjia/Apache24"
+Define SRVROOT "E:/12446/PycharmProjects/meibang/Apache24"
 
-ServerRoot "E:/12446/PycharmProjects/wangli/wanjia/Apache24"
+ServerRoot "E:/12446/PycharmProjects/meibang/Apache24"
 
 #
 # Mutex: Allows you to set the mutex mechanism and mutex file directory
@@ -536,20 +536,28 @@ SSLRandomSeed connect builtin
 </IfModule>
 
 
-#这三行是刚刚第三步运行结果的3行代码复制粘贴过来即可
+#1、这三行是刚刚第三步运行结果的3行代码复制粘贴过来即可
 LoadFile "e:/12446/appdata/python36.dll"
-LoadModule wsgi_module "c:/users/12446/envs/ceshi/lib/site-packages/mod_wsgi/server/mod_wsgi.cp36-win_amd64.pyd"
-WSGIPythonHome "c:/users/12446/envs/ceshi"
+LoadModule wsgi_module "c:/users/12446/envs/meibang/lib/site-packages/mod_wsgi/server/mod_wsgi.cp36-win_amd64.pyd"
+WSGIPythonHome "c:/users/12446/envs/meibang"
 
-# 指定项目的wsgi.py配置文件路径,这个py文件是在你的Django项目中的wsgi.py文件路径
-WSGIScriptAlias / E:/12446/PycharmProjects/wangli/wanjia/awj/awj/wsgi.py
+#2、 指定项目的wsgi.py配置文件路径,这个py文件是在你的Django项目中的wsgi.py文件路径
+WSGIScriptAlias / E:\12446\PycharmProjects\meibang\meib\meib\wsgi.py
 
-# 指定项目目录,即你的Django项目路径
-WSGIPythonPath  E:\12446/PycharmProjects/wangli/wanjia/awj
+#3、 指定项目目录,即你的Django项目路径manage.py所在的路径
+WSGIPythonPath  E:\12446/PycharmProjects/meibang/meib
 
-
-<Directory E:/12446/PycharmProjects/wangli/wanjia/awj/awj>
+#4、Django项目中的wsgi.py文件路径
+<Directory E:/12446/PycharmProjects/meibang/meib>
 <Files wsgi.py>
     Require all granted
 </Files>
 </Directory>
+
+#5、项目静态文件地址, Django项目中静态文件的路径 
+Alias /static E:/12446/PycharmProjects/meibang/meib/meib/static
+<Directory E:/12446/PycharmProjects/meibang/meib/meib/static>
+    AllowOverride None
+    Options None
+    Require all granted
+</Directory>

+ 261 - 2
Apache24/logs/access.log

@@ -1,2 +1,261 @@
-127.0.0.1 - - [25/Dec/2019:13:29:54 +0800] "GET /erppcorder/ HTTP/1.1" 403 27
-127.0.0.1 - - [25/Dec/2019:13:29:54 +0800] "GET /favicon.ico HTTP/1.1" 403 27
+192.168.1.139 - - [07/Apr/2020:15:18:46 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:19:46 +0800] "-" 408 -
+192.168.1.139 - - [07/Apr/2020:15:21:08 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:21:10 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:21:10 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:21:10 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:21:13 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:21:14 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:22:08 +0800] "-" 408 -
+192.168.1.139 - - [07/Apr/2020:15:25:20 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:21 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:21 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:23 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:23 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:24 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:29 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:25:32 +0800] "GET /dept/?search_no= HTTP/1.1" 403 199
+192.168.1.139 - - [07/Apr/2020:15:26:32 +0800] "-" 408 -
+192.168.1.139 - - [07/Apr/2020:16:01:22 +0800] "GET /dept/?search_no= HTTP/1.1" 500 530
+192.168.1.139 - - [07/Apr/2020:16:02:30 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:03:30 +0800] "-" 408 -
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/css/css.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:07:59 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:10 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:10 +0800] "GET /static/css/css.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:10 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:10 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/css/css.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:08:14 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 77
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:12:30 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:04 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:13:33 +0800] "POST /dept/?search_no= HTTP/1.1" 405 -
+192.168.1.139 - - [07/Apr/2020:16:14:01 +0800] "POST /dept/?search_no= HTTP/1.1" 405 -
+127.0.0.1 - - [07/Apr/2020:16:14:07 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+127.0.0.1 - - [07/Apr/2020:16:14:26 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:35 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:41 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:41 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:41 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:14:47 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:54 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:56 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:17:57 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+127.0.0.1 - - [07/Apr/2020:16:18:01 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+127.0.0.1 - - [07/Apr/2020:16:19:54 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+127.0.0.1 - - [07/Apr/2020:16:20:12 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 3
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/css/css.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/css/iefile.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/axios.min.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:20:16 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 200 6373
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /static/css/css.css HTTP/1.1" 200 5367
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 200 6166
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /static/css/iefile.css HTTP/1.1" 200 2949
+192.168.1.139 - - [07/Apr/2020:16:23:53 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/jquery.min.map HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/js/axios.min.map HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/img/logo.png HTTP/1.1" 200 5168
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+192.168.1.139 - - [07/Apr/2020:16:23:54 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/css/css.css HTTP/1.1" 200 5367
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/css/iefile.css HTTP/1.1" 200 2949
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 200 6166
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 200 6373
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/jquery.min.map HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/js/axios.min.map HTTP/1.1" 404 196
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/img/logo.png HTTP/1.1" 200 5168
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 542194
+192.168.1.139 - - [07/Apr/2020:16:28:20 +0800] "GET /iefiletm HTTP/1.1" 301 -
+192.168.1.139 - - [07/Apr/2020:16:28:20 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [07/Apr/2020:16:28:15 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:28:20 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:28:21 +0800] "GET /iefilemaintaintm HTTP/1.1" 301 -
+192.168.1.139 - - [07/Apr/2020:16:28:21 +0800] "GET /iefilemaintaintm/ HTTP/1.1" 200 22293
+192.168.1.139 - - [07/Apr/2020:16:28:21 +0800] "GET /static/css/iefilemaintain.css HTTP/1.1" 200 330
+192.168.1.139 - - [07/Apr/2020:16:28:21 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [07/Apr/2020:16:28:21 +0800] "GET /iefileno/?search_no= HTTP/1.1" 200 438
+192.168.1.139 - - [07/Apr/2020:16:28:21 +0800] "GET /mfmmooddno/?search_no= HTTP/1.1" 200 1566
+192.168.1.139 - - [07/Apr/2020:16:28:22 +0800] "GET /mfmmooddno/?search_no= HTTP/1.1" 200 1566
+192.168.1.139 - - [07/Apr/2020:16:28:29 +0800] "GET /iefilemaintain/?erp_dep=&mf_mmo=&iefileno=&data_timeqi=2018-01-08&data_timezhi=2020-04-07 HTTP/1.1" 200 4624
+127.0.0.1 - - [07/Apr/2020:16:31:27 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /iefiletm/ HTTP/1.1" 200 35069
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37051
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/jquery.min.js HTTP/1.1" 200 84284
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/css/css.css HTTP/1.1" 200 5367
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/vue-Cookies.js HTTP/1.1" 200 6166
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/css/iefile.css HTTP/1.1" 200 2949
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/css/bootstrap-select.min.css HTTP/1.1" 200 5802
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/axios.min.js HTTP/1.1" 200 14185
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/vue-2.4.0.js HTTP/1.1" 200 264100
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/jquery.select.js HTTP/1.1" 200 6373
+192.168.1.139 - - [08/Apr/2020:13:12:40 +0800] "GET /static/js/bootstrap-select_new.js HTTP/1.1" 200 53970
+192.168.1.139 - - [08/Apr/2020:13:12:41 +0800] "GET /static/img/logo.png HTTP/1.1" 200 5168
+192.168.1.139 - - [08/Apr/2020:13:12:41 +0800] "GET /favicon.ico HTTP/1.1" 404 77
+192.168.1.139 - - [08/Apr/2020:13:12:45 +0800] "GET /index HTTP/1.1" 301 -
+192.168.1.139 - - [08/Apr/2020:13:12:45 +0800] "GET /index/ HTTP/1.1" 200 28926
+192.168.1.139 - - [08/Apr/2020:13:12:45 +0800] "GET /static/js/export/exports.js HTTP/1.1" 200 2803
+192.168.1.139 - - [08/Apr/2020:13:12:45 +0800] "GET /static/css/loader.css HTTP/1.1" 200 1349
+192.168.1.139 - - [08/Apr/2020:13:12:46 +0800] "GET /listtb?st_time=2020-04-08&sh_time=2020-04-08&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 301 -
+192.168.1.139 - - [08/Apr/2020:13:12:41 +0800] "GET /dept/?search_no= HTTP/1.1" 200 10371
+192.168.1.139 - - [08/Apr/2020:13:12:46 +0800] "GET /cust/?search_no= HTTP/1.1" 200 6285
+192.168.1.139 - - [08/Apr/2020:13:12:46 +0800] "GET /prdt/?search_no= HTTP/1.1" 200 21856
+192.168.1.139 - - [08/Apr/2020:13:12:46 +0800] "GET /listtb/?st_time=2020-04-08&sh_time=2020-04-08&cus_no=&cls_id=1&pmc_ok=1&sort=1&business_time=&prd_no=&sc_dep=&ym_type=&os_type=1&capacity=&vessel=&select=2&ifmerge=1&page=1 HTTP/1.1" 200 2385

+ 108 - 29
Apache24/logs/error.log

@@ -1,29 +1,108 @@
-[Wed Dec 25 13:16:17.250058 2019] [mpm_winnt:notice] [pid 23316:tid 648] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
-[Wed Dec 25 13:16:17.250058 2019] [mpm_winnt:notice] [pid 23316:tid 648] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
-[Wed Dec 25 13:16:17.250058 2019] [core:notice] [pid 23316:tid 648] AH00094: Command line: 'E:\\12446\\PycharmProjects\\wangli\\wanjia\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/wangli/wanjia/Apache24'
-[Wed Dec 25 13:16:17.260033 2019] [mpm_winnt:notice] [pid 23316:tid 648] AH00418: Parent: Created child process 13396
-[Wed Dec 25 13:16:18.011629 2019] [mpm_winnt:notice] [pid 13396:tid 604] AH00354: Child: Starting 64 worker threads.
-[Wed Dec 25 13:21:59.264725 2019] [mpm_winnt:notice] [pid 23316:tid 648] AH00422: Parent: Received shutdown signal -- Shutting down the server.
-[Wed Dec 25 13:22:01.279385 2019] [mpm_winnt:notice] [pid 13396:tid 604] AH00364: Child: All worker threads have exited.
-[Wed Dec 25 13:22:01.319457 2019] [mpm_winnt:notice] [pid 23316:tid 648] AH00430: Parent: Child process 13396 exited successfully.
-[Wed Dec 25 13:22:06.599518 2019] [mpm_winnt:notice] [pid 25512:tid 536] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
-[Wed Dec 25 13:22:06.600464 2019] [mpm_winnt:notice] [pid 25512:tid 536] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
-[Wed Dec 25 13:22:06.600464 2019] [core:notice] [pid 25512:tid 536] AH00094: Command line: 'E:\\12446\\PycharmProjects\\wangli\\wanjia\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/wangli/wanjia/Apache24'
-[Wed Dec 25 13:22:06.605582 2019] [mpm_winnt:notice] [pid 25512:tid 536] AH00418: Parent: Created child process 19620
-[Wed Dec 25 13:22:07.203954 2019] [mpm_winnt:notice] [pid 19620:tid 816] AH00354: Child: Starting 64 worker threads.
-[Wed Dec 25 13:29:00.485574 2019] [mpm_winnt:notice] [pid 25512:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server.
-[Wed Dec 25 13:29:02.498887 2019] [mpm_winnt:notice] [pid 19620:tid 816] AH00364: Child: All worker threads have exited.
-[Wed Dec 25 13:29:02.518901 2019] [mpm_winnt:notice] [pid 25512:tid 536] AH00430: Parent: Child process 19620 exited successfully.
-[Wed Dec 25 13:29:10.381463 2019] [mpm_winnt:notice] [pid 16332:tid 656] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
-[Wed Dec 25 13:29:10.381463 2019] [mpm_winnt:notice] [pid 16332:tid 656] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
-[Wed Dec 25 13:29:10.381463 2019] [core:notice] [pid 16332:tid 656] AH00094: Command line: 'E:\\12446\\PycharmProjects\\wangli\\wanjia\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/wangli/wanjia/Apache24'
-[Wed Dec 25 13:29:10.391266 2019] [mpm_winnt:notice] [pid 16332:tid 656] AH00418: Parent: Created child process 16224
-[Wed Dec 25 13:29:11.115178 2019] [mpm_winnt:notice] [pid 16224:tid 768] AH00354: Child: Starting 64 worker threads.
-[Wed Dec 25 13:29:54.395850 2019] [wsgi:error] [pid 16224:tid 1272] ['E:\\\\12446\\\\PycharmProjects\\\\wangli\\\\wanjia\\\\awj\\\\awj\\\\apps', 'E:\\\\12446\\\\PycharmProjects\\\\wangli\\\\wanjia\\\\awj\\\\awj', 'E:\\\\12446\\\\PycharmProjects\\\\wangli\\\\wanjia\\\\awj', 'E:\\\\12446\\\\PycharmProjects\\\\wangli\\\\wanjia\\\\awj\\\\awj\\\\apps', 'E:\\\\12446\\\\AppData\\\\python36.zip', 'c:\\\\users\\\\12446\\\\envs\\\\ceshi\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\ceshi\\\\lib', 'E:\\\\12446\\\\PycharmProjects\\\\wangli\\\\wanjia\\\\Apache24\\\\bin', 'e:\\\\12446\\\\appdata\\\\Lib', 'e:\\\\12446\\\\appdata\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\ceshi', 'c:\\\\users\\\\12446\\\\envs\\\\ceshi\\\\lib\\\\site-packages']\r
-[Wed Dec 25 13:29:54.498610 2019] [wsgi:error] [pid 16224:tid 1272] [client 127.0.0.1:61013] WARNING log 228 Forbidden: /erppcorder/\r
-[Wed Dec 25 13:29:54.565400 2019] [wsgi:error] [pid 16224:tid 1272] [client 127.0.0.1:61013] WARNING log 228 Forbidden: /favicon.ico\r, referer: http://127.0.0.1:8099/erppcorder/
-[Thu Dec 26 17:28:49.069413 2019] [mpm_winnt:crit] [pid 16224:tid 768] AH02538: Child: Parent process exited abruptly. Child process is ending
-[Thu Dec 26 17:28:49.087430 2019] [mpm_winnt:warn] [pid 16224:tid 1908] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。  : AH00341: winnt_accept: Asynchronous AcceptEx failed.
-[Thu Dec 26 17:28:49.088355 2019] [mpm_winnt:warn] [pid 16224:tid 1296] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。  : AH00341: winnt_accept: Asynchronous AcceptEx failed.
-[Thu Dec 26 17:28:49.088355 2019] [mpm_winnt:warn] [pid 16224:tid 1312] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。  : AH00341: winnt_accept: Asynchronous AcceptEx failed.
-[Thu Dec 26 17:28:51.087000 2019] [mpm_winnt:notice] [pid 16224:tid 768] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 15:18:15.823879 2020] [mpm_winnt:notice] [pid 24212:tid 700] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 15:18:15.823879 2020] [mpm_winnt:notice] [pid 24212:tid 700] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 15:18:15.823879 2020] [core:notice] [pid 24212:tid 700] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 15:18:15.835847 2020] [mpm_winnt:notice] [pid 24212:tid 700] AH00418: Parent: Created child process 24528
+[Tue Apr 07 15:18:17.517383 2020] [mpm_winnt:notice] [pid 24528:tid 812] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 15:18:46.705391 2020] [authz_core:error] [pid 24528:tid 1260] [client 192.168.1.139:51605] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:20:42.113226 2020] [mpm_winnt:notice] [pid 24212:tid 700] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 15:20:44.115036 2020] [mpm_winnt:notice] [pid 24528:tid 812] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 15:20:44.137798 2020] [mpm_winnt:notice] [pid 24212:tid 700] AH00430: Parent: Child process 24528 exited successfully.
+[Tue Apr 07 15:20:53.534893 2020] [mpm_winnt:notice] [pid 19108:tid 592] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 15:20:53.534893 2020] [mpm_winnt:notice] [pid 19108:tid 592] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 15:20:53.535890 2020] [core:notice] [pid 19108:tid 592] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 15:20:53.544868 2020] [mpm_winnt:notice] [pid 19108:tid 592] AH00418: Parent: Created child process 11536
+[Tue Apr 07 15:20:54.769592 2020] [mpm_winnt:notice] [pid 11536:tid 724] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 15:21:08.685386 2020] [authz_core:error] [pid 11536:tid 1272] [client 192.168.1.139:51688] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:21:10.140497 2020] [authz_core:error] [pid 11536:tid 1272] [client 192.168.1.139:51688] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:21:10.310052 2020] [authz_core:error] [pid 11536:tid 1272] [client 192.168.1.139:51688] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:21:10.807713 2020] [authz_core:error] [pid 11536:tid 1272] [client 192.168.1.139:51688] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:21:13.915930 2020] [authz_core:error] [pid 11536:tid 1220] [client 192.168.1.139:51695] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:21:14.487399 2020] [authz_core:error] [pid 11536:tid 1220] [client 192.168.1.139:51695] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:02.332411 2020] [mpm_winnt:notice] [pid 19108:tid 592] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 15:25:04.334237 2020] [mpm_winnt:notice] [pid 11536:tid 724] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 15:25:04.356962 2020] [mpm_winnt:notice] [pid 19108:tid 592] AH00430: Parent: Child process 11536 exited successfully.
+[Tue Apr 07 15:25:17.066974 2020] [mpm_winnt:notice] [pid 1076:tid 140] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 15:25:17.067999 2020] [mpm_winnt:notice] [pid 1076:tid 140] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 15:25:17.067999 2020] [core:notice] [pid 1076:tid 140] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 15:25:17.074984 2020] [mpm_winnt:notice] [pid 1076:tid 140] AH00418: Parent: Created child process 24344
+[Tue Apr 07 15:25:18.693655 2020] [mpm_winnt:notice] [pid 24344:tid 792] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 15:25:20.319679 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51862] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:21.091616 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51862] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:21.638153 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51862] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:23.015471 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51862] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:23.796411 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51862] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:24.226234 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51862] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:29.824452 2020] [authz_core:error] [pid 24344:tid 1272] [client 192.168.1.139:51865] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:25:32.722704 2020] [authz_core:error] [pid 24344:tid 1240] [client 192.168.1.139:51866] AH01630: client denied by server configuration: E:/12446/PycharmProjects/meibang/meib/meib/dept
+[Tue Apr 07 15:47:37.788736 2020] [mpm_winnt:notice] [pid 1076:tid 140] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 15:47:39.790390 2020] [mpm_winnt:notice] [pid 24344:tid 792] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 15:47:39.812318 2020] [mpm_winnt:notice] [pid 1076:tid 140] AH00430: Parent: Child process 24344 exited successfully.
+[Tue Apr 07 16:01:15.725726 2020] [mpm_winnt:notice] [pid 16344:tid 544] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 16:01:15.725726 2020] [mpm_winnt:notice] [pid 16344:tid 544] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 16:01:15.725726 2020] [core:notice] [pid 16344:tid 544] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 16:01:15.737663 2020] [mpm_winnt:notice] [pid 16344:tid 544] AH00418: Parent: Created child process 21976
+[Tue Apr 07 16:01:17.142940 2020] [mpm_winnt:notice] [pid 21976:tid 692] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 16:01:23.455029 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440] mod_wsgi (pid=21976): Failed to exec Python script file 'E:/12446/PycharmProjects/meibang/meib/meib/wsgi.py'.
+[Tue Apr 07 16:01:23.455029 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440] mod_wsgi (pid=21976): Exception occurred processing WSGI script 'E:/12446/PycharmProjects/meibang/meib/meib/wsgi.py'.
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440] Traceback (most recent call last):\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "E:/12446/PycharmProjects/meibang/meib/meib/wsgi.py", line 18, in <module>\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     application = get_wsgi_application()\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "c:\\users\\12446\\envs\\meibang\\lib\\site-packages\\django\\core\\wsgi.py", line 12, in get_wsgi_application\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     django.setup(set_prefix=False)\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "c:\\users\\12446\\envs\\meibang\\lib\\site-packages\\django\\__init__.py", line 19, in setup\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)\r
+[Tue Apr 07 16:01:23.458022 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "c:\\users\\12446\\envs\\meibang\\lib\\site-packages\\django\\conf\\__init__.py", line 79, in __getattr__\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     self._setup(name)\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "c:\\users\\12446\\envs\\meibang\\lib\\site-packages\\django\\conf\\__init__.py", line 66, in _setup\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     self._wrapped = Settings(settings_module)\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "c:\\users\\12446\\envs\\meibang\\lib\\site-packages\\django\\conf\\__init__.py", line 157, in __init__\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     mod = importlib.import_module(self.SETTINGS_MODULE)\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "c:\\users\\12446\\envs\\meibang\\lib\\importlib\\__init__.py", line 126, in import_module\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]     return _bootstrap._gcd_import(name[level:], package, level)\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440]   File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked\r
+[Tue Apr 07 16:01:23.459047 2020] [wsgi:error] [pid 21976:tid 1260] [client 192.168.1.139:52440] ModuleNotFoundError: No module named 'meib.settings'\r
+[Tue Apr 07 16:02:06.753041 2020] [mpm_winnt:notice] [pid 16344:tid 544] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 16:02:14.194122 2020] [mpm_winnt:notice] [pid 21976:tid 692] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 16:02:14.240998 2020] [mpm_winnt:notice] [pid 16344:tid 544] AH00430: Parent: Child process 21976 exited successfully.
+[Tue Apr 07 16:02:23.504264 2020] [mpm_winnt:notice] [pid 1892:tid 676] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 16:02:23.504264 2020] [mpm_winnt:notice] [pid 1892:tid 676] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 16:02:23.504264 2020] [core:notice] [pid 1892:tid 676] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 16:02:23.511246 2020] [mpm_winnt:notice] [pid 1892:tid 676] AH00418: Parent: Created child process 8412
+[Tue Apr 07 16:02:25.086000 2020] [mpm_winnt:notice] [pid 8412:tid 4] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 16:02:31.216621 2020] [wsgi:error] [pid 8412:tid 1276] ['E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\AppData\\\\python36.zip', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\Apache24\\\\bin', 'e:\\\\12446\\\\appdata\\\\Lib', 'e:\\\\12446\\\\appdata\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib\\\\site-packages']\r
+[Tue Apr 07 16:10:58.379807 2020] [mpm_winnt:notice] [pid 1892:tid 676] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 16:11:00.380317 2020] [mpm_winnt:notice] [pid 8412:tid 4] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 16:11:00.438162 2020] [mpm_winnt:notice] [pid 1892:tid 676] AH00430: Parent: Child process 8412 exited successfully.
+[Tue Apr 07 16:12:24.549134 2020] [mpm_winnt:notice] [pid 18956:tid 664] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 16:12:24.549134 2020] [mpm_winnt:notice] [pid 18956:tid 664] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 16:12:24.549134 2020] [core:notice] [pid 18956:tid 664] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 16:12:24.559108 2020] [mpm_winnt:notice] [pid 18956:tid 664] AH00418: Parent: Created child process 16440
+[Tue Apr 07 16:12:25.896532 2020] [mpm_winnt:notice] [pid 16440:tid 760] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 16:12:30.302776 2020] [wsgi:error] [pid 16440:tid 1276] ['E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\AppData\\\\python36.zip', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\Apache24\\\\bin', 'e:\\\\12446\\\\appdata\\\\Lib', 'e:\\\\12446\\\\appdata\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib\\\\site-packages']\r
+[Tue Apr 07 16:18:42.331734 2020] [mpm_winnt:notice] [pid 18956:tid 664] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 16:18:44.332421 2020] [mpm_winnt:notice] [pid 16440:tid 760] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 16:18:44.393222 2020] [mpm_winnt:notice] [pid 18956:tid 664] AH00430: Parent: Child process 16440 exited successfully.
+[Tue Apr 07 16:19:29.305236 2020] [mpm_winnt:notice] [pid 22868:tid 668] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 16:19:29.305236 2020] [mpm_winnt:notice] [pid 22868:tid 668] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 16:19:29.305236 2020] [core:notice] [pid 22868:tid 668] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 16:19:29.316207 2020] [mpm_winnt:notice] [pid 22868:tid 668] AH00418: Parent: Created child process 19936
+[Tue Apr 07 16:19:30.515002 2020] [mpm_winnt:notice] [pid 19936:tid 760] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 16:19:54.553799 2020] [wsgi:error] [pid 19936:tid 1220] ['E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\AppData\\\\python36.zip', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\Apache24\\\\bin', 'e:\\\\12446\\\\appdata\\\\Lib', 'e:\\\\12446\\\\appdata\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib\\\\site-packages']\r
+[Tue Apr 07 16:23:36.429464 2020] [mpm_winnt:notice] [pid 22868:tid 668] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Tue Apr 07 16:23:38.430335 2020] [mpm_winnt:notice] [pid 19936:tid 760] AH00364: Child: All worker threads have exited.
+[Tue Apr 07 16:23:38.494942 2020] [mpm_winnt:notice] [pid 22868:tid 668] AH00430: Parent: Child process 19936 exited successfully.
+[Tue Apr 07 16:23:46.753859 2020] [mpm_winnt:notice] [pid 17524:tid 688] AH00455: Apache/2.4.41 (Win64) mod_wsgi/4.6.8 Python/3.6 configured -- resuming normal operations
+[Tue Apr 07 16:23:46.754856 2020] [mpm_winnt:notice] [pid 17524:tid 688] AH00456: Apache Lounge VS16 Server built: Aug  9 2019 16:46:32
+[Tue Apr 07 16:23:46.754856 2020] [core:notice] [pid 17524:tid 688] AH00094: Command line: 'E:\\12446\\PycharmProjects\\meibang\\Apache24\\bin\\httpd.exe -d E:/12446/PycharmProjects/meibang/Apache24'
+[Tue Apr 07 16:23:46.760841 2020] [mpm_winnt:notice] [pid 17524:tid 688] AH00418: Parent: Created child process 9596
+[Tue Apr 07 16:23:48.376558 2020] [mpm_winnt:notice] [pid 9596:tid 748] AH00354: Child: Starting 64 worker threads.
+[Tue Apr 07 16:23:53.790046 2020] [wsgi:error] [pid 9596:tid 1252] ['E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\meib\\\\meib\\\\apps', 'E:\\\\12446\\\\AppData\\\\python36.zip', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib', 'E:\\\\12446\\\\PycharmProjects\\\\meibang\\\\Apache24\\\\bin', 'e:\\\\12446\\\\appdata\\\\Lib', 'e:\\\\12446\\\\appdata\\\\DLLs', 'c:\\\\users\\\\12446\\\\envs\\\\meibang', 'c:\\\\users\\\\12446\\\\envs\\\\meibang\\\\lib\\\\site-packages']\r
+[Wed Apr 08 13:15:13.223717 2020] [mpm_winnt:notice] [pid 17524:tid 688] AH00422: Parent: Received shutdown signal -- Shutting down the server.
+[Wed Apr 08 13:15:15.225365 2020] [mpm_winnt:notice] [pid 9596:tid 748] AH00364: Child: All worker threads have exited.
+[Wed Apr 08 13:15:15.277227 2020] [mpm_winnt:notice] [pid 17524:tid 688] AH00430: Parent: Child process 9596 exited successfully.

+ 0 - 1
Apache24/logs/httpd.pid

@@ -1 +0,0 @@
-16332

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 35824
meib/logs/hwj.log


+ 4 - 1
meib/meib/apps/erp/urls.py

@@ -30,7 +30,10 @@ urlpatterns = [
     url(r'^mfiefile/$',views.MfIeFile.as_view()),  # 查询ie文件数据表头信息
     url(r'^iefilemaintaintm/$',views.IeFileMaintaintm.as_view()),  # ie工艺文件号维护渲染
     url(r'^iefilemaintain/$',views.IeFileMaintain.as_view()),  # ie工艺文件号维护数据接口
-    url(r'^iefilemaintaindetail/$',views.IeFileMaintainDetail.as_view()),  # ie工艺文件号明细表渲染
+    url(r'^iefilemaintaindetailtm/$',views.IeFileMaintainDetailtm.as_view()),  # ie工艺文件号明细表渲染
+    url(r'^iefilemaintaindetail/$',views.IeFileMaintainDetail.as_view()),  # ie工艺文件号明细数据接口
+    url(r'^iefilemaintaininfotm/$',views.IeFileMaintaInfotm.as_view()),  # ie工艺文件号统计表渲染
+    url(r'^iefilemaintaininfo/$',views.IeFileMaintaInfo.as_view()),  # ie工艺文件号统计表数据接口
     url(r'^text/$',views.text.as_view()),  # 测试
 
 #客户预收冲应收

+ 255 - 27
meib/meib/apps/erp/views.py

@@ -1990,7 +1990,7 @@ class listtb(View):
                      "QY":"容器","YSSL":"套装颜色数","YMXH":"研磨品类型",
                      "QTY":"订单数量","GZSL":"灌装支数量","EST_DD":"业务交期",
                      "PD_DEP":"生产部门","REM":"备注","PMC_DD":"PMC回复交期","WH_REM":"大货备注",
-                     "operation":"操作","ITM":"项次"},
+                     "operation":"操作","ITM":"项次","WH":"订单库位","BAT_QTY":"现存量","QTY_FIN":"已完工量","W_QTY_FIN":"未完工量"},
                 ]
         if ifmerge=='1':
             # 排序规则
@@ -2023,12 +2023,12 @@ class listtb(View):
                 return http.JsonResponse(context)
             total_count = result[0]["total"]   #总记录数
             total_page = math.ceil(result[0]["total"]/page_size)  #计算总页数,总记录数除以每页记录数
-            print(total_page)
+            # print(total_page)
             sql = """SELECT TOP {0}
     ORDER0 AS ORDER0 ,ISNULL(OS_DD,'') AS OS_DD,
     ISNULL(CUS_SNM,'') AS CUS_SNM,OS_NO AS OS_NO,PRD_NO AS PRD_NO,ISNULL(DZRL,'') AS DZRL,'' AS RQ,ISNULL(YSSL,'') AS YSSL,'' AS YMXH,
     ISNULL(QTY,0) AS QTY,ISNULL(GZSL,0) AS GZSL,left(Convert(varchar(100), EST_DD, 23), 11) AS EST_DD,PD_DEP AS PD_DEP,ISNULL(REM,'') AS REM,PMC_DD AS PMC_DD,WH_REM AS WH_REM,
-     ITM AS ITM,SPC_NO,CUS_NO,PMC_REM
+     ITM AS ITM,SPC_NO,CUS_NO,PMC_REM,WH
      FROM View_aa WHERE {1} AND OS_NO+PRD_NO+Convert(varchar(100), ITM, 23) NOT IN(SELECT TOP {2} OS_NO+PRD_NO+Convert(varchar(100), ITM, 23) FROM View_aa WHERE {3} {4}) {5}""".\
     format(page_size,conditional,page_size*page,conditional,sort,sort)
         # 这里是合并处理
@@ -2051,12 +2051,12 @@ class listtb(View):
             # conditional  条件
             # gurup_by   分组
             # sort  排序
-            gurup_by =  ' GROUP BY OS_NO,PRD_NO,OS_DD,PMC_DD,ORDER0,CUS_SNM,DZRL,RQ,PD_DEP,REM '
+            gurup_by =  ' GROUP BY OS_NO,PRD_NO,OS_DD,PMC_DD,ORDER0,CUS_SNM,DZRL,RQ,PD_DEP,REM,WH '
             conditional = ' left(Convert(varchar(100), OS_DD, 23), 11) >=' + "'" + st_time + "'" + ' AND ' + 'left(Convert(varchar(100), OS_DD, 23), 11) <=' + "'" + sh_time + "'" + cus_no + cls_id + PMC_REM + \
                           business_time + prd_no + sc_dep + os_type + capacity
             sql_count = ("""SELECT COUNT(OS_NO) AS total FROM (SELECT OS_NO FROM View_aa WHERE {0} {1}) A""".format(conditional,gurup_by))
             # sql_count = ("""SELECT COUNT(OS_NO) AS total FROM View_aa WHERE {0} {1}""".format(conditional,gurup_by))
-            print(sql_count)
+            # print(sql_count)
             result = executeQuery(sql_count)
             if len(result) == 0 or result[0]["total"]==0:
                 context = {
@@ -2068,16 +2068,16 @@ class listtb(View):
                 }
                 return http.JsonResponse(context)
             total_count = result[0]["total"]  # 总记录数
-            print(total_count)
+            # print(total_count)
             total_page = math.ceil(result[0]["total"] / page_size)  # 计算总页数,总记录数除以每页记录数
-            print(total_page)
+            # print(total_page)
             sql = """SELECT TOP {0} ORDER0 AS ORDER0 ,ISNULL(OS_DD,'') AS OS_DD,
 ISNULL(CUS_SNM,'') AS CUS_SNM,OS_NO AS OS_NO,PRD_NO AS PRD_NO,ISNULL(DZRL,'') AS DZRL,'' AS RQ,SUM(ISNULL(YSSL,0)) AS YSSL,'' AS YMXH,
 SUM(ISNULL(QTY,0)) AS QTY,SUM(ISNULL(GZSL,0)) AS GZSL,
 stuff((SELECT ';' + replace(CONVERT(CHAR(19), left(Convert(varchar(100), B.EST_DD, 23), 11), 120),' ','') FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS EST_DD
 ,PD_DEP AS PD_DEP,ISNULL(REM,'') AS REM,PMC_DD AS PMC_DD,
 stuff((SELECT ';' + CAST(B.WH_REM AS VARCHAR(500)) FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS WH_REM,
-stuff((SELECT ';' + CAST(B.ITM AS VARCHAR(500)) FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS ITM
+stuff((SELECT ';' + CAST(B.ITM AS VARCHAR(500)) FROM View_aa B WHERE A.OS_NO=B.OS_NO AND B.PRD_NO=A.PRD_NO FOR xml path('')),1,1,'')AS ITM,'','','',WH
  FROM View_aa A WHERE {1} AND OS_NO+PRD_NO NOT IN(SELECT TOP {2} OS_NO+PRD_NO FROM View_aa WHERE {3} {4} {5}){6} {7}""".\
     format(page_size,conditional,page_size*page,conditional,gurup_by,sort,gurup_by,sort)
         # print(sql)
@@ -2088,10 +2088,30 @@ stuff((SELECT ';' + CAST(B.ITM AS VARCHAR(500)) FROM View_aa B WHERE A.OS_NO=B.O
         for i in no_data:
             # print(1111)
             # OS_NO.append(i[5])
+            # 增量已完工未完工,现存量
+            sql_qty = """SELECT ISNULL(SUM(A.BAT_QTY),0) AS BAT_QTY,ISNULL(CAST(SUM(ISNULL(B.QTY_FIN,0)) AS FLOAT),0) AS QTY_FIN FROM
+            (SELECT CAST(SUM(ISNULL(QTY_IN,0)-ISNULL(QTY_OUT,0)) AS FLOAT) AS BAT_QTY,PRD_NO,WH FROM BAT_REC1 GROUP BY PRD_NO,WH)A
+            left join MF_MO B ON A.PRD_NO=B.MRP_NO
+            WHERE A.PRD_NO='{0}' AND B.SO_NO='{1}' AND A.WH='{2}'""".format(i[4],i[3],i[20])
+            # print(sql_qty)
+            try:
+                result = executeQuery(sql_qty)[0]
+            except Exception:
+                return http.HttpResponseForbidden("查询库存异常")
+            # print(result)
+            # 定义现存量BAT_QTY,"QTY_FIN":"已完工量","W_QTY_FIN":"未完工量"
+            BAT_QTY=0
+            QTY_FIN=0
+            W_QTY_FIN=0
+            if len(result)>0:
+                BAT_QTY=result["BAT_QTY"]
+                QTY_FIN=result["QTY_FIN"]
+                W_QTY_FIN=float(i[9])-result["QTY_FIN"]
             data.append({"ORDER0": i[0], "OS_DD": str(i[1])[:10] , "CUS_SNM": i[2], "OS_NO": str(i[3]),
                          "PRD_NO": i[4], "DZRL": i[5], "QY": i[6], "YSSL": i[7],
                          "YMXH": i[8], "QTY": float(i[9]),"GZSL": float(i[10]),"EST_DD": str(i[11]),
-                         "PD_DEP": i[12],"REM":i[13],"PMC_DD": str(i[14]),"WH_REM": i[15],"operation": "保存","ITM":i[16]})
+                         "PD_DEP": i[12],"REM":i[13],"PMC_DD": str(i[14]),"WH_REM": i[15],"operation": "保存",
+                         "ITM":i[16],"WH":i[20],"BAT_QTY":BAT_QTY,"QTY_FIN":QTY_FIN,"W_QTY_FIN":W_QTY_FIN})
 
         # print(data)啊
         # print(sql)
@@ -2317,6 +2337,7 @@ class DepMacfDepData(View):
             dep = request.GET["dep"].split('->')[0]  #部门编码->这里需要进行切割,因为传过来的是编码+名称(’编码->名称‘)
         except Exception:
             dep = request.GET["dep"]
+        dep_ie = dep #这里是用于
         try:
             selected = executeQuery(f"SELECT selected FROM DSCSETTING WHERE DEP='{dep}'")[0]["selected"]
         except Exception:
@@ -2326,10 +2347,12 @@ class DepMacfDepData(View):
         else:
             dep = "AND b.UP=" + "'" + dep + "' " +"AND b.selected='T'"
         sql = ("""SELECT b.dep,b.dep_name as dep_name,cast(sum(isnull(a.QTY_FIN,0)) as decimal(14,2)) as ok_qty,cast(sum(ISNULL(a.QTY,0)-isnull(a.QTY_FIN,0)) as decimal(14,2)) as un_qty,
-    cast(max(B.s_capacity) as float) as s_capacity ,cast(max(B.s_d_staffing) as float) as s_d_staffing ,0 as e_capacity ,0 as tolf_days ,0 as epl_personnel ,0 as p_d_f_e_configurations,
+    cast(max(B.s_capacity) as float) as s_capacity ,cast(max(C.total_manpower) as float) as s_d_staffing ,0 as e_capacity ,0 as tolf_days ,0 as epl_personnel ,0 as p_d_f_e_configurations,
     '' as a_strength ,0 as e_a_workers ,0 as work_sum,0 as zj_274_24 ,0 as a_274_24 ,0 as new_personnel ,'' as rem ,0 as need_hours, 0 as a_25 ,
     0 as e_d_workers ,0 as p_gap
-    from mf_mo a left join DSCSETTING b on a.dep=b.dep where isnull(a.CLOSE_ID,'')!='T' {0} group by b.dep,b.dep_name""".format(dep))
+    from mf_mo a left join DSCSETTING b on a.dep=b.dep
+    left join MF_IEFILE c on a.dep=c.dep and iefile_no in(select max(iefile_no) from MF_IEFILE where dep='{0}') 
+    where isnull(a.CLOSE_ID,'')!='T' {1} group by b.dep,b.dep_name""".format(dep_ie,dep))
         print(sql)
         try:
             result = executeQuery(sql)
@@ -2765,7 +2788,6 @@ class IeFileMaintaintm(View):
 # ie工艺号文件维护接口
 class IeFileMaintain(View):
     def get(self,request):
-        print(request.GET)
         # 校验参数合法性
         sqlinjection = sqlinjections().ifsql(request.GET)
         if sqlinjection:
@@ -2810,7 +2832,7 @@ class IeFileMaintain(View):
             (3600/A.point)/A.total_manpower AS rjcn,8*(3600/A.point) AS bxscn,A.postil_up/((3600/A.point)/A.total_manpower) AS djcb,
             A.total_manpower*8 AS  bzzys,'T' AS qiting,'' AS qitingexplain,''AS choice FROM MF_IEFILE A,TF_IEFILE_BOM B,TF_MM0 C 
             WHERE A.IEFILE_NO = B.IEFILE_NO AND B.BOM_NO=C.ID_NO {0}""".format(parameter)
-        print(sql)
+        # print(sql)
         try:
             result = executeQuery(sql)
         except Exception:
@@ -2827,7 +2849,7 @@ class IeFileMaintain(View):
                 "rem":i["rem"],"iefile_no":i["iefile_no"],"sys_date":i["sys_date"].strftime('%Y-%m-%d'),"user_no":i["user_no"],"bzsj":float(i["bzsj"]),"scxphl":float('%.2f' %i["scxphl"]),"scxbphl":float('%.2f' %i["scxbphl"]),
                 "ssgs": float(i["ssgs"]),"scjp": float(i["scjp"]),"xscn": float(i["xscn"]),"rjcn": float(i["rjcn"]),"bxscn": float(i["bxscn"]),"djcb": float(i["djcb"]),"bzzys": float(i["bzzys"]),
                 "qiting":i["qiting"],"qitingexplain":i["qitingexplain"],"choice":i["choice"]})
-        print(data)
+        # print(data)
         content = {
             "data":data,
             "mssage": "ie文件查询成功",
@@ -2838,6 +2860,7 @@ class IeFileMaintain(View):
     def post(self,request):
         req_data = json.loads(request.body.decode())["data"]
         # print(req_data)
+        sid = transaction.savepoint()  # 开启事物
         with connection.cursor() as cursor:
             for i in req_data["selected_data"]:
                 print(i)
@@ -2847,6 +2870,7 @@ class IeFileMaintain(View):
                     cursor.execute(sql, [])
                 except Exception:
                     return http.HttpResponseForbidden("异常操作,修改失败")
+        transaction.savepoint_commit(sid)  # 提交事物
         content = {
             "mssage": "设置启用状态成功",
             "code": 200
@@ -2873,10 +2897,22 @@ class IeFileMaintain(View):
         bxscn = req_data.get("bxscn")  #8小时产能(套)
         djcb = req_data.get("djcb")  #单件成本(套)
         bzzys = req_data.get("bzzys")  #标准总用时(小时)
-        mo_no=req_data.get("mm_no")
+        mm_no=req_data.get("mm_no")
+        data_timeqi_mo=req_data.get("data_timeqi_mo")
+        data_timezhi_mo=req_data.get("data_timezhi_mo")
+        if not all([data_timeqi_mo,data_timezhi_mo]):
+            return http.HttpResponseForbidden("请选择时间")
+        # 校验日期格式
+        try:
+            datetime.datetime.strptime(data_timeqi_mo, '%Y-%m-%d')
+            datetime.datetime.strptime(data_timezhi_mo, '%Y-%m-%d')
+        except Exception:
+            return http.HttpResponseForbidden('日期格式输入不正确')
+        data_time = " AND left(Convert(varchar(100), MM_DD, 23), 11)>=" + "'" + data_timeqi_mo + "'" + " AND left(Convert(varchar(100), MM_DD, 23), 11)<=" + "'" + data_timezhi_mo + "'"
         # 判断是否有数据
         if len(selected_data)<=0:
             return http.HttpResponseForbidden("没有选择数据")
+        sid = transaction.savepoint()  # 开启事物
         with connection.cursor() as cursor:
             for i in selected_data:
                 # 1、利用单号查询阶梯单价
@@ -2886,14 +2922,18 @@ class IeFileMaintain(View):
                 except Exception:
                     return http.HttpResponseForbidden("阶梯单价查询异常")
                 #1、1查询缴库单信息
-                if len(mo_no)<=0:
-                    sql2 = """SELECT MM_NO,ID_NO,PRD_NO,CAST(QTY AS FLOAT ) AS QTY,ITM FROM TF_MM0 WHERE MM_ID='MM' AND ID_NO='{0}'""".format(i["bom_no"])
+                if len(mm_no)<=0:
+                    sql2 = """SELECT MM_NO,ID_NO,PRD_NO,CAST(QTY AS FLOAT ) AS QTY,ITM FROM TF_MM0 WHERE MM_ID='MM' AND ID_NO='{0}' {1}""".format(i["bom_no"],data_time)
+                    print(sql2)
                 else:
-                    sql2 = """SELECT MM_NO,ID_NO,PRD_NO,CAST(QTY AS FLOAT ) AS QTY,ITM FROM TF_MM0 WHERE MM_ID='MM' AND ID_NO='{0}' AND MM_NO='{1}'""".format(i["bom_no"],mo_no)
+                    sql2 = """SELECT MM_NO,ID_NO,PRD_NO,CAST(QTY AS FLOAT ) AS QTY,ITM FROM TF_MM0 WHERE MM_ID='MM' AND ID_NO='{0}' AND MM_NO='{1}' {2}""".format(i["bom_no"],mm_no,data_time)
+                    print(sql2)
                 try:
                     result_mm_no = executeQuery(sql2)
+                    if len(result_mm_no)<=0:
+                        return http.HttpResponseForbidden("指定更新缴库单号时间范围内无缴库单")
                 except Exception:
-                    return http.HttpResponseForbidden("查询缴库单异常")
+                    return http.HttpResponseForbidden("指定更新缴库单号时间范围内无缴库单")
                 # 如果查询得到缴库单的时候遍历
                 if len(result_mm_no)>0:
                     # 这里可以拿到每个缴库单的数量
@@ -2904,7 +2944,7 @@ class IeFileMaintain(View):
                          DJCB_T_MB='{16}',BZZYS_H_MB='{17}' WHERE MM_NO='{18}' AND ITM='{19}'"""\
                             .format(i["hr_up"],i["file_serial"],i["workshop_name"],i["dep_name"],i["total_manpower"],i["point"],i["job_time"],i["postil_up"],i["bzsj"],
                             i["scxphl"],i["scxbphl"],i["ssgs"],i["scjp"],i["xscn"],i["rjcn"],i["bxscn"],i["djcb"],i["bzzys"],result_mm_no_qty["MM_NO"],result_mm_no_qty["ITM"])
-                        print(sql)
+                        # print(sql)
                         cursor.execute(sql, [])
                         # 有设置阶梯单价的时候
                         if len(result_up)>0:
@@ -2918,12 +2958,17 @@ class IeFileMaintain(View):
                                         break
                                     except Exception:
                                         return http.HttpResponseForbidden("更新数据异常1")
+                        #没有设置阶梯单价的时候设置计件单价为文件标注单价
                         else:
+                            # 查询批注单价
                             try:
-                                sql3 = """UPDATE TF_MM0_z SET JJDJ_MB={0} WHERE MM_NO='{1}' AND ITM='{2}'""".format(result_row["UP"], result_mm_no_qty["MM_NO"], i["postil_up"])
-                                # print(sql3)
+                                sql4 = """SELECT CAST(postil_up AS FLOAT) AS postil_up FROM MF_IEFILE WHERE IEFILE_NO='{0}'""".format(i["iefile_no"])
+                                postil_up = executeQuery(sql4)[0]["postil_up"]
+                            except Exception:
+                                return http.HttpResponseForbidden("查询批注单价异常")
+                            try:
+                                sql3 = """UPDATE TF_MM0_z SET JJDJ_MB={0} WHERE MM_NO='{1}' AND ITM='{2}'""".format(postil_up, result_mm_no_qty["MM_NO"], result_mm_no_qty["ITM"])
                                 cursor.execute(sql3, [])
-                                break
                             except Exception:
                                 return http.HttpResponseForbidden("更新数据异常2")
             # if len(result_up)>0:
@@ -2932,8 +2977,7 @@ class IeFileMaintain(View):
             #         print(2222222222222)
             # else:
             #     print("直接更新批注单价")
-
-        print(req_data)
+        transaction.savepoint_commit(sid)  # 提交事物
         content = {
             "mssage": "修改成功",
             "code": 200
@@ -2942,6 +2986,7 @@ class IeFileMaintain(View):
     def delete(self,request):
         req_data = json.loads(request.body.decode())
         # print(req_data)
+        sid = transaction.savepoint()  # 开启事物
         with connection.cursor() as cursor:
             for i in req_data["selected_data"]:
                 print(i)
@@ -2951,15 +2996,198 @@ class IeFileMaintain(View):
                     cursor.execute(sql, [])
                 except Exception:
                     return http.HttpResponseForbidden("异常操作,修改失败")
+        transaction.savepoint_commit(sid)  # 提交事物
         content = {
             "mssage": "删除成功",
             "code": 200
         }
         return http.JsonResponse(content)
-#ie文件号明细表
-class IeFileMaintainDetail(View):
+#ie文件号明细表渲染
+class IeFileMaintainDetailtm(View):
     def get(self,request):
         return render(request, 'iefilemaintaindetail.html')
+#数据接口
+class IeFileMaintainDetail(View):
+    def get(self, request):
+        erp_dep = request.GET['erp_dep']
+        iefileno = request.GET['iefileno']
+        data_timeqi = request.GET['data_timeqi']
+        data_timezhi = request.GET['data_timezhi']
+        cls_id = request.GET['cls_id']
+        if not all([data_timeqi,data_timezhi,cls_id]):
+            return http.HttpResponseForbidden("请选择时间,以及其他相关参数")
+        # 校验日期格式
+        try:
+            datetime.datetime.strptime(data_timeqi, '%Y-%m-%d')
+            datetime.datetime.strptime(data_timezhi, '%Y-%m-%d')
+        except Exception:
+            return http.HttpResponseForbidden('日期格式输入不正确')
+        if erp_dep :
+            erp_dep = " AND C.DEP="+"'"+erp_dep+"'"
+        else:
+            erp_dep=''
+        if iefileno :
+            iefileno = " AND A.IEFILE_NO="+"'"+iefileno+"'"
+        else:
+            iefileno=''
+        if cls_id=='1':
+            cls_id=''
+        elif  cls_id=='2':
+            cls_id=" AND ISNULL(A3.CLOSE_ID,'')='T'"
+        else:
+            cls_id = " AND ISNULL(A3.CLOSE_ID,'')<>'T'"
+        data_time=" AND left(Convert(varchar(100), c.MM_DD, 23), 11)>=" + "'" + data_timeqi + "'" + " AND left(Convert(varchar(100), c.MM_DD, 23), 11)<=" + "'" + data_timezhi + "'"
+        parameter = data_time+ erp_dep + iefileno
+        sql = """select isnull(e.gdmc_mb,'') as gdmc_mb,d.prd_no,isnull(d.PRD_NAME,'') as prd_name,isnull(d.SO_NO,'') as so_no,d.mm_no 
+,isnull(e.ZYXT_MB,'') as zyxt_mb,ISNULL(f.name,'') AS dep_name,g.name as t_wh,isnull(cast(d.qty as float),0) as t_qty
+,cast(isnull(e.JJDJ_MB,0) as float) as jjdj_mb,CAST(isnull(e.JJDJ_MB,0)*isnull(d.qty,0) AS FLOAT) as jj_up
+,CAST(isnull(a1.mo_bc_qty,0) AS FLOAT) AS mo_bc_qty
+,CAST(isnull(a2.mo_ym_qty,0) AS FLOAT) AS mo_ym_qty
+,CAST((isnull(a3.QTY_FIN,0)-a3.qty)/a3.qty AS FLOAT) AS cj_qty
+,cast(isnull(E.PJSJ_S_MB,0) as float) AS pjsj_s_mb,CAST(isnull(A.job_time,0) AS FLOAT) AS job_time,A.file_serial
+,'' as sjgs,'' as kqjs,'' as wdyy,'' as gscs,'' as bzjkjs,'' as bzjkgs
+,cast(isnull(E.xxcn_t_mb,0) as float) as xxcn_t_mb,cast(isnull(E.rjcn_t_mb,0) as float) as rjcn_t_mb
+,case when isnull(a3.CLOSE_ID,'')='T' then 'T'else 'F' end as mo_cli_id,a3.mo_no,cast(a3.qty as float) as mo_qty
+,cast(isnull(a3.QTY_FIN_UNSH,0) as float) as ws__mo_qty,cast(isnull(a3.QTY_FIN,0) as float) as sh_mo_qty
+,cast(a.total_manpower as float) as total_manpower,a.iefile_no,d.itm,d.id_no
+from MF_IEFILE A
+, TF_IEFILE_BOM b
+, MF_MM0 c 
+, TF_MM0 d
+--包材齐套率
+LEFT JOIN 
+(select ROUND(sum(a.QTY/(a.QTY_RSV+isnull(a.QTY_LOST,0))),2) as mo_bc_qty,mo_no from TF_MO a,prdt b,INDX C where a.prd_no=b.prd_no
+AND C.IDX_NO=B.IDX1 AND C.IDX_UP='C'
+GROUP BY A.MO_NO) A1 ON a1.mo_no=d.mo_no
+--研磨品齐套率
+LEFT JOIN 
+(select ROUND(sum(a.QTY/(a.QTY_RSV+isnull(a.QTY_LOST,0))),2) as mo_ym_qty,mo_no from TF_MO a,prdt b,INDX C where a.prd_no=b.prd_no
+AND C.IDX_NO=B.IDX1 AND C.IDX_UP='A'
+GROUP BY A.MO_NO) A2 ON a2.mo_no=d.mo_no
+--超交率
+LEFT JOIN MF_MO A3 ON A3.MO_NO=D.MO_NO
+, TF_MM0_z e
+, DEPT F
+, MY_wh G
+where A.CLS_ID='T' AND a.iefile_no=b.iefile_no and b.bom_no=d.id_no and c.MM_NO=d.MM_NO and d.MM_NO=e.MM_NO and d.itm=e.itm and
+ c.dep=f.dep and d.wh=g.wh {0} {1}""".format(parameter,cls_id)
+        print(sql)
+        try:
+            result = executeQuery(sql)
+            if len(result)<=0:
+                return http.HttpResponseForbidden('没有查询到数据')
+        except Exception:
+            return http.HttpResponseForbidden('没有查询到数据')
+        data=[{"gdmc_mb":"工序类型","prd_no":"产品","prd_name":"产品名称","so_no":"计划受订","mm_no":"缴库单号","zyxt_mb":"生产线","dep_name":"缴库班组",
+               "t_wh":"仓库","t_qty":"缴库数量","jjdj_mb":"计件单价","jj_up":"计件金额","mo_bc_qty":"包材齐套率","mo_ym_qty":"研磨品齐套率","cj_qty":"超缴率",
+                "pjsj_s_mb":"瓶颈节拍(S)","job_time":"参考工时","file_serial":"工艺文件","sjgs":"实际工时","kqjs":"考勤机时","wdyy":"未达成原因分析/责任部门",
+               "gscs":"改善措施/其他说明项","bzjkjs":"标准缴库机时","bzjkgs":"标准缴库工时","xxcn_t_mb":"IE小时产能","rjcn_t_mb":"IE人均小时产能","mo_cli_id":"结案状态",
+               "mo_no":"制令单号","mo_qty":"需生产量","ws__mo_qty":"缴库未审","sh_mo_qty":"缴库已审","dep_qty_sum":"车间达成数量合计","total_manpower":"车间效率标准","s_ie":"IE单价"}]
+        if len(result)>10000:
+            return http.HttpResponseForbidden("查询记录数过大请重新缩小查询范围")
+        if len(result) != 0:
+            for i in result:
+                # 查询车间达成数量合计
+                i["dep_qty_sum"]=''
+                if len(i["zyxt_mb"])>0:
+                    sql2 ="""select isnull(cast(sum(c.qty) as float),0) dep_qty_sum from TF_MM0 c,TF_MM0_z b where c.mm_no=b.mm_no and c.itm=b.itm and b.zyxt_mb
+                  in(select dep_name from DSCSETTING where up=(SELECT up FROM DSCSETTING where dep_name='{0}' and selected='T') ) {1}""".format(i["zyxt_mb"],data_time)
+                    # print(sql2)
+                    try:
+                        dep_qty_sum = executeQuery(sql2)[0]["dep_qty_sum"]
+                        # print(dep_qty_sum)
+                    except Exception:
+                        dep_qty_sum=''
+                    i["dep_qty_sum"]=dep_qty_sum
+                # 处理IE单价
+                # 1、利用单号查询阶梯单价
+                sql3 = """SELECT IEFILE_NO,CAST(QTY AS FLOAT) AS QTY,CAST(UP AS FLOAT) AS UP FROM TF_IEFILE_UP WHERE IEFILE_NO ='{0}' ORDER BY QTY ASC""".format(i["iefile_no"])
+                try:
+                    result_up = executeQuery(sql3)
+                except Exception:
+                    return http.HttpResponseForbidden("阶梯单价查询异常")
+                # 1、1查询缴库单信息
+                sql4 = """SELECT MM_NO,ID_NO,PRD_NO,CAST(QTY AS FLOAT ) AS QTY,ITM FROM TF_MM0 WHERE MM_ID='MM' AND ID_NO='{0}' AND MM_NO='{1}' AND ITM='{2}'""".format(
+                        i["id_no"], i["mm_no"],i["itm"])
+                try:
+                    result_mm_no = executeQuery(sql4)[0]
+                except Exception:
+                    return http.HttpResponseForbidden("查询缴库单异常")
+                # 遍历阶梯单价并判断是否得到合法的ie单价
+                s_ie=''
+                for result_qty in result_up:
+                    if result_mm_no["QTY"]<=result_qty["QTY"]:
+                        s_ie = result_qty["UP"]
+                        break
+                data.append({"gdmc_mb":i["gdmc_mb"],"prd_no":i["prd_no"],"prd_name":i["prd_name"],"so_no":i["so_no"],"mm_no":i["mm_no"],"zyxt_mb":i["zyxt_mb"],"dep_name":i["dep_name"],
+                             "t_wh":i["t_wh"],"t_qty":i["t_qty"],"jjdj_mb":i["jjdj_mb"],"jj_up":i["jj_up"],"mo_bc_qty":i["mo_bc_qty"],"mo_ym_qty":i["mo_ym_qty"],"cj_qty":i["cj_qty"],
+                            "pjsj_s_mb": i["pjsj_s_mb"],"job_time":i["job_time"],"file_serial":i["file_serial"],"sjgs":i["sjgs"],"kqjs":i["kqjs"],"wdyy":i["wdyy"],"gscs":i["gscs"],
+                             "bzjkjs": i["bzjkjs"],"bzjkgs":i["bzjkgs"],"xxcn_t_mb":i["xxcn_t_mb"],"rjcn_t_mb":i["rjcn_t_mb"],"mo_cli_id":i["mo_cli_id"],"mo_no":i["mo_no"],"mo_qty":i["mo_qty"],
+                             "ws__mo_qty": i["ws__mo_qty"],"sh_mo_qty":i["sh_mo_qty"],"dep_qty_sum":i["dep_qty_sum"],"total_manpower":i["total_manpower"],"s_ie":s_ie})
+        content = {
+            "data": data,
+            "mssage": "查询明细成功",
+            "code": 200
+        }
+        return http.JsonResponse(content)
+#ie文件号统计表渲染
+class IeFileMaintaInfotm(View):
+    def get(self, request):
+        return render(request, 'iefilemaintaininfo.html')
+
+# ie文件号统计表数据接口
+class IeFileMaintaInfo(View):
+    def get(self, request):
+        erp_dep = request.GET['erp_dep']
+        iefileno = request.GET['iefileno']
+        data_timeqi = request.GET['data_timeqi']
+        data_timezhi = request.GET['data_timezhi']
+        cls_id = request.GET['cls_id']
+        if not all([data_timeqi, data_timezhi, cls_id]):
+            return http.HttpResponseForbidden("请选择时间,以及其他相关参数")
+        # 校验日期格式
+        try:
+            datetime.datetime.strptime(data_timeqi, '%Y-%m-%d')
+            datetime.datetime.strptime(data_timezhi, '%Y-%m-%d')
+        except Exception:
+            return http.HttpResponseForbidden('日期格式输入不正确')
+        if erp_dep:
+            erp_dep = " AND A.DEP=" + "'" + erp_dep + "'"
+        else:
+            erp_dep = ''
+        if iefileno:
+            iefileno = " AND C.IEFILE_NO=" + "'" + iefileno + "'"
+        else:
+            iefileno = ''
+        if cls_id == '1':
+            cls_id = ''
+        elif cls_id == '2':
+            cls_id = " AND ISNULL(B.CLOSE_ID,'')='T'"
+        else:
+            cls_id = " AND ISNULL(B.CLOSE_ID,'')<>'T'"
+        data_time = " AND left(Convert(varchar(100), A.MM_DD, 23), 11)>=" + "'" + data_timeqi + "'" + " AND left(Convert(varchar(100), A.MM_DD, 23), 11)<=" + "'" + data_timezhi + "'"
+        parameter = data_time + erp_dep + iefileno +cls_id
+        sql = """SELECT B.dep,C.dep_name,CAST(SUM(B.qty_fin) AS FLOAT) AS qty_fin,CAST(sum(C.total_manpower) AS FLOAT) AS tjbz,CAST(SUM(B.qty) AS FLOAT) AS qty,CAST(ROUND(SUM(B.QTY_FIN)/SUM(C.total_manpower),2) AS FLOAT) as xl
+ FROM TF_MM0 A
+, MF_MO B,MF_IEFILE C
+WHERE A.MO_NO=B.MO_NO AND A.DEP=B.DEP AND A.DEP=C.DEP AND C.CLS_ID='T' {0} GROUP BY B.DEP,C.dep_name """.format(parameter)
+        print(sql)
+        try:
+            result = executeQuery(sql)
+            if len(result)<=0:
+                return http.HttpResponseForbidden('没有查询到数据')
+        except Exception:
+            return http.HttpResponseForbidden('没有查询到数据')
+        data=[{"dep":"车间编码","dep_name":"车间名称","tjbz":"统计标准","qty_fin":"统计数量","xl":"效率"}]
+        for i in result:
+            data.append({"dep":i["dep"],"dep_name":i["dep_name"],"tjbz":i["tjbz"],"qty_fin":i["qty_fin"],"xl":i["xl"]})
+        print(data)
+        content = {
+            "data": data,
+            "mssage": "查询明细成功",
+            "code": 200
+        }
+        return http.JsonResponse(content)
 # 测试
 class text(View):
     def get(self, request):

+ 1 - 1
meib/meib/apps/users/urls.py

@@ -5,5 +5,5 @@ urlpatterns = [
     url(r'^register/$',views.RegisterView.as_view()),  #用户注册
     url(r'^login/$',views.Login.as_view()),  # 渲染登录界面
     url(r'^logininformation/$',views.LoginInformation.as_view()),  # 获取用户信息
-    url(r'^logout/$',views.Logout.as_view()),  # 退出登录
+    # url(r'^logout/$',views.Logout.as_view()),  # 退出登录
 ]

+ 1 - 22
meib/meib/apps/users/views.py

@@ -30,7 +30,6 @@ from users.models import Customer
 class RegisterView(View):
     def get(self,request):
         return render(request,'register.html')
-
     def post(self,request):
         #1,获取参数
         user_name = request.POST.get("user_name")
@@ -46,14 +45,11 @@ class RegisterView(View):
         #4,返回响应
         response = redirect("http://www.taobao.com")
         return response
-# 用户登录处理
+# 用户登录处理 初始化密码后台设置为:MTEx  表示密码是:111
 class Login(View):
     def get(self, request):
         return render(request, 'login.html')
     def post(self, request):
-        # req_data = json.loads(request.body.decode())["params"]
-        # user_1 = req_data.get("user_1").split('->')[0]
-        # pswd = req_data.get("pswd")
         sqlinjection = sqlinjections().ifsql(request.POST)
         if sqlinjection:
             return http.HttpResponseForbidden("参数非法")
@@ -86,12 +82,6 @@ class Login(View):
         response = redirect('/index')
         response.set_cookie("username", user.username, 3600 * 24 * 2)
         return response
-        # 4,返回响应
-        # context = {
-        #     "errmsg": "登录成功",
-        #     "code": 200
-        # }
-        # return http.JsonResponse(context)
     def put(self,request):
         req_data = json.loads(request.body.decode())["params"]
         user_2 = req_data.get("user_2").split('->')[0]
@@ -124,17 +114,6 @@ class Login(View):
         response = redirect('/login/')
         response.delete_cookie("username")
         return response
-        # context = {
-        #     "errmsg": "登录成功",
-        #     "code": 200
-        # }
-        # return http.JsonResponse(context)
-class Logout(View):
-    def get(self, request):
-        del request.session['username']
-        response = redirect('/login/')
-        response.delete_cookie("username")
-        return response
 #获取用户登录信息
 class LoginInformation(View):
     def get(self, request):

+ 3 - 1
meib/meib/settings/dev.py

@@ -215,8 +215,10 @@ LOGGING = {
 
 # 指定静态文件的收集位置
 STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'static')
-# 指定每页数量
+# 指定每页数量一览表
 PAGE_SIZE = 100
+# 指定每页数量ie文件明细表
+PAGE_SIZE_IE = 100
 
 AUTH_USER_MODEL = 'users.User'
 

+ 3 - 0
meib/meib/static/css/iefilemaintain.css

@@ -7,6 +7,9 @@ select{
 .form-control {
     padding: 0px 0px;
 }
+.filter{
+    height: 90px;
+}
 .tr_red{
     background-color: red;
 }

+ 4 - 4
meib/meib/templates/dep_ps.html

@@ -79,8 +79,8 @@
                             <ul class="nav dropdown-menu">
                                 <li><a href="/iefiletm">新增IE工艺文件号</a></li>
                                 <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
-                                <li><a href="/iefilemaintaindetail">IE效率明细表</a></li>
-                                <li><a href="#">IE效率统计表</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
                             </ul>
                         </li>
                     </ul>
@@ -89,7 +89,7 @@
                             <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
                         </li>
                         <li v-else><a href="">请登录</a></li>
-                        <li><a href="/logout/" @click="logout()">退出登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
                     </ul>
                 </div>
             </div>
@@ -169,7 +169,7 @@
             </label>
             <label>
                 <div class="input">
-                    日期:<input type='date' v-model="data_time_no" disabled="disabled">
+                    做单日期:<input type='date' v-model="data_time_no" disabled="disabled">
                 </div>
             </label>
             <table class="table table-bordered table-hover table-striped">

+ 3 - 3
meib/meib/templates/dessetting.html

@@ -76,8 +76,8 @@
                             <ul class="nav dropdown-menu">
                                 <li><a href="/iefiletm">新增IE工艺文件号</a></li>
                                 <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
-                                <li><a href="/iefilemaintaindetail">IE效率明细表</a></li>
-                                <li><a href="#">IE效率统计表</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
                             </ul>
                         </li>
                     </ul>
@@ -86,7 +86,7 @@
                             <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
                         </li>
                         <li v-else><a href="">请登录</a></li>
-                        <li><a href="/logout/" @click="logout()">退出登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
                     </ul>
                 </div>
             </div>

+ 3 - 3
meib/meib/templates/iefile.html

@@ -76,8 +76,8 @@
                             <ul class="nav dropdown-menu">
                                 <li><a href="/iefiletm">新增IE工艺文件号</a></li>
                                 <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
-                                <li><a href="/iefilemaintaindetail">IE效率明细表</a></li>
-                                <li><a href="#">IE效率统计表</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
                             </ul>
                         </li>
                     </ul>
@@ -86,7 +86,7 @@
                             <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
                         </li>
                         <li v-else><a href="">请登录</a></li>
-                        <li><a href="/logout/" @click="logout()">退出登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
                     </ul>
                 </div>
             </div>

+ 25 - 8
meib/meib/templates/iefilemaintain.html

@@ -76,8 +76,8 @@
                             <ul class="nav dropdown-menu">
                                 <li><a href="/iefiletm">新增IE工艺文件号</a></li>
                                 <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
-                                <li><a href="/iefilemaintaindetail">IE效率明细表</a></li>
-                                <li><a href="#">IE效率统计表</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
                             </ul>
                         </li>
                     </ul>
@@ -86,7 +86,7 @@
                             <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
                         </li>
                         <li v-else><a href="">请登录</a></li>
-                        <li><a href="/logout/" @click="logout()">退出登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
                     </ul>
                 </div>
             </div>
@@ -95,7 +95,7 @@
         <div class="filter">
             <div class="container ">
                 <label>
-                    <div class="navbar-nav">日期:</div>
+                    <div class="navbar-nav">IE录入日期:</div>
 
                     <div class="navbar-nav"><input type='date' class="input form-control" v-model='data_timeqi' /></div>
                 </label>
@@ -134,6 +134,16 @@
                 <label class="save def">
                     <div class="btn btn-primary navbar-nav" @click="save()">保存</div>
                 </label>
+                <label>
+                    <div class="navbar-nav">更新日期范围:</div>
+
+                    <div class="navbar-nav"><input type='date' class="input form-control" v-model='data_timeqi_mo' /></div>
+                </label>
+                <label>
+                    <div class="navbar-nav">至:</div>
+                    <div class="navbar-nav"><input type='date' class="input form-control" v-model='data_timezhi_mo' />
+                    </div>
+                </label>
                 <label>
                     <div class="navbar-nav">指定缴库单号更新:</div>
                     <div class="navbar-nav">
@@ -202,6 +212,8 @@
             data: {
                 data_timeqi: '',  //查询时间起
                 data_timezhi: '',  //查询时间止
+                data_timeqi_mo:'',  //更新缴库单号开始日期
+                data_timezhi_mo:'',  //更新缴库单号结束日期
                 username: '',  //登录用户名
                 seek_data: [],  //查询到的数据
                 selected_data: [],  //选中的数据
@@ -326,15 +338,20 @@
                         alert("请选择数据")
                         return
                     }
-                    var mm_no = $('#zdmf_mmo').val().split("->")[0]
-                    console.log(mm_no)
+                    var mm_no = $('#zdmf_mmo').val()
+                    if(mm_no.indexOf("->") != -1){
+                        mm_no = mm_no.split("->")[0]
+                    }
                     axios.put('/iefilemaintain/', {
                         data: {
                             mm_no: mm_no,
-                            selected_data: this.selected_data
+                            selected_data: this.selected_data,
+                            data_timeqi_mo:this.data_timeqi_mo,
+                            data_timezhi_mo:this.data_timezhi_mo
                         }
                     }).then(res => {
-                        console.log("修改成功")
+                        // console.log("更新成功")
+                        alert("更新缴库单号成功")
                     }).catch(err => {
                         alert(err.response["data"] + err.response["status"])
                     })

+ 60 - 10
meib/meib/templates/iefilemaintaindetail.html

@@ -76,8 +76,8 @@
                             <ul class="nav dropdown-menu">
                                 <li><a href="/iefiletm">新增IE工艺文件号</a></li>
                                 <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
-                                <li><a href="/iefilemaintaindetail">IE效率明细表</a></li>
-                                <li><a href="#">IE效率统计表</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
                             </ul>
                         </li>
                     </ul>
@@ -86,7 +86,7 @@
                             <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
                         </li>
                         <li v-else><a href="">请登录</a></li>
-                        <li><a href="/logout/" @click="logout()">退出登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
                     </ul>
                 </div>
             </div>
@@ -129,12 +129,50 @@
                 <label class="save def" @click="seek()">
                     <div class="btn btn-primary navbar-nav">查询</div>
                 </label>
+                <label class="save def">
+                    <div class="btn btn-primary navbar-nav" @click="exportaa()">导出数据</div>
+                </label>
             </div>
         </div>
         <div class="container">
+            <table class="table table-hover">
+                <tbody>
+                    <tr v-for="(item,i) in seek_data" ::key="i">
+                        <td v-if="i>0" v-text="i"></td>
+                        <td v-else>行号</td>
+                        <td v-text="item.gdmc_mb"></td>
+                        <td v-text="item.prd_no"></td>
+                        <td v-text="item.prd_name"></td>
+                        <td v-text="item.so_no"></td>
+                        <td v-text="item.zyxt_mb"></td>
+                        <td v-text="item.dep_name"></td>
+                        <td v-text="item.t_wh"></td>
+                        <td v-text="item.t_qty"></td>
+                        <td v-text="item.jjdj_mb"></td>
+                        <td v-text="item.jj_up"></td>
+                        <td v-text="item.mo_bc_qty"></td>
+                        <td v-text="item.mo_ym_qty"></td>
+                        <td v-text="item.cj_qty"></td>
+                        <td v-text="item.job_time"></td>
+                        <td v-text="item.file_serial"></td>
+                        <td v-text="item.xxcn_t_mb"></td>
+                        <td v-text="item.rjcn_t_mb"></td>
+                        <td v-text="item.mo_cli_id"></td>
+                        <td v-text="item.mo_no"></td>
+                        <td v-text="item.mo_qty"></td>
+                        <td v-text="item.ws__mo_qty"></td>
+                        <td v-text="item.sh_mo_qty"></td>
+                        <td v-text="item.dep_qty_sum"></td>
+                        <td v-text="item.total_manpower"></td>
+                        <td v-text="item.s_ie"></td>
+                    </tr>
+                </tbody>
+            </table>
         </div>
 
     </div>
+    <!-- 这里是导出数据 -->
+    <script type="text/javascript" src="/static/js/export/exports.js"></script>
     <script>
         var vm = new Vue({
             el: '#app',
@@ -154,25 +192,37 @@
             methods: {
                 // 查询
                 seek() {
-                    var erp_dep = $('#erp_dep').val().split("->")[0];
-                    var mf_mmo = $('#mf_mmo').val().split("->")[0];
-                    var iefileno = $('#iefileno').val().split("->")[0];
-
-                    axios.get('/iefilemaintain/', {
+                    var erp_dep = $('#erp_dep').val()
+                    if(erp_dep.indexOf("->") != -1){
+                        erp_dep = erp_dep.split("->")[0]
+                    }
+                    var iefileno = $('#iefileno').val()
+                    if(iefileno.indexOf("->") != -1){
+                        iefileno = iefileno.split("->")[0]
+                    }
+                    axios.get('/iefilemaintaindetail/', {
                         params: {
                             erp_dep: erp_dep,
-                            mf_mmo: mf_mmo,
                             iefileno: iefileno,
                             data_timeqi: this.data_timeqi,
-                            data_timezhi: this.data_timezhi
+                            data_timezhi: this.data_timezhi,
+                            cls_id:this.cls_id
                         }
                     }).then(res => {
                         var data = res.data.data
                         this.seek_data = data
+                        console.log(this.seek_data)
                     }).catch(err => {
                         alert(err.response["data"] + err.response["status"])
                     })
                 },
+                // 导出数据
+                exportaa() {
+                        // console.log(this.list)
+                        var filter = [];
+                        var title = [];
+                        exportExcel(this.seek_data, 'IE效率明细表', title, filter);
+                    },
                 //获取当前日期
                 addDate() {
                     var date = new Date();

+ 313 - 0
meib/meib/templates/iefilemaintaininfo.html

@@ -0,0 +1,313 @@
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="widtd=device-widtd, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css">
+    <link rel="stylesheet" type="text/css" href="/static/css/css.css">
+    <link rel="stylesheet" type="text/css" href="/static/css/iefilemaintaindetail.css">
+    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap-select.min.css">
+    <script src="/static/js/jquery.min.js"></script>
+    <script src="/static/js/bootstrap.min.js"></script>
+    <script src="/static/js/vue-2.4.0.js"></script>
+    <script src="/static/js/axios.min.js"></script>
+    <script src="/static/js/vue-Cookies.js"></script>
+    <script type="text/javascript" src="/static/js/jquery.select.js"></script>
+
+    <script src="/static/js/bootstrap-select_new.js"></script>
+    <!-- 图标js -->
+    <!-- <script src="/static/js/ionicons.js"></script> -->
+
+    <title>Document</title>
+</head>
+
+<body>
+    <div id="app">
+        <div class="navbar navbar-default">
+            <div class="container">
+                <!-- navbar-header用于设置内容横向显示 -->
+                <div class="navbar-header">
+                    <a href="/index" class="navbar-brand"></a>
+                </div>
+                <!-- navbar-nav用来设置横向显示 -->
+                <!-- navbar-right用来设置右浮动 -->
+                <!-- hidden-xs用于当屏幕很小的情况下隐藏div里面的内容 -->
+                <div class="hidden-xs">
+                    <ul class="nav navbar-nav">
+                        <li class="dropdown">
+                            <!--订单一览表-->
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+                                订单一览表
+                                <b class="caret"></b>
+                            </a>
+                            <ul class="nav dropdown-menu">
+                                <li><a href="/index">订单一览表</a></li>
+                            </ul>
+                        </li>
+                        <li class="dropdown">
+                            <!--月度产能评估表-->
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+                                月度产能评估表
+                                <b class="caret"></b>
+                            </a>
+                            <ul class="nav dropdown-menu">
+                                <li><a href="/depps">月度产能评估表</a></li>
+                                <li><a href="/dessettingtm">车间标准产能设置</a></li>
+                            </ul>
+                        </li>
+                        <li class="dropdown">
+                            <!--月度主排程计划-->
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+                                月度主排程计划
+                                <b class="caret"></b>
+                            </a>
+                            <ul class="nav dropdown-menu">
+                                <li><a href="/depps">计划主交期</a></li>
+                                <li><a href="#">计划部门交期</a></li>
+                            </ul>
+                        </li>
+                        <li class="dropdown">
+                            <!--ie文件号管理-->
+                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+                                IE工艺文件号管理
+                                <b class="caret"></b>
+                            </a>
+                            <ul class="nav dropdown-menu">
+                                <li><a href="/iefiletm">新增IE工艺文件号</a></li>
+                                <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
+                            </ul>
+                        </li>
+                    </ul>
+                    <ul class="nav navbar-nav navbar-right">
+                        <li v-if="username !=''">
+                            <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
+                        </li>
+                        <li v-else><a href="">请登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
+                    </ul>
+                </div>
+            </div>
+        </div>
+        <!--表头-->
+        <div class="filter">
+            <div class="container ">
+                <label>
+                    <div class="navbar-nav">日期:</div>
+
+                    <div class="navbar-nav"><input type='date' class="input form-control" v-model='data_timeqi' /></div>
+                </label>
+                <label>
+                    <div class="navbar-nav">至:</div>
+                    <div class="navbar-nav"><input type='date' class="input form-control" v-model='data_timezhi' />
+                    </div>
+                </label>
+                <label>
+                    <div class="navbar-nav">车间:</div>
+                    <div class="navbar-nav">
+                        <input class="input form-control" id="erp_dep" type="text" autocomplete="off" />
+                    </div>
+                </label>
+                <label>
+                    <div class="navbar-nav">IE工艺文件号:</div>
+                    <div class="navbar-nav">
+                        <input class="input form-control" id="iefileno" type="text" autocomplete="off" />
+                    </div>
+                </label>
+                <label>
+                    <div class="navbar-nav">结案否:</div>
+                    <div class="navbar-nav">
+                        <select class="input form-control" v-model="cls_id">
+                            <option value="1" selected="selected">全部</option>
+                            <option value="2">结案</option>
+                            <option value="3">未结案</option>
+                        </select>
+                    </div>
+                </label>
+                <label class="save def" @click="seek()">
+                    <div class="btn btn-primary navbar-nav">查询</div>
+                </label>
+                <label class="save def">
+                    <div class="btn btn-primary navbar-nav" @click="exportaa()">导出数据</div>
+                </label>
+            </div>
+        </div>
+        <div class="container">
+            <table class="table table-hover">
+                <tbody>
+                    <tr v-for="(item,i) in seek_data" :key="i">
+                        <td v-text="item.dep"></td>
+                        <td v-text="item.dep_name"></td>
+                        <td v-text="item.tjbz"></td>
+                        <td v-text="item.qty_fin"></td>
+                        <td v-text="item.xl"></td>
+                    </tr>
+                </tbody>
+            </table>
+        </div>
+
+    </div>
+    <!-- 这里是导出数据 -->
+    <script type="text/javascript" src="/static/js/export/exports.js"></script>
+    <script>
+        var vm = new Vue({
+            el: '#app',
+            data: {
+                data_timeqi: '',  //查询时间起
+                data_timezhi: '',  //查询时间止
+                username: '',  //登录用户名
+                seek_data: [],  //查询到的数据
+                cls_id:'1'   //结案否
+            },
+            mounted() {
+                // 获取登录名
+                // this.username=getCookie('username');
+                this.username = $cookies.get('username')
+                console.log($cookies.get('username'))
+            },
+            methods: {
+                // 查询
+                seek() {
+                    var erp_dep = $('#erp_dep').val()
+                    if(erp_dep.indexOf("->") != -1){
+                        erp_dep = erp_dep.split("->")[0]
+                    }
+                    var iefileno = $('#iefileno').val()
+                    if(iefileno.indexOf("->") != -1){
+                        iefileno = iefileno.split("->")[0]
+                    }
+                    axios.get('/iefilemaintaininfo/', {
+                        params: {
+                            erp_dep: erp_dep,
+                            iefileno: iefileno,
+                            data_timeqi: this.data_timeqi,
+                            data_timezhi: this.data_timezhi,
+                            cls_id:this.cls_id
+                        }
+                    }).then(res => {
+                        var data = res.data.data
+                        this.seek_data = data
+                        console.log(this.seek_data)
+                    }).catch(err => {
+                        alert(err.response["data"] + err.response["status"])
+                    })
+                },
+                // 导出数据
+                exportaa() {
+                        // console.log(this.list)
+                        var filter = [];
+                        var title = [];
+                        exportExcel(this.seek_data, 'IE效率统计表', title, filter);
+                    },
+                //获取当前日期
+                addDate() {
+                    var date = new Date();
+                    var seperator1 = "-";
+                    var year = date.getFullYear();
+                    var month = date.getMonth() + 1;
+                    var strDate = date.getDate();
+                    if (month >= 1 && month <= 9) {
+                        month = "0" + month;
+                    }
+                    if (strDate >= 0 && strDate <= 9) {
+                        strDate = "0" + strDate;
+                    }
+                    var currentdate = year + seperator1 + month + seperator1 + strDate;
+                    // console.log(currentdate)
+                    this.data_timeqi = this.data_timezhi = currentdate
+                },
+                //退出登录
+                logout() {
+                    console.log("qweq")
+                    axios.delete('/login/', {
+                        params: {
+                            user_1: this.user_1,
+                            pswd: this.pswd,
+                        }
+                    })
+                        .then(res => {
+
+                        })
+                        .catch(err => {
+                        })
+
+                },
+
+            },
+            created() {
+                this.addDate()
+            }
+        });
+
+        $(function () {
+            // 开始写 jQuery 代码...
+            var timer = null;
+            // 定义一个公用的搜索接口
+            // console.log(vm.$data.list)
+            function getStr(n, url, field, clickif) {
+                //n为搜索的参数 url为请求的路由,filed是定位表单的id,
+                //clickif用于判断是否是第一次加载,如果不是第一次加载则需要模拟点击
+
+                var search = n
+                // 配置路由
+                if (typeof search === 'undefined') {
+                    search = ''
+                };
+                // console.log(search)
+                axios.get(url, {
+                    params: {
+                        search_no: search
+                    }
+                })
+                    .then(res => {
+                        // alert(res.data)
+                        var data1 = res.data.data
+                        datas = data1
+                        // console.log(datas)
+                        if (datas.length == 0) {
+                            alert("没有搜索到数据")
+                            return
+                        }
+                        $.selectSuggest(field, datas);
+                        // 是否第一次进入
+                        if (clickif !== 1) {
+                            $("#" + field).trigger("click");
+                        }
+                    })
+                    .catch(err => {
+                        Console.log(err.response)
+                        alert(err.response["data"] + err.response["status"])
+                    })
+            };
+
+            //查询部门资料调用
+            $("#erp_dep").bind("input propertychange", function (event) {
+                var search = $("#erp_dep").val()
+                // console.log($("#testInput").val())
+                timer && clearTimeout(timer);
+                timer = setTimeout(function () {
+                    getStr(search, '/dept/', 'erp_dep');
+
+                }, 1000);
+            });
+            getStr('', '/dept/', 'erp_dep', 1);
+            // 查询ie文件号
+            $("#iefileno").bind("input propertychange", function (event) {
+                var search = $("#iefileno").val()
+                // console.log($("#testInput").val())
+                timer && clearTimeout(timer);
+                timer = setTimeout(function () {
+                    getStr(search, '/iefileno/', 'iefileno');
+
+                }, 1000);
+            });
+            getStr('', '/iefileno/', 'iefileno', 1);
+        });
+    </script>
+    <!-- <script type="text/javascript" src="/static/js/export/jquery-1.8.2.js"></script> -->
+
+</body>
+
+</html>

+ 8 - 3
meib/meib/templates/order.html

@@ -75,8 +75,8 @@
                             <ul class="nav dropdown-menu">
                                 <li><a href="/iefiletm">新增IE工艺文件号</a></li>
                                 <li><a href="/iefilemaintaintm">IE工艺文件号维护</a></li>
-                                <li><a href="/iefilemaintaindetail">IE效率明细表</a></li>
-                                <li><a href="#">IE效率统计表</a></li>
+                                <li><a href="/iefilemaintaindetailtm">IE效率明细表</a></li>
+                                <li><a href="/iefilemaintaininfotm">IE效率统计表</a></li>
                             </ul>
                         </li>
                     </ul>
@@ -85,7 +85,7 @@
                             <a>{% verbatim %}{{ '欢迎'+username+'!!!' }} {% endverbatim %}</a>
                         </li>
                         <li v-else><a href="">请登录</a></li>
-                        <li><a href="/logout/" @click="logout()">退出登录</a></li>
+                        <li><a href="/login/" @click="logout()">退出登录</a></li>
                     </ul>
                 </div>
             </div>
@@ -229,8 +229,12 @@
                         <td width="90px" v-text="item.YSSL"></td>
                         <td width="90px" v-text="item.YMXH"></td>
                         <td width="90px" v-text="item.QTY"></td>
+                        <td width="90px" v-text="item.BAT_QTY"></td>
+                        <td width="90px" v-text="item.QTY_FIN"></td>
+                        <td width="90px" v-text="item.W_QTY_FIN"></td>
                         <td width="90px" v-text="item.GZSL"></td>
                         <td width="90px" v-text="item.EST_DD"></td>
+                        <td width="90px" v-text="item.WH"></td>
                         <td width="90px" v-text="item.PD_DEP"></td>
                         <td width="90px" v-text="item.REM"></td>
                         <td v-if="i >0" width="120px"><input type='date' class="input" v-model="item.PMC_DD" /></td>
@@ -403,6 +407,7 @@
                             }
                             $(".refresh").hide();
                             $(".page").show();
+                            console.log(data1)
                         })
                         .catch(err => {
                             alert(err.response["data"] + err.response["status"])

+ 1 - 1
meib/meib/wsgi.py

@@ -13,7 +13,7 @@ import sys
 
 from django.core.wsgi import get_wsgi_application
 
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "awj.settings.dev")
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "meib.settings.dev")
 
 application = get_wsgi_application()
 

+ 1 - 1
red.txt

@@ -1,6 +1,6 @@
 Django==2.2.7
 django-mssql-backend==2.3.0
-#mod-wsgi==4.6.8+ap24vc14
+mod-wsgi==4.6.8+ap24vc14
 pyodbc==4.0.27
 pytz==2019.3
 sqlparse==0.3.0

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů