Merge branch 'hcb' of SH-Arbitrate/Mediation-Frontend into dev
This commit was merged in pull request #118.
This commit is contained in:
@@ -88,7 +88,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" v-if="modelFlag&&labelShowMediate">
|
<el-col :span="24" v-if="modelFlag && labelShowMediate">
|
||||||
<el-form-item label="调解后调解书:">
|
<el-form-item label="调解后调解书:">
|
||||||
<div v-for="(item, index) in formData.caseAttachList" :key="index" v-if="item.annexType == 13">
|
<div v-for="(item, index) in formData.caseAttachList" :key="index" v-if="item.annexType == 13">
|
||||||
<div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath, 1)">
|
<div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath, 1)">
|
||||||
@@ -135,7 +135,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="选择机构或自然人">
|
<el-form-item label="选择机构或自然人">
|
||||||
<el-radio-group v-model="item.applicant.organizeFlag" :disabled="modelFlag" @change="clearValidate($event,index)">
|
<el-radio-group v-model="item.applicant.organizeFlag" :disabled="modelFlag"
|
||||||
|
@change="clearValidate($event, index)">
|
||||||
<el-radio :label="0">自然人</el-radio>
|
<el-radio :label="0">自然人</el-radio>
|
||||||
<el-radio :label="1">机构</el-radio>
|
<el-radio :label="1">机构</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -405,7 +406,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" v-if="buttonFlag">
|
<el-col :span="12" v-if="buttonFlag">
|
||||||
<el-button v-if="index >=1?true:false" type="primary" icon="el-icon-delete" style='margin-bottom: 40px;'
|
<el-button v-if="index >= 1 ? true : false" type="primary" icon="el-icon-delete" style='margin-bottom: 40px;'
|
||||||
@click='deleteApplicant(item)'>删除</el-button>
|
@click='deleteApplicant(item)'>删除</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</div>
|
</div>
|
||||||
@@ -423,7 +424,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="选择机构或自然人">
|
<el-form-item label="选择机构或自然人">
|
||||||
<el-radio-group v-model="item.res.organizeFlag" :disabled="modelFlag" @change="clearValidateRes($event,index)">
|
<el-radio-group v-model="item.res.organizeFlag" :disabled="modelFlag"
|
||||||
|
@change="clearValidateRes($event, index)">
|
||||||
<el-radio :label="0">自然人</el-radio>
|
<el-radio :label="0">自然人</el-radio>
|
||||||
<el-radio :label="1">机构</el-radio>
|
<el-radio :label="1">机构</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -547,8 +549,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" v-if="item.res.organizeFlag == 0">
|
<el-col :span="12" v-if="item.res.organizeFlag == 0">
|
||||||
<el-form-item label-width="140px" label="身份证号" :prop="'affiliate.res.' + index + '.res.idCard'"
|
<el-form-item label-width="140px" label="身份证号" :prop="'affiliate.res.' + index + '.res.idCard'" :rules="[
|
||||||
:rules="[
|
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: '被申请人身份证号不能为空',
|
message: '被申请人身份证号不能为空',
|
||||||
@@ -694,7 +695,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12" v-if="buttonFlag">
|
<el-col :span="12" v-if="buttonFlag">
|
||||||
<el-button v-if="index >=1?true:false" type="primary" icon="el-icon-delete" style='margin-bottom: 40px;'
|
<el-button v-if="index >= 1 ? true : false" type="primary" icon="el-icon-delete" style='margin-bottom: 40px;'
|
||||||
@click='deleteRes(item)'>删除</el-button>
|
@click='deleteRes(item)'>删除</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</div>
|
</div>
|
||||||
@@ -870,7 +871,7 @@ export default {
|
|||||||
getUserInfoList: {},
|
getUserInfoList: {},
|
||||||
applicationFlag: null,
|
applicationFlag: null,
|
||||||
showmediate: false,
|
showmediate: false,
|
||||||
labelShowMediate:false,
|
labelShowMediate: false,
|
||||||
showEvidence: false,//是否显示证据
|
showEvidence: false,//是否显示证据
|
||||||
mediationApplication: false,
|
mediationApplication: false,
|
||||||
formZipData: {},
|
formZipData: {},
|
||||||
@@ -1098,7 +1099,7 @@ export default {
|
|||||||
this.showmediate = true
|
this.showmediate = true
|
||||||
} else if (item.annexType == 3) {
|
} else if (item.annexType == 3) {
|
||||||
this.mediationApplication = true
|
this.mediationApplication = true
|
||||||
} else if(item.annexType == 13){
|
} else if (item.annexType == 13) {
|
||||||
this.labelShowMediate = true
|
this.labelShowMediate = true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -1237,13 +1238,19 @@ export default {
|
|||||||
// this.$set(item,"organizeFlag",0);
|
// this.$set(item,"organizeFlag",0);
|
||||||
// this.$set(item,"roleType",2)
|
// this.$set(item,"roleType",2)
|
||||||
item.applicantAgent.organizeFlag = 0;
|
item.applicantAgent.organizeFlag = 0;
|
||||||
|
if (item.applicantAgent == null || item.applicantAgent == undefined) {
|
||||||
|
item["applicantAgent"] = {}
|
||||||
|
}
|
||||||
item.applicantAgent['roleType'] = 2;
|
item.applicantAgent['roleType'] = 2;
|
||||||
})
|
})
|
||||||
this.formData.affiliate.res.forEach((item) => {
|
this.formData.affiliate.res.forEach((item) => {
|
||||||
// this.$set(item,"organizeFlag",0);
|
// this.$set(item,"organizeFlag",0);
|
||||||
// this.$set(item,"roleType",4)
|
// this.$set(item,"roleType",4)
|
||||||
item.resAgent.organizeFlag = 0;
|
item.resAgent.organizeFlag = 0;
|
||||||
item.applicantAgent['roleType'] = 4;
|
if (item.resAgent == null || item.resAgent == undefined) {
|
||||||
|
item["resAgent"] = {}
|
||||||
|
}
|
||||||
|
item.resAgent['roleType'] = 4;
|
||||||
})
|
})
|
||||||
this.modifyData(this.formData);
|
this.modifyData(this.formData);
|
||||||
} else if (this.addModifyData == 1) {
|
} else if (this.addModifyData == 1) {
|
||||||
@@ -1252,8 +1259,8 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
clearValidate(val,index) {
|
clearValidate(val, index) {
|
||||||
if(index==0){
|
if (index == 0) {
|
||||||
if (val == 0) {
|
if (val == 0) {
|
||||||
this.$set(this.formData.affiliate.applicant[0].applicant, "name", this.getUserInfoList.nickName);
|
this.$set(this.formData.affiliate.applicant[0].applicant, "name", this.getUserInfoList.nickName);
|
||||||
this.$set(this.formData.affiliate.applicant[0].applicant, "idCard", this.getUserInfoList.idCard);
|
this.$set(this.formData.affiliate.applicant[0].applicant, "idCard", this.getUserInfoList.idCard);
|
||||||
@@ -1316,8 +1323,8 @@ export default {
|
|||||||
|
|
||||||
this.$refs["ruleForm"].clearValidate()
|
this.$refs["ruleForm"].clearValidate()
|
||||||
},
|
},
|
||||||
clearValidateRes(val,index) {
|
clearValidateRes(val, index) {
|
||||||
if(index==0){
|
if (index == 0) {
|
||||||
if (val == 0) {
|
if (val == 0) {
|
||||||
if (this.formZipData.affiliate) {
|
if (this.formZipData.affiliate) {
|
||||||
// this.$set(this.formData.affiliate.res[0].res, 'organizeFlag', 0);
|
// this.$set(this.formData.affiliate.res[0].res, 'organizeFlag', 0);
|
||||||
|
|||||||
@@ -168,6 +168,7 @@ export default {
|
|||||||
},
|
},
|
||||||
filedata: {
|
filedata: {
|
||||||
annexType: 7,
|
annexType: 7,
|
||||||
|
isMediaBook:1,
|
||||||
},
|
},
|
||||||
fileList: [],
|
fileList: [],
|
||||||
attachList: [],
|
attachList: [],
|
||||||
@@ -217,7 +218,7 @@ export default {
|
|||||||
},
|
},
|
||||||
/**上传地址*/
|
/**上传地址*/
|
||||||
UploadUrl() {
|
UploadUrl() {
|
||||||
return window.location.origin + "/API/common/upload";
|
return window.location.origin + "/API/video/upload";
|
||||||
},
|
},
|
||||||
handlePreview(file) {
|
handlePreview(file) {
|
||||||
},
|
},
|
||||||
|
|||||||
+2
-2
@@ -11,8 +11,8 @@ const name = process.env.VUE_APP_TITLE || '调解系统' // 网页标题
|
|||||||
|
|
||||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||||
|
|
||||||
// const API = 'http://121.40.189.20:7001' //生产
|
const API = 'http://121.40.189.20:7001' //生产
|
||||||
const API = 'http://121.40.189.20:6001' //测试
|
// const API = 'http://121.40.189.20:6001' //测试
|
||||||
// const API = 'http://192.168.3.18:6001' //B
|
// const API = 'http://192.168.3.18:6001' //B
|
||||||
// const API = 'http://172.16.0.237:6001' //Q
|
// const API = 'http://172.16.0.237:6001' //Q
|
||||||
// const API = 'http://172.16.1.26:6001' //w
|
// const API = 'http://172.16.1.26:6001' //w
|
||||||
|
|||||||
Reference in New Issue
Block a user