Commit a37976b240c1c4d88ae55a80414885633d54fbb2
Merge remote-tracking branch 'origin/test' into test
# Conflicts: # resource/js/unit.js
Showing
4 changed files
with
8 additions
and
9 deletions
login/login.html
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | <link rel="stylesheet" href="../resource/public/plugins.min.css?a=2"> | 8 | <link rel="stylesheet" href="../resource/public/plugins.min.css?a=2"> |
| 9 | <link rel="stylesheet" href="../resource/public/commoncss.css?a=2"> | 9 | <link rel="stylesheet" href="../resource/public/commoncss.css?a=2"> |
| 10 | <link rel="stylesheet" href="../topages/login/login.css"> | 10 | <link rel="stylesheet" href="../topages/login/login.css"> |
| 11 | - <script src="../resource/js/unit.js"></script> | 11 | + |
| 12 | 12 | ||
| 13 | </head> | 13 | </head> |
| 14 | <body> | 14 | <body> |
| @@ -27,7 +27,8 @@ | @@ -27,7 +27,8 @@ | ||
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | <script src="../resource/lib/jquery/jquery.min.js"></script> | 29 | <script src="../resource/lib/jquery/jquery.min.js"></script> |
| 30 | + <script src="../resource/js/unit.js"></script> | ||
| 30 | <script src="../topages/login/login.js?a=1"></script> | 31 | <script src="../topages/login/login.js?a=1"></script> |
| 31 | -<script src="../resource/js/unit.js?a=1"></script> | 32 | +<!--<script src="../resource/js/unit.js?a=1"></script>--> |
| 32 | </body> | 33 | </body> |
| 33 | </html> | 34 | </html> |
| 34 | \ No newline at end of file | 35 | \ No newline at end of file |
resource/js/unit.js
| @@ -9,15 +9,10 @@ sysComm = { | @@ -9,15 +9,10 @@ sysComm = { | ||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | //阿里云测试环境,别删 | 11 | //阿里云测试环境,别删 |
| 12 | -// | ||
| 13 | -// var baseUrl = 'http://192.168.1.196:8088/';// url公用地址 | ||
| 14 | -// var parkcloudbaseUrl = 'http://192.168.1.196:8093/';// url公用地址 | ||
| 15 | -// var authUrl = 'http://192.168.1.196:8088/';// 鉴权URL公用地址s | ||
| 16 | - | ||
| 17 | -var parkcloudbaseUrl = 'http://192.168.1.196:8100/';// url公用地址 | ||
| 18 | 12 | ||
| 13 | +//var parkcloudbaseUrl = 'http://192.168.1.196:8100/';// url公用地址 | ||
| 19 | 14 | ||
| 20 | -//var parkcloudbaseUrl = 'http://localhost:8101/';// url公用地址 | 15 | +var parkcloudbaseUrl = 'http://192.168.1.196:8100/';// url公用地址 |
| 21 | 16 | ||
| 22 | 17 | ||
| 23 | 18 |
topages/login/login.js
| @@ -38,6 +38,7 @@ var func ={ | @@ -38,6 +38,7 @@ var func ={ | ||
| 38 | dataType: 'json', | 38 | dataType: 'json', |
| 39 | success: function (res) { | 39 | success: function (res) { |
| 40 | if(res != null && res != '' && res !=undefined && res.code =='8888' ){ | 40 | if(res != null && res != '' && res !=undefined && res.code =='8888' ){ |
| 41 | + | ||
| 41 | $('#login-errorifo').text(''); | 42 | $('#login-errorifo').text(''); |
| 42 | fn.setToken(res.data.accessToken); | 43 | fn.setToken(res.data.accessToken); |
| 43 | fn.setUserName(res.data.userName); | 44 | fn.setUserName(res.data.userName); |
topages/workfill/workfill.js
| @@ -180,6 +180,8 @@ var fun = { | @@ -180,6 +180,8 @@ var fun = { | ||
| 180 | dataType:'json', | 180 | dataType:'json', |
| 181 | success: function(res){ | 181 | success: function(res){ |
| 182 | if(res.success == true){ | 182 | if(res.success == true){ |
| 183 | + var asraId = res.data; | ||
| 184 | + $("#weekday"+id).attr("data-id",asraId); | ||
| 183 | _this.text('编辑'); | 185 | _this.text('编辑'); |
| 184 | _this.parent().parent().find(".workfill-list-container").attr("contenteditable","false"); | 186 | _this.parent().parent().find(".workfill-list-container").attr("contenteditable","false"); |
| 185 | _this.parent().parent().find('.workfill-list-projectnamewrap .workfill-projectCon').toggleClass('display-none'); | 187 | _this.parent().parent().find('.workfill-list-projectnamewrap .workfill-projectCon').toggleClass('display-none'); |