Browse Source

+ h5 增加指令下发

chen.cheng 7 months ago
parent
commit
39b06c05fb

+ 1 - 1
.env.dev

@@ -1,5 +1,5 @@
 //.env.dev
-VITE_BASE_API=/aiot-api
+VITE_BASE_API=https://www.lj-info.com:8090/aiot-api
 
 VITE_BASE_URL=https://www.lj-info.com:8090/aiot-api
 

+ 1 - 0
src/components/pannel/index.vue

@@ -47,6 +47,7 @@ export default {
       display: flex;
       align-items: center;
       justify-content: flex-start;
+      width: 100%;
     }
 
     :deep(.u-icon) {

+ 2 - 1
src/pages/login/index.vue

@@ -130,6 +130,7 @@ function submit() {
       uni.$u.toast('校验失败')
     }
   }).catch((e) => {
+    console.error(e);
     // 处理验证错误
     uni.$u.toast('校验失败')
   });
@@ -139,7 +140,7 @@ function openAgreement() {
   uni.openPrivacyContract()
 }
 
-function getVisible(visib,agree) {
+function getVisible(visib, agree) {
   visible.value = visib;
   model.isChecked = agree;
 }

+ 8 - 0
src/pages/workbenchsub/workorder/submit.vue

@@ -158,6 +158,14 @@
         @cancel="state.showEndClendar = false"
     >
     </up-datetime-picker>
+    <up-upload
+        @afterRead="afterRead"
+        @delete="deletePic"
+        name="imags"
+        multiple
+        :maxCount="5"
+        :previewFullImage="true"
+    ></up-upload>
   </view>
 </template>