From 15837ce5d629a3c8939d24e72ea2457047713306 Mon Sep 17 00:00:00 2001 From: 18650502300 <18650502300@163.com> Date: Tue, 29 Oct 2024 14:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/deliveryOrder/index.vue | 17 +++++------------ src/views/system/detail/index.vue | 10 ++++++---- src/views/system/device/index.vue | 14 +++++++------- 3 files changed, 18 insertions(+), 23 deletions(-) diff --git a/src/views/system/deliveryOrder/index.vue b/src/views/system/deliveryOrder/index.vue index 3d85bd3..449e8ce 100644 --- a/src/views/system/deliveryOrder/index.vue +++ b/src/views/system/deliveryOrder/index.vue @@ -9,17 +9,17 @@ @keyup.enter.native="handleQuery" /> - + - + - - -
- + - + { - this.hardwareVersionOptions = response.rows; - this.loading2 = false; - }); + this.userName = this.$store.state.user.name; + if (this.userName === "admin") { + listHardwareVersion(this.queryParams).then(response => { + this.hardwareVersionOptions = response.rows; + this.loading2 = false; + }); + } console.log("当前用户信息:",this.$store.state.user.name) const sn = this.$route.params && this.$route.params.sn; const vehicleNum = this.$route.params && this.$route.params.vehicleNum; @@ -656,9 +658,7 @@ export default { }); options.splice(4, 0, mergedObj); this.statusOptions = options; - // console.log("statusOptions------",this.statusOptions) }); - this.userName = this.$store.state.user.name; this.getList(); this.getlistModel() this.getlistStore()