Browse Source

设备地点字段调整

刘琳琳 1 month ago
parent
commit
fd1384ccc2

+ 2 - 5
src/views/visitors_list/component/DetailModule.vue

@@ -49,10 +49,7 @@
             <div v-for="(fItem, fIndex) in aItem" :key="`a_${fIndex}`" class="access-info-content-item">
               <div class="info-title">{{ fItem.title }}</div>
               <div class="info-value">
-                <template v-if="['deviceName'].indexOf(fItem.field) > -1">
-                  {{ row[fItem['field']] || '-' }}
-                </template>
-                <template v-else>
+                <template>
                   {{ visitToJetList.userVisitorListDetailVisitor[fItem['field']] || '-' }}
                 </template>
               </div>
@@ -187,7 +184,7 @@ export default {
             field: 'time'
           }, {
             title: '设备地点',
-            field: 'deviceName'
+            field: 'deviceAddress'
           }, {
             title: '受访人姓名',
             field: 'visiteeXm'

+ 1 - 1
src/views/visitors_record/compoment/DetailModule.vue

@@ -231,7 +231,7 @@ export default {
             field: 'sn'
           }, {
             title: '设备地点',
-            field: 'snAddr'
+            field: 'deviceAddress'
           }, {
             title: '进/出',
             field: 'outType'

+ 1 - 1
src/views/visitors_record/index.vue

@@ -433,7 +433,7 @@ export default {
           }
         }, {
           label: '设备地点',
-          field: 'snAddr',
+          field: 'deviceAddress',
           width: 150,
           needSearch: true,
           searchField: 'sn',

+ 2 - 2
vue.config.js

@@ -36,9 +36,9 @@ module.exports = {
     // },
     proxy: {
       '/yx-fyzd': {
-        // target: 'https://test.hz-hanghui.com:18890' // 测试
+        target: 'https://test.hz-hanghui.com:18890' // 测试
         // target: 'https://tx.hz-hanghui.com:8088' // 线上
-        target: 'http://192.168.77.253:9100' // 本地
+        // target: 'http://192.168.77.253:9100' // 本地
       }
     }
     // 关闭mock