8436e662 by 田浩浩

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

1 parent d40c6846
......@@ -213,7 +213,8 @@ import InformationTable from "./InformationTable";
import { Init, fristReg } from "@/api/cfdjFlow.js";
import { mapGetters } from "vuex";
export default {
async created() {
created() {
console.log(1111111111111111);
var bsmSldy = this.$parent._data.unitData[0].bsmSldy;
var formdata = new FormData();
formdata.append("bsmSldy", bsmSldy);
......@@ -227,12 +228,19 @@ export default {
}
});
},
watch: {
},
components: { InformationTable },
props: {
flag: {
type: Boolean,
default: false,
},
fetch: {
type: Boolean,
default: false,
},
},
computed: {
...mapGetters(["dictData"]),
......
......@@ -74,9 +74,10 @@
v-if="activeName == 'slsq'"
:is="editItem"
:flag="flag"
:fetch='fetch'
:key="key"
/>
<component :is="editItem" :key="key" />
<component :is="editItem" v-else :key="key" />
</div>
</div>
</div>
......@@ -116,7 +117,7 @@ export default {
flag: false,
headerleftList: [],
headerRightList: [],
activeName: "slxx",
activeName: "",
tabList1: [],
tabList: [],
editItem: "",
......@@ -124,6 +125,7 @@ export default {
unitData: [],
taskId: "",
bsmBusiness: "",
fetch: false
};
},
watch: {
......@@ -176,6 +178,7 @@ export default {
if (res.code === 200) {
this.tabList1 = [...res.result.form];
this.tabList = res.result.form;
this.activeName = res.result.form[0].value;
this.headerleftList = res.result.button;
this.headerRightList = res.result.operation;
}
......