From 49890f74f09c5f132380c0a3d41982a8e924096a Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 11 十月 2023 16:54:30 +0800
Subject: [PATCH] modified: src/App.vue new file: src/components/view/carrierContract.vue new file: src/components/view/carrierManagement.vue new file: src/components/view/carrierMetrics.vue new file: src/components/view/freightSettlement.vue modified: src/components/view/index-index.vue new file: src/components/view/invoiceVerification.vue new file: src/components/view/locationCardManagement.vue new file: src/components/view/receiptPeriod.vue new file: src/components/view/receiptStatistics.vue new file: src/components/view/receiptVerification.vue new file: src/components/view/reconciliationTransactions.vue new file: src/components/view/shipmentOperate.vue new file: src/components/view/shipmentRequest.vue new file: src/components/view/shipmentTabulation.vue new file: src/components/view/shipmentTrack.vue new file: src/components/view/trackAppointment.vue new file: src/components/view/vehicleStatistics.vue modified: src/main.js modified: src/view/enter.vue modified: src/view/index.vue new file: static/img/lg.png new file: static/img/logor.png new file: static/img/shouye.png
---
src/components/view/carrierManagement.vue | 15 ++
src/components/view/carrierMetrics.vue | 13 +
static/img/logor.png | 0
static/img/lg.png | 0
src/components/view/vehicleStatistics.vue | 13 +
src/components/view/locationCardManagement.vue | 13 +
src/components/view/freightSettlement.vue | 13 +
src/components/view/invoiceVerification.vue | 13 +
src/components/view/receiptVerification.vue | 13 +
src/view/index.vue | 155 ++++++++++++++++++++-
src/components/view/receiptPeriod.vue | 13 +
src/view/enter.vue | 4
src/components/view/trackAppointment.vue | 13 +
src/main.js | 22 +-
src/components/view/shipmentOperate.vue | 13 +
src/components/view/shipmentRequest.vue | 13 +
src/components/view/carrierContract.vue | 13 +
src/components/view/shipmentTabulation.vue | 13 +
src/components/view/receiptStatistics.vue | 13 +
src/App.vue | 2
src/components/view/index-index.vue | 4
src/components/view/reconciliationTransactions.vue | 13 +
src/components/view/shipmentTrack.vue | 13 +
static/img/shouye.png | 0
24 files changed, 371 insertions(+), 26 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index ed3b4f5..852002a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -26,7 +26,7 @@
</script>
<style>
/* @import url("../static/img/alifont/iconfont.css"); */
-@import url("//at.alicdn.com/t/c/font_4179845_pixkgb97c4p.css");
+@import url("//at.alicdn.com/t/c/font_4281775_1onp267azqn.css");
* {
margin: 0;
diff --git a/src/components/view/carrierContract.vue b/src/components/view/carrierContract.vue
new file mode 100644
index 0000000..f203704
--- /dev/null
+++ b/src/components/view/carrierContract.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鎵胯繍鍟嗗悎鍚岀鐞�</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/carrierManagement.vue b/src/components/view/carrierManagement.vue
new file mode 100644
index 0000000..85882ee
--- /dev/null
+++ b/src/components/view/carrierManagement.vue
@@ -0,0 +1,15 @@
+<template>
+ <div>
+ 鎵胯繍鍟嗙鐞�
+ </div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/carrierMetrics.vue b/src/components/view/carrierMetrics.vue
new file mode 100644
index 0000000..5547b29
--- /dev/null
+++ b/src/components/view/carrierMetrics.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鎵胯繍鍟嗘寚鏍囨煡璇�</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/freightSettlement.vue b/src/components/view/freightSettlement.vue
new file mode 100644
index 0000000..148a7c9
--- /dev/null
+++ b/src/components/view/freightSettlement.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>杩愯垂缁撶畻</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/index-index.vue b/src/components/view/index-index.vue
index 479fcde..39524b9 100644
--- a/src/components/view/index-index.vue
+++ b/src/components/view/index-index.vue
@@ -2,7 +2,9 @@
</style>
<template>
- <div class="index">棣栭〉</div>
+ <div class="index">
+ <img style="width: 100%;height: 100%;" src="../../../static/img/shouye.png"/>
+ </div>
</template>
<script>
diff --git a/src/components/view/invoiceVerification.vue b/src/components/view/invoiceVerification.vue
new file mode 100644
index 0000000..c85c1ac
--- /dev/null
+++ b/src/components/view/invoiceVerification.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍒扮エ鏍搁攢</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/locationCardManagement.vue b/src/components/view/locationCardManagement.vue
new file mode 100644
index 0000000..8ec0be7
--- /dev/null
+++ b/src/components/view/locationCardManagement.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>瀹氫綅鍗$鐞�</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/receiptPeriod.vue b/src/components/view/receiptPeriod.vue
new file mode 100644
index 0000000..2ec9b4a
--- /dev/null
+++ b/src/components/view/receiptPeriod.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍥炲崟鍛ㄦ湡缁存姢</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/receiptStatistics.vue b/src/components/view/receiptStatistics.vue
new file mode 100644
index 0000000..d9614c5
--- /dev/null
+++ b/src/components/view/receiptStatistics.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍥炲崟鍙婃椂鐜囩粺璁�</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/receiptVerification.vue b/src/components/view/receiptVerification.vue
new file mode 100644
index 0000000..bce2a9d
--- /dev/null
+++ b/src/components/view/receiptVerification.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍥炲崟鏍搁攢</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/reconciliationTransactions.vue b/src/components/view/reconciliationTransactions.vue
new file mode 100644
index 0000000..df4c5c6
--- /dev/null
+++ b/src/components/view/reconciliationTransactions.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>寰�鏉ユ牳瀵�</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/shipmentOperate.vue b/src/components/view/shipmentOperate.vue
new file mode 100644
index 0000000..69147ca
--- /dev/null
+++ b/src/components/view/shipmentOperate.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍙戣揣鎿嶄綔</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/shipmentRequest.vue b/src/components/view/shipmentRequest.vue
new file mode 100644
index 0000000..2af8e33
--- /dev/null
+++ b/src/components/view/shipmentRequest.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍙戣揣鐢宠</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/shipmentTabulation.vue b/src/components/view/shipmentTabulation.vue
new file mode 100644
index 0000000..33d8f6d
--- /dev/null
+++ b/src/components/view/shipmentTabulation.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍙戣揣鍒楄〃</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/shipmentTrack.vue b/src/components/view/shipmentTrack.vue
new file mode 100644
index 0000000..346853b
--- /dev/null
+++ b/src/components/view/shipmentTrack.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鍙戣揣璺熻釜</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/trackAppointment.vue b/src/components/view/trackAppointment.vue
new file mode 100644
index 0000000..a7551d7
--- /dev/null
+++ b/src/components/view/trackAppointment.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>璐ц溅棰勭害</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/components/view/vehicleStatistics.vue b/src/components/view/vehicleStatistics.vue
new file mode 100644
index 0000000..abbd9a8
--- /dev/null
+++ b/src/components/view/vehicleStatistics.vue
@@ -0,0 +1,13 @@
+<template>
+ <div>鏁磋溅鐜囩粺璁�</div>
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index a66b6be..5938e77 100644
--- a/src/main.js
+++ b/src/main.js
@@ -93,17 +93,17 @@
return Promise.reject(err)
})
-router.beforeEach((to, from, next) => {
- if (to.path.indexOf('/enter') != 0) {
- if (sessionStorage.getItem('token') == null || sessionStorage.getItem('token') == '' || sessionStorage.getItem(
- 'token') == undefined) {
- next({
- path: '/enter'
- })
- }
- }
- next()
-});
+// router.beforeEach((to, from, next) => {
+// if (to.path.indexOf('/enter') != 0) {
+// if (sessionStorage.getItem('token') == null || sessionStorage.getItem('token') == '' || sessionStorage.getItem(
+// 'token') == undefined) {
+// next({
+// path: '/enter'
+// })
+// }
+// }
+// next()
+// });
new Vue({
el: '#app',
diff --git a/src/view/enter.vue b/src/view/enter.vue
index 0ebe6e7..80c445a 100644
--- a/src/view/enter.vue
+++ b/src/view/enter.vue
@@ -102,7 +102,7 @@
<div class="right">
<div style="width: calc(100% - 100px * 2);">
<div class="title_big">娆㈣繋鎮ㄧ櫥褰曪紒</div>
- <div class="title_small">楣撻洀绉戞妧鎶�鏈鏋剁郴缁�</div>
+ <div class="title_small">鐟炵繑鏂版潗</div>
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="elform" :hide-required-asterisk="true">
<el-form-item label="鐢ㄦ埛鍚�" prop="account">
<el-input v-model="ruleForm.account" placeholder="璇疯緭鍏ヨ处鍙�" clearable></el-input>
@@ -169,6 +169,8 @@
this.btnload = true
this.$refs[formName].validate((valid) => {
if (valid) {
+ this.$router.push('/')
+ return
this.axios.post(this.$api.login.enter, {
account: this.ruleForm.account,
password: this.ruleForm.pwd
diff --git a/src/view/index.vue b/src/view/index.vue
index 98c2d4a..f55855d 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -16,7 +16,7 @@
}
.logo {
- width: 130px;
+ width: 140px;
}
.logo img {
@@ -66,8 +66,8 @@
.left .box {
color: #fff;
- width: 68px;
- height: 68px;
+ width: 71px;
+ height: 75px;
margin: 8px 0;
cursor: pointer;
display: flex;
@@ -209,9 +209,9 @@
<div class="all">
<div class="title">
<div class="logo">
- <img src="../../static/img/logo 1.png" />
+ <img src="../../static/img/lg.png" />
</div>
- <div class="label">楣撻洀鎶�鏈鏋剁郴缁�</div>
+ <div class="label">鐟炵繑鏂版潗TMS绯荤粺</div>
<div class="user">
<el-avatar :size="24">{{ userName.substring(0, 1) }}</el-avatar>
<span>{{ userName }}</span>
@@ -288,19 +288,150 @@
}]
},
{
+ k: 2,
+ v: "鎵胯繍鍟嗙鐞�",
+ i: "font icon-kuguanfahuo",
+ c: [{
+ k: 3,
+ v: "鎵胯繍鍟嗙鐞�",
+ i: "font icon-bodanguanli",
+ u: "carrierManagement"
+ },{
+ k: 3,
+ v: "鎵胯繍鍟嗗悎鍚岀鐞�",
+ i: "font icon-icon-contract",
+ u: "carrierContract"
+ }]
+ },
+ {
k: 1,
- v: "鎶�鏈鐞�",
- i: "font icon-shouye",
+ v: "杩愯緭绠$悊",
+ i: "font icon-yunyingguanli_tieziguanli",
c: [{
k: 1,
- v: "鏍囧噯BOM",
- i: "font icon-shouye",
+ v: "鍙戣揣鐢宠",
+ i: "font icon-bodanguanli",
+ u: "shipmentRequest"
+ },
+ {
+ k: 2,
+ v: "鍙戣揣鎿嶄綔",
+ i: "font icon-bodanguanli",
+ u: "shipmentOperate"
+ },
+ {
+ k: 3,
+ v: "鍙戣揣鍒楄〃",
+ i: "font icon-bodanguanli",
+ u: "shipmentTabulation"
+ },
+
+ {
+ k: 5,
+ v: "鍙戣揣璺熻釜",
+ i: "font icon-bodanguanli",
+ u: "shipmentTrack"
+ },{
+ k: 6,
+ v: "鍒扮エ鏍搁攢",
+ i: "font icon-bodanguanli",
+ u: "invoiceVerification"
+ },
+
+ {
+ k: 7,
+ v: "杩愯垂缁撶畻",
+ i: "font icon-bodanguanli",
+ u: "freightSettlement"
+ },
+ {
+ k: 8,
+ v: "寰�鏉ユ牳瀵�",
+ i: "font icon-bodanguanli",
+ u: "reconciliationTransactions"
+ },
+ {
+ k: 9,
+ v: "鍥炲崟鏍搁攢",
+ i: "font icon-bodanguanli",
+ u: "receiptVerification"
+ },
+
+ {
+ k: 10,
+ v: "鍥炲崟鍙婃椂鐜囩粺璁�",
+ i: "font icon-bodanguanli",
+ u: "receiptStatistics"
+ },{
+ k: 11,
+ v: "鏁磋溅鐜囩粺璁�",
+ i: "font icon-bodanguanli",
+ u: "vehicleStatistics"
+ },
+ {
+ k: 12,
+ v: "瀹氫綅鍗$鐞�",
+ i: "font icon-bodanguanli",
+ u: "locationCardManagement"
+ },
+ {
+ k: 13,
+ v: "璐ц溅棰勭害",
+ i: "font icon-bodanguanli",
+ u: "trackAppointment"
+ },
+ ]
+ },
+ {
+ k: 3,
+ v: "鎵胯繍鍟嗚�冩牳",
+ i: "font icon-wodekaohe",
+ c: [{
+ k: 1,
+ v: "鎵胯繍鍟嗘寚鏍囨煡璇�",
+ i: "font icon-bodanguanli",
+ u: "carrierMetrics"
+ },
+ {
+ k: 2,
+ v: "鍥炲崟鍛ㄦ湡缁存姢",
+ i: "font icon-bodanguanli",
+ u: "receiptPeriod"
+ }
+ ]
+ },
+ {
+ k: 4,
+ v: "绯荤粺閰嶇疆",
+ i: "el-icon-s-tools",
+ c: [{
+ k: 1,
+ v: "瀹氫綅鍗¢鐢ㄧ鐞�",
+ i: "font icon-bodanguanli",
u: ""
},
{
k: 2,
- v: "璁㈠崟BOM",
- i: "font icon-shouye",
+ v: "瀹氫綅鍗″洖鏀剁鐞�",
+ i: "font icon-bodanguanli",
+ u: ""
+ },
+ {
+ k: 3,
+ v: "杞﹂暱鍗曚环缁存姢",
+ i: "font icon-bodanguanli",
+ u: ""
+ },
+ {
+ k: 4,
+ v: "閰嶈浇鍗曚环缁存姢",
+ i: "font icon-bodanguanli",
+ u: ""
+ },
+ {
+ k: 5,
+ v: "涓撹溅浠风淮鎶�",
+ i: "font icon-bodanguanli",
u: ""
}
]
@@ -320,7 +451,7 @@
},
created() {},
mounted() {
- this.userName = JSON.parse(localStorage.getItem("user")).name;
+ // this.userName = JSON.parse(localStorage.getItem("user")).name;
},
methods: {
addTab(ob) {
diff --git a/static/img/lg.png b/static/img/lg.png
new file mode 100644
index 0000000..a3242f2
--- /dev/null
+++ b/static/img/lg.png
Binary files differ
diff --git a/static/img/logor.png b/static/img/logor.png
new file mode 100644
index 0000000..3b84d34
--- /dev/null
+++ b/static/img/logor.png
Binary files differ
diff --git a/static/img/shouye.png b/static/img/shouye.png
new file mode 100644
index 0000000..e03a359
--- /dev/null
+++ b/static/img/shouye.png
Binary files differ
--
Gitblit v1.9.3