story#7189,type默认'full'

This commit is contained in:
2025-09-10 13:38:43 +08:00
parent fda0139a06
commit 3d56f91575
5 changed files with 6 additions and 16 deletions

View File

@ -56,7 +56,7 @@
auditTip: '', auditTip: '',
statusStr: '', statusStr: '',
verifyStatus: '', verifyStatus: '',
type: localStorage.getItem('type') type: 'full',
} }
}, },
mixins: [ myMixins ], mixins: [ myMixins ],

View File

@ -97,7 +97,7 @@
recordNumber: '', // 档案编号 recordNumber: '', // 档案编号
}, },
show: undefined, show: undefined,
type: localStorage.getItem('type'), type: 'full',
} }
}, },
async mounted() { async mounted() {

View File

@ -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'}]
} }
}, },

View File

@ -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,19 +96,8 @@ 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() {
setTimeout(()=>{ setTimeout(()=>{
this.form.isInsure=this.inSure this.form.isInsure=this.inSure

View File

@ -83,7 +83,7 @@
user:'', user:'',
cardId:'', cardId:'',
show: undefined, show: undefined,
type: localStorage.getItem('type'), type: 'full',
esignFlag: false, esignFlag: false,
} }
}, },