8436e662 by 田浩浩

修改受理申请页面读取问题

1 parent d40c6846
...@@ -213,7 +213,8 @@ import InformationTable from "./InformationTable"; ...@@ -213,7 +213,8 @@ import InformationTable from "./InformationTable";
213 import { Init, fristReg } from "@/api/cfdjFlow.js"; 213 import { Init, fristReg } from "@/api/cfdjFlow.js";
214 import { mapGetters } from "vuex"; 214 import { mapGetters } from "vuex";
215 export default { 215 export default {
216 async created() { 216 created() {
217 console.log(1111111111111111);
217 var bsmSldy = this.$parent._data.unitData[0].bsmSldy; 218 var bsmSldy = this.$parent._data.unitData[0].bsmSldy;
218 var formdata = new FormData(); 219 var formdata = new FormData();
219 formdata.append("bsmSldy", bsmSldy); 220 formdata.append("bsmSldy", bsmSldy);
...@@ -227,12 +228,19 @@ export default { ...@@ -227,12 +228,19 @@ export default {
227 } 228 }
228 }); 229 });
229 }, 230 },
231 watch: {
232
233 },
230 components: { InformationTable }, 234 components: { InformationTable },
231 props: { 235 props: {
232 flag: { 236 flag: {
233 type: Boolean, 237 type: Boolean,
234 default: false, 238 default: false,
235 }, 239 },
240 fetch: {
241 type: Boolean,
242 default: false,
243 },
236 }, 244 },
237 computed: { 245 computed: {
238 ...mapGetters(["dictData"]), 246 ...mapGetters(["dictData"]),
......
...@@ -74,9 +74,10 @@ ...@@ -74,9 +74,10 @@
74 v-if="activeName == 'slsq'" 74 v-if="activeName == 'slsq'"
75 :is="editItem" 75 :is="editItem"
76 :flag="flag" 76 :flag="flag"
77 :fetch='fetch'
77 :key="key" 78 :key="key"
78 /> 79 />
79 <component :is="editItem" :key="key" /> 80 <component :is="editItem" v-else :key="key" />
80 </div> 81 </div>
81 </div> 82 </div>
82 </div> 83 </div>
...@@ -116,7 +117,7 @@ export default { ...@@ -116,7 +117,7 @@ export default {
116 flag: false, 117 flag: false,
117 headerleftList: [], 118 headerleftList: [],
118 headerRightList: [], 119 headerRightList: [],
119 activeName: "slxx", 120 activeName: "",
120 tabList1: [], 121 tabList1: [],
121 tabList: [], 122 tabList: [],
122 editItem: "", 123 editItem: "",
...@@ -124,6 +125,7 @@ export default { ...@@ -124,6 +125,7 @@ export default {
124 unitData: [], 125 unitData: [],
125 taskId: "", 126 taskId: "",
126 bsmBusiness: "", 127 bsmBusiness: "",
128 fetch: false
127 }; 129 };
128 }, 130 },
129 watch: { 131 watch: {
...@@ -176,6 +178,7 @@ export default { ...@@ -176,6 +178,7 @@ export default {
176 if (res.code === 200) { 178 if (res.code === 200) {
177 this.tabList1 = [...res.result.form]; 179 this.tabList1 = [...res.result.form];
178 this.tabList = res.result.form; 180 this.tabList = res.result.form;
181 this.activeName = res.result.form[0].value;
179 this.headerleftList = res.result.button; 182 this.headerleftList = res.result.button;
180 this.headerRightList = res.result.operation; 183 this.headerRightList = res.result.operation;
181 } 184 }
......