小程序静态文件过大
This commit is contained in:
@@ -49,7 +49,9 @@
|
||||
"postcss": true
|
||||
},
|
||||
"optimization": {
|
||||
"subPackages": {
|
||||
"subPackages": true
|
||||
}
|
||||
},
|
||||
"usingComponents": true,
|
||||
"permission": {}
|
||||
|
||||
@@ -3,14 +3,16 @@
|
||||
<view class="assignrbitrators">
|
||||
<uni-forms ref="form" :modelValue="formData" :rules="rules">
|
||||
<uni-section title="案件信息" type="line" padding></uni-section>
|
||||
<uni-forms-item label="案件压缩包:" name="headZip" label-width="120px">
|
||||
<uni-file-picker ref="files" file-mediatype="all" return-type='object' v-model="fileListZip"
|
||||
:auto-upload="false" @select="selectZip" :limit='1' />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人调解请求:" name="arbitratClaims" label-width="120px" required
|
||||
:rules="[{required: true,errorMessage: '申请人调解请求不能为空'}]"
|
||||
>
|
||||
:rules="[{required: true,errorMessage: '申请人调解请求不能为空'}]">
|
||||
<uni-easyinput v-model="formData.arbitratClaims" type="textarea" placeholder="请输入申请人调解请求" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="事实和理由:" name="facts" label-width="120px" required
|
||||
:rules="[{required: true,errorMessage: '事实和理由不能为空'}]"
|
||||
>
|
||||
:rules="[{required: true,errorMessage: '事实和理由不能为空'}]">
|
||||
<uni-easyinput v-model="formData.facts" type="textarea" placeholder="请输入事实和理由" />
|
||||
</uni-forms-item>
|
||||
<!-- <uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required
|
||||
@@ -24,7 +26,8 @@
|
||||
<uni-data-select :localdata="templateList" v-model="formData.templateId"></uni-data-select>
|
||||
</uni-forms-item> -->
|
||||
<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 label="证据:" label-width="120px" v-if="ids">
|
||||
<view class="" v-for="item in formData.caseAttachList">
|
||||
@@ -40,67 +43,62 @@
|
||||
</uni-forms-item>
|
||||
<uni-section title="双方信息" type="line" padding></uni-section>
|
||||
<uni-forms-item label="选择机构或自然人" label-width="120px" name="objectiJuris">
|
||||
<uni-data-checkbox class='checkbox'
|
||||
:disabled="ids?true:false"
|
||||
:localdata="objectiJurisArr"
|
||||
v-model="formData.affiliate.organizeFlag"
|
||||
@change='clearValidate'></uni-data-checkbox>
|
||||
<uni-data-checkbox class='checkbox' :disabled="ids?true:false" :localdata="objectiJurisArr"
|
||||
v-model="formData.affiliate.organizeFlag" @change='clearValidate'></uni-data-checkbox>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '申请人':'申请机构'" :rules="rulesappName" name="affiliate.applicationName" label-width="120px" required >
|
||||
<uni-easyinput v-model="formData.affiliate.applicationName" :disabled="disabledApplicat" type="text" :placeholder="formData.affiliate.organizeFlag==0 ? '请输入申请人姓名':'请输入申请机构名称'"/>
|
||||
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '申请人':'申请机构'" :rules="rulesappName"
|
||||
name="affiliate.applicationName" label-width="120px" required>
|
||||
<uni-easyinput v-model="formData.affiliate.applicationName" :disabled="disabledApplicat" type="text"
|
||||
:placeholder="formData.affiliate.organizeFlag==0 ? '请输入申请人姓名':'请输入申请机构名称'" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '身份证号码':'机构代码'" name="affiliate.code" label-width="120px" required
|
||||
:rules="rulesappNo">
|
||||
<uni-easyinput v-model="formData.affiliate.code" :disabled="disabledApplicat" type="text" :placeholder="formData.affiliate.organizeFlag==0 ? '请输入身份证号码':'请输入统一社会代码'" />
|
||||
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '身份证号码':'机构代码'" name="affiliate.code"
|
||||
label-width="120px" required :rules="rulesappNo">
|
||||
<uni-easyinput v-model="formData.affiliate.code" :disabled="disabledApplicat" type="text"
|
||||
:placeholder="formData.affiliate.organizeFlag==0 ? '请输入身份证号码':'请输入统一社会代码'" />
|
||||
</uni-forms-item>
|
||||
|
||||
<uni-forms-item label="申请人邮箱:" v-if="formData.affiliate.organizeFlag==0" name="affiliate.applicationEmail" label-width="120px" required
|
||||
|
||||
>
|
||||
<uni-easyinput v-model="formData.affiliate.applicationEmail"
|
||||
:disabled="disabledApplicat"
|
||||
<uni-forms-item label="申请人邮箱:" v-if="formData.affiliate.organizeFlag==0"
|
||||
name="affiliate.applicationEmail" label-width="120px" required>
|
||||
<uni-easyinput v-model="formData.affiliate.applicationEmail" :disabled="disabledApplicat"
|
||||
type="text" placeholder="请输入申请人邮箱" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人电话:" v-if="formData.affiliate.organizeFlag==0" name="affiliate.applicationPhone" label-width="120px" required
|
||||
|
||||
>
|
||||
<uni-easyinput v-model="formData.affiliate.applicationPhone" :disabled="disabledApplicat" type="text" placeholder="请输入申请人电话" />
|
||||
<uni-forms-item label="申请人电话:" v-if="formData.affiliate.organizeFlag==0"
|
||||
name="affiliate.applicationPhone" label-width="120px" required>
|
||||
<uni-easyinput v-model="formData.affiliate.applicationPhone" :disabled="disabledApplicat"
|
||||
type="text" placeholder="请输入申请人电话" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="法定代表人:" v-if="formData.affiliate.organizeFlag==1" name="affiliate.compLegalPerson" label-width="120px" required
|
||||
|
||||
>
|
||||
<uni-forms-item label="法定代表人:" v-if="formData.affiliate.organizeFlag==1"
|
||||
name="affiliate.compLegalPerson" label-width="120px" required>
|
||||
<uni-easyinput v-model="formData.affiliate.compLegalPerson" type="text" placeholder="请输入法定代表人" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人住所:" name="affiliate.applicantHome" label-width="120px" required
|
||||
:rules="[{required: true,errorMessage: '申请人住所不能为空'}]"
|
||||
>
|
||||
:rules="[{required: true,errorMessage: '申请人住所不能为空'}]">
|
||||
<uni-easyinput v-model="formData.affiliate.applicantHome" type="text" placeholder="请输入申请人住所" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人联系地址:" name="affiliate.applicantAddress" label-width="120px" required
|
||||
:rules="[{required: true,errorMessage: '申请人联系地址不能为空'}]"
|
||||
>
|
||||
:rules="[{required: true,errorMessage: '申请人联系地址不能为空'}]">
|
||||
<uni-easyinput v-model="formData.affiliate.applicantAddress" type="text" placeholder="请输入申请人联系地址" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="代理人联系电话:" label-width="120px">
|
||||
<uni-easyinput v-model="formData.affiliate.contactTelphoneAgent" :disabled="disabledVal" type="text" placeholder="请输入代理人联系电话" />
|
||||
<uni-easyinput v-model="formData.affiliate.contactTelphoneAgent" :disabled="disabledVal" type="text"
|
||||
placeholder="请输入代理人联系电话" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="代理人姓名:" label-width="120px">
|
||||
<uni-easyinput v-model="formData.affiliate.nameAgent" :disabled="disabledVal" type="text" placeholder="请输入委托代理人姓名" />
|
||||
<uni-easyinput v-model="formData.affiliate.nameAgent" :disabled="disabledVal" type="text"
|
||||
placeholder="请输入委托代理人姓名" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="代理人邮箱:" label-width="120px">
|
||||
<uni-easyinput v-model="formData.affiliate.agentEmail" :disabled="disabledVal" type="text" placeholder="请输入代理人邮箱" />
|
||||
<uni-easyinput v-model="formData.affiliate.agentEmail" :disabled="disabledVal" type="text"
|
||||
placeholder="请输入代理人邮箱" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人姓名:" name="affiliate.respondentName" label-width="120px" required
|
||||
:rules="[{required: true,errorMessage: '被申请人姓名不能为空'}]"
|
||||
>
|
||||
:rules="[{required: true,errorMessage: '被申请人姓名不能为空'}]">
|
||||
<uni-easyinput v-model="formData.affiliate.respondentName" type="text" placeholder="请输入被申请人姓名" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人联系电话:" name="affiliate.respondentPhone" label-width="120px" required
|
||||
:rules="[
|
||||
<uni-forms-item label="被申请人联系电话:" name="affiliate.respondentPhone" label-width="120px" required :rules="[
|
||||
{required: true,errorMessage: '被申请人联系电话不能为空'},
|
||||
{pattern:'^[1][3,4,5,6,7,8,9][0-9]{9}$',errorMessage:'被申请人联系电话格式不正确'}
|
||||
]"
|
||||
>
|
||||
]">
|
||||
<uni-easyinput v-model="formData.affiliate.respondentPhone" type="text" placeholder="请输入被申请人联系电话" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人身份证号:" name="affiliate.respondentIdentityNum" label-width="120px" required
|
||||
@@ -108,40 +106,33 @@
|
||||
{required: true,errorMessage: '被申请人身份证号不能为空'},
|
||||
{pattern:'^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$',errorMessage:'被申请人身份证格式错误'}
|
||||
|
||||
]"
|
||||
>
|
||||
<uni-easyinput v-model="formData.affiliate.respondentIdentityNum" @blur="handleBlur" type="text" placeholder="请输入被申请人身份证号" />
|
||||
]">
|
||||
<uni-easyinput v-model="formData.affiliate.respondentIdentityNum" @blur="handleBlur" type="text"
|
||||
placeholder="请输入被申请人身份证号" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人性别" label-width="120px" required>
|
||||
<uni-data-checkbox class='checkbox'
|
||||
:disabled='true'
|
||||
v-model="formData.affiliate.respondentSex"
|
||||
<uni-data-checkbox class='checkbox' :disabled='true' v-model="formData.affiliate.respondentSex"
|
||||
:localdata="respondentSexy"></uni-data-checkbox>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人出生年月日" label-width="120px">
|
||||
<uni-datetime-picker v-model="formData.affiliate.respondentBirth" :disabled='true' type="date" :clear-icon="false" />
|
||||
<uni-datetime-picker v-model="formData.affiliate.respondentBirth" :disabled='true' type="date"
|
||||
:clear-icon="false" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人住所:" name="affiliate.respondentHome" label-width="120px" required
|
||||
:rules="[{required: true,errorMessage: '被申请人住所不能为空'}]"
|
||||
>
|
||||
:rules="[{required: true,errorMessage: '被申请人住所不能为空'}]">
|
||||
<uni-easyinput v-model="formData.affiliate.respondentHome" type="text" placeholder="请输入被申请人住所" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人邮箱:" name="affiliate.respondentEmail" label-width="120px" required
|
||||
:rules="[
|
||||
<uni-forms-item label="被申请人邮箱:" name="affiliate.respondentEmail" label-width="120px" required :rules="[
|
||||
{required: true,errorMessage: '被申请人邮箱不能为空'},
|
||||
{pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
||||
|
||||
]"
|
||||
>
|
||||
]">
|
||||
<uni-easyinput v-model="formData.affiliate.respondentEmail" type="text" placeholder="请输入被申请人邮箱" />
|
||||
</uni-forms-item>
|
||||
</uni-forms>
|
||||
<view class="determine" style="text-align: center;">
|
||||
<button class="mini-btn"
|
||||
type="primary" size="mini"
|
||||
@tap="submitReasont">确定</button>
|
||||
<button style="margin-left:30rpx;" class="mini-btn"
|
||||
type="default" size="mini"
|
||||
<button class="mini-btn" type="primary" size="mini" @tap="submitReasont">确定</button>
|
||||
<button style="margin-left:30rpx;" class="mini-btn" type="default" size="mini"
|
||||
@tap="cencalBut">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -149,7 +140,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getTemplate,getInfoByIdCard,caseApplicationInsert,updateComfire,caseApplicationSelectById,getUserInfo} from '../../../api/handlecase/index.js'
|
||||
import {
|
||||
getTemplate,
|
||||
getInfoByIdCard,
|
||||
caseApplicationInsert,
|
||||
updateComfire,
|
||||
caseApplicationSelectById,
|
||||
getUserInfo
|
||||
} from '../../../api/handlecase/index.js'
|
||||
import {
|
||||
getToken
|
||||
} from '@/utils/auth'
|
||||
@@ -158,6 +156,7 @@
|
||||
data() {
|
||||
return {
|
||||
baseUrl: config.baseUrlTJ,
|
||||
formZipData: {},
|
||||
formData: {
|
||||
affiliate: {
|
||||
organizeFlag: 0,
|
||||
@@ -169,6 +168,7 @@
|
||||
getUserInfoList: {},
|
||||
ids: null,
|
||||
tempFilePaths: null,
|
||||
tempFilePathsZip: null,
|
||||
templateList: [],
|
||||
objectiJurisArr: [{
|
||||
text: '自然人',
|
||||
@@ -177,21 +177,19 @@
|
||||
text: '机构',
|
||||
value: 1
|
||||
}],
|
||||
respondentSexy: [
|
||||
{
|
||||
respondentSexy: [{
|
||||
text: '女',
|
||||
value: 1
|
||||
}, {
|
||||
text: '男',
|
||||
value: 0
|
||||
}
|
||||
],
|
||||
}],
|
||||
disabledVal: false,
|
||||
disabledApplicat: false,
|
||||
fileList: {},
|
||||
fileListZip: {},
|
||||
rules: {},
|
||||
rulesappName: [
|
||||
{
|
||||
rulesappName: [{
|
||||
required: true,
|
||||
errorMessage: '输入信息不能为空',
|
||||
}, {
|
||||
@@ -208,10 +206,8 @@
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
rulesappNo: [
|
||||
{
|
||||
}],
|
||||
rulesappNo: [{
|
||||
required: true,
|
||||
errorMessage: '输入信息不能为空',
|
||||
}, {
|
||||
@@ -219,7 +215,8 @@
|
||||
validateFunction: (rule, value, data, callback) => {
|
||||
//判断手机号格
|
||||
if (this.formData.affiliate.organizeFlag == 0) {
|
||||
let pNoReg = /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
|
||||
let pNoReg =
|
||||
/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
|
||||
if (!pNoReg.test(value)) {
|
||||
callback('请输入正确的身份证号码')
|
||||
}
|
||||
@@ -231,8 +228,7 @@
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
|
||||
|
||||
@@ -280,19 +276,82 @@
|
||||
this.$set(this.formData.affiliate, 'code', this.getUserInfoList.idCard)
|
||||
this.$set(this.formData.affiliate, 'applicationEmail', this.getUserInfoList.email)
|
||||
this.$set(this.formData.affiliate, 'applicationPhone', this.getUserInfoList.phonenumber)
|
||||
if (this.formZipData.affiliate) {
|
||||
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
||||
this.$set(this.formData, 'facts', this.formZipData.facts);
|
||||
this.$set(this.formData.affiliate, 'applicantHome', this.formZipData.affiliate
|
||||
.applicantHome);
|
||||
this.$set(this.formData.affiliate, 'applicantAddress', this.formZipData.affiliate
|
||||
.applicantAddress);
|
||||
this.$set(this.formData.affiliate, 'contactTelphoneAgent', this.formZipData
|
||||
.affiliate.contactTelphoneAgent);
|
||||
this.$set(this.formData.affiliate, 'nameAgent', this.formZipData.affiliate
|
||||
.nameAgent);
|
||||
this.$set(this.formData.affiliate, 'agentEmail', this.formZipData.affiliate
|
||||
.agentEmail);
|
||||
this.$set(this.formData.affiliate, 'respondentName', this.formZipData.affiliate
|
||||
.respondentName);
|
||||
this.$set(this.formData.affiliate, 'respondentPhone', this.formZipData.affiliate
|
||||
.respondentPhone);
|
||||
this.$set(this.formData.affiliate, 'respondentIdentityNum', this.formZipData
|
||||
.affiliate.respondentIdentityNum);
|
||||
this.$set(this.formData.affiliate, 'respondentSex', Number(this.formZipData
|
||||
.affiliate.respondentSex));
|
||||
this.$set(this.formData.affiliate, 'respondentBirth', this.formZipData.affiliate
|
||||
.respondentBirth);
|
||||
this.$set(this.formData.affiliate, 'respondentHome', this.formZipData.affiliate
|
||||
.respondentHome);
|
||||
this.$set(this.formData.affiliate, 'respondentEmail', this.formZipData.affiliate
|
||||
.respondentEmail);
|
||||
this.$set(this.formData.affiliate, 'compLegalPerson', this.formZipData.affiliate
|
||||
.compLegalPerson);
|
||||
} else {
|
||||
this.$set(this.formData.affiliate, 'nameAgent', null)
|
||||
this.$set(this.formData.affiliate, 'agentEmail', null)
|
||||
this.$set(this.formData.affiliate, 'contactTelphoneAgent', null)
|
||||
}
|
||||
this.disabledVal = false
|
||||
this.disabledApplicat = true
|
||||
} else if (this.formData.affiliate.organizeFlag == 1) {
|
||||
this.$set(this.formData.affiliate, 'nameAgent', this.getUserInfoList.nickName)
|
||||
this.$set(this.formData.affiliate, 'agentEmail', this.getUserInfoList.email)
|
||||
this.$set(this.formData.affiliate, 'contactTelphoneAgent', this.getUserInfoList.phonenumber)
|
||||
if (this.formZipData.affiliate) {
|
||||
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
||||
this.$set(this.formData, 'facts', this.formZipData.facts);
|
||||
this.$set(this.formData.affiliate, 'applicationName', this.formZipData.affiliate
|
||||
.applicationName);
|
||||
this.$set(this.formData.affiliate, 'code', this.formZipData.affiliate.code);
|
||||
this.$set(this.formData.affiliate, 'applicantHome', this.formZipData.affiliate
|
||||
.applicantHome);
|
||||
this.$set(this.formData.affiliate, 'applicantAddress', this.formZipData.affiliate
|
||||
.applicantAddress);
|
||||
this.$set(this.formData.affiliate, 'compLegalPerson', this.formZipData.affiliate
|
||||
.compLegalPerson);
|
||||
this.$set(this.formData.affiliate, 'applicationEmail', this.formZipData.affiliate
|
||||
.applicationEmail);
|
||||
this.$set(this.formData.affiliate, 'applicationPhone', this.formZipData.affiliate
|
||||
.applicationPhone);
|
||||
this.$set(this.formData.affiliate, 'respondentName', this.formZipData.affiliate
|
||||
.respondentName);
|
||||
this.$set(this.formData.affiliate, 'respondentPhone', this.formZipData.affiliate
|
||||
.respondentPhone);
|
||||
this.$set(this.formData.affiliate, 'respondentIdentityNum', this.formZipData
|
||||
.affiliate.respondentIdentityNum);
|
||||
this.$set(this.formData.affiliate, 'respondentSex', Number(this.formZipData
|
||||
.affiliate.respondentSex));
|
||||
this.$set(this.formData.affiliate, 'respondentBirth', this.formZipData.affiliate
|
||||
.respondentBirth);
|
||||
this.$set(this.formData.affiliate, 'respondentHome', this.formZipData.affiliate
|
||||
.respondentHome);
|
||||
this.$set(this.formData.affiliate, 'respondentEmail', this.formZipData.affiliate
|
||||
.respondentEmail);
|
||||
} else {
|
||||
this.$set(this.formData.affiliate, 'applicationName', null)
|
||||
this.$set(this.formData.affiliate, 'code', null)
|
||||
this.$set(this.formData.affiliate, 'applicationEmail', null)
|
||||
this.$set(this.formData.affiliate, 'applicationPhone', null)
|
||||
}
|
||||
this.disabledVal = true
|
||||
this.disabledApplicat = false
|
||||
}
|
||||
@@ -305,7 +364,10 @@
|
||||
getTemplate(data).then((res) => {
|
||||
//this.templateList = res.rows;
|
||||
res.rows.forEach(item => {
|
||||
this.templateList.push({value:item.id,text:item.temName})
|
||||
this.templateList.push({
|
||||
value: item.id,
|
||||
text: item.temName
|
||||
})
|
||||
})
|
||||
});
|
||||
},
|
||||
@@ -354,6 +416,108 @@
|
||||
})
|
||||
});
|
||||
},
|
||||
// 压缩包上传
|
||||
selectZip(e) {
|
||||
if (e.tempFiles[0].extname != 'zip') {
|
||||
uni.showToast({
|
||||
title: '上传类型为zip',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
return
|
||||
}
|
||||
// loading
|
||||
this.tempFilePathsZip = e.tempFilePaths;
|
||||
uni.showLoading({
|
||||
title: '上传中'
|
||||
});
|
||||
uni.uploadFile({
|
||||
url: config.baseUrlTJ + "/caseApplication/userIdentify",
|
||||
filePath: this.tempFilePathsZip[0],
|
||||
header: {
|
||||
Authorization: getToken() || '',
|
||||
},
|
||||
name: 'file',
|
||||
success: (res) => {
|
||||
let result = JSON.parse(res.data)
|
||||
uni.showToast({
|
||||
title: '上传成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
this.formZipData = result.data;
|
||||
if (this.formData.affiliate.organizeFlag == 0) {
|
||||
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
||||
this.$set(this.formData, 'facts', this.formZipData.facts);
|
||||
this.$set(this.formData.affiliate, 'applicantHome', this.formZipData.affiliate
|
||||
.applicantHome);
|
||||
this.$set(this.formData.affiliate, 'applicantAddress', this.formZipData.affiliate
|
||||
.applicantAddress);
|
||||
this.$set(this.formData.affiliate, 'contactTelphoneAgent', this.formZipData
|
||||
.affiliate.contactTelphoneAgent);
|
||||
this.$set(this.formData.affiliate, 'nameAgent', this.formZipData.affiliate
|
||||
.nameAgent);
|
||||
this.$set(this.formData.affiliate, 'agentEmail', this.formZipData.affiliate
|
||||
.agentEmail);
|
||||
this.$set(this.formData.affiliate, 'respondentName', this.formZipData.affiliate
|
||||
.respondentName);
|
||||
this.$set(this.formData.affiliate, 'respondentPhone', this.formZipData.affiliate
|
||||
.respondentPhone);
|
||||
this.$set(this.formData.affiliate, 'respondentIdentityNum', this.formZipData
|
||||
.affiliate.respondentIdentityNum);
|
||||
this.$set(this.formData.affiliate, 'respondentSex', Number(this.formZipData
|
||||
.affiliate.respondentSex));
|
||||
this.$set(this.formData.affiliate, 'respondentBirth', this.formZipData.affiliate
|
||||
.respondentBirth);
|
||||
this.$set(this.formData.affiliate, 'respondentHome', this.formZipData.affiliate
|
||||
.respondentHome);
|
||||
this.$set(this.formData.affiliate, 'respondentEmail', this.formZipData.affiliate
|
||||
.respondentEmail);
|
||||
this.$set(this.formData.affiliate, 'compLegalPerson', this.formZipData.affiliate
|
||||
.compLegalPerson);
|
||||
} else if (this.formData.affiliate.organizeFlag == 1) {
|
||||
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
||||
this.$set(this.formData, 'facts', this.formZipData.facts);
|
||||
this.$set(this.formData.affiliate, 'applicationName', this.formZipData.affiliate
|
||||
.applicationName);
|
||||
this.$set(this.formData.affiliate, 'code', this.formZipData.affiliate.code);
|
||||
this.$set(this.formData.affiliate, 'applicantHome', this.formZipData.affiliate
|
||||
.applicantHome);
|
||||
this.$set(this.formData.affiliate, 'applicantAddress', this.formZipData.affiliate
|
||||
.applicantAddress);
|
||||
this.$set(this.formData.affiliate, 'compLegalPerson', this.formZipData.affiliate
|
||||
.compLegalPerson);
|
||||
this.$set(this.formData.affiliate, 'applicationEmail', this.formZipData.affiliate
|
||||
.applicationEmail);
|
||||
this.$set(this.formData.affiliate, 'applicationPhone', this.formZipData.affiliate
|
||||
.applicationPhone);
|
||||
this.$set(this.formData.affiliate, 'respondentName', this.formZipData.affiliate
|
||||
.respondentName);
|
||||
this.$set(this.formData.affiliate, 'respondentPhone', this.formZipData.affiliate
|
||||
.respondentPhone);
|
||||
this.$set(this.formData.affiliate, 'respondentIdentityNum', this.formZipData
|
||||
.affiliate.respondentIdentityNum);
|
||||
this.$set(this.formData.affiliate, 'respondentSex', Number(this.formZipData
|
||||
.affiliate.respondentSex));
|
||||
this.$set(this.formData.affiliate, 'respondentBirth', this.formZipData.affiliate
|
||||
.respondentBirth);
|
||||
this.$set(this.formData.affiliate, 'respondentHome', this.formZipData.affiliate
|
||||
.respondentHome);
|
||||
this.$set(this.formData.affiliate, 'respondentEmail', this.formZipData.affiliate
|
||||
.respondentEmail);
|
||||
}
|
||||
uni.hideLoading();
|
||||
},
|
||||
fail: (err) => {
|
||||
uni.showToast({
|
||||
title: '上传失败',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
},
|
||||
// 文件上传
|
||||
select(e) {
|
||||
this.tempFilePaths = e.tempFilePaths;
|
||||
@@ -405,10 +569,16 @@
|
||||
onLoad(data) {
|
||||
this.ids = data.id
|
||||
if (this.ids) {
|
||||
this.caseApplicationSelectByIdFn({id:data.id})
|
||||
uni.setNavigationBarTitle({title:"案件修改"})
|
||||
this.caseApplicationSelectByIdFn({
|
||||
id: data.id
|
||||
})
|
||||
uni.setNavigationBarTitle({
|
||||
title: "案件修改"
|
||||
})
|
||||
} else {
|
||||
uni.setNavigationBarTitle({title:"案件新增"})
|
||||
uni.setNavigationBarTitle({
|
||||
title: "案件新增"
|
||||
})
|
||||
}
|
||||
this.getTemplateFn()
|
||||
this.getUserInfoNumber()
|
||||
@@ -417,13 +587,13 @@
|
||||
this.$refs.form.setRules(this.rules)
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.assignrbitrators {
|
||||
margin: 30rpx;
|
||||
}
|
||||
|
||||
+3
-1
@@ -6,7 +6,7 @@
|
||||
<text class="title">仲裁平台</text>
|
||||
</view>
|
||||
<view class="logo-content align-center justify-center flex" v-if="logSyste==2">
|
||||
<image style="width: 100rpx;height: 100rpx;" src="../static/refree.png" mode="widthFix">
|
||||
<image style="width: 100rpx;height: 100rpx;" src="https://txroom.xayunmei.com/refree.png" mode="widthFix">
|
||||
</image>
|
||||
<text class="title">调解平台</text>
|
||||
</view>
|
||||
@@ -234,8 +234,10 @@
|
||||
width: 200rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.ageen-read {
|
||||
margin-top: 65rpx;
|
||||
|
||||
.agreen-text {
|
||||
padding-left: 20rpx;
|
||||
color: #999;
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
</swiper>
|
||||
</uni-swiper-dot>
|
||||
<!-- 调解轮播图 -->
|
||||
<uni-swiper-dot v-if="sysType==2" class="uni-swiper-dot-box" :info="refreesVal" :current="current" field="content">
|
||||
<uni-swiper-dot v-if="sysType==2" class="uni-swiper-dot-box" :info="refreesVal" :current="current"
|
||||
field="content">
|
||||
<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
||||
<swiper-item v-for="(item, index) in refreesVal" :key="index">
|
||||
<view class="swiper-item" @click="clickBannerItem(item)">
|
||||
@@ -124,15 +125,13 @@
|
||||
image: 'https://img.tukuppt.com/bg_grid/00/81/07/DGEl4suqeV.jpg!/fh/350'
|
||||
}
|
||||
],
|
||||
refreesVal :[
|
||||
{
|
||||
image:'../../static/tiaojie1.png'
|
||||
refreesVal: [{
|
||||
image: 'https://txroom.xayunmei.com/tiaojie1.png'
|
||||
}, {
|
||||
image:'../../static/tiaojie2.png'
|
||||
image: 'https://txroom.xayunmei.com/tiaojie2.png'
|
||||
}, {
|
||||
image:'../../static/tiaojie4.png'
|
||||
}
|
||||
],
|
||||
image: 'https://txroom.xayunmei.com/tiaojie4.png'
|
||||
}],
|
||||
certificationStatus: "",
|
||||
eidToken: "",
|
||||
sysType: null
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 185 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 719 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 483 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 394 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.3 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user