7ecfa366 by 田浩浩

1111

1 parent c2742e81
...@@ -2,9 +2,15 @@ ...@@ -2,9 +2,15 @@
2 export function getForm(tabName, djywbm) { 2 export function getForm(tabName, djywbm) {
3 let form; 3 let form;
4 switch (tabName) { 4 switch (tabName) {
5 case "slxx": 5 case "jsydsyqslxx100":
6 form = require("@/views/ywbl/jsydsyq/slxx.vue");
7 break;
8 case "jsydsyqslxx200":
6 form = require("@/views/ywbl/jsydsyq/slxx200.vue"); 9 form = require("@/views/ywbl/jsydsyq/slxx200.vue");
7 break; 10 break;
11 case "jsydsyqslxx300":
12 form = require("@/views/ywbl/jsydsyq/slxx300.vue");
13 break;
8 case "fdcq2Slxx": 14 case "fdcq2Slxx":
9 form = require("@/views/ywbl/fdcq2/slxx200.vue"); 15 form = require("@/views/ywbl/fdcq2/slxx200.vue");
10 break; 16 break;
......
...@@ -264,6 +264,8 @@ export default { ...@@ -264,6 +264,8 @@ export default {
264 }, 264 },
265 onSubmit() { 265 onSubmit() {
266 saveData(this.ruleForm).then((res) => { 266 saveData(this.ruleForm).then((res) => {
267 console.log(this.ruleForm);
268 //this.$alert(this.ruleForm);
267 if (res.code === 200 && res.result) { 269 if (res.code === 200 && res.result) {
268 console.log(res); 270 console.log(res);
269 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 271 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
......