story#7189,type默认'full'
This commit is contained in:
@ -56,7 +56,7 @@
|
|||||||
auditTip: '',
|
auditTip: '',
|
||||||
statusStr: '',
|
statusStr: '',
|
||||||
verifyStatus: '',
|
verifyStatus: '',
|
||||||
type: localStorage.getItem('type')
|
type: 'full',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mixins: [ myMixins ],
|
mixins: [ myMixins ],
|
||||||
|
|||||||
@ -97,7 +97,7 @@
|
|||||||
recordNumber: '', // 档案编号
|
recordNumber: '', // 档案编号
|
||||||
},
|
},
|
||||||
show: undefined,
|
show: undefined,
|
||||||
type: localStorage.getItem('type'),
|
type: 'full',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
|||||||
@ -190,7 +190,7 @@
|
|||||||
region:[],
|
region:[],
|
||||||
},
|
},
|
||||||
show: undefined,
|
show: undefined,
|
||||||
type: localStorage.getItem('type'),
|
type: 'full',
|
||||||
tyreOptions:[{value:0,name:'0'},{value:2,name:'2'},{value:4,name:'4'}]
|
tyreOptions:[{value:0,name:'0'},{value:2,name:'2'},{value:4,name:'4'}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -9,7 +9,8 @@
|
|||||||
</van-radio-group>
|
</van-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<div class="photoWrap" v-if="inSure == 1">
|
<div class="photoWrap" v-if="inSure == 1">
|
||||||
<van-uploader :after-read="(file) => afterRead(file,'urlList')" class="customUploadMul" :max-count="3" :disabled="!showFun()">
|
<van-uploader :after-read="(file) => afterRead(file,'urlList')" class="customUploadMul"
|
||||||
|
:max-count="3" :disabled="!showFun()" deletable>
|
||||||
<template v-if="urlList.length > 0">
|
<template v-if="urlList.length > 0">
|
||||||
<div v-for="(item, index) in urlList" :key="'uploaded-' + index" class="uploaded-item">
|
<div v-for="(item, index) in urlList" :key="'uploaded-' + index" class="uploaded-item">
|
||||||
<img class="photo_item" mode="widthFix" :src="item.replace(/http:\/\//g, 'https://')" />
|
<img class="photo_item" mode="widthFix" :src="item.replace(/http:\/\//g, 'https://')" />
|
||||||
@ -95,17 +96,6 @@ export default {
|
|||||||
isInsure:'',
|
isInsure:'',
|
||||||
},
|
},
|
||||||
options:[{value:0,name:'否'},{value:1,name:'是'}],
|
options:[{value:0,name:'否'},{value:1,name:'是'}],
|
||||||
localUrlList: [...this.urlList] // 使用本地副本操作
|
|
||||||
}
|
|
||||||
},
|
|
||||||
watch:{
|
|
||||||
// 监听父组件传入的urlList变化
|
|
||||||
urlList(newVal) {
|
|
||||||
this.localUrlList = [...newVal];
|
|
||||||
},
|
|
||||||
// 监听inSure变化
|
|
||||||
inSure(newVal) {
|
|
||||||
this.form.isInsure = newVal;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@ -83,7 +83,7 @@
|
|||||||
user:'',
|
user:'',
|
||||||
cardId:'',
|
cardId:'',
|
||||||
show: undefined,
|
show: undefined,
|
||||||
type: localStorage.getItem('type'),
|
type: 'full',
|
||||||
esignFlag: false,
|
esignFlag: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user