pyt
2025-02-27 cb429a55a72f46bc8b749e0870b4a006fd066c78
H5/pages/Appeal/Appeal.vue
@@ -159,10 +159,10 @@
               longPressActions: {
                  itemList: ['发送给朋友', '保存图片', '收藏'],
                  success: function(data) {
                     console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
                  },
                  fail: function(err) {
                     console.log(err.errMsg);
                  }
               }
            });
@@ -181,7 +181,7 @@
         },
         getproblem() {
            getproblem().then((resp => {
               console.log(resp, '问题类型')
               this.columns = [resp.data.map(item => {
                  return item.name
               })]
@@ -260,7 +260,7 @@
               videos: this.videos.join(','),
            }
            save(data).then(resp => {
               console.log(resp, '保存');
               if (resp.code == 200) {
                  uni.showToast({
                     title: '保存成功',
@@ -273,12 +273,12 @@
            })
         },
         confirmone(e) {
            console.log(e, 'eeee');
            this.time = dayjs(e.value).format('YYYY-MM-DD')
            this.showDate = false
         },
         confirmtwo(e) {
            console.log(e, 'eeee');
            this.problemType = e.value[0]
            this.showList = false
         },
@@ -291,7 +291,7 @@
            this.showList = false
         },
         goTopagelocation() {
            console.log('0000000000000000');
            uni.navigateTo({
               url: '/pages/location/location'
            })
@@ -302,7 +302,7 @@
               sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
               sourceType: ['album'], //从相册选择
               success: (res) => {
                  console.log(res, 'res');
                  uni.showLoading()
                  uni.uploadFile({
                     url: config.imageUrl,
@@ -312,7 +312,7 @@
                        'Authorization': uni.getStorageSync('token')
                     },
                     success: (uploadFileRes) => {
                        console.log(JSON.parse(uploadFileRes.data), 'uploadFileRes');
                        this.images = [...this.images, JSON.parse(uploadFileRes.data).data]
                        uni.hideLoading()
                     },
@@ -350,7 +350,7 @@
                        'Authorization': uni.getStorageSync('token')
                     },
                     success: (uploadFileRes) => {
                        console.log(JSON.parse(uploadFileRes.data).data, 'uploadFileRes');
                        this.videos = [...this.videos, JSON.parse(uploadFileRes.data).data]
                        uni.hideLoading()
                     },