From 3c83c816d9f617e8f0e69fb03c95da44b118e122 Mon Sep 17 00:00:00 2001
From: lSun <15893999301@qq.com>
Date: Fri, 1 Nov 2024 15:08:36 +0800
Subject: [PATCH] =?UTF-8?q?rfid=E6=89=AB=E6=8F=8F=E7=AE=A1=E7=90=86-lSun?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apis/request.js | 20 +-
.../backMaterialReceiveDetail.vue | 17 +-
pages/exitExam/exitExam.vue | 4 +-
pages/exitMaterial/exitMaterial.vue | 4 +-
pages/fetchExam/fetchExam.vue | 4 +-
.../fetchMaterialOutStoreDetail.vue | 2 +-
pages/index/index.vue | 8 +-
pages/rfidBinding/rfidBinding.vue | 428 ++++++++++++++----
pages/rfidOutStore/rfidOutStore.vue | 190 +++++---
pages/rfidReceive/rfidReceive.vue | 185 +++++---
pages/user/user.vue | 4 +-
pages/workSpace/workSpace.vue | 7 +-
router.js | 14 +-
13 files changed, 639 insertions(+), 248 deletions(-)
diff --git a/apis/request.js b/apis/request.js
index e776583..d21491a 100644
--- a/apis/request.js
+++ b/apis/request.js
@@ -19,8 +19,8 @@ class Http {
title: "登录状态过期,请重新登录!",
success: () => {
uni.reLaunch({
- // url: "/pages/login/login",
- url: "/pages/nwLogin/index",
+ url: "/pages/login/login",
+ // url: "/pages/nwLogin/index",
});
},
});
@@ -56,8 +56,8 @@ class Http {
title: "登录状态过期,请重新登录!",
success: () => {
uni.reLaunch({
- // url: "/pages/login/login",
- url: "/pages/nwLogin/index",
+ url: "/pages/login/login",
+ // url: "/pages/nwLogin/index",
});
},
});
@@ -93,8 +93,8 @@ class Http {
title: "登录状态过期,请重新登录!",
success: () => {
uni.reLaunch({
- // url: "/pages/login/login",
- url: "/pages/nwLogin/index",
+ url: "/pages/login/login",
+ // url: "/pages/nwLogin/index",
});
},
});
@@ -129,8 +129,8 @@ class Http {
title: "登录状态过期,请重新登录!",
success: () => {
uni.reLaunch({
- // url: "/pages/login/login",
- url: "/pages/nwLogin/index",
+ url: "/pages/login/login",
+ // url: "/pages/nwLogin/index",
});
},
});
@@ -163,8 +163,8 @@ class Http {
title: "登录状态过期,请重新登录!",
success: () => {
uni.reLaunch({
- // url: "/pages/login/login",
- url: "/pages/nwLogin/index",
+ url: "/pages/login/login",
+ // url: "/pages/nwLogin/index",
});
},
});
diff --git a/pages/backMaterialReceiveDetail/backMaterialReceiveDetail.vue b/pages/backMaterialReceiveDetail/backMaterialReceiveDetail.vue
index dbccee2..a5b5cc6 100644
--- a/pages/backMaterialReceiveDetail/backMaterialReceiveDetail.vue
+++ b/pages/backMaterialReceiveDetail/backMaterialReceiveDetail.vue
@@ -25,12 +25,13 @@
待退料数量
{{ fetch.maxBackNum }}
+
+ >
点击退料
@@ -42,10 +43,11 @@
全选
-->
+
+ >
完成退料
@@ -72,7 +74,7 @@
二维码
编码接收
-
+ RFID接收
+ RFID出库
+
+
+
+
+
+
+
+
+
+
+
+ 标签编号:
+ {{ qrcode }}
+
+
+
+
+
+
+ RFID:
+
+
+
+
+
+
+
+
+
+
+
+
{{ promptMessage }}
+
+
+
开始识别
- 绑定
+ 绑定
+ 绑定
@@ -71,94 +101,156 @@
data() {
return {
showStats: false,
+ showDev: false,
+ showBid: true,
rfidCode: '',
maId: '',
maCode: '',
powerVal: 0,
powerRange: [
-
+
],
- bindStats: {}
+ bindStats: {},
+ showLoading: false,
+ qrFormData: {
+ typeVal: '',
+ specVal: '',
+ deviceCode: ''
+ },
+ rules: {
+ typeVal: {
+ rules: [{
+ required: true,
+ errorMessage: '请输设备类型!'
+ }]
+ },
+ specVal: {
+ rules: [{
+ required: true,
+ errorMessage: '请输规格型号!'
+ }]
+ },
+ deviceCode: {
+ rules: [{
+ required: true,
+ errorMessage: '请输设备编号!'
+ }]
+ },
+ },
+
+ qrcode: '',
+ typeRange: [],
+ specRange: [],
+ rfid: '',
+
+ showPrompt: false, // 控制提示框的显示状态
+ promptMessage: '' // 存储提示信息
}
},
methods: {
- startVeri () {
+ startVeri() {
let that = this
- let goVeri = rfidMod.redTag()
- console.log(goVeri);
- if (goVeri.code == 1001) {
- that.rfidCode = goVeri.res
- uni.showToast({
- icon: 'none',
- title: '识别成功',
- success: () => {
- // 调用编码获取设备信息
- that.$api.fetchMaterialOutStore.searchRfid({
- rfidCode: goVeri.res
- }).then(res => {
- console.log(res);
- if (res.data.code == 200) {
- that.bindStats = res.data.data[0]
- that.maCode = res.data.data[0].maCode
- that.maId = res.data.data[0].maId
- that.showStats = true
- }
- }).catch(err => {
- console.log(err);
- })
- }
- })
- } else if (goVeri.code == 1000) {
- that.showLoading = false
- uni.showToast({
- icon: 'none',
- title: '获取设备信息失败,请重新扫描!'
- })
- }
+ that.showPrompt = true;
+ that.promptMessage = '识别中,请稍候...';
+
+ // 延迟关闭提示,显示Toast
+ setTimeout(() => {
+ let goVeri = rfidMod.redTag()
+ console.log(goVeri);
+ if (goVeri.code == 1001) {
+ that.showPrompt = false; // 关闭提示
+ that.rfidCode = goVeri.res
+ uni.showToast({
+ icon: 'none',
+ title: '识别成功',
+ success: () => {
+ // 调用编码获取设备信息
+ that.$api.fetchMaterialOutStore.searchRfid({
+ rfidCode: goVeri.res
+ }).then(res => {
+ console.log(res);
+ console.log(res.data.data[0]);
+
+ if (res.data.data.length > 0) {
+ that.bindStats = res.data.data[0]
+ that.maCode = res.data.data[0].maCode
+ that.maId = res.data.data[0].maId
+ that.showStats = true
+ that.showDev = false
+ that.showBid = true
+ } else {
+ that.showDev = true
+ that.showBid = false
+ that.showStats = false
+ that.rfid = that.rfidCode
+ }
+ }).catch(err => {
+ console.log(err);
+ })
+ }
+ })
+ } else if (goVeri.code == 1000) {
+ that.showPrompt = false; // 关闭提示
+ that.showLoading = false
+ uni.showToast({
+ icon: 'none',
+ title: '获取设备信息失败,请重新扫描!'
+ })
+ }
+ }, 1000)
},
- toggleBind () {
+ toggleBind() {
let that = this
- if (that.maCode == '' || that.maId == '') {
- uni.showToast({
- icon: 'none',
- title: '未识别到绑定设备!'
- })
- } else {
- that.$api.rfidBinding.bindRfid({
- rfidCode: that.rfidCode,
- maId: that.maId,
- maCode: that.maCode,
- }).then(res => {
- console.log(res);
- if (res.data.code == 200) {
- uni.showToast({
- icon: 'none',
- title: res.data.msg,
- success: () => {
- uni.switchTab({
- url: '/pages/workSpace/workSpace'
- })
- }
- })
- } else {
- uni.showToast({
- icon: 'none',
- title: res.data.msg
- })
- }
- }).catch(err => {
- console.log(err);
- })
- }
+ this.showPrompt = true;
+ this.promptMessage = '正在绑定,请稍候...';
+ // 延迟关闭提示,显示Toast
+ setTimeout(() => {
+
+ if (that.maCode == '' || that.maId == '') {
+ this.showPrompt = false; // 关闭提示
+ uni.showToast({
+ icon: 'none',
+ title: '未识别到绑定设备!'
+ })
+ } else {
+ that.$api.rfidBinding.bindRfid({
+ rfidCode: that.rfidCode,
+ maId: that.maId,
+ maCode: that.maCode,
+ }).then(res => {
+ this.showPrompt = false; // 关闭提示
+ console.log(res);
+ if (res.data.code == 200) {
+ uni.showToast({
+ icon: 'none',
+ title: res.data.msg,
+ success: () => {
+ uni.switchTab({
+ url: '/pages/workSpace/workSpace'
+ })
+ }
+ })
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: res.data.msg
+ })
+ }
+ }).catch(err => {
+ this.showPrompt = false; // 关闭提示
+ console.log(err);
+ })
+ }
+ }, 1000)
},
- clearStat () {
+ clearStat() {
let that = this
that.rfidCode = ''
that.maCode = ''
that.maId = ''
that.showStats = false
},
- powerChange (e) {
+ powerChange(e) {
console.log(e);
const ctrlPower = rfidMod.setPower(e)
console.log(ctrlPower);
@@ -166,7 +258,88 @@
icon: 'none',
title: ctrlPower.res
})
+ },
+ // 根据设备类型获取规格类型
+ typeChange(e) {
+ let that = this
+ console.log(e);
+ // 根据设备类型获取规格类型
+ that.$api.qrcodeBinding.fetchDeviceSpec({
+ level: '4',
+ parentId: String(e.value)
+ }).then(res => {
+ console.log(res);
+ if (res.data.code == 200) {
+ that.specRange = res.data.data.map(item => {
+ return {
+ text: item['typeName'],
+ value: item['typeId'],
+ code: item['code'],
+ modelCode: item['modelCode']
+ }
+ })
+ }
+ }).catch(err => {
+ console.log(err);
+ })
+ },
+
+ specChange(e) {
+ let that = this
+ console.log(e, that.specRange);
+ const confirmedRange = that.specRange.filter(item => {
+ return item.value == e
+ })
+ console.log(confirmedRange);
+ if (confirmedRange[0].code && confirmedRange[0].modelCode) {
+ that.qrFormData.deviceCode = `NS${confirmedRange[0].code}${confirmedRange[0].modelCode}`
+ } else {
+ that.qrFormData.deviceCode = ''
+ }
+
+ },
+ toggleBinds() {
+ let that = this
+
+ this.showPrompt = true;
+ this.promptMessage = '识别中,请稍候...';
+ // 延迟关闭提示,显示Toast
+ setTimeout(() => {
+ that.$refs.qrForm.validate().then(formData => {
+ that.showLoading = true
+ console.log(formData);
+ that.$api.rfidBinding.bindRfid({
+ rfidCode: that.rfidCode,
+ maCode: formData.deviceCode,
+ }).then(res => {
+ this.showPrompt = false; // 关闭提示
+ console.log(res);
+ if (res.data.code == 200) {
+ that.showLoading = false
+ uni.showToast({
+ icon: 'none',
+ title: res.data.msg,
+ success: () => {
+ uni.switchTab({
+ url: '/pages/workSpace/workSpace'
+ })
+ }
+ })
+ } else {
+ that.showLoading = false
+ uni.showToast({
+ icon: 'none',
+ title: res.data.msg
+ })
+ }
+ }).catch(err => {
+ this.showPrompt = false; // 关闭提示
+ console.log(err);
+ })
+ })
+ }, 1000)
}
+
},
onLoad() {
// 初始化rfid识别
@@ -179,12 +352,30 @@
text: String(i)
})
}
+
+ let that = this
+ // 获取机具设备类型
+ that.$api.qrcodeBinding.fetchDeviceType({
+ level: '3'
+ }).then(res => {
+ console.log(res);
+ if (res.data.code == 200) {
+ that.typeRange = res.data.data.map(item => {
+ return {
+ text: item['typeName'],
+ value: item['typeId']
+ }
+ })
+ }
+ }).catch(err => {
+ console.log(err);
+ })
}
}
+
+ // 添加新的加载效果样式
+ .custom-loading-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.5);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ z-index: 9999;
+ }
+
+ .custom-loading-content {
+ background-color: white;
+ padding: 20px;
+ border-radius: 10px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .custom-spinner {
+ width: 40px;
+ height: 40px;
+ border: 4px solid #f3f3f3;
+ border-top: 4px solid #3498db;
+ border-radius: 50%;
+ animation: spin 1s linear infinite;
+ margin-bottom: 10px;
+ }
+
\ No newline at end of file
diff --git a/pages/rfidOutStore/rfidOutStore.vue b/pages/rfidOutStore/rfidOutStore.vue
index 831b933..a5dc855 100644
--- a/pages/rfidOutStore/rfidOutStore.vue
+++ b/pages/rfidOutStore/rfidOutStore.vue
@@ -1,5 +1,16 @@
+
+
+
+
+
+
+
{{ promptMessage }}
+
+
+
+
开始识别
停止识别
@@ -9,14 +20,13 @@
待出库数:{{ waitOutNum }}
-
+
识别设备数:{{ veriDeviceNum }}
-
+
类型
规格
@@ -106,7 +116,9 @@
value: '3'
}
],
- showLoading: false
+ showLoading: false,
+ showPrompt: false, // 控制提示框的显示状态
+ promptMessage: '' // 存储提示信息
}
},
methods: {
@@ -120,7 +132,7 @@
})
console.log(that.selectedIndexs);
},
- openPop () {
+ openPop() {
let that = this
if (this.selectedIndexs.length == 0) {
uni.showToast({
@@ -158,7 +170,8 @@
// backStatus: that.fixVal,
// manageType: item['manageType'],
// createBy: uni.getStorageSync('userInfo').userid,
- maId: item['maId']
+ maId: item['maId'],
+ manageType:0
}
})
console.log(that.subList);
@@ -185,7 +198,7 @@
}
}
},
- confirmDevice () {
+ confirmDevice() {
let that = this
if (that.fixVal == '') {
uni.showToast({
@@ -210,10 +223,10 @@
}
console.log(param);
// 提交设备信息
-
+
}
},
- fixChange (e) {
+ fixChange(e) {
let that = this
that.subList = []
for (let i = 0; i < that.selectedIndexs.length; i++) {
@@ -249,42 +262,61 @@
console.log(that.subList);
}
}, */
- startVeri () {
+ startVeri() {
let that = this
- let goVeri = rfidMod.redTag()
- console.log(goVeri);
- if (goVeri.code == 1001) {
- that.showLoading = true
- uni.showToast({
- icon: 'none',
- title: '识别成功',
- success: () => {
- // 调用编码获取设备信息
- that.$api.fetchMaterialOutStore.searchRfid({
- rfidCode: goVeri.res
- }).then(res => {
- console.log(res);
- if (res.data.code == 200) {
- that.showLoading = false
- that.veriDeviceNum = that.veriDeviceNum + res.data.data.length
- for (let i = 0; i < res.data.data.length; i++) {
- that.tableData.push(res.data.data[i])
+ that.showPrompt = true;
+ that.promptMessage = '识别中,请稍候...';
+ // 延迟关闭提示,显示Toast
+ setTimeout(() => {
+ let b = rfidMod.initUHF()
+ console.log(b);
+ let goVeri = rfidMod.redTag()
+ console.log(goVeri);
+ if (goVeri.code == 1001) {
+ that.showLoading = true
+ that.showPrompt = false; // 关闭提示
+ uni.showToast({
+ icon: 'none',
+ title: '识别成功',
+ success: () => {
+ // 调用编码获取设备信息
+ that.$api.fetchMaterialOutStore.searchRfid({
+ rfidCode: goVeri.res
+ }).then(res => {
+ console.log(res);
+ if (res.data.code == 200) {
+
+ that.showLoading = false
+ that.veriDeviceNum = that.veriDeviceNum + res.data
+ .data
+ .length
+ if (res.data.data.length > 0) {
+ for (let i = 0; i < res.data.data.length; i++) {
+ that.tableData.push(res.data.data[i])
+ }
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: "未找到相关信息"
+ })
+ }
}
- }
- }).catch(err => {
- console.log(err);
- })
- }
- })
- } else if (goVeri.code == 1000) {
- that.showLoading = false
- uni.showToast({
- icon: 'none',
- title: '获取设备信息失败,请重新扫描!'
- })
- }
+ }).catch(err => {
+ console.log(err);
+ })
+ }
+ })
+ } else if (goVeri.code == 1000) {
+ that.showPrompt = false; // 关闭提示
+ that.showLoading = false
+ uni.showToast({
+ icon: 'none',
+ title: '获取设备信息失败,请重新扫描!'
+ })
+ }
+ }, 1000)
},
- stopVeri () {
+ stopVeri() {
let endVeri = rfidMod.closeRfid()
console.log(endVeri);
if (endVeri.code == 1001) {
@@ -292,9 +324,14 @@
icon: 'none',
title: endVeri.res
})
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: endVeri.res
+ })
}
},
- closePopup1 () {
+ closePopup1() {
this.fixVal = ''
this.$refs.popup1.close()
}
@@ -314,13 +351,14 @@
+
+ // 添加新的加载效果样式
+ .custom-loading-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.5);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ z-index: 9999;
+ }
+
+ .custom-loading-content {
+ background-color: white;
+ padding: 20px;
+ border-radius: 10px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .custom-spinner {
+ width: 40px;
+ height: 40px;
+ border: 4px solid #f3f3f3;
+ border-top: 4px solid #3498db;
+ border-radius: 50%;
+ animation: spin 1s linear infinite;
+ margin-bottom: 10px;
+ }
+
\ No newline at end of file
diff --git a/pages/rfidReceive/rfidReceive.vue b/pages/rfidReceive/rfidReceive.vue
index 095cc49..aba3c6a 100644
--- a/pages/rfidReceive/rfidReceive.vue
+++ b/pages/rfidReceive/rfidReceive.vue
@@ -1,5 +1,15 @@
+
+
+
+
+
+
+
{{ promptMessage }}
+
+
+
开始识别
停止识别
@@ -9,14 +19,13 @@
待出库数:{{ waitOutNum }}
-
+
识别设备数:{{ veriDeviceNum }}
-
+
类型
规格
@@ -106,7 +115,9 @@
value: '3'
}
],
- showLoading: false
+ showLoading: false,
+ showPrompt: false, // 控制提示框的显示状态
+ promptMessage: '' // 存储提示信息
}
},
methods: {
@@ -120,7 +131,7 @@
})
console.log(that.selectedIndexs);
},
- openPop () {
+ openPop() {
if (this.selectedIndexs.length == 0) {
uni.showToast({
icon: 'none',
@@ -130,8 +141,10 @@
this.$refs.popup1.open()
}
},
- confirmDevice () {
+ confirmDevice() {
let that = this
+ console.log(that.subList)
+ console.log(that.sendTypeId)
let ifAllRight = that.subList.some(item => {
return item.typeId != that.sendTypeId
})
@@ -191,7 +204,7 @@
})
}
},
- fixChange (e) {
+ fixChange(e) {
let that = this
that.subList = []
for (let i = 0; i < that.selectedIndexs.length; i++) {
@@ -227,42 +240,60 @@
console.log(that.subList);
}
}, */
- startVeri () {
+ startVeri() {
let that = this
- let goVeri = rfidMod.redTag()
- console.log(goVeri);
- if (goVeri.code == 1001) {
- that.showLoading = true
- uni.showToast({
- icon: 'none',
- title: '识别成功',
- success: () => {
- // 调用编码获取设备信息
- that.$api.backMaterialReceive.searchRfid({
- rfidCode: goVeri.res
- }).then(res => {
- console.log(res);
- if (res.data.code == 200) {
- that.showLoading = false
- that.veriDeviceNum = that.veriDeviceNum + res.data.data.length
- for (let i = 0; i < res.data.data.length; i++) {
- that.tableData.push(res.data.data[i])
+ that.showPrompt = true;
+ that.promptMessage = '识别中,请稍候...';
+ // 延迟关闭提示,显示Toast
+ setTimeout(() => {
+ let b = rfidMod.initUHF()
+ console.log(b);
+ let goVeri = rfidMod.redTag()
+ console.log(goVeri);
+ if (goVeri.code == 1001) {
+ that.showLoading = true
+ that.showPrompt = false; // 关闭提示
+ uni.showToast({
+ icon: 'none',
+ title: '识别成功',
+ success: () => {
+ // 调用编码获取设备信息
+ that.$api.backMaterialReceive.searchRfid({
+ rfidCode: goVeri.res
+ }).then(res => {
+ console.log(res);
+ if (res.data.code == 200) {
+ that.showLoading = false
+ that.veriDeviceNum = that.veriDeviceNum + res.data.data
+ .length
+ if (res.data.data.length > 0) {
+ for (let i = 0; i < res.data.data.length; i++) {
+ that.tableData.push(res.data.data[i])
+ }
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: "未找到相关信息"
+ })
+ }
+
}
- }
- }).catch(err => {
- console.log(err);
- })
- }
- })
- } else if (goVeri.code == 1000) {
- that.showLoading = false
- uni.showToast({
- icon: 'none',
- title: '获取设备信息失败,请重新扫描!'
- })
- }
+ }).catch(err => {
+ console.log(err);
+ })
+ }
+ })
+ } else if (goVeri.code == 1000) {
+ that.showPrompt = false; // 关闭提示
+ that.showLoading = false
+ uni.showToast({
+ icon: 'none',
+ title: '获取设备信息失败,请重新扫描!'
+ })
+ }
+ }, 1000)
},
- stopVeri () {
+ stopVeri() {
let endVeri = rfidMod.closeRfid()
console.log(endVeri);
if (endVeri.code == 1001) {
@@ -270,9 +301,14 @@
icon: 'none',
title: endVeri.res
})
+ } else {
+ uni.showToast({
+ icon: 'none',
+ title: endVeri.res
+ })
}
},
- closePopup1 () {
+ closePopup1() {
this.fixVal = ''
this.$refs.popup1.close()
}
@@ -292,13 +328,14 @@
+
+ // 添加新的加载效果样式
+ .custom-loading-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.5);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ z-index: 9999;
+ }
+
+ .custom-loading-content {
+ background-color: white;
+ padding: 20px;
+ border-radius: 10px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .custom-spinner {
+ width: 40px;
+ height: 40px;
+ border: 4px solid #f3f3f3;
+ border-top: 4px solid #3498db;
+ border-radius: 50%;
+ animation: spin 1s linear infinite;
+ margin-bottom: 10px;
+ }
+
\ No newline at end of file
diff --git a/pages/user/user.vue b/pages/user/user.vue
index 1a694f5..154b6bc 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -72,8 +72,8 @@
uni.removeStorageSync("token");
uni.removeStorageSync("userInfo");
uni.reLaunch({
- // url: "/pages/login/login",
- url: "/pages/nwLogin/index",
+ url: "/pages/login/login",
+ // url: "/pages/nwLogin/index",
});
}
},
diff --git a/pages/workSpace/workSpace.vue b/pages/workSpace/workSpace.vue
index b0bf914..5980804 100644
--- a/pages/workSpace/workSpace.vue
+++ b/pages/workSpace/workSpace.vue
@@ -88,11 +88,12 @@
url: "exitExam",
isShow: "*:*:*",
},
- /* {
+ {
name: 'RFID绑定',
pic: '/static/rfidBinding.png',
- url: 'rfidBinding'
- }, */
+ url: 'rfidBinding',
+ isShow: "*:*:*",
+ },
{
name: "二维码绑定",
pic: "/static/qrcodeBinding.png",
diff --git a/router.js b/router.js
index af71930..c6fa206 100644
--- a/router.js
+++ b/router.js
@@ -25,16 +25,16 @@ const router = createRouter({
},
},
// 重庆登录页
- // {
- // path: "/pages/login/login",
- // name: "login",
- // },
-
- // 南网登陆页
{
- path: "/pages/nwLogin/index",
+ path: "/pages/login/login",
name: "login",
},
+
+ // 南网登陆页
+ // {
+ // path: "/pages/nwLogin/index",
+ // name: "login",
+ // },
{
path: "/pages/fetchMaterial/fetchMaterial",
name: "fetchMaterial",