Commit 8fd9c1b6 authored by renjintao's avatar renjintao

datasshow

parent 6f24cdd2
<template>
<div>
<FooterToolbar class="ftball">
<Button type="primary">下一步</Button>
<Button>取消</Button>
</FooterToolbar>
</div>
</template>
<style>
</style>
<script>
import Api from "./api";
export default {
name: "datasShow",
components: {
},
props: {
id: String,
},
data() {
return {
};
},
created() {
},
methods: {
},
watch: {
id(v) {
if (v != '') {
}
},
},
};
</script>
...@@ -36,8 +36,9 @@ ...@@ -36,8 +36,9 @@
<Col span="10"> <Col span="10">
<a href="#" @click="comeBlck" class="black">APS排产</a> <a href="#" @click="comeBlck" class="black">APS排产</a>
</Col> </Col>
<Col span="10" style="text-align: right;" v-if="gant"> <Col span="10" style="text-align: right;">
<a href="#" @click="gantChart" class="gant">甘特图</a> <a href="#" @click="datasShow" >数据包</a>
<a href="#" @click="gantChart" v-if="gant">甘特图</a>
</Col> </Col>
</Row> </Row>
...@@ -49,7 +50,7 @@ ...@@ -49,7 +50,7 @@
<Button type="primary" @click="submit">方案对比</Button>&nbsp; <Button type="primary" @click="submit">方案对比</Button>&nbsp;
<Button type="default" @click="cancel">取消</Button> <Button type="default" @click="cancel">取消</Button>
</div> </div>
<Modal v-model="modal1Gant" fullscreen title="甘特图" footer-hide> <Modal v-model="modal1Gant" fullscreen :title="modalTitle" footer-hide>
<!-- <Gantt :id="id" /> --> <!-- <Gantt :id="id" /> -->
<gantt :is="gantt" :id="id" /> <gantt :is="gantt" :id="id" />
</Modal> </Modal>
...@@ -78,7 +79,8 @@ export default { ...@@ -78,7 +79,8 @@ export default {
blacks: false, blacks: false,
gant: false, gant: false,
gantt: null, gantt: null,
curPage: null curPage: null,
modalTitle:'甘特图'
}; };
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
...@@ -161,7 +163,13 @@ export default { ...@@ -161,7 +163,13 @@ export default {
//甘特图 //甘特图
gantChart() { gantChart() {
this.modal1Gant = true; this.modal1Gant = true;
this.modalTitle='甘特图';
this.gantt = () => import("./gantt"); this.gantt = () => import("./gantt");
},
datasShow() {
this.modal1Gant = true;
this.modalTitle='数据包';
this.gantt = () => import("./datasShow");
}, },
changeCheck(item, i) { changeCheck(item, i) {
this.$set(this.list, i, item); this.$set(this.list, i, item);
......
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