tangning hace 1 año
padre
commit
f1211b42f5
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      src/views/product/rtk/AddModal.vue

+ 7 - 2
src/views/product/rtk/AddModal.vue

@@ -32,7 +32,12 @@
     },
     emits: ['update', 'register'],
     setup(props, { emit }) {
-      const modelRef = ref({});
+      const modelRef = ref({
+        operator: '中国移动',
+        ipAddr: '120.253.239.161',
+        mountPoint: 'RTCM33_GRCEJ',
+        port: '8001',
+      });
       const fileFlow = reactive({
         file: null,
         title: '新增RTK账号',
@@ -221,7 +226,7 @@
       function onDataReceive(data) {
         modelRef.value = data;
         fileFlow.title = data.id ? '编辑RTK账号' : '新增RTK账号';
-        handlertkSn(data.id ? true : false )
+        handlertkSn(data.cameraSnCode ? true : false )
         resetFields();
         console.log('data', data);
         handlertkType(data.rtkType)