1bd6cb0b by yangjianbin

init

1 parent f921aacc
...@@ -95,9 +95,9 @@ ...@@ -95,9 +95,9 @@
95 if (data.msg) { 95 if (data.msg) {
96 layer.alert(data.msg); 96 layer.alert(data.msg);
97 } else if (data.code != 0) { 97 } else if (data.code != 0) {
98 layer.alert('请求失败'); 98 layer.alert('操作失败');
99 } else { 99 } else {
100 layer.alert('请求成功'); 100 layer.alert('操作成功');
101 } 101 }
102 if(!data.code) { 102 if(!data.code) {
103 window.parent.reload(); 103 window.parent.reload();
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
105 } 105 }
106 }, 106 },
107 error: function () { 107 error: function () {
108 layer.alert("请求失败") 108 layer.alert("操作失败")
109 } 109 }
110 }) 110 })
111 } 111 }
......
...@@ -93,9 +93,9 @@ ...@@ -93,9 +93,9 @@
93 if (data.msg) { 93 if (data.msg) {
94 layer.alert(data.msg); 94 layer.alert(data.msg);
95 } else if (data.code != 0) { 95 } else if (data.code != 0) {
96 layer.alert('请求失败'); 96 layer.alert('操作失败');
97 } else { 97 } else {
98 layer.alert('请求成功'); 98 layer.alert('操作成功');
99 } 99 }
100 setTimeout(function () { 100 setTimeout(function () {
101 if(!data.code) { 101 if(!data.code) {
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
105 },500); 105 },500);
106 }, 106 },
107 error: function () { 107 error: function () {
108 layer.alert("请求失败") 108 layer.alert("操作失败")
109 } 109 }
110 }) 110 })
111 } 111 }
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
97 if (data.msg) { 97 if (data.msg) {
98 layer.alert(data.msg); 98 layer.alert(data.msg);
99 } else if (data.code != 0) { 99 } else if (data.code != 0) {
100 layer.alert('请求失败'); 100 layer.alert('操作失败');
101 } else { 101 } else {
102 layer.msg('删除成功'); 102 layer.msg('删除成功');
103 } 103 }
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
109 }, 500); 109 }, 500);
110 }, 110 },
111 error: function () { 111 error: function () {
112 layer.alert("请求失败") 112 layer.alert("操作失败")
113 } 113 }
114 }) 114 })
115 115
......
...@@ -154,13 +154,13 @@ ...@@ -154,13 +154,13 @@
154 if (data.msg) { 154 if (data.msg) {
155 layer.alert(data.msg); 155 layer.alert(data.msg);
156 } else if (data.code != 0) { 156 } else if (data.code != 0) {
157 layer.alert('请求失败'); 157 layer.alert('操作失败');
158 } else { 158 } else {
159 layer.msg('通过'); 159 layer.msg('通过');
160 } 160 }
161 }, 161 },
162 error: function () { 162 error: function () {
163 layer.alert("请求失败") 163 layer.alert("操作失败")
164 } 164 }
165 }) 165 })
166 166
......
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
184 } 184 }
185 }, 185 },
186 error: function () { 186 error: function () {
187 layer.alert("请求失败") 187 layer.alert("操作失败")
188 } 188 }
189 }) 189 })
190 }); 190 });
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
212 } 212 }
213 }, 213 },
214 error: function () { 214 error: function () {
215 layer.alert("请求失败") 215 layer.alert("操作失败")
216 } 216 }
217 }) 217 })
218 }); 218 });
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
240 } 240 }
241 }, 241 },
242 error: function () { 242 error: function () {
243 layer.alert("请求失败") 243 layer.alert("操作失败")
244 } 244 }
245 }) 245 })
246 }); 246 });
......
...@@ -63,9 +63,9 @@ ...@@ -63,9 +63,9 @@
63 if(data.msg){ 63 if(data.msg){
64 layer.alert(data.msg); 64 layer.alert(data.msg);
65 } else if(data.code != 0){ 65 } else if(data.code != 0){
66 layer.alert('请求失败'); 66 layer.alert('操作失败');
67 } else { 67 } else {
68 layer.alert('请求成功'); 68 layer.alert('操作成功');
69 setTimeout(function () { 69 setTimeout(function () {
70 layer_load('应用工具', '<?=site_url('tool/web');?>'); 70 layer_load('应用工具', '<?=site_url('tool/web');?>');
71 },500); 71 },500);
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
73 73
74 }, 74 },
75 error:function(){ 75 error:function(){
76 layer.alert("请求失败") 76 layer.alert("操作失败")
77 } 77 }
78 }) 78 })
79 } 79 }
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 contentType: "application/json; charset=UTF-8", 110 contentType: "application/json; charset=UTF-8",
111 success: function (data) { 111 success: function (data) {
112 if (data.code != 0) { 112 if (data.code != 0) {
113 var msg = data.msg ? data.msg : '请求失败'; 113 var msg = data.msg ? data.msg : '操作失败';
114 layer.alert(msg); 114 layer.alert(msg);
115 } else { 115 } else {
116 $('#totalRepay').val(data.data.totalRepay); 116 $('#totalRepay').val(data.data.totalRepay);
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
118 } 118 }
119 }, 119 },
120 error: function () { 120 error: function () {
121 layer.alert("请求失败") 121 layer.alert("操作失败")
122 } 122 }
123 }) 123 })
124 }) 124 })
......
...@@ -64,9 +64,9 @@ ...@@ -64,9 +64,9 @@
64 if(data.msg){ 64 if(data.msg){
65 layer.alert(data.msg); 65 layer.alert(data.msg);
66 } else if(data.code != 0){ 66 } else if(data.code != 0){
67 layer.alert('请求失败'); 67 layer.alert('操作失败');
68 } else { 68 } else {
69 layer.alert('请求成功'); 69 layer.alert('操作成功');
70 setTimeout(function () { 70 setTimeout(function () {
71 layer_load('应用工具', '<?=site_url('tool/web');?>'); 71 layer_load('应用工具', '<?=site_url('tool/web');?>');
72 },500); 72 },500);
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
74 74
75 }, 75 },
76 error:function(){ 76 error:function(){
77 layer.alert("请求失败") 77 layer.alert("操作失败")
78 } 78 }
79 }) 79 })
80 } 80 }
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 if(data.msg){ 133 if(data.msg){
134 layer.alert(data.msg); 134 layer.alert(data.msg);
135 } else if(data.code != 0){ 135 } else if(data.code != 0){
136 layer.alert('请求失败'); 136 layer.alert('操作失败');
137 } else { 137 } else {
138 layer.msg('删除成功'); 138 layer.msg('删除成功');
139 setTimeout(function () { 139 setTimeout(function () {
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
143 143
144 }, 144 },
145 error:function(){ 145 error:function(){
146 layer.alert("请求失败") 146 layer.alert("操作失败")
147 } 147 }
148 }) 148 })
149 149
......
...@@ -71,13 +71,13 @@ ...@@ -71,13 +71,13 @@
71 if(data.msg){ 71 if(data.msg){
72 layer.alert(data.msg); 72 layer.alert(data.msg);
73 } else if(data.code != 0){ 73 } else if(data.code != 0){
74 layer.alert('请求失败'); 74 layer.alert('操作失败');
75 } else { 75 } else {
76 layer.alert('请求成功'); 76 layer.alert('操作成功');
77 } 77 }
78 }, 78 },
79 error:function(){ 79 error:function(){
80 layer.alert("请求失败") 80 layer.alert("操作失败")
81 } 81 }
82 }) 82 })
83 83
......
...@@ -88,9 +88,9 @@ ...@@ -88,9 +88,9 @@
88 if (data.msg) { 88 if (data.msg) {
89 layer.alert(data.msg); 89 layer.alert(data.msg);
90 } else if (data.code != 0) { 90 } else if (data.code != 0) {
91 layer.alert('请求失败'); 91 layer.alert('操作失败');
92 } else { 92 } else {
93 layer.alert('请求成功'); 93 layer.alert('操作成功');
94 } 94 }
95 setTimeout(function () { 95 setTimeout(function () {
96 if(!data.code) { 96 if(!data.code) {
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 },500); 100 },500);
101 }, 101 },
102 error: function () { 102 error: function () {
103 layer.alert("请求失败") 103 layer.alert("操作失败")
104 } 104 }
105 }) 105 })
106 }); 106 });
......
...@@ -114,9 +114,9 @@ ...@@ -114,9 +114,9 @@
114 if (data.msg) { 114 if (data.msg) {
115 layer.alert(data.msg); 115 layer.alert(data.msg);
116 } else if (data.code != 0) { 116 } else if (data.code != 0) {
117 layer.alert('请求失败'); 117 layer.alert('操作失败');
118 } else { 118 } else {
119 layer.alert('请求成功'); 119 layer.alert('操作成功');
120 } 120 }
121 setTimeout(function () { 121 setTimeout(function () {
122 if(!data.code) { 122 if(!data.code) {
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
126 },500); 126 },500);
127 }, 127 },
128 error: function () { 128 error: function () {
129 layer.alert("请求失败") 129 layer.alert("操作失败")
130 } 130 }
131 }) 131 })
132 }); 132 });
......
...@@ -117,9 +117,9 @@ ...@@ -117,9 +117,9 @@
117 if (data.msg) { 117 if (data.msg) {
118 layer.alert(data.msg); 118 layer.alert(data.msg);
119 } else if (data.code != 0) { 119 } else if (data.code != 0) {
120 layer.alert('请求失败'); 120 layer.alert('操作失败');
121 } else { 121 } else {
122 layer.alert('请求成功'); 122 layer.alert('操作成功');
123 } 123 }
124 setTimeout(function () { 124 setTimeout(function () {
125 if(!data.code) { 125 if(!data.code) {
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
129 },500); 129 },500);
130 }, 130 },
131 error: function () { 131 error: function () {
132 layer.alert("请求失败") 132 layer.alert("操作失败")
133 } 133 }
134 }) 134 })
135 }); 135 });
......
...@@ -88,9 +88,9 @@ ...@@ -88,9 +88,9 @@
88 if (data.msg) { 88 if (data.msg) {
89 layer.alert(data.msg); 89 layer.alert(data.msg);
90 } else if (data.code != 0) { 90 } else if (data.code != 0) {
91 layer.alert('请求失败'); 91 layer.alert('操作失败');
92 } else { 92 } else {
93 layer.alert('请求成功'); 93 layer.alert('操作成功');
94 } 94 }
95 setTimeout(function () { 95 setTimeout(function () {
96 if(!data.code) { 96 if(!data.code) {
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 },500); 100 },500);
101 }, 101 },
102 error: function () { 102 error: function () {
103 layer.alert("请求失败") 103 layer.alert("操作失败")
104 } 104 }
105 }) 105 })
106 }); 106 });
......
...@@ -137,9 +137,9 @@ ...@@ -137,9 +137,9 @@
137 if (data.msg) { 137 if (data.msg) {
138 layer.alert(data.msg); 138 layer.alert(data.msg);
139 } else if (data.code != 0) { 139 } else if (data.code != 0) {
140 layer.alert('请求失败'); 140 layer.alert('操作失败');
141 } else { 141 } else {
142 layer.alert('请求成功'); 142 layer.alert('操作成功');
143 } 143 }
144 setTimeout(function () { 144 setTimeout(function () {
145 if(!data.code) { 145 if(!data.code) {
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
149 },500); 149 },500);
150 }, 150 },
151 error: function () { 151 error: function () {
152 layer.alert("请求失败") 152 layer.alert("操作失败")
153 } 153 }
154 }) 154 })
155 }); 155 });
......
...@@ -163,9 +163,9 @@ ...@@ -163,9 +163,9 @@
163 if (data.msg) { 163 if (data.msg) {
164 layer.alert(data.msg); 164 layer.alert(data.msg);
165 } else if (data.code != 0) { 165 } else if (data.code != 0) {
166 layer.alert('请求失败'); 166 layer.alert('操作失败');
167 } else { 167 } else {
168 layer.alert('请求成功'); 168 layer.alert('操作成功');
169 } 169 }
170 setTimeout(function () { 170 setTimeout(function () {
171 if (!data.code) { 171 if (!data.code) {
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
175 }, 500); 175 }, 500);
176 }, 176 },
177 error: function () { 177 error: function () {
178 layer.alert("请求失败") 178 layer.alert("操作失败")
179 } 179 }
180 }) 180 })
181 }); 181 });
......
...@@ -88,9 +88,9 @@ ...@@ -88,9 +88,9 @@
88 if (data.msg) { 88 if (data.msg) {
89 layer.alert(data.msg); 89 layer.alert(data.msg);
90 } else if (data.code != 0) { 90 } else if (data.code != 0) {
91 layer.alert('请求失败'); 91 layer.alert('操作失败');
92 } else { 92 } else {
93 layer.alert('请求成功'); 93 layer.alert('操作成功');
94 } 94 }
95 setTimeout(function () { 95 setTimeout(function () {
96 if(!data.code) { 96 if(!data.code) {
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 },500); 100 },500);
101 }, 101 },
102 error: function () { 102 error: function () {
103 layer.alert("请求失败") 103 layer.alert("操作失败")
104 } 104 }
105 }) 105 })
106 }); 106 });
......
...@@ -88,9 +88,9 @@ ...@@ -88,9 +88,9 @@
88 if (data.msg) { 88 if (data.msg) {
89 layer.alert(data.msg); 89 layer.alert(data.msg);
90 } else if (data.code != 0) { 90 } else if (data.code != 0) {
91 layer.alert('请求失败'); 91 layer.alert('操作失败');
92 } else { 92 } else {
93 layer.alert('请求成功'); 93 layer.alert('操作成功');
94 } 94 }
95 setTimeout(function () { 95 setTimeout(function () {
96 if(!data.code) { 96 if(!data.code) {
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 },500); 100 },500);
101 }, 101 },
102 error: function () { 102 error: function () {
103 layer.alert("请求失败") 103 layer.alert("操作失败")
104 } 104 }
105 }) 105 })
106 }); 106 });
......
...@@ -103,9 +103,9 @@ ...@@ -103,9 +103,9 @@
103 if (data.msg) { 103 if (data.msg) {
104 layer.alert(data.msg); 104 layer.alert(data.msg);
105 } else if (data.code != 0) { 105 } else if (data.code != 0) {
106 layer.alert('请求失败'); 106 layer.alert('操作失败');
107 } else { 107 } else {
108 layer.alert('请求成功'); 108 layer.alert('操作成功');
109 } 109 }
110 setTimeout(function () { 110 setTimeout(function () {
111 if(!data.code) { 111 if(!data.code) {
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
115 },500); 115 },500);
116 }, 116 },
117 error: function () { 117 error: function () {
118 layer.alert("请求失败") 118 layer.alert("操作失败")
119 } 119 }
120 }) 120 })
121 }); 121 });
......
...@@ -116,9 +116,9 @@ ...@@ -116,9 +116,9 @@
116 if (data.msg) { 116 if (data.msg) {
117 layer.alert(data.msg); 117 layer.alert(data.msg);
118 } else if (data.code != 0) { 118 } else if (data.code != 0) {
119 layer.alert('请求失败'); 119 layer.alert('操作失败');
120 } else { 120 } else {
121 layer.alert('请求成功'); 121 layer.alert('操作成功');
122 } 122 }
123 setTimeout(function () { 123 setTimeout(function () {
124 if(!data.code) { 124 if(!data.code) {
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
128 },500); 128 },500);
129 }, 129 },
130 error: function () { 130 error: function () {
131 layer.alert("请求失败") 131 layer.alert("操作失败")
132 } 132 }
133 }) 133 })
134 }); 134 });
......
...@@ -102,9 +102,9 @@ ...@@ -102,9 +102,9 @@
102 if (data.msg) { 102 if (data.msg) {
103 layer.alert(data.msg); 103 layer.alert(data.msg);
104 } else if (data.code != 0) { 104 } else if (data.code != 0) {
105 layer.alert('请求失败'); 105 layer.alert('操作失败');
106 } else { 106 } else {
107 layer.alert('请求成功'); 107 layer.alert('操作成功');
108 } 108 }
109 setTimeout(function () { 109 setTimeout(function () {
110 if(!data.code) { 110 if(!data.code) {
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
114 },500); 114 },500);
115 }, 115 },
116 error: function () { 116 error: function () {
117 layer.alert("请求失败") 117 layer.alert("操作失败")
118 } 118 }
119 }) 119 })
120 }); 120 });
......
...@@ -111,9 +111,9 @@ ...@@ -111,9 +111,9 @@
111 if (data.msg) { 111 if (data.msg) {
112 layer.alert(data.msg); 112 layer.alert(data.msg);
113 } else if (data.code != 0) { 113 } else if (data.code != 0) {
114 layer.alert('请求失败'); 114 layer.alert('操作失败');
115 } else { 115 } else {
116 layer.alert('请求成功'); 116 layer.alert('操作成功');
117 } 117 }
118 setTimeout(function () { 118 setTimeout(function () {
119 if(!data.code) { 119 if(!data.code) {
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 },500); 123 },500);
124 }, 124 },
125 error: function () { 125 error: function () {
126 layer.alert("请求失败") 126 layer.alert("操作失败")
127 } 127 }
128 }) 128 })
129 }); 129 });
......
...@@ -155,9 +155,9 @@ ...@@ -155,9 +155,9 @@
155 if (data.msg) { 155 if (data.msg) {
156 layer.alert(data.msg); 156 layer.alert(data.msg);
157 } else if (data.code != 0) { 157 } else if (data.code != 0) {
158 layer.alert('请求失败'); 158 layer.alert('操作失败');
159 } else { 159 } else {
160 layer.alert('请求成功'); 160 layer.alert('操作成功');
161 } 161 }
162 setTimeout(function () { 162 setTimeout(function () {
163 if(!data.code) { 163 if(!data.code) {
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
167 },500); 167 },500);
168 }, 168 },
169 error: function () { 169 error: function () {
170 layer.alert("请求失败") 170 layer.alert("操作失败")
171 } 171 }
172 }) 172 })
173 }); 173 });
......
...@@ -117,9 +117,9 @@ ...@@ -117,9 +117,9 @@
117 if (data.msg) { 117 if (data.msg) {
118 layer.alert(data.msg); 118 layer.alert(data.msg);
119 } else if (data.code != 0) { 119 } else if (data.code != 0) {
120 layer.alert('请求失败'); 120 layer.alert('操作失败');
121 } else { 121 } else {
122 layer.alert('请求成功'); 122 layer.alert('操作成功');
123 } 123 }
124 setTimeout(function () { 124 setTimeout(function () {
125 if(!data.code) { 125 if(!data.code) {
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
129 },500); 129 },500);
130 }, 130 },
131 error: function () { 131 error: function () {
132 layer.alert("请求失败") 132 layer.alert("操作失败")
133 } 133 }
134 }) 134 })
135 }); 135 });
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
101 if (data.msg) { 101 if (data.msg) {
102 layer.alert(data.msg); 102 layer.alert(data.msg);
103 } else if (data.code != 0) { 103 } else if (data.code != 0) {
104 layer.alert('请求失败'); 104 layer.alert('操作失败');
105 } else { 105 } else {
106 layer.msg('操作成功'); 106 layer.msg('操作成功');
107 } 107 }
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
113 },500); 113 },500);
114 }, 114 },
115 error: function () { 115 error: function () {
116 layer.alert("请求失败") 116 layer.alert("操作失败")
117 } 117 }
118 }) 118 })
119 }); 119 });
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
142 if (data.msg) { 142 if (data.msg) {
143 layer.alert(data.msg); 143 layer.alert(data.msg);
144 } else if (data.code != 0) { 144 } else if (data.code != 0) {
145 layer.alert('请求失败'); 145 layer.alert('操作失败');
146 } else { 146 } else {
147 layer.msg('操作成功'); 147 layer.msg('操作成功');
148 } 148 }
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
154 },500); 154 },500);
155 }, 155 },
156 error: function () { 156 error: function () {
157 layer.alert("请求失败") 157 layer.alert("操作失败")
158 } 158 }
159 }) 159 })
160 }); 160 });
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!