修改测试bug
This commit is contained in:
@@ -26,9 +26,22 @@
|
|||||||
<uni-forms-item label="申请人案件证据资料上传:" name="headImage" label-width="120px">
|
<uni-forms-item label="申请人案件证据资料上传:" name="headImage" label-width="120px">
|
||||||
<uni-file-picker ref="files" file-mediatype="all" return-type='object' v-model="fileList" :auto-upload="false" @select="select" :limit='1' />
|
<uni-file-picker ref="files" file-mediatype="all" return-type='object' v-model="fileList" :auto-upload="false" @select="select" :limit='1' />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
|
<uni-forms-item label="证据:" label-width="120px" v-if="ids">
|
||||||
|
<view class="" v-for="item in formData.caseAttachList">
|
||||||
|
<uni-link v-if="item.annexType==2" :href="item.annexPath" color="#007BFF"
|
||||||
|
:text="item.annexName"></uni-link>
|
||||||
|
</view>
|
||||||
|
</uni-forms-item>
|
||||||
|
<uni-forms-item label="调解申请书:" label-width="120px" v-if="ids">
|
||||||
|
<view class="" v-for="item in formData.caseAttachList">
|
||||||
|
<uni-link v-if="item.annexType==3" :href="item.annexPath" color="#007BFF"
|
||||||
|
:text="item.annexName"></uni-link>
|
||||||
|
</view>
|
||||||
|
</uni-forms-item>
|
||||||
<uni-section title="双方信息" type="line" padding></uni-section>
|
<uni-section title="双方信息" type="line" padding></uni-section>
|
||||||
<uni-forms-item label="选择机构或自然人" label-width="120px" name="objectiJuris">
|
<uni-forms-item label="选择机构或自然人" label-width="120px" name="objectiJuris">
|
||||||
<uni-data-checkbox class='checkbox'
|
<uni-data-checkbox class='checkbox'
|
||||||
|
:disabled="ids?true:false"
|
||||||
:localdata="objectiJurisArr"
|
:localdata="objectiJurisArr"
|
||||||
v-model="formData.affiliate.organizeFlag"
|
v-model="formData.affiliate.organizeFlag"
|
||||||
@change='clearValidate'></uni-data-checkbox>
|
@change='clearValidate'></uni-data-checkbox>
|
||||||
@@ -144,6 +157,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
baseUrl : config.baseUrlTJ,
|
||||||
formData:{
|
formData:{
|
||||||
affiliate:{
|
affiliate:{
|
||||||
organizeFlag: 0,
|
organizeFlag: 0,
|
||||||
@@ -300,6 +314,7 @@
|
|||||||
caseApplicationSelectById(data).then(res=>{
|
caseApplicationSelectById(data).then(res=>{
|
||||||
res.data.affiliate.respondentSex = Number(res.data.affiliate.respondentSex)
|
res.data.affiliate.respondentSex = Number(res.data.affiliate.respondentSex)
|
||||||
this.formData = res.data
|
this.formData = res.data
|
||||||
|
console.log( this.formData)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 被申请人获取性别出生年月
|
// 被申请人获取性别出生年月
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum" placeholder="" />
|
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum" placeholder="" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
||||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.affiliate.applicationName"
|
<uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.applicationName"
|
||||||
placeholder="" />
|
placeholder="" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
||||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.affiliate.respondentName"
|
<uni-easyinput :inputBorder="false" :disabled='true' v-model="affiliate.respondentName"
|
||||||
placeholder="" />
|
placeholder="" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<!-- <uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
|
<!-- <uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
|
||||||
@@ -63,6 +63,7 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formData: {},
|
formData: {},
|
||||||
|
affiliate:{},
|
||||||
selectFlag: false,
|
selectFlag: false,
|
||||||
rules: {},
|
rules: {},
|
||||||
payPlatforms: [{
|
payPlatforms: [{
|
||||||
@@ -99,6 +100,8 @@
|
|||||||
getData(parms) {
|
getData(parms) {
|
||||||
selectById(parms).then(res => {
|
selectById(parms).then(res => {
|
||||||
this.formData = res.data
|
this.formData = res.data
|
||||||
|
this.affiliate = res.data.affiliate
|
||||||
|
console.log(this.formData)
|
||||||
if(this.dataType.type==4){
|
if(this.dataType.type==4){
|
||||||
this.formDataVal ={
|
this.formDataVal ={
|
||||||
annexType: 4,
|
annexType: 4,
|
||||||
|
|||||||
Reference in New Issue
Block a user