Commit 26234a35 authored by kangzhenfei's avatar kangzhenfei

dnc-diff

parent 17cf57b2
...@@ -505,6 +505,7 @@ export default { ...@@ -505,6 +505,7 @@ export default {
}, },
fileBeyong(){ fileBeyong(){
this.$Message.success("对比文件") this.$Message.success("对比文件")
this.$router.push("/dncmnc/dnc/difftext");
}, },
// 打开抽屉 // 打开抽屉
openDrawer() { openDrawer() {
......
<style lang="less" scoped>
@import "./dispatch.less";
</style>
<template>
<div class="diff_box">
<a class="back_href" @click="goView">
<Icon type="ios-undo-outline" size="24" />返回设备监控
</a>
<div class="diff_card">
<div class="diff_top">
程序名:00123_281
</div>
<div class="diff_top">
程序名:1288-268 &nbsp;&nbsp;
绑定设备:数控机床
</div>
<img src="../image/textdiff.png" alt="">
</div>
</div>
</template>
<script>
import Api from "./api";
export default {
components: {},
data() {
return {
action: Api.index,
byheight: "450px",
};
},
created() {
// this.getUserInfoFn();
this.byheight = window.innerHeight - 178 + "px";
},
mounted() {
this.byheight = window.innerHeight - 178 + "px";
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
methods: {
goView(){
//返回数控程序传输页面
this.$router.push("/dncmnc/dnc/datalist");
},},
computed: {},
watch: {}
};
</script>
<style lang="less">
.diff_card{
width: 100%;
height: 86vh;
.diff_top{
width: 50%;
float: left;
text-align: center;
}
img{
display: block;
width: 90%;
margin: 0vh auto;
}
}
</style>
\ No newline at end of file
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