Lou
2024-03-29 bd87e01aefaeb972f8d980a563773249f9e9e639
subPackage/label/bail.vue
@@ -90,13 +90,13 @@
               reportType: 1
            },
            rules: {
               'info.checkUserName': {
               checkUserName: [{
                  type: 'string',
                  required: true,
                  message: '请输入姓名',
                  trigger: ['blur', 'change']
               },
               'info.checkTelephone': [{
               }],
               checkTelephone: [{
                     type: 'number',
                     required: true,
                     message: '请输入手机',
@@ -113,24 +113,24 @@
                  }
               ],
               'info.applyName': {
               applyName: [{
                  type: 'string',
                  required: true,
                  message: '请输入事由',
                  trigger: ['blur', 'change']
               },
               'info.applyTime': {
               }],
               applyTime: [{
                  type: 'string',
                  required: true,
                  message: '请输入选择时间',
                  trigger: ['blur', 'change']
               },
               'info.location': {
               }],
               location: [{
                  type: 'string',
                  required: true,
                  message: '请输入位置',
                  trigger: ['blur', 'change']
               }
               }]
            },
            showSelectDate: false,
            applyTime: Number(new Date()),
@@ -152,6 +152,7 @@
         this.$set(this.info, "checkUserName", userInfo.real_name);
         this.$set(this.info, "checkTelephone", userInfo.phone);
         this.$set(this.info, "checkUserId", userInfo.user_id);
         this.$set(this.info, "applyTime", uni.$u.timeFormat(Number(new Date()), 'yyyy-mm-dd hh:MM:ss'))
      },
      onReady() {
@@ -251,7 +252,7 @@
         },
         updateRequest() {
            this.info.applyTime = Number(new Date(res.data.applyTime));
            // this.info.applyTime = Number(new Date(res.data.applyTime));
            updateBailReporting(this.info).then(res => {
               uni.showToast({
                  icon: 'success',