Commit 568be410 authored by sunzb's avatar sunzb

修改图片说明

parent 56efdad5
...@@ -16,6 +16,7 @@ import { ...@@ -16,6 +16,7 @@ import {
XhFiles XhFiles
} from './components/index.js' } from './components/index.js'
import { Toast, Indicator } from 'mint-ui' import { Toast, Indicator } from 'mint-ui'
import BScroll from 'better-scroll'
export default { export default {
name: 'RenbaoOrderService', name: 'RenbaoOrderService',
components: { components: {
...@@ -24,7 +25,7 @@ export default { ...@@ -24,7 +25,7 @@ export default {
data() { data() {
return { return {
orderId:11010, orderId:11010,
inApp: true, inApp: false,
formList: [{ formList: [{
fieldName: 'chargerPointType1', fieldName: 'chargerPointType1',
fileType:1, fileType:1,
...@@ -89,6 +90,12 @@ export default { ...@@ -89,6 +90,12 @@ export default {
}, },
methods: { methods: {
getOrderId(orderId) {
this.orderId = orderId || '10704411'
this.loading = false
Indicator.close()
//this.getList('specification')
},
checkInfo() { checkInfo() {
const data = {} const data = {}
const formList = this.formList const formList = this.formList
...@@ -113,9 +120,12 @@ export default { ...@@ -113,9 +120,12 @@ export default {
const data =[] const data =[]
this.formList.map(item => { this.formList.map(item => {
var imageobj = {} var imageobj = {}
var url = item.value[0];
var imageName = url.spilt(".")[1]
imageobj.fileType=item.fileType imageobj.fileType=item.fileType
imageobj.imageName=item.fieldName imageobj.imageName=imageName
imageobj.imageBase64Str=item.value[0].url imageobj.imageBase64Str=url
imageobj.imageMarks=item.label
data.push(imageobj); data.push(imageobj);
}); });
if (this.inApp) { if (this.inApp) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment