| | |
| | | }) |
| | | } |
| | | export function taskCenterHeadPC (data) { |
| | | return request.get('/visitsAdmin/cloudService/business/staging/taskCenterHeadPC', data) |
| | | return request.get('/visitsAdmin/cloudService/business/staging/taskCenterHeadPC', { |
| | | params: { |
| | | ...data |
| | | } |
| | | }) |
| | | } |
| | | // 任务中心 列表 |
| | | export function taskCenterPage (data) { |
| | |
| | | }, |
| | | uploadImage() { |
| | | this.showUpload = false |
| | | let token = uni.getStorageSync('token') || '' |
| | | uni.chooseImage({ |
| | | count: 4, |
| | | success: (chooseImageRes) => { |
| | |
| | | name: 'file', |
| | | formData: { |
| | | folder: 'HIDDEN_DANGER_FILE' |
| | | }, |
| | | header: { |
| | | Dm_user_token: token |
| | | }, |
| | | success: (uploadFileRes) => { |
| | | let res = JSON.parse(uploadFileRes.data) |
| | |
| | | uploadVideo() { |
| | | this.showUpload = false |
| | | let that = this |
| | | let token = uni.getStorageSync('token') || '' |
| | | uni.chooseVideo({ |
| | | success: (chooseImageRes) => { |
| | | uni.showLoading({ title: '上传中', mask: true }) |
| | | uni.uploadFile({ |
| | | url: `${uploadUrl}`, |
| | | filePath: chooseImageRes.tempFilePath, |
| | | header: { |
| | | Dm_user_token: token |
| | | }, |
| | | name: 'file', |
| | | formData: { |
| | | folder: 'HIDDEN_DANGER_FILE' |
| | |
| | | |
| | | <style lang="scss"> |
| | | .main_wrap { |
| | | padding-bottom: 200rpx; |
| | | .line { |
| | | display: flex; |
| | | justify-content: space-between; |
| | |
| | | margin-bottom: 20rpx; |
| | | .img { |
| | | width: 140rpx; |
| | | max-height: 120rpx; |
| | | margin-right: 12rpx; |
| | | margin-bottom: 12rpx; |
| | | border-radius: 8rpx; |