MrShi
2023-10-31 e9af167156ca9d1b404a76ab0fc8c82c26fe6a11
bicycle/pages/problemReporting/problemReporting.vue
@@ -98,7 +98,8 @@
               phone: '',
               typeId: ''
            },
            problemList: []
            problemList: [],
            isEnd: true
         };
      },
      computed: {
@@ -127,10 +128,12 @@
         },
         // 提交
         submit() {
            if (this.isEnd) {
            if (this.from.problemId == '') {
               uni.showToast({ title: '车辆问题不能为空', icon: 'none', duration: 2000 });
               return
            }
               this.isEnd = false
            this.$u.api.saveRepair({
               addr: this.from.address,
               bikeCode: this.from.code,
@@ -147,11 +150,13 @@
            }).then(res => {
               if (res.code === 200) {
                  uni.showToast({ title: '上报成功', icon: 'success', duration: 2000 });
                     this.isEnd = true
                  setTimeout(() => {
                     uni.navigateBack({ delta: 1 });
                  }, 2000)
               }
            })
            }
         },
         // 拨打电话
         calling(mobile) {
@@ -536,7 +541,6 @@
                  .form_item_uplaod_list_item {
                     width: 150rpx;
                     height: 150rpx;
                     border-radius: 16rpx;
                     display: flex;
                     align-items: center;
                     justify-content: center;
@@ -550,6 +554,8 @@
                     .images {
                        width: 150rpx;
                        height: 150rpx;
                        border-radius: 16rpx;
                        overflow: hidden;
                        display: flex;
                        align-items: center;
                        justify-content: center;