story#7189,type默认'full'
This commit is contained in:
@ -56,7 +56,7 @@
|
||||
auditTip: '',
|
||||
statusStr: '',
|
||||
verifyStatus: '',
|
||||
type: localStorage.getItem('type')
|
||||
type: 'full',
|
||||
}
|
||||
},
|
||||
mixins: [ myMixins ],
|
||||
|
||||
@ -97,7 +97,7 @@
|
||||
recordNumber: '', // 档案编号
|
||||
},
|
||||
show: undefined,
|
||||
type: localStorage.getItem('type'),
|
||||
type: 'full',
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
|
||||
@ -190,7 +190,7 @@
|
||||
region:[],
|
||||
},
|
||||
show: undefined,
|
||||
type: localStorage.getItem('type'),
|
||||
type: 'full',
|
||||
tyreOptions:[{value:0,name:'0'},{value:2,name:'2'},{value:4,name:'4'}]
|
||||
}
|
||||
},
|
||||
|
||||
@ -9,7 +9,8 @@
|
||||
</van-radio-group>
|
||||
</div>
|
||||
<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">
|
||||
<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://')" />
|
||||
@ -95,19 +96,8 @@ export default {
|
||||
isInsure:'',
|
||||
},
|
||||
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() {
|
||||
setTimeout(()=>{
|
||||
this.form.isInsure=this.inSure
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
user:'',
|
||||
cardId:'',
|
||||
show: undefined,
|
||||
type: localStorage.getItem('type'),
|
||||
type: 'full',
|
||||
esignFlag: false,
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user