|
@@ -25,7 +25,9 @@
|
|
|
:uploadType="uploadType1"
|
|
|
@funSetUploadData="funSetUploadData"/>
|
|
|
</div>
|
|
|
- <button class="submit disabled" @click="funSubmit">提交</button>
|
|
|
+ <button class="submit" :class="creditReport.length && houseProperty.length ? 'active' : 'disabled'"
|
|
|
+ @click="funSubmit">提交
|
|
|
+ </button>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -80,8 +82,8 @@
|
|
|
funSubmit () {
|
|
|
const postData = {
|
|
|
id: this.id,
|
|
|
- checkContent1: this.creditReport,
|
|
|
- checkContent2: this.houseProperty
|
|
|
+ checkContent1: this.creditReport.map(item => item.url),
|
|
|
+ checkContent2: this.houseProperty.map(item => item.url)
|
|
|
}
|
|
|
if (!this.verifyData()) {
|
|
|
Toast({
|