Commit d7314a9c authored by zhengke's avatar zhengke

修改

parent cef33d89
......@@ -58,11 +58,11 @@
<q-tab :ripple="false" name="second" label="审批记录" />
</q-tabs>
<div v-if="tabCheck=='first'" style="margin:0 15px;">
 <backinfoForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">
 <backinfoForm :seting-obj="dataObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">
</backinfoForm>
</div>
<div v-if="tabCheck=='second'">
 <backflowForm :seting-obj="setingObj" :showType="showType" :Id="Id" @close="closeShenheForm" @success="refreshPage">
 <backflowForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">
</backflowForm>
</div>
</q-card>
......@@ -100,12 +100,14 @@
persistent: true,
tabCheck: 'first', //默认选第一个
loading: false,
dataObj:{}
}
},
created() {
},
mounted() {
this.dataObj = this.setingObj.DataObj;
},
methods: {
refreshPage() {
......
......@@ -152,8 +152,8 @@
} from '../../api/teacher/index'
export default {
props: {
Id: {
type: Number,
setingObj: {
type: Object,
default: null
}
},
......@@ -170,7 +170,7 @@
}
},
created() {
this.qMsg.Id = this.Id;
this.qMsg.Id = this.setingObj.Id;
},
mounted() {
this.getStuBaclFlow();
......@@ -179,7 +179,6 @@
getStuBaclFlow() {
GetEduReceiptInfo (this.qMsg).then(res => {
if (res.Code == 1) {
console.log(res,'数据');
this.DataList = res.Data
}
}).catch(() => {})
......
......@@ -81,7 +81,7 @@
</q-td>
</template>
</q-table>
<backbill-form v-if="isShowBillForm" :seting-obj="billObj" :Id="Id" :showType="showType" @close="closeBillForm"
<backbill-form v-if="isShowBillForm" :seting-obj="billObj" :showType="showType" @close="closeBillForm"
@success="refreshPage">
</backbill-form>
<createbackbill-form v-if="isShowCreateBillForm" :seting-obj="billObj" @close="closeBillForm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment