Commit 523689f4 authored by 仇晓婷's avatar 仇晓婷

优化合格证

parent 974fc4e8
...@@ -8,8 +8,15 @@ ...@@ -8,8 +8,15 @@
:high="false" :high="false"
:height="tdHeight" :height="tdHeight"
></DataGrid> ></DataGrid>
<Modal v-model="detailModal" title="查看合格证" footer-hide width="1000" :mask-closable="false"> <Modal
<Detail @on-close="cancel" @on-ok="addOk" :eid="curId" /> v-model="detailModal"
title="查看合格证"
@on-cancel="reload"
footer-hide
width="1000"
:mask-closable="false"
>
<Detail @on-close="cancel" @on-ok="addOk" :eid="curId" ref="listDetail" />
</Modal> </Modal>
</div> </div>
</template> </template>
...@@ -153,7 +160,9 @@ export default { ...@@ -153,7 +160,9 @@ export default {
this.detailModal = false; this.detailModal = false;
}, },
reload() { reload() {
this.$refs.grid.load(); if (this.$refs.listDetail.checkboxList.length == 0) {
this.$refs.grid.load();
}
}, },
detail(id) { detail(id) {
this.detailModal = true; this.detailModal = true;
......
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