Commit d7314a9c authored by zhengke's avatar zhengke

修改

parent cef33d89
...@@ -58,11 +58,11 @@ ...@@ -58,11 +58,11 @@
<q-tab :ripple="false" name="second" label="审批记录" /> <q-tab :ripple="false" name="second" label="审批记录" />
</q-tabs> </q-tabs>
<div v-if="tabCheck=='first'" style="margin:0 15px;"> <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> </backinfoForm>
</div> </div>
<div v-if="tabCheck=='second'"> <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> </backflowForm>
</div> </div>
</q-card> </q-card>
...@@ -100,12 +100,14 @@ ...@@ -100,12 +100,14 @@
persistent: true, persistent: true,
tabCheck: 'first', //默认选第一个 tabCheck: 'first', //默认选第一个
loading: false, loading: false,
dataObj:{}
} }
}, },
created() { created() {
}, },
mounted() { mounted() {
this.dataObj = this.setingObj.DataObj;
}, },
methods: { methods: {
refreshPage() { refreshPage() {
......
...@@ -152,8 +152,8 @@ ...@@ -152,8 +152,8 @@
} from '../../api/teacher/index' } from '../../api/teacher/index'
export default { export default {
props: { props: {
Id: { setingObj: {
type: Number, type: Object,
default: null default: null
} }
}, },
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
} }
}, },
created() { created() {
this.qMsg.Id = this.Id; this.qMsg.Id = this.setingObj.Id;
}, },
mounted() { mounted() {
this.getStuBaclFlow(); this.getStuBaclFlow();
...@@ -179,7 +179,6 @@ ...@@ -179,7 +179,6 @@
getStuBaclFlow() { getStuBaclFlow() {
GetEduReceiptInfo (this.qMsg).then(res => { GetEduReceiptInfo (this.qMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
console.log(res,'数据');
this.DataList = res.Data this.DataList = res.Data
} }
}).catch(() => {}) }).catch(() => {})
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</q-td> </q-td>
</template> </template>
</q-table> </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"> @success="refreshPage">
</backbill-form> </backbill-form>
<createbackbill-form v-if="isShowCreateBillForm" :seting-obj="billObj" @close="closeBillForm" <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