feat:线上增加二维码小工具

This commit is contained in:
Apple 2022-12-09 17:33:24 +08:00
parent aee7186813
commit 3af22afb8d
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,28 @@
import ReactDOM from "react-dom";
import React from "react";
import TabPage from "@/components/tabPage/main.js";
import './qrcode.less'
export default class acclist extends React.Component {
constructor(props) {
super(props);
this.state = {
roleList: [],
tabList: [{ title: "二维码小工具" }],
tableHeight: 600,
page: 1,
limit: 10,
total: 0,
};
}
render() {
return (
<div id="rolelist" className="qrcode-tool">
<TabPage tabs={this.state.tabList}>
<div className="table-container">
<iframe frameBorder="0" src="http://211.137.105.198:8099/qrcode/index/html#toolbar=0" width="100%" height="1200px"></iframe>
</div>
</TabPage>
</div>
);
}
}

View File

@ -0,0 +1,4 @@
.qrcode-tool{
height: 800px;
overflow: hidden;
}

View File

@ -11,6 +11,7 @@ import OrderDetails from "@/pages/order/more/more";
import OrderAdd from "@/pages/order/add/add"; import OrderAdd from "@/pages/order/add/add";
import Plan from "@/pages/plan/main/main"; import Plan from "@/pages/plan/main/main";
import PlanList from "@/pages/plan/list/list"; import PlanList from "@/pages/plan/list/list";
import Qrcode from "@/pages/plan/qrcode/qrcode";
import PlanAdd from "@/pages/plan/add/add"; import PlanAdd from "@/pages/plan/add/add";
import PlanEdit from "@/pages/plan/add/edit"; import PlanEdit from "@/pages/plan/add/edit";
import PlanEditCopy from "@/pages/plan/add/plan-copy"; import PlanEditCopy from "@/pages/plan/add/plan-copy";
@ -98,6 +99,11 @@ const router = [
component: PlanList, component: PlanList,
meta: { exact: true }, meta: { exact: true },
}, },
{
path: "/home/plan-qrcode",
component: Qrcode,
meta: { exact: true },
},
{ {
path: "/home/plan-create", path: "/home/plan-create",
component: PlanAdd, component: PlanAdd,