Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/miniapp into gyj
This commit was merged in pull request #45.
This commit is contained in:
+3
-1
@@ -49,7 +49,9 @@
|
|||||||
"postcss": true
|
"postcss": true
|
||||||
},
|
},
|
||||||
"optimization": {
|
"optimization": {
|
||||||
"subPackages": true
|
"subPackages": {
|
||||||
|
"subPackages": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"usingComponents": true,
|
"usingComponents": true,
|
||||||
"permission": {}
|
"permission": {}
|
||||||
|
|||||||
@@ -3,14 +3,16 @@
|
|||||||
<view class="assignrbitrators">
|
<view class="assignrbitrators">
|
||||||
<uni-forms ref="form" :modelValue="formData" :rules="rules">
|
<uni-forms ref="form" :modelValue="formData" :rules="rules">
|
||||||
<uni-section title="案件信息" type="line" padding></uni-section>
|
<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
|
<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-easyinput v-model="formData.arbitratClaims" type="textarea" placeholder="请输入申请人调解请求" />
|
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="事实和理由:" name="facts" label-width="120px" required
|
<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-easyinput v-model="formData.facts" type="textarea" 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
|
||||||
@@ -24,15 +26,16 @@
|
|||||||
<uni-data-select :localdata="templateList" v-model="formData.templateId"></uni-data-select>
|
<uni-data-select :localdata="templateList" v-model="formData.templateId"></uni-data-select>
|
||||||
</uni-forms-item> -->
|
</uni-forms-item> -->
|
||||||
<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">
|
<uni-forms-item label="证据:" label-width="120px" v-if="ids">
|
||||||
<view class="" v-for="item in formData.caseAttachList">
|
<view class="" v-for="item in formData.caseAttachList">
|
||||||
<uni-link v-if="item.annexType==2" :href="baseUrl+item.annexPath" color="#007BFF"
|
<uni-link v-if="item.annexType==2" :href="baseUrl+item.annexPath" color="#007BFF"
|
||||||
:text="item.annexName"></uni-link>
|
:text="item.annexName"></uni-link>
|
||||||
</view>
|
</view>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="调解申请书:" label-width="120px" v-if="ids">
|
<uni-forms-item label="调解申请书:" label-width="120px" v-if="ids">
|
||||||
<view class="" v-for="item in formData.caseAttachList">
|
<view class="" v-for="item in formData.caseAttachList">
|
||||||
<uni-link v-if="item.annexType==3" :href="baseUrl+item.annexPath" color="#007BFF"
|
<uni-link v-if="item.annexType==3" :href="baseUrl+item.annexPath" color="#007BFF"
|
||||||
:text="item.annexName"></uni-link>
|
:text="item.annexName"></uni-link>
|
||||||
@@ -40,222 +43,215 @@
|
|||||||
</uni-forms-item>
|
</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"
|
||||||
:disabled="ids?true:false"
|
v-model="formData.affiliate.organizeFlag" @change='clearValidate'></uni-data-checkbox>
|
||||||
:localdata="objectiJurisArr"
|
|
||||||
v-model="formData.affiliate.organizeFlag"
|
|
||||||
@change='clearValidate'></uni-data-checkbox>
|
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '申请人':'申请机构'" :rules="rulesappName" name="affiliate.applicationName" label-width="120px" required >
|
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '申请人':'申请机构'" :rules="rulesappName"
|
||||||
<uni-easyinput v-model="formData.affiliate.applicationName" :disabled="disabledApplicat" type="text" :placeholder="formData.affiliate.organizeFlag==0 ? '请输入申请人姓名':'请输入申请机构名称'"/>
|
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>
|
||||||
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '身份证号码':'机构代码'" name="affiliate.code" label-width="120px" required
|
<uni-forms-item :label="formData.affiliate.organizeFlag==0 ? '身份证号码':'机构代码'" name="affiliate.code"
|
||||||
:rules="rulesappNo">
|
label-width="120px" required :rules="rulesappNo">
|
||||||
<uni-easyinput v-model="formData.affiliate.code" :disabled="disabledApplicat" type="text" :placeholder="formData.affiliate.organizeFlag==0 ? '请输入身份证号码':'请输入统一社会代码'" />
|
<uni-easyinput v-model="formData.affiliate.code" :disabled="disabledApplicat" type="text"
|
||||||
|
:placeholder="formData.affiliate.organizeFlag==0 ? '请输入身份证号码':'请输入统一社会代码'" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
|
|
||||||
<uni-forms-item label="申请人邮箱:" v-if="formData.affiliate.organizeFlag==0" name="affiliate.applicationEmail" label-width="120px" required
|
<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-easyinput v-model="formData.affiliate.applicationEmail"
|
type="text" placeholder="请输入申请人邮箱" />
|
||||||
:disabled="disabledApplicat"
|
|
||||||
type="text" placeholder="请输入申请人邮箱" />
|
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="申请人电话:" v-if="formData.affiliate.organizeFlag==0" name="affiliate.applicationPhone" label-width="120px" required
|
<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"
|
||||||
<uni-easyinput v-model="formData.affiliate.applicationPhone" :disabled="disabledApplicat" type="text" placeholder="请输入申请人电话" />
|
type="text" placeholder="请输入申请人电话" />
|
||||||
</uni-forms-item>
|
</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-easyinput v-model="formData.affiliate.compLegalPerson" type="text" placeholder="请输入法定代表人" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="申请人住所:" name="affiliate.applicantHome" label-width="120px" required
|
<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-easyinput v-model="formData.affiliate.applicantHome" type="text" placeholder="请输入申请人住所" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="申请人联系地址:" name="affiliate.applicantAddress" label-width="120px" required
|
<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-easyinput v-model="formData.affiliate.applicantAddress" type="text" placeholder="请输入申请人联系地址" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="代理人联系电话:" label-width="120px">
|
<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>
|
||||||
<uni-forms-item label="代理人姓名:" label-width="120px">
|
<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>
|
||||||
<uni-forms-item label="代理人邮箱:" label-width="120px">
|
<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>
|
||||||
<uni-forms-item label="被申请人姓名:" name="affiliate.respondentName" label-width="120px" required
|
<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-easyinput v-model="formData.affiliate.respondentName" type="text" placeholder="请输入被申请人姓名" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人联系电话:" name="affiliate.respondentPhone" label-width="120px" required
|
<uni-forms-item label="被申请人联系电话:" name="affiliate.respondentPhone" label-width="120px" required :rules="[
|
||||||
:rules="[
|
|
||||||
{required: true,errorMessage: '被申请人联系电话不能为空'},
|
{required: true,errorMessage: '被申请人联系电话不能为空'},
|
||||||
{pattern:'^[1][3,4,5,6,7,8,9][0-9]{9}$',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-easyinput v-model="formData.affiliate.respondentPhone" type="text" placeholder="请输入被申请人联系电话" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人身份证号:" name="affiliate.respondentIdentityNum" label-width="120px" required
|
<uni-forms-item label="被申请人身份证号:" name="affiliate.respondentIdentityNum" label-width="120px" required
|
||||||
:rules="[
|
:rules="[
|
||||||
{required: true,errorMessage: '被申请人身份证号不能为空'},
|
{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:'被申请人身份证格式错误'}
|
{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"
|
||||||
<uni-easyinput v-model="formData.affiliate.respondentIdentityNum" @blur="handleBlur" type="text" placeholder="请输入被申请人身份证号" />
|
placeholder="请输入被申请人身份证号" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人性别" label-width="120px" required>
|
<uni-forms-item label="被申请人性别" label-width="120px" required>
|
||||||
<uni-data-checkbox class='checkbox'
|
<uni-data-checkbox class='checkbox' :disabled='true' v-model="formData.affiliate.respondentSex"
|
||||||
:disabled='true'
|
|
||||||
v-model="formData.affiliate.respondentSex"
|
|
||||||
:localdata="respondentSexy"></uni-data-checkbox>
|
:localdata="respondentSexy"></uni-data-checkbox>
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人出生年月日" label-width="120px">
|
<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>
|
||||||
<uni-forms-item label="被申请人住所:" name="affiliate.respondentHome" label-width="120px" required
|
<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-easyinput v-model="formData.affiliate.respondentHome" type="text" placeholder="请输入被申请人住所" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<uni-forms-item label="被申请人邮箱:" name="affiliate.respondentEmail" label-width="120px" required
|
<uni-forms-item label="被申请人邮箱:" name="affiliate.respondentEmail" label-width="120px" required :rules="[
|
||||||
:rules="[
|
|
||||||
{required: true,errorMessage: '被申请人邮箱不能为空'},
|
{required: true,errorMessage: '被申请人邮箱不能为空'},
|
||||||
{pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
{pattern:'^\\S+?@\\S+?\\.\\S+?$',errorMessage:'邮箱格式不正确'}
|
||||||
|
|
||||||
]"
|
]">
|
||||||
>
|
|
||||||
<uni-easyinput v-model="formData.affiliate.respondentEmail" type="text" placeholder="请输入被申请人邮箱" />
|
<uni-easyinput v-model="formData.affiliate.respondentEmail" type="text" placeholder="请输入被申请人邮箱" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
</uni-forms>
|
</uni-forms>
|
||||||
<view class="determine" style="text-align: center;">
|
<view class="determine" style="text-align: center;">
|
||||||
<button class="mini-btn"
|
<button class="mini-btn" type="primary" size="mini" @tap="submitReasont">确定</button>
|
||||||
type="primary" size="mini"
|
<button style="margin-left:30rpx;" class="mini-btn" type="default" size="mini"
|
||||||
@tap="submitReasont">确定</button>
|
@tap="cencalBut">取消</button>
|
||||||
<button style="margin-left:30rpx;" class="mini-btn"
|
|
||||||
type="default" size="mini"
|
|
||||||
@tap="cencalBut">取消</button>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<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 {
|
import {
|
||||||
getToken
|
getToken
|
||||||
} from '@/utils/auth'
|
} from '@/utils/auth'
|
||||||
import config from '@/config'
|
import config from '@/config'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
baseUrl : config.baseUrlTJ,
|
baseUrl: config.baseUrlTJ,
|
||||||
formData:{
|
formZipData: {},
|
||||||
affiliate:{
|
formData: {
|
||||||
organizeFlag: 0,
|
affiliate: {
|
||||||
respondentSex: 0,
|
organizeFlag: 0,
|
||||||
},
|
respondentSex: 0,
|
||||||
columnValueList: [],
|
|
||||||
caseAttachList: [],
|
|
||||||
},
|
},
|
||||||
getUserInfoList:{},
|
columnValueList: [],
|
||||||
ids:null,
|
caseAttachList: [],
|
||||||
tempFilePaths: null,
|
},
|
||||||
templateList:[],
|
getUserInfoList: {},
|
||||||
objectiJurisArr: [{
|
ids: null,
|
||||||
text: '自然人',
|
tempFilePaths: null,
|
||||||
value: 0
|
tempFilePathsZip: null,
|
||||||
}, {
|
templateList: [],
|
||||||
text: '机构',
|
objectiJurisArr: [{
|
||||||
value: 1
|
text: '自然人',
|
||||||
}],
|
value: 0
|
||||||
respondentSexy: [
|
}, {
|
||||||
{
|
text: '机构',
|
||||||
text: '女',
|
value: 1
|
||||||
value: 1
|
}],
|
||||||
}, {
|
respondentSexy: [{
|
||||||
text: '男',
|
text: '女',
|
||||||
value: 0
|
value: 1
|
||||||
}
|
}, {
|
||||||
],
|
text: '男',
|
||||||
disabledVal:false,
|
value: 0
|
||||||
disabledApplicat:false,
|
}],
|
||||||
fileList: {},
|
disabledVal: false,
|
||||||
rules:{},
|
disabledApplicat: false,
|
||||||
rulesappName: [
|
fileList: {},
|
||||||
{
|
fileListZip: {},
|
||||||
required: true,
|
rules: {},
|
||||||
errorMessage: '输入信息不能为空',
|
rulesappName: [{
|
||||||
},{
|
required: true,
|
||||||
|
errorMessage: '输入信息不能为空',
|
||||||
validateFunction: (rule, value, data, callback) => {
|
}, {
|
||||||
//判断手机号格式时候正确
|
|
||||||
if (value.length<1) {
|
validateFunction: (rule, value, data, callback) => {
|
||||||
if(this.formData.affiliate.organizeFlag == 0){
|
//判断手机号格式时候正确
|
||||||
callback('请输入申请人姓名')
|
if (value.length < 1) {
|
||||||
}else{
|
if (this.formData.affiliate.organizeFlag == 0) {
|
||||||
callback('请输入机构名称')
|
callback('请输入申请人姓名')
|
||||||
}
|
} else {
|
||||||
}
|
callback('请输入机构名称')
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
],
|
return true
|
||||||
rulesappNo: [
|
}
|
||||||
{
|
|
||||||
required: true,
|
}],
|
||||||
errorMessage:'输入信息不能为空',
|
rulesappNo: [{
|
||||||
},{
|
required: true,
|
||||||
|
errorMessage: '输入信息不能为空',
|
||||||
validateFunction: (rule, value, data, callback) => {
|
}, {
|
||||||
//判断手机号格
|
|
||||||
if(this.formData.affiliate.organizeFlag == 0){
|
validateFunction: (rule, value, data, callback) => {
|
||||||
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)){
|
if (this.formData.affiliate.organizeFlag == 0) {
|
||||||
callback('请输入正确的身份证号码')
|
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]$/
|
||||||
}else{
|
if (!pNoReg.test(value)) {
|
||||||
if(!value){
|
callback('请输入正确的身份证号码')
|
||||||
callback('请输入正确的机构信息')
|
}
|
||||||
}
|
} else {
|
||||||
}
|
if (!value) {
|
||||||
return true
|
callback('请输入正确的机构信息')
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
submitReasont(){
|
submitReasont() {
|
||||||
this.$refs.form.validate().then(res=>{
|
this.$refs.form.validate().then(res => {
|
||||||
console.log(this.ids)
|
console.log(this.ids)
|
||||||
if(this.ids){
|
if (this.ids) {
|
||||||
this.modifyData(this.formData)
|
this.modifyData(this.formData)
|
||||||
}else{
|
} else {
|
||||||
this.insertFn(this.formData)
|
this.insertFn(this.formData)
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(err =>{
|
}).catch(err => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 获取新增默认值
|
// 获取新增默认值
|
||||||
getUserInfoNumber(){
|
getUserInfoNumber() {
|
||||||
getUserInfo().then(res =>{
|
getUserInfo().then(res => {
|
||||||
this.getUserInfoList = res.data
|
this.getUserInfoList = res.data
|
||||||
if(this.formData.affiliate.organizeFlag == 0){
|
if (this.formData.affiliate.organizeFlag == 0) {
|
||||||
this.$set(this.formData.affiliate, 'applicationName', res.data.nickName)
|
this.$set(this.formData.affiliate, 'applicationName', res.data.nickName)
|
||||||
this.$set(this.formData.affiliate, 'code', res.data.idCard)
|
this.$set(this.formData.affiliate, 'code', res.data.idCard)
|
||||||
this.$set(this.formData.affiliate, 'applicationEmail', res.data.email)
|
this.$set(this.formData.affiliate, 'applicationEmail', res.data.email)
|
||||||
@@ -263,7 +259,7 @@
|
|||||||
// this.$set(this.formData.affiliate, 'nameAgent', res.data.nickName)
|
// this.$set(this.formData.affiliate, 'nameAgent', res.data.nickName)
|
||||||
this.disabledVal = false
|
this.disabledVal = false
|
||||||
this.disabledApplicat = true
|
this.disabledApplicat = true
|
||||||
}else if(this.formData.affiliate.organizeFlag == 1){
|
} else if (this.formData.affiliate.organizeFlag == 1) {
|
||||||
console.log(this.formData.affiliate.organizeFlag)
|
console.log(this.formData.affiliate.organizeFlag)
|
||||||
this.$set(this.formData.affiliate, 'nameAgent', res.data.nickName)
|
this.$set(this.formData.affiliate, 'nameAgent', res.data.nickName)
|
||||||
this.$set(this.formData.affiliate, 'agentEmail', res.data.email)
|
this.$set(this.formData.affiliate, 'agentEmail', res.data.email)
|
||||||
@@ -271,138 +267,300 @@
|
|||||||
this.disabledVal = true
|
this.disabledVal = true
|
||||||
this.disabledApplicat = false
|
this.disabledApplicat = false
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
clearValidate(val){
|
clearValidate(val) {
|
||||||
if(this.formData.affiliate.organizeFlag == 0){
|
if (this.formData.affiliate.organizeFlag == 0) {
|
||||||
this.$set(this.formData.affiliate, 'applicationName', this.getUserInfoList.nickName)
|
this.$set(this.formData.affiliate, 'applicationName', this.getUserInfoList.nickName)
|
||||||
this.$set(this.formData.affiliate, 'code', this.getUserInfoList.idCard)
|
this.$set(this.formData.affiliate, 'code', this.getUserInfoList.idCard)
|
||||||
this.$set(this.formData.affiliate, 'applicationEmail', this.getUserInfoList.email)
|
this.$set(this.formData.affiliate, 'applicationEmail', this.getUserInfoList.email)
|
||||||
this.$set(this.formData.affiliate, 'applicationPhone', this.getUserInfoList.phonenumber)
|
this.$set(this.formData.affiliate, 'applicationPhone', this.getUserInfoList.phonenumber)
|
||||||
this.$set(this.formData.affiliate, 'nameAgent', null)
|
if (this.formZipData.affiliate) {
|
||||||
this.$set(this.formData.affiliate, 'agentEmail', null)
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
||||||
this.$set(this.formData.affiliate, 'contactTelphoneAgent', null)
|
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.disabledVal = false
|
||||||
this.disabledApplicat = true
|
this.disabledApplicat = true
|
||||||
}else if(this.formData.affiliate.organizeFlag == 1){
|
} else if (this.formData.affiliate.organizeFlag == 1) {
|
||||||
this.$set(this.formData.affiliate, 'nameAgent', this.getUserInfoList.nickName)
|
this.$set(this.formData.affiliate, 'nameAgent', this.getUserInfoList.nickName)
|
||||||
this.$set(this.formData.affiliate, 'agentEmail', this.getUserInfoList.email)
|
this.$set(this.formData.affiliate, 'agentEmail', this.getUserInfoList.email)
|
||||||
this.$set(this.formData.affiliate, 'contactTelphoneAgent', this.getUserInfoList.phonenumber)
|
this.$set(this.formData.affiliate, 'contactTelphoneAgent', this.getUserInfoList.phonenumber)
|
||||||
this.$set(this.formData.affiliate, 'applicationName', null)
|
if (this.formZipData.affiliate) {
|
||||||
this.$set(this.formData.affiliate, 'code', null)
|
this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
|
||||||
this.$set(this.formData.affiliate, 'applicationEmail', null)
|
this.$set(this.formData, 'facts', this.formZipData.facts);
|
||||||
this.$set(this.formData.affiliate, 'applicationPhone', null)
|
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.disabledVal = true
|
||||||
this.disabledApplicat = false
|
this.disabledApplicat = false
|
||||||
}
|
}
|
||||||
// this.formData.affiliate.applicationName =null
|
// this.formData.affiliate.applicationName =null
|
||||||
// this.formData.affiliate.code =null
|
// this.formData.affiliate.code =null
|
||||||
this.$refs["form"].clearValidate()
|
this.$refs["form"].clearValidate()
|
||||||
},
|
},
|
||||||
/** 获取裁决书模板 */
|
/** 获取裁决书模板 */
|
||||||
getTemplateFn(data) {
|
getTemplateFn(data) {
|
||||||
getTemplate(data).then((res) => {
|
getTemplate(data).then((res) => {
|
||||||
//this.templateList = res.rows;
|
//this.templateList = res.rows;
|
||||||
res.rows.forEach(item=>{
|
res.rows.forEach(item => {
|
||||||
this.templateList.push({value:item.id,text:item.temName})
|
this.templateList.push({
|
||||||
|
value: item.id,
|
||||||
|
text: item.temName
|
||||||
|
})
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
/** 根据案件id获取对应信息 */
|
||||||
|
caseApplicationSelectByIdFn(data) {
|
||||||
|
caseApplicationSelectById(data).then(res => {
|
||||||
|
res.data.affiliate.respondentSex = Number(res.data.affiliate.respondentSex)
|
||||||
|
this.formData = res.data
|
||||||
|
console.log(this.formData)
|
||||||
|
})
|
||||||
},
|
},
|
||||||
/** 根据案件id获取对应信息 */
|
|
||||||
caseApplicationSelectByIdFn(data) {
|
|
||||||
caseApplicationSelectById(data).then(res=>{
|
|
||||||
res.data.affiliate.respondentSex = Number(res.data.affiliate.respondentSex)
|
|
||||||
this.formData = res.data
|
|
||||||
console.log( this.formData)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 被申请人获取性别出生年月
|
// 被申请人获取性别出生年月
|
||||||
handleBlur(){
|
handleBlur() {
|
||||||
let idCards = {
|
let idCards = {
|
||||||
idCard: this.formData.affiliate.respondentIdentityNum,
|
idCard: this.formData.affiliate.respondentIdentityNum,
|
||||||
};
|
};
|
||||||
getInfoByIdCard(idCards).then(res=>{
|
getInfoByIdCard(idCards).then(res => {
|
||||||
this.formData.affiliate.respondentSex = Number(res.respondentSex);
|
this.formData.affiliate.respondentSex = Number(res.respondentSex);
|
||||||
this.formData.affiliate.respondentBirth = res.respondentBirth;
|
this.formData.affiliate.respondentBirth = res.respondentBirth;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 新增案件
|
// 新增案件
|
||||||
insertFn(data) {
|
insertFn(data) {
|
||||||
caseApplicationInsert(data).then((res) => {
|
caseApplicationInsert(data).then((res) => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '新增成功',
|
title: '新增成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'../index'
|
url: '../index'
|
||||||
})
|
})
|
||||||
// uni.navigateBack({
|
// this.$router.go(-1)
|
||||||
// delta:1
|
});
|
||||||
// })
|
|
||||||
// this.$router.go(-1)
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
//修改案件
|
//修改案件
|
||||||
modifyData(data) {
|
modifyData(data) {
|
||||||
updateComfire(data).then((res) => {
|
updateComfire(data).then((res) => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '修改成功',
|
title: '修改成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
|
||||||
// uni.navigateTo({
|
|
||||||
// url:'../index'
|
|
||||||
// })
|
|
||||||
uni.navigateBack({
|
|
||||||
delta:1
|
|
||||||
})
|
|
||||||
});
|
|
||||||
},
|
|
||||||
// 文件上传
|
|
||||||
select(e) {
|
|
||||||
this.tempFilePaths = e.tempFilePaths;
|
|
||||||
// loading
|
|
||||||
uni.showLoading({
|
|
||||||
title: '上传中'
|
|
||||||
});
|
|
||||||
uni.uploadFile({
|
|
||||||
url: config.baseUrlTJ + "/common/upload",
|
|
||||||
filePath: this.tempFilePaths[0],
|
|
||||||
header: {
|
|
||||||
Authorization: getToken() || '',
|
|
||||||
},
|
|
||||||
formData: {
|
|
||||||
annexType: 2,
|
|
||||||
id: this.formData.id
|
|
||||||
},
|
|
||||||
name: 'file',
|
|
||||||
success: (res) => {
|
|
||||||
let result = JSON.parse(res.data)
|
|
||||||
this.formData.caseAttachList.push({
|
|
||||||
annexId: result.annexId,
|
|
||||||
annexName: result.fileName
|
|
||||||
});
|
|
||||||
console.log(result.fileName)
|
|
||||||
uni.showToast({
|
|
||||||
title: '上传成功',
|
|
||||||
icon: 'none',
|
|
||||||
duration: 1000
|
|
||||||
})
|
|
||||||
uni.hideLoading();
|
|
||||||
},
|
|
||||||
fail: (err) => {
|
|
||||||
uni.showToast({
|
|
||||||
title: '上传失败',
|
|
||||||
icon: 'none',
|
|
||||||
duration: 1000
|
|
||||||
})
|
|
||||||
uni.hideLoading()
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
uni.navigateTo({
|
||||||
cencalBut(){
|
url: '../index'
|
||||||
|
})
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 压缩包上传
|
||||||
|
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;
|
||||||
|
// loading
|
||||||
|
uni.showLoading({
|
||||||
|
title: '上传中'
|
||||||
|
});
|
||||||
|
uni.uploadFile({
|
||||||
|
url: config.baseUrlTJ + "/common/upload",
|
||||||
|
filePath: this.tempFilePaths[0],
|
||||||
|
header: {
|
||||||
|
Authorization: getToken() || '',
|
||||||
|
},
|
||||||
|
formData: {
|
||||||
|
annexType: 2,
|
||||||
|
id: this.formData.id
|
||||||
|
},
|
||||||
|
name: 'file',
|
||||||
|
success: (res) => {
|
||||||
|
let result = JSON.parse(res.data)
|
||||||
|
this.formData.caseAttachList.push({
|
||||||
|
annexId: result.annexId,
|
||||||
|
annexName: result.fileName
|
||||||
|
});
|
||||||
|
console.log(result.fileName)
|
||||||
|
uni.showToast({
|
||||||
|
title: '上传成功',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 1000
|
||||||
|
})
|
||||||
|
uni.hideLoading();
|
||||||
|
},
|
||||||
|
fail: (err) => {
|
||||||
|
uni.showToast({
|
||||||
|
title: '上传失败',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 1000
|
||||||
|
})
|
||||||
|
uni.hideLoading()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
cencalBut() {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: 1
|
delta: 1
|
||||||
})
|
})
|
||||||
@@ -410,27 +568,33 @@
|
|||||||
},
|
},
|
||||||
onLoad(data) {
|
onLoad(data) {
|
||||||
this.ids = data.id
|
this.ids = data.id
|
||||||
if(this.ids){
|
if (this.ids) {
|
||||||
this.caseApplicationSelectByIdFn({id:data.id})
|
this.caseApplicationSelectByIdFn({
|
||||||
uni.setNavigationBarTitle({title:"案件修改"})
|
id: data.id
|
||||||
}else{
|
})
|
||||||
uni.setNavigationBarTitle({title:"案件新增"})
|
uni.setNavigationBarTitle({
|
||||||
|
title: "案件修改"
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title: "案件新增"
|
||||||
|
})
|
||||||
}
|
}
|
||||||
this.getTemplateFn()
|
this.getTemplateFn()
|
||||||
this.getUserInfoNumber()
|
this.getUserInfoNumber()
|
||||||
},
|
},
|
||||||
onReady() {
|
onReady() {
|
||||||
this.$refs.form.setRules(this.rules)
|
this.$refs.form.setRules(this.rules)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
</script>
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
page {
|
page {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
.assignrbitrators{
|
|
||||||
|
.assignrbitrators {
|
||||||
margin: 30rpx;
|
margin: 30rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -176,11 +176,11 @@
|
|||||||
:key="item.mediatorId">
|
:key="item.mediatorId">
|
||||||
<view>
|
<view>
|
||||||
<checkbox color="blue" style="transform:scale(0.7)"
|
<checkbox color="blue" style="transform:scale(0.7)"
|
||||||
:value="item.mediatorId + ''" />
|
:value="item.mediatorId + ''" :checked="item.echoFlag" />
|
||||||
</view>
|
</view>
|
||||||
<view class="main">
|
<view class="main">
|
||||||
<view class="">
|
<view class="">
|
||||||
仲裁员姓名:{{item.mediatorName}}
|
调解员:{{item.mediatorName}}
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
专业:{{item.specialty || '暂无信息'}}
|
专业:{{item.specialty || '暂无信息'}}
|
||||||
@@ -239,7 +239,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="" style="margin-top: 40rpx;">
|
<view class="" style="margin-top: 40rpx;">
|
||||||
<view>仲裁申请书</view>
|
<view>调解申请书</view>
|
||||||
<view v-for="item in formData.caseAttachList">
|
<view v-for="item in formData.caseAttachList">
|
||||||
<uni-link v-if="item.annexType==3" :href="item.annexPath" color="#007BFF"
|
<uni-link v-if="item.annexType==3" :href="item.annexPath" color="#007BFF"
|
||||||
:text="item.annexName"></uni-link>
|
:text="item.annexName"></uni-link>
|
||||||
@@ -511,8 +511,8 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 获取仲裁员列表
|
// 获取仲裁员列表
|
||||||
getArbitratorList() {
|
getArbitratorList(val) {
|
||||||
arbitratorList().then(res => {
|
arbitratorList({caseAppliId: val}).then(res => {
|
||||||
this.items = res.data;
|
this.items = res.data;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -593,7 +593,7 @@
|
|||||||
this.sysType = uni.getStorageSync('sysType')
|
this.sysType = uni.getStorageSync('sysType')
|
||||||
this.getData(data.id);
|
this.getData(data.id);
|
||||||
this.subnitForm.caseId = Number(data.id);
|
this.subnitForm.caseId = Number(data.id);
|
||||||
this.getArbitratorList()
|
this.getArbitratorList(data.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+223
-221
@@ -1,246 +1,248 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="normal-login-container">
|
<view class="normal-login-container">
|
||||||
<view class="logo-content align-center justify-center flex" v-if="logSyste==1">
|
<view class="logo-content align-center justify-center flex" v-if="logSyste==1">
|
||||||
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
|
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
|
||||||
</image>
|
</image>
|
||||||
<text class="title">仲裁平台</text>
|
<text class="title">仲裁平台</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="logo-content align-center justify-center flex" v-if="logSyste==2">
|
<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>
|
</image>
|
||||||
<text class="title">调解平台</text>
|
<text class="title">调解平台</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="login-form-content">
|
<view class="login-form-content">
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<view class="iconfont icon-user icon"></view>
|
<view class="iconfont icon-user icon"></view>
|
||||||
<input v-model="loginForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" />
|
<input v-model="loginForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" />
|
||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<view class="iconfont icon-password icon"></view>
|
<view class="iconfont icon-password icon"></view>
|
||||||
<input v-model="loginForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" />
|
<input v-model="loginForm.password" type="password" class="input" placeholder="请输入密码" maxlength="20" />
|
||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
|
<view class="input-item flex align-center" style="width: 60%;margin: 0px;" v-if="captchaEnabled">
|
||||||
<view class="iconfont icon-code icon"></view>
|
<view class="iconfont icon-code icon"></view>
|
||||||
<input v-model="loginForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
|
<input v-model="loginForm.code" type="number" class="input" placeholder="请输入验证码" maxlength="4" />
|
||||||
<view class="login-code">
|
<view class="login-code">
|
||||||
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
|
<image :src="codeUrl" @click="getCode" class="login-code-img"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="ageen-read">
|
<view class="ageen-read">
|
||||||
<checkbox-group @change="handleAgreeChange">
|
<checkbox-group @change="handleAgreeChange">
|
||||||
<checkbox value="agree"/>
|
<checkbox value="agree" />
|
||||||
<text class="agreen-text">阅读并同意</text>
|
<text class="agreen-text">阅读并同意</text>
|
||||||
<text @click="equityNotice" class="text-blue">《权益告知书》</text>
|
<text @click="equityNotice" class="text-blue">《权益告知书》</text>
|
||||||
</checkbox-group>
|
</checkbox-group>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="action-btn">
|
<view class="action-btn">
|
||||||
<button @click="handleLogin" class="login-btn cu-btn block bg-blue lg round">登录</button>
|
<button @click="handleLogin" class="login-btn cu-btn block bg-blue lg round">登录</button>
|
||||||
</view>
|
</view>
|
||||||
<view class="reg text-center" v-if="register">
|
<view class="reg text-center" v-if="register">
|
||||||
<text class="text-grey1">没有账号?</text>
|
<text class="text-grey1">没有账号?</text>
|
||||||
<text @click="handleUserRegister" class="text-blue">立即注册</text>
|
<text @click="handleUserRegister" class="text-blue">立即注册</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="reg text-center" v-if="register">
|
<!-- <view class="reg text-center" v-if="register">
|
||||||
<text class="text-grey1">使用其他方式登录:</text>
|
<text class="text-grey1">使用其他方式登录:</text>
|
||||||
<text @click="handleUserRegister" class="text-blue"></text>
|
<text @click="handleUserRegister" class="text-blue"></text>
|
||||||
</view> -->
|
</view> -->
|
||||||
<!-- <view class="xieyi text-center">
|
<!-- <view class="xieyi text-center">
|
||||||
<text class="text-grey1">登录即代表同意</text>
|
<text class="text-grey1">登录即代表同意</text>
|
||||||
<text @click="handleUserAgrement" class="text-blue">《用户协议》</text>
|
<text @click="handleUserAgrement" class="text-blue">《用户协议》</text>
|
||||||
<text @click="handlePrivacy" class="text-blue">《隐私协议》</text>
|
<text @click="handlePrivacy" class="text-blue">《隐私协议》</text>
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getCodeImg
|
getCodeImg
|
||||||
} from '@/api/login'
|
} from '@/api/login'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
codeUrl: "",
|
codeUrl: "",
|
||||||
captchaEnabled: true,
|
captchaEnabled: true,
|
||||||
logSyste:0,
|
logSyste: 0,
|
||||||
// 用户注册开关
|
// 用户注册开关
|
||||||
register: true,
|
register: true,
|
||||||
globalConfig: getApp().globalData.config,
|
globalConfig: getApp().globalData.config,
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: "",
|
username: "",
|
||||||
password: "",
|
password: "",
|
||||||
code: "",
|
code: "",
|
||||||
uuid: '',
|
uuid: '',
|
||||||
|
|
||||||
},
|
},
|
||||||
isSelectAgree:[]
|
isSelectAgree: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getCode()
|
this.getCode()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleAgreeChange(e){
|
handleAgreeChange(e) {
|
||||||
this.isSelectAgree = e.detail.value
|
this.isSelectAgree = e.detail.value
|
||||||
},
|
},
|
||||||
// 用户注册
|
// 用户注册
|
||||||
handleUserRegister() {
|
handleUserRegister() {
|
||||||
this.$tab.redirectTo(`/pages/realName`)
|
this.$tab.redirectTo(`/pages/realName`)
|
||||||
},
|
},
|
||||||
// 权益告知书
|
// 权益告知书
|
||||||
equityNotice(){
|
equityNotice() {
|
||||||
//this.$tab.redirectTo(`/pages/personalInfoCollection`)
|
//this.$tab.redirectTo(`/pages/personalInfoCollection`)
|
||||||
this.$tab.navigateTo(`/pages/personalInfoCollection?title=权益告知书`)
|
this.$tab.navigateTo(`/pages/personalInfoCollection?title=权益告知书`)
|
||||||
},
|
|
||||||
// 隐私协议
|
|
||||||
handlePrivacy() {
|
|
||||||
let site = this.globalConfig.appInfo.agreements[0]
|
|
||||||
this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`)
|
|
||||||
},
|
|
||||||
// 用户协议
|
|
||||||
handleUserAgrement() {
|
|
||||||
let site = this.globalConfig.appInfo.agreements[1]
|
|
||||||
this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`)
|
|
||||||
},
|
|
||||||
// 获取图形验证码
|
|
||||||
getCode() {
|
|
||||||
getCodeImg().then(res => {
|
|
||||||
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
|
|
||||||
if (this.captchaEnabled) {
|
|
||||||
this.codeUrl = 'data:image/gif;base64,' + res.img
|
|
||||||
this.loginForm.uuid = res.uuid
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 登录方法
|
|
||||||
async handleLogin() {
|
|
||||||
const sysType = uni.getStorageSync('sysType')
|
|
||||||
if (this.loginForm.username === "") {
|
|
||||||
this.$modal.msgError("请输入您的账号")
|
|
||||||
}else if(this.isSelectAgree.length < 1){
|
|
||||||
this.$modal.msgError("请先阅读个人信息收集条款并同意")
|
|
||||||
} else if (this.loginForm.password === "") {
|
|
||||||
this.$modal.msgError("请输入您的密码")
|
|
||||||
} else if (this.loginForm.code === "" && this.captchaEnabled) {
|
|
||||||
this.$modal.msgError("请输入验证码")
|
|
||||||
} else {
|
|
||||||
this.$modal.loading("登录中,请耐心等待...")
|
|
||||||
this.pwdLogin()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 密码登录
|
|
||||||
async pwdLogin() {
|
|
||||||
this.$store.dispatch('Login', this.loginForm).then(() => {
|
|
||||||
this.$modal.closeLoading()
|
|
||||||
this.loginSuccess()
|
|
||||||
}).catch(() => {
|
|
||||||
if (this.captchaEnabled) {
|
|
||||||
this.getCode()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 登录成功后,处理函数
|
|
||||||
loginSuccess(result) {
|
|
||||||
// 设置用户信息
|
|
||||||
this.$store.dispatch('GetInfo').then(res => {
|
|
||||||
this.$tab.reLaunch('/pages/work/index')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
onLoad(options){
|
// 隐私协议
|
||||||
let vals = decodeURIComponent(options.values);
|
handlePrivacy() {
|
||||||
this.logSyste = vals
|
let site = this.globalConfig.appInfo.agreements[0]
|
||||||
|
this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`)
|
||||||
|
},
|
||||||
|
// 用户协议
|
||||||
|
handleUserAgrement() {
|
||||||
|
let site = this.globalConfig.appInfo.agreements[1]
|
||||||
|
this.$tab.navigateTo(`/pages/common/webview/index?title=${site.title}&url=${site.url}`)
|
||||||
|
},
|
||||||
|
// 获取图形验证码
|
||||||
|
getCode() {
|
||||||
|
getCodeImg().then(res => {
|
||||||
|
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
|
||||||
|
if (this.captchaEnabled) {
|
||||||
|
this.codeUrl = 'data:image/gif;base64,' + res.img
|
||||||
|
this.loginForm.uuid = res.uuid
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 登录方法
|
||||||
|
async handleLogin() {
|
||||||
|
const sysType = uni.getStorageSync('sysType')
|
||||||
|
if (this.loginForm.username === "") {
|
||||||
|
this.$modal.msgError("请输入您的账号")
|
||||||
|
} else if (this.isSelectAgree.length < 1) {
|
||||||
|
this.$modal.msgError("请先阅读个人信息收集条款并同意")
|
||||||
|
} else if (this.loginForm.password === "") {
|
||||||
|
this.$modal.msgError("请输入您的密码")
|
||||||
|
} else if (this.loginForm.code === "" && this.captchaEnabled) {
|
||||||
|
this.$modal.msgError("请输入验证码")
|
||||||
|
} else {
|
||||||
|
this.$modal.loading("登录中,请耐心等待...")
|
||||||
|
this.pwdLogin()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 密码登录
|
||||||
|
async pwdLogin() {
|
||||||
|
this.$store.dispatch('Login', this.loginForm).then(() => {
|
||||||
|
this.$modal.closeLoading()
|
||||||
|
this.loginSuccess()
|
||||||
|
}).catch(() => {
|
||||||
|
if (this.captchaEnabled) {
|
||||||
|
this.getCode()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 登录成功后,处理函数
|
||||||
|
loginSuccess(result) {
|
||||||
|
// 设置用户信息
|
||||||
|
this.$store.dispatch('GetInfo').then(res => {
|
||||||
|
this.$tab.reLaunch('/pages/work/index')
|
||||||
|
})
|
||||||
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
let vals = decodeURIComponent(options.values);
|
||||||
|
this.logSyste = vals
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
page {
|
page {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.normal-login-container {
|
.normal-login-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.logo-content {
|
.logo-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 15%;
|
padding-top: 15%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-form-content {
|
|
||||||
// text-align: center;
|
|
||||||
margin: 20px auto;
|
|
||||||
margin-top: 15%;
|
|
||||||
width: 80%;
|
|
||||||
|
|
||||||
.input-item {
|
|
||||||
margin: 20px auto;
|
|
||||||
background-color: #f5f6f7;
|
|
||||||
height: 45px;
|
|
||||||
border-radius: 20px;
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
font-size: 38rpx;
|
|
||||||
margin-left: 10px;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input {
|
|
||||||
width: 100%;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 20px;
|
|
||||||
text-align: left;
|
|
||||||
padding-left: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-btn {
|
|
||||||
margin-top: 40px;
|
|
||||||
height: 45px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reg {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.xieyi {
|
|
||||||
color: #333;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-code {
|
|
||||||
height: 38px;
|
|
||||||
float: right;
|
|
||||||
|
|
||||||
.login-code-img {
|
|
||||||
height: 38px;
|
|
||||||
position: absolute;
|
|
||||||
margin-left: 10px;
|
|
||||||
width: 200rpx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.ageen-read{
|
|
||||||
margin-top:65rpx;
|
.title {
|
||||||
.agreen-text{
|
margin-left: 10px;
|
||||||
padding-left:20rpx;
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form-content {
|
||||||
|
// text-align: center;
|
||||||
|
margin: 20px auto;
|
||||||
|
margin-top: 15%;
|
||||||
|
width: 80%;
|
||||||
|
|
||||||
|
.input-item {
|
||||||
|
margin: 20px auto;
|
||||||
|
background-color: #f5f6f7;
|
||||||
|
height: 45px;
|
||||||
|
border-radius: 20px;
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
font-size: 38rpx;
|
||||||
|
margin-left: 10px;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
.input {
|
||||||
}
|
width: 100%;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 20px;
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-btn {
|
||||||
|
margin-top: 40px;
|
||||||
|
height: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reg {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.xieyi {
|
||||||
|
color: #333;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-code {
|
||||||
|
height: 38px;
|
||||||
|
float: right;
|
||||||
|
|
||||||
|
.login-code-img {
|
||||||
|
height: 38px;
|
||||||
|
position: absolute;
|
||||||
|
margin-left: 10px;
|
||||||
|
width: 200rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ageen-read {
|
||||||
|
margin-top: 65rpx;
|
||||||
|
|
||||||
|
.agreen-text {
|
||||||
|
padding-left: 20rpx;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+306
-307
@@ -1,17 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="work-container">
|
<view class="work-container">
|
||||||
<!-- 仲裁轮播图 -->
|
<!-- 仲裁轮播图 -->
|
||||||
<uni-swiper-dot v-if="sysType==1" class="uni-swiper-dot-box" :info="data" :current="current" field="content">
|
<uni-swiper-dot v-if="sysType==1" class="uni-swiper-dot-box" :info="data" :current="current" field="content">
|
||||||
<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
<swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
||||||
<swiper-item v-for="(item, index) in data" :key="index">
|
<swiper-item v-for="(item, index) in data" :key="index">
|
||||||
<view class="swiper-item" @click="clickBannerItem(item)">
|
<view class="swiper-item" @click="clickBannerItem(item)">
|
||||||
<image :src="item.image" mode="aspectFill" :draggable="false" />
|
<image :src="item.image" mode="aspectFill" :draggable="false" />
|
||||||
</view>
|
</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</uni-swiper-dot>
|
</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 class="swiper-box" :current="swiperDotIndex" @change="changeSwiper">
|
||||||
<swiper-item v-for="(item, index) in refreesVal" :key="index">
|
<swiper-item v-for="(item, index) in refreesVal" :key="index">
|
||||||
<view class="swiper-item" @click="clickBannerItem(item)">
|
<view class="swiper-item" @click="clickBannerItem(item)">
|
||||||
@@ -19,310 +20,308 @@
|
|||||||
</view>
|
</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</uni-swiper-dot>
|
</uni-swiper-dot>
|
||||||
<!-- 宫格组件 -->
|
<!-- 宫格组件 -->
|
||||||
<!-- <uni-section v-if="certificationStatus == '1'" class="uni-section" title="系统管理" type="line">
|
<!-- <uni-section v-if="certificationStatus == '1'" class="uni-section" title="系统管理" type="line">
|
||||||
<template v-slot:right>
|
<template v-slot:right>
|
||||||
已认证
|
已认证
|
||||||
</template>
|
</template>
|
||||||
</uni-section>
|
</uni-section>
|
||||||
<uni-section v-else class="uni-section" title="系统管理" type="line" @click="certification">
|
<uni-section v-else class="uni-section" title="系统管理" type="line" @click="certification">
|
||||||
<template v-slot:right>
|
<template v-slot:right>
|
||||||
未认证
|
未认证
|
||||||
</template>
|
</template>
|
||||||
</uni-section> -->
|
</uni-section> -->
|
||||||
<!-- <uni-section class="uni-section" title="系统管理" type="line"></uni-section> -->
|
<!-- <uni-section class="uni-section" title="系统管理" type="line"></uni-section> -->
|
||||||
<view class="grid-body">
|
<view class="grid-body">
|
||||||
<uni-grid :column="4" :showBorder="false">
|
<uni-grid :column="4" :showBorder="false">
|
||||||
<uni-grid-item>
|
<uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(0)">
|
<view class="grid-item-box" @tap="changeGrid(0)">
|
||||||
<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text" v-if="sysType == 1">待办案件</text>
|
<text class="text" v-if="sysType == 1">待办案件</text>
|
||||||
<text class="text" v-if="sysType == 2">我的申请</text>
|
<text class="text" v-if="sysType == 2">我的申请</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item>
|
</uni-grid-item>
|
||||||
<uni-grid-item v-if="sysType == 2 && checkPermi(['caseManagement:list:add'])">
|
<uni-grid-item v-if="sysType == 2 && checkPermi(['caseManagement:list:add'])">
|
||||||
<view class="grid-item-box" @tap="changeGrid(1)">
|
<view class="grid-item-box" @tap="changeGrid(1)">
|
||||||
<uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">立案申请</text>
|
<text class="text">立案申请</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item>
|
</uni-grid-item>
|
||||||
<!-- <uni-grid-item v-if="sysType == 2">
|
<!-- <uni-grid-item v-if="sysType == 2">
|
||||||
<view class="grid-item-box" @tap="changeGrid(2)">
|
<view class="grid-item-box" @tap="changeGrid(2)">
|
||||||
<uni-icons type="color" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="color" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">线上调解</text>
|
<text class="text">线上调解</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item>
|
</uni-grid-item>
|
||||||
<uni-grid-item v-if="sysType == 2">
|
<uni-grid-item v-if="sysType == 2">
|
||||||
<view class="grid-item-box" @tap="changeGrid(3)">
|
<view class="grid-item-box" @tap="changeGrid(3)">
|
||||||
<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">我的申请</text>
|
<text class="text">我的申请</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item> -->
|
</uni-grid-item> -->
|
||||||
<!-- <uni-grid-item>
|
<!-- <uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(4)">
|
<view class="grid-item-box" @tap="changeGrid(4)">
|
||||||
<uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">证据交换</text>
|
<text class="text">证据交换</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item> -->
|
</uni-grid-item> -->
|
||||||
<uni-grid-item>
|
<uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(5)">
|
<view class="grid-item-box" @tap="changeGrid(5)">
|
||||||
<uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text" v-if="sysType == 1">视频审理</text>
|
<text class="text" v-if="sysType == 1">视频审理</text>
|
||||||
<text class="text" v-if="sysType == 2">线上调解</text>
|
<text class="text" v-if="sysType == 2">线上调解</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item>
|
</uni-grid-item>
|
||||||
<!-- <uni-grid-item>
|
<!-- <uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(6)">
|
<view class="grid-item-box" @tap="changeGrid(6)">
|
||||||
<uni-icons type="email-filled" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="email-filled" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">查询快递</text>
|
<text class="text">查询快递</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item> -->
|
</uni-grid-item> -->
|
||||||
<!-- <uni-grid-item>
|
<!-- <uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(7)">
|
<view class="grid-item-box" @tap="changeGrid(7)">
|
||||||
<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">在线签字</text>
|
<text class="text">在线签字</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item> -->
|
</uni-grid-item> -->
|
||||||
<!-- <uni-grid-item>
|
<!-- <uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(8)">
|
<view class="grid-item-box" @tap="changeGrid(8)">
|
||||||
<uni-icons type="wallet-filled" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="wallet-filled" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">仲裁文书</text>
|
<text class="text">仲裁文书</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item>
|
</uni-grid-item>
|
||||||
<uni-grid-item>
|
<uni-grid-item>
|
||||||
<view class="grid-item-box" @tap="changeGrid(9)">
|
<view class="grid-item-box" @tap="changeGrid(9)">
|
||||||
<uni-icons type="wallet-filled" size="30" color="#327DD7"></uni-icons>
|
<uni-icons type="wallet-filled" size="30" color="#327DD7"></uni-icons>
|
||||||
<text class="text">法规政策</text>
|
<text class="text">法规政策</text>
|
||||||
</view>
|
</view>
|
||||||
</uni-grid-item> -->
|
</uni-grid-item> -->
|
||||||
</uni-grid>
|
</uni-grid>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
startEid
|
startEid
|
||||||
} from '../../mp_ecard_sdk/main.js'
|
} from '../../mp_ecard_sdk/main.js'
|
||||||
import {
|
import {
|
||||||
getEidtoken,
|
getEidtoken,
|
||||||
sendEidtoken
|
sendEidtoken
|
||||||
} from "../../api/login.js"
|
} from "../../api/login.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
current: 0,
|
current: 0,
|
||||||
swiperDotIndex: 0,
|
swiperDotIndex: 0,
|
||||||
data: [{
|
data: [{
|
||||||
image: 'https://img.tukuppt.com/bg_grid/00/09/96/qWJxN1umma.jpg!/fh/350'
|
image: 'https://img.tukuppt.com/bg_grid/00/09/96/qWJxN1umma.jpg!/fh/350'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
image: 'https://img.tukuppt.com/bg_grid/00/18/92/JBheZs7ZVK.jpg!/fh/350'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
image: 'https://img.tukuppt.com/bg_grid/00/81/07/DGEl4suqeV.jpg!/fh/350'
|
|
||||||
}
|
|
||||||
],
|
|
||||||
refreesVal :[
|
|
||||||
{
|
{
|
||||||
image:'../../static/tiaojie1.png'
|
image: 'https://img.tukuppt.com/bg_grid/00/18/92/JBheZs7ZVK.jpg!/fh/350'
|
||||||
},{
|
},
|
||||||
image:'../../static/tiaojie2.png'
|
{
|
||||||
},{
|
image: 'https://img.tukuppt.com/bg_grid/00/81/07/DGEl4suqeV.jpg!/fh/350'
|
||||||
image:'../../static/tiaojie4.png'
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
certificationStatus: "",
|
refreesVal: [{
|
||||||
|
image: 'https://txroom.xayunmei.com/tiaojie1.png'
|
||||||
|
}, {
|
||||||
|
image: 'https://txroom.xayunmei.com/tiaojie2.png'
|
||||||
|
}, {
|
||||||
|
image: 'https://txroom.xayunmei.com/tiaojie4.png'
|
||||||
|
}],
|
||||||
|
certificationStatus: "",
|
||||||
eidToken: "",
|
eidToken: "",
|
||||||
sysType:null
|
sysType: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickBannerItem(item) {
|
clickBannerItem(item) {
|
||||||
console.info(item)
|
console.info(item)
|
||||||
},
|
},
|
||||||
changeSwiper(e) {
|
changeSwiper(e) {
|
||||||
this.current = e.detail.current
|
this.current = e.detail.current
|
||||||
},
|
},
|
||||||
changeGrid(e) {
|
changeGrid(e) {
|
||||||
// this.$modal.showToast('模块建设中~')
|
// this.$modal.showToast('模块建设中~')
|
||||||
// if (this.certificationStatus == "0") {
|
// if (this.certificationStatus == "0") {
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: '请先完成实名认证',
|
// title: '请先完成实名认证',
|
||||||
// icon: 'none',
|
// icon: 'none',
|
||||||
// duration: 1000
|
// duration: 1000
|
||||||
// })
|
// })
|
||||||
// return
|
// return
|
||||||
// }
|
// }
|
||||||
switch (e) {
|
switch (e) {
|
||||||
case 0:
|
case 0:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: ('/pages/handlecase/index')
|
url: ('/pages/handlecase/index')
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: ('/pages/im/index')
|
url: ('/pages/im/index')
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: ('/pages/expressDelivery/index')
|
url: ('/pages/expressDelivery/index')
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: ('/pages/signature/index')
|
url: ('/pages/signature/index')
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: (`/pages/handlecase/component/newlyAddedCase?title=新增案件`)
|
url: (`/pages/handlecase/component/newlyAddedCase?title=新增案件`)
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 获取eidtoken
|
// 获取eidtoken
|
||||||
getEidtokenFn() {
|
getEidtokenFn() {
|
||||||
getEidtoken({}).then(res => {
|
getEidtoken({}).then(res => {
|
||||||
console.log(res.data.EidToken, "kkkkkkkkk");
|
console.log(res.data.EidToken, "kkkkkkkkk");
|
||||||
this.eidToken = res.data.EidToken
|
this.eidToken = res.data.EidToken
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击实名认证
|
// 点击实名认证
|
||||||
certification() {
|
certification() {
|
||||||
let that = this
|
let that = this
|
||||||
// uni.navigateTo({
|
// uni.navigateTo({
|
||||||
// url: ('/mp_ecard_sdk/index/index')
|
// url: ('/mp_ecard_sdk/index/index')
|
||||||
// })
|
// })
|
||||||
startEid({
|
startEid({
|
||||||
data: {
|
data: {
|
||||||
token: this.eidToken,
|
token: this.eidToken,
|
||||||
},
|
},
|
||||||
verifyDoneCallback(res) {
|
verifyDoneCallback(res) {
|
||||||
const {
|
const {
|
||||||
token,
|
token,
|
||||||
verifyDone
|
verifyDone
|
||||||
} = res;
|
} = res;
|
||||||
console.log('收到核身完成的res:', res);
|
console.log('收到核身完成的res:', res);
|
||||||
console.log('核身的token是:', token);
|
console.log('核身的token是:', token);
|
||||||
console.log('是否完成核身:', verifyDone);
|
console.log('是否完成核身:', verifyDone);
|
||||||
sendEidtoken({
|
sendEidtoken({
|
||||||
"eidToken": token
|
"eidToken": token
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
that.certificationStatus = '1'
|
that.certificationStatus = '1'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.sysType = uni.getStorageSync('sysType');
|
this.sysType = uni.getStorageSync('sysType');
|
||||||
console.log(this.sysType)
|
console.log(this.sysType)
|
||||||
// sendEidtoken({
|
// sendEidtoken({
|
||||||
// "eidToken": 'C0339AE1-7B30-4DB9-B1E4-35A10F45249B'
|
// "eidToken": 'C0339AE1-7B30-4DB9-B1E4-35A10F45249B'
|
||||||
// }).then(res => {
|
// }).then(res => {
|
||||||
// // that.certificationStatus = '已认证'
|
// // that.certificationStatus = '已认证'
|
||||||
// })
|
// })
|
||||||
this.getEidtokenFn()
|
this.getEidtokenFn()
|
||||||
// this.certificationStatus = uni.getStorageSync('certificationStatus')
|
// this.certificationStatus = uni.getStorageSync('certificationStatus')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
/* #ifndef APP-NVUE */
|
/* #ifndef APP-NVUE */
|
||||||
page {
|
page {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
view {
|
view {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* #endif */
|
/* #endif */
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-item-box {
|
.grid-item-box {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
/* #ifndef APP-NVUE */
|
/* #ifndef APP-NVUE */
|
||||||
display: flex;
|
display: flex;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 15px 0;
|
padding: 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uni-margin-wrap {
|
.uni-margin-wrap {
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper {
|
.swiper {
|
||||||
height: 300rpx;
|
height: 300rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper-box {
|
.swiper-box {
|
||||||
height: 150px;
|
height: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper-item {
|
.swiper-item {
|
||||||
/* #ifndef APP-NVUE */
|
/* #ifndef APP-NVUE */
|
||||||
display: flex;
|
display: flex;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
height: 300rpx;
|
height: 300rpx;
|
||||||
line-height: 300rpx;
|
line-height: 300rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-body {
|
.grid-body {
|
||||||
// background-image: url('https://img.tukuppt.com/bg_grid/00/18/52/aEicoC2qMI.jpg!/fh/350');
|
// background-image: url('https://img.tukuppt.com/bg_grid/00/18/52/aEicoC2qMI.jpg!/fh/350');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
height: 900rpx;
|
height: 900rpx;
|
||||||
// color: #fff;
|
// color: #fff;
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uni-section {
|
.uni-section {
|
||||||
background-color: #b90404 !important;
|
background-color: #b90404 !important;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .uni-section__content-title {
|
/deep/ .uni-section__content-title {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 500px) {
|
@media screen and (min-width: 500px) {
|
||||||
.uni-swiper-dot-box {
|
.uni-swiper-dot-box {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
/* #ifndef APP-NVUE */
|
/* #ifndef APP-NVUE */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
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
+29
-29
@@ -1,30 +1,30 @@
|
|||||||
{
|
{
|
||||||
"description": "项目配置文件。",
|
"description": "项目配置文件。",
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"include": []
|
"include": []
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"es6": false,
|
"es6": false,
|
||||||
"postcss": true,
|
"postcss": true,
|
||||||
"minified": true,
|
"minified": true,
|
||||||
"newFeature": true,
|
"newFeature": true,
|
||||||
"bigPackageSizeSupport": true,
|
"bigPackageSizeSupport": true,
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"condition": false
|
"condition": false
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "3.1.1",
|
"libVersion": "3.1.1",
|
||||||
"appid": "wx91cb8459dca561b4",
|
"appid": "wx91cb8459dca561b4",
|
||||||
"projectname": "智慧仲裁",
|
"projectname": "智慧仲裁",
|
||||||
"condition": {},
|
"condition": {},
|
||||||
"editorSetting": {
|
"editorSetting": {
|
||||||
"tabIndent": "insertSpaces",
|
"tabIndent": "insertSpaces",
|
||||||
"tabSize": 2
|
"tabSize": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||||
"projectname": "miniapp",
|
"projectname": "miniapp",
|
||||||
"setting": {
|
"setting": {
|
||||||
"compileHotReLoad": true,
|
"compileHotReLoad": true,
|
||||||
"urlCheck": false
|
"urlCheck": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user