+
一键删除
隐藏状态栏
diff --git a/src/views/archivesManage/archivesList/module/archivesInfo/index.vue b/src/views/archivesManage/archivesList/module/archivesInfo/index.vue
index 89b7546..9f20511 100644
--- a/src/views/archivesManage/archivesList/module/archivesInfo/index.vue
+++ b/src/views/archivesManage/archivesList/module/archivesInfo/index.vue
@@ -101,8 +101,11 @@ export default {
deviceData: null
}
},
+ async created() {
+ await this.getDeviceListAll()
+ },
mounted() {
- this.getDeviceListAll()
+
},
methods: {
getDetial(rowId) {
@@ -169,22 +172,34 @@ export default {
},
// 开架
openCol() {
- const location = this.openLocation.split(' ')[2]
- const pattern = /(\d+)区(\d+)列(\d+)节/
+ const loactionArray = this.openLocation.split(' ')
+ const location = this.openLocation.split(' ')[loactionArray.length - 1]
+ const pattern = /(\d+)区(\d+)列(\d+)节(\d+)层/
const matches = location.match(pattern)
let areaNumber
let colNumber
+ let leNumber
+ let divNumber
+ let zyNumber
if (matches !== null) {
areaNumber = matches[1]
colNumber = matches[2]
+ leNumber = matches[3]
+ divNumber = matches[4]
+ }
+ const last_char = location.length - 1
+ if (location[last_char] === '右') {
+ zyNumber = '2'
+ } else {
+ zyNumber = '1'
}
const params = {
deviceId: this.deviceData.id,
- quNo: areaNumber,
- colNo: colNumber,
- leNo: '',
- divNo: '',
- zyNo: ''
+ quNo: areaNumber, // 区
+ colNo: colNumber, // 列
+ leNo: leNumber, // 节
+ divNo: divNumber, // 层
+ zyNo: zyNumber // 左右 1左 2右
}
CallExternal.FetchCallExternalOpenCol(params).then(res => {
if (res.success && res.success === '0') {
diff --git a/src/views/archivesManage/archivesSearch/index.vue b/src/views/archivesManage/archivesSearch/index.vue
index 372f77e..9e9d86a 100644
--- a/src/views/archivesManage/archivesSearch/index.vue
+++ b/src/views/archivesManage/archivesSearch/index.vue
@@ -53,18 +53,18 @@
-
+
-
-
+
+
- -
+ -
- {{ scope.row.folder_location }}
+ {{ scope.row.folder_location_details }}
@@ -73,7 +73,7 @@
-