Browse Source

11111111

master
guoxing 1 year ago
parent
commit
b11e8d3ba9
  1. 76
      src/layout/components/Sidebar/index.vue
  2. 10
      src/router/index.js
  3. 56
      src/views/print/enterpriseCrad.vue

76
src/layout/components/Sidebar/index.vue

@ -259,60 +259,42 @@
// name: "/order/index", // name: "/order/index",
// path: "/order/index" // path: "/order/index"
// }, // },
{ {
alwaysShow: true, alwaysShow: true,
component: "print", component: "print",
meta: { meta: {
icon: "el-icon-menu", icon: "el-icon-menu",
title: "打印电子卡", title: "电子卡管理",
}, },
name: "/print/index", name: "/print",
path: "/print/index" path: "/print",
} children: [{
alwaysShow: true,
// { component: "index",
// alwaysShow: true, meta: {
// component: "statisticalReport", icon: "el-icon-help",
// meta: { title: "打印电子卡",
// icon: "el-icon-menu", },
// title: "", name: "/print/index",
// }, path: "/print/index",
// name: "/statisticalReport/index", },
// path: "/statisticalReport/index", {
// children: [ alwaysShow: true,
component: "print",
meta: {
icon: "el-icon-menu",
title: "打印企业卡",
},
name: "/print/enterpriseCrad",
path: "/print/enterpriseCrad"
},
]
},
// {
// alwaysShow: true,
// component: "index",
// meta: {
// icon: "el-icon-help",
// title: "",
// },
// name: "/statisticalReport/index",
// path: "/statisticalReport/index",
// },
// {
// alwaysShow: true,
// component: "collectionSummary",
// meta: {
// icon: "el-icon-help",
// title: "",
// },
// name: "/statisticalReport/collectionSummary",
// path: "/statisticalReport/collectionSummary",
// },
// {
// alwaysShow: true,
// component: "deliveryDetails",
// meta: {
// icon: "el-icon-help",
// title: "",
// },
// name: "/statisticalReport/deliveryDetails",
// path: "/statisticalReport/deliveryDetails",
// },
// ]
// },
], ],
}; };
}, },

10
src/router/index.js

@ -287,7 +287,15 @@ export const constantRoutes = [{
meta: { meta: {
title: '打印电子卡' title: '打印电子卡'
} }
}, ] }, {
path: '/print/enterpriseCrad',
component: () =>
import('@/views/print/enterpriseCrad.vue'),
name: 'enterpriseCrad',
meta: {
title: '打印企业卡'
}
},]
}, },

56
src/views/print/enterpriseCrad.vue

@ -0,0 +1,56 @@
<template>
<div class="main-content">
<!-- <div class="container">
<div class="tab-header">
<el-form :inline="true" :model="page.params" class="demo-form-inline">
<el-row :gutter="20">
<el-col :span="21">
<el-form-item label="起始序列号">
<el-input v-model="page.params.startnum" placeholder="" clearable />
</el-form-item>
<el-form-item label="结束序列号">
<el-input v-model="page.params.endnum" placeholder="" clearable />
</el-form-item>
<el-button type="primary" @click="getPageList()"> </el-button>
</el-col>
</el-row>
</el-form>
</div>
-->
<div style="margin-top: 20px; width: 100%;height: 100%;">
<iframe :src="spUrl" id="ysOpenDevice" width="100%" height="100%" allowfullscreen>
</iframe>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'SupplierBankInfoIndex',
data() {
return {
page:{
params:{
startnum:"",
endnum:""
}
},
spUrl:process.env.VUE_APP_REPORT_URL+ "/jmreport/view/905306587114299392",
}
},
created() {
console.log("aaaaaa",process.env.VUE_APP_REPORT_URL)
},
methods: {
}
}
</script>
<style scoped>
</style>
Loading…
Cancel
Save