|
@@ -76,7 +76,7 @@
|
|
|
<kps-image-cutter @ok="onok" @cancel="oncancle" :url="imgs" :fixed="false" :blob="false" :maxWidth="500" :maxHeight="500"></kps-image-cutter>
|
|
<kps-image-cutter @ok="onok" @cancel="oncancle" :url="imgs" :fixed="false" :blob="false" :maxWidth="500" :maxHeight="500"></kps-image-cutter>
|
|
|
<u-modal v-model="videoshow" :mask-close-able="true" :show-confirm-button="false" title="视频预览" class="model">
|
|
<u-modal v-model="videoshow" :mask-close-able="true" :show-confirm-button="false" title="视频预览" class="model">
|
|
|
<view class="model_box">
|
|
<view class="model_box">
|
|
|
- <video :src="'http://8.136.98.49:8002'+selfList" controls style="width:90%;"></video>
|
|
|
|
|
|
|
+ <video :src="'https://web.hnyfwlw.com'+selfList" controls style="width:90%;"></video>
|
|
|
</view>
|
|
</view>
|
|
|
</u-modal>
|
|
</u-modal>
|
|
|
</view>
|
|
</view>
|
|
@@ -89,7 +89,7 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- BASE_URL: 'http://8.136.98.49:8002',
|
|
|
|
|
|
|
+ BASE_URL: 'https://web.hnyfwlw.com',
|
|
|
adddata:{//设备参数
|
|
adddata:{//设备参数
|
|
|
id:'',
|
|
id:'',
|
|
|
name:'',
|
|
name:'',
|
|
@@ -198,7 +198,7 @@
|
|
|
success:(res)=> {
|
|
success:(res)=> {
|
|
|
console.log(res)
|
|
console.log(res)
|
|
|
uni.uploadFile({
|
|
uni.uploadFile({
|
|
|
- url: 'http://8.136.98.49:8002/api/api_gateway?method=after_sale.after_sale_manage.video_upload', //仅为示例,非真实的接口地址
|
|
|
|
|
|
|
+ url: 'https://web.hnyfwlw.com/api/api_gateway?method=after_sale.after_sale_manage.video_upload', //仅为示例,非真实的接口地址
|
|
|
filePath: res.tempFilePath,
|
|
filePath: res.tempFilePath,
|
|
|
name: 'upload',
|
|
name: 'upload',
|
|
|
fileType:"video",
|
|
fileType:"video",
|