| | |
| | | |
| | | |
| | | <script> |
| | | var indexIframe = null;
|
| | | var vm = null; |
| | | doui.onReady({ |
| | | success: function() { |
| | |
| | | layer.close(index); |
| | | if (res.code != 0) { |
| | | layer.msg(res.msg); |
| | | vm.inputThis.imgGet(); |
| | | } else { |
| | | // 操作人员信息 |
| | | var user = { |
| | |
| | | hour: 8 |
| | | }); |
| | | |
| | | // 跳到使用页 |
| | | if (indexIframe != null) {
|
| | | parent.layer.close(indexIframe);
|
| | | } else {
|
| | | doui.pageToUrl({ |
| | | url: "home.html" |
| | | url: "home.html" // 跳到使用页
|
| | | }); |
| | | }
|
| | | |
| | | } |
| | | } |
| | | }); |
| | |
| | | |
| | | // 验证码图片 |
| | | vm.inputThis.imgGet(); |
| | | |
| | | |
| | | // document.body.style.display = "block"; |
| | | |
| | | // 获取传递过来的id
|
| | | doui.urlParam({
|
| | | success: function (res) {
|
| | | if (res.type == 2){
|
| | | indexIframe = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
| | | }
|
| | | }
|
| | | }); |
| | | |
| | | } |
| | | }); |
| | | </script> |