d758b310 by 田浩浩

修改登簿提示

1 parent 371ab015
...@@ -193,6 +193,7 @@ export default { ...@@ -193,6 +193,7 @@ export default {
193 }); 193 });
194 }, 194 },
195 operation(index, item) { 195 operation(index, item) {
196 let that = this;
196 switch (item.value) { 197 switch (item.value) {
197 case "zsyl": 198 case "zsyl":
198 this.zsylFlag = true; 199 this.zsylFlag = true;
...@@ -234,19 +235,11 @@ export default { ...@@ -234,19 +235,11 @@ export default {
234 }) 235 })
235 .then(function () { 236 .then(function () {
236 record(formdata).then((res) => { 237 record(formdata).then((res) => {
237 debugger;
238 if (res.code === 200 || res.code === 2002) { 238 if (res.code === 200 || res.code === 2002) {
239 this.$alert(res.message); 239 that.$alert(res.message);
240 } 240 }
241 }); 241 });
242 })
243 .then((data) => {
244 this.$alert("res.Message");
245 })
246 .catch(function (err) {
247 //捕获异常
248 }); 242 });
249
250 break; 243 break;
251 } 244 }
252 }, 245 },
......