From 901b2ab3e0e7c592602848cfa256f34c5b0c7bb8 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期四, 11 一月 2024 09:57:01 +0800
Subject: [PATCH] #
---
zy-asrs-openapi/src/main/webapp/views/index.html | 62 ++++++++++++++++++++++--------
1 files changed, 45 insertions(+), 17 deletions(-)
diff --git a/zy-asrs-openapi/src/main/webapp/views/index.html b/zy-asrs-openapi/src/main/webapp/views/index.html
index ad90b99..0c1c354 100644
--- a/zy-asrs-openapi/src/main/webapp/views/index.html
+++ b/zy-asrs-openapi/src/main/webapp/views/index.html
@@ -13,16 +13,43 @@
</head>
<body>
<div id="app">
- <div id="content"></div>
+ <div id="content">
+ <div class="content-header">
+ <div><img src="../static/images/zy-logo.png" class="header-logo"></div>
+ <h1>API寮�鏀惧钩鍙皏1.0</h1>
+ </div>
+ <div class="content-body">
+ <div>
+ <div>
+ <img src="../static/images/generateOrderPakIn.png" style="width: 640px;height: 740px;">
+ </div>
+ <div class="content-desc">鐢熸垚鍏ュ簱璁㈠崟</div>
+ </div>
+ <div>
+ <img src="../static/images/generateOrderPakOut.png" style="width: 640px;height: 740px;">
+ <div class="content-desc">鐢熸垚鍑哄簱璁㈠崟</div>
+ </div>
+ <div>
+ <img src="../static/images/createMat.png" style="width: 640px;height: 740px;">
+ <div class="content-desc">娣诲姞鐗╂枡</div>
+ </div>
+ </div>
+ </div>
<div class="slider">
- <div><el-button type="text" @click="switchPage('index.html')">瑙勮寖璇存槑</el-button></div>
+ <div><el-button type="text" @click="switchPage('index.html')">绠�浠�</el-button></div>
+ <div><el-button type="text" @click="switchPage('default.html')">瑙勮寖璇存槑</el-button></div>
<el-divider></el-divider>
- <div><el-button type="text" @click="switchPage('reportCompleted.html')">浠诲姟瀹屾垚涓婃姤</el-button></div>
- <div><el-button type="text" @click="switchPage('reportCompleted.html')">浠诲姟鍙栨秷涓婃姤</el-button></div>
- <div><el-button type="text" @click="switchPage('reportCompleted.html')">搴撳瓨涓婃姤</el-button></div>
+ <div><el-button type="text" @click="switchPage('reportCompleted.html')">璁㈠崟瀹屾垚涓婃姤</el-button></div>
+ <div><el-button type="text" @click="switchPage('reportCancel.html')">璁㈠崟鍙栨秷涓婃姤</el-button></div>
+ <div><el-button type="text" @click="switchPage('reportStock.html')">搴撳瓨涓婃姤</el-button></div>
<div><el-button type="text" @click="switchPage('reportApiManage.html')">涓婃姤API绠$悊</el-button></div>
<el-divider></el-divider>
- <div><el-button type="text" @click="switchPage('generatePakIn.html')">鐢熸垚鍏ュ簱璁㈠崟</el-button></div>
+ <div><el-button type="text" @click="switchPage('getOrderType.html')">鑾峰彇璁㈠崟绫诲瀷</el-button></div>
+ <div><el-button type="text" @click="switchPage('getOrderStatus.html')">鑾峰彇璁㈠崟鐘舵�佸垪琛�</el-button></div>
+ <div><el-button type="text" @click="switchPage('getOrderList.html')">鑾峰彇璁㈠崟鍒楄〃</el-button></div>
+ <div><el-button type="text" @click="switchPage('generateOrderPakIn.html')">鐢熸垚鍏ュ簱璁㈠崟</el-button></div>
+ <div><el-button type="text" @click="switchPage('generateOrderPakOut.html')">鐢熸垚鍑哄簱璁㈠崟</el-button></div>
+ <div><el-button type="text" @click="switchPage('createMat.html')">娣诲姞鐗╂枡淇℃伅</el-button></div>
<el-divider></el-divider>
<div><el-button type="text" @click="keyList()">瀵嗛挜绠$悊</el-button></div>
</div>
@@ -59,6 +86,7 @@
keyTableVisible: false,
keyTableData: [],
loading: true,
+ activeIndex: '1'
},
created() {
this.init()
@@ -68,16 +96,16 @@
this.introduceClick()
},
introduceClick() {
- $.ajax({
- url: "md/introduce.md",
- headers: {'token': localStorage.getItem('token')},
- method: 'GET',
- success: function (res) {
- // $("#content").html(marked.parse(res))
- // console.log(converter.makeHtml(res))
- $("#content").html(converter.makeHtml(res))
- }
- });
+ // $.ajax({
+ // url: "md/introduce.md",
+ // headers: {'token': localStorage.getItem('token')},
+ // method: 'GET',
+ // success: function (res) {
+ // // $("#content").html(marked.parse(res))
+ // // console.log(converter.makeHtml(res))
+ // $("#content").html(converter.makeHtml(res))
+ // }
+ // });
},
keyList() {
let that = this
@@ -210,7 +238,7 @@
},
switchPage(url) {
location.href = url
- },
+ }
}
})
</script>
--
Gitblit v1.9.1