Merge branch 'hcb' of SH-Arbitrate/Arbitrate-Frontend into dev
This commit was merged in pull request #93.
This commit is contained in:
@@ -41,6 +41,11 @@
|
|||||||
<a href="#">{{ item }}</a>
|
<a href="#">{{ item }}</a>
|
||||||
</p>
|
</p>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="庭审笔录附件">
|
||||||
|
<p v-for="(item, index) in bookFileArr" :key="index" @click="toFile(index, 7)">
|
||||||
|
<a href="#">{{ item }}</a>
|
||||||
|
</p>
|
||||||
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-form ref="form" :model="arbitrateRecord" label-width="300px" label-position="left" :rules="rules"
|
<el-form ref="form" :model="arbitrateRecord" label-width="300px" label-position="left" :rules="rules"
|
||||||
:disabled="flag == 3">
|
:disabled="flag == 3">
|
||||||
@@ -161,8 +166,10 @@ export default {
|
|||||||
applicantPathArr: [], //申请人
|
applicantPathArr: [], //申请人
|
||||||
respondentFileArr: [], //被申请人
|
respondentFileArr: [], //被申请人
|
||||||
respondenPathArr: [], //被申请人
|
respondenPathArr: [], //被申请人
|
||||||
awardFileArr: [], //裁决书
|
awardFileArr: [], //庭审笔录文件
|
||||||
awardPathArr: [], //裁决书
|
awardPathArr: [], //庭审笔录路径
|
||||||
|
bookFileArr: [], //裁决书文件
|
||||||
|
bookPathArr: [], //庭审笔录路径
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -188,6 +195,8 @@ export default {
|
|||||||
// 申请人裁决书
|
// 申请人裁决书
|
||||||
evidenceFile(val) {
|
evidenceFile(val) {
|
||||||
if (val) {
|
if (val) {
|
||||||
|
this.bookFileArr = [];
|
||||||
|
this.bookPathArr = [];
|
||||||
val.caseAttachList.forEach((item) => {
|
val.caseAttachList.forEach((item) => {
|
||||||
if (item.annexType == 2) {
|
if (item.annexType == 2) {
|
||||||
this.applicantFileArr.push(item.annexName);
|
this.applicantFileArr.push(item.annexName);
|
||||||
@@ -200,6 +209,9 @@ export default {
|
|||||||
this.awardPathArr = [];
|
this.awardPathArr = [];
|
||||||
this.awardFileArr.push(item.annexName);
|
this.awardFileArr.push(item.annexName);
|
||||||
this.awardPathArr.push(item.annexPath);
|
this.awardPathArr.push(item.annexPath);
|
||||||
|
} else if (item.annexType == 7) {
|
||||||
|
this.bookFileArr.push(item.annexName);
|
||||||
|
this.bookPathArr.push(item.annexPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -213,6 +225,8 @@ export default {
|
|||||||
window.open(headPath + this.respondenPathArr[index], "_blank");
|
window.open(headPath + this.respondenPathArr[index], "_blank");
|
||||||
} else if (val == 3) {
|
} else if (val == 3) {
|
||||||
window.open(headPath + this.awardPathArr[index], "_blank");
|
window.open(headPath + this.awardPathArr[index], "_blank");
|
||||||
|
} else if (val == 7) {
|
||||||
|
window.open(headPath + this.bookPathArr[index], "_blank");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 校验裁决书
|
// 校验裁决书
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ export default {
|
|||||||
this.operateTitle = '批量删除';
|
this.operateTitle = '批量删除';
|
||||||
this.operateStatus = 1;
|
this.operateStatus = 1;
|
||||||
} else if (type == 2) {
|
} else if (type == 2) {
|
||||||
this.operateTitle = '批量立案申请';
|
this.operateTitle = '批量立案审查';
|
||||||
this.operateStatus = 2;
|
this.operateStatus = 2;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -458,7 +458,7 @@ export default {
|
|||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.caseStatusList = [];
|
this.queryParams.caseStatusList = [];
|
||||||
if (!this.queryParams.caseStatus) {
|
if (!this.queryParams.caseStatus) {
|
||||||
this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]
|
this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]
|
||||||
}
|
}
|
||||||
if(this.queryParams.selectCaseStatus == 1){
|
if(this.queryParams.selectCaseStatus == 1){
|
||||||
this.queryParams.caseStatus = null;
|
this.queryParams.caseStatus = null;
|
||||||
@@ -474,7 +474,7 @@ export default {
|
|||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
(this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]),
|
(this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]),
|
||||||
(this.queryParams.applicantName = ""),
|
(this.queryParams.applicantName = ""),
|
||||||
(this.queryParams.nameId = ""),
|
(this.queryParams.nameId = ""),
|
||||||
this.getcaseApply(this.queryParams);
|
this.getcaseApply(this.queryParams);
|
||||||
|
|||||||
@@ -220,6 +220,18 @@
|
|||||||
<el-input v-model="item.contactAddress" placeholder="请输入" />
|
<el-input v-model="item.contactAddress" placeholder="请输入" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="申请人住所:" :prop="'paymentArr.' + index + '.residenAffili'" :rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '申请人住所不能为空',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
{ max: 50, message: '长度应小于50个字符', trigger: 'blur' }
|
||||||
|
]">
|
||||||
|
<el-input v-model="item.residenAffili" placeholder="请输入" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="法定代表人:" :prop="'paymentArr.' + index + '.compLegalPerson'" :rules="[
|
<el-form-item label="法定代表人:" :prop="'paymentArr.' + index + '.compLegalPerson'" :rules="[
|
||||||
{
|
{
|
||||||
@@ -412,6 +424,18 @@
|
|||||||
<el-input v-model="itm.contactAddress" placeholder="请输入" />
|
<el-input v-model="itm.contactAddress" placeholder="请输入" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="被申请人住所:" :prop="'paymentArr1.' + index + '.residenAffili'" :rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '被申请人住所不能为空',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
{ max: 50, message: '长度应小于50个字符', trigger: 'blur' }
|
||||||
|
]">
|
||||||
|
<el-input v-model="itm.residenAffili" placeholder="请输入" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="被申请人性别:" :prop="'paymentArr1.' + index + '.responSex'" :rules="[
|
<el-form-item label="被申请人性别:" :prop="'paymentArr1.' + index + '.responSex'" :rules="[
|
||||||
{
|
{
|
||||||
@@ -432,7 +456,8 @@
|
|||||||
trigger: 'blur',
|
trigger: 'blur',
|
||||||
},
|
},
|
||||||
]">
|
]">
|
||||||
<el-date-picker v-model="itm.responBirth" type="datetime" placeholder="被申请人出生年月日">
|
<el-date-picker v-model="itm.responBirth" :picker-options="pickerOptions" type="datetime"
|
||||||
|
placeholder="被申请人出生年月日">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -557,6 +582,7 @@ export default {
|
|||||||
nameAgent: "",
|
nameAgent: "",
|
||||||
contactTelphoneAgent: "",
|
contactTelphoneAgent: "",
|
||||||
contactAddressAgent: "",
|
contactAddressAgent: "",
|
||||||
|
residenAffili: ""
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}, //申请人主体信息
|
}, //申请人主体信息
|
||||||
@@ -574,7 +600,8 @@ export default {
|
|||||||
contactTelphoneAgent: "",
|
contactTelphoneAgent: "",
|
||||||
contactAddressAgent: "",
|
contactAddressAgent: "",
|
||||||
responSex: 1,
|
responSex: 1,
|
||||||
responBirth: ""
|
responBirth: "",
|
||||||
|
residenAffili: ""
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}, //被申请人主体信息
|
}, //被申请人主体信息
|
||||||
@@ -669,6 +696,11 @@ export default {
|
|||||||
fileList: [],
|
fileList: [],
|
||||||
applicateArr: [],
|
applicateArr: [],
|
||||||
quiltArr: [],
|
quiltArr: [],
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() > Date.now() - 8.64e6;
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -1,42 +1,57 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<!-- 组庭确认页面 -->
|
<!-- 组庭确认页面 -->
|
||||||
<el-dialog
|
<el-dialog title="组庭确认" :visible="showcourtReview" @close="cancel" :destroy-on-close="true" center>
|
||||||
title="组庭确认"
|
|
||||||
:visible="showcourtReview"
|
|
||||||
@close="cancel"
|
|
||||||
:destroy-on-close="true"
|
|
||||||
center
|
|
||||||
>
|
|
||||||
<el-form ref="courtReviewform" :model="courtReviewform">
|
<el-form ref="courtReviewform" :model="courtReviewform">
|
||||||
<el-form-item
|
<el-form-item label="开庭日期:" prop="hearDate" :rules="[
|
||||||
label="开庭日期:"
|
{
|
||||||
prop="hearDate"
|
required: true,
|
||||||
:rules="[
|
message: '请选择开庭日期',
|
||||||
{
|
trigger: 'blur',
|
||||||
required: true,
|
},
|
||||||
message: '请选择开庭日期',
|
]">
|
||||||
trigger: 'blur',
|
|
||||||
},
|
|
||||||
]"
|
|
||||||
>
|
|
||||||
<div class="reviewbox">
|
<div class="reviewbox">
|
||||||
<el-date-picker
|
<el-date-picker v-model="courtReviewform.hearDate" :picker-options="pickerOptions" type="datetime"
|
||||||
v-model="courtReviewform.hearDate"
|
placeholder="选择日期">
|
||||||
type="datetime"
|
|
||||||
placeholder="选择日期"
|
|
||||||
>
|
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="是否同意组庭:">
|
||||||
|
<el-radio-group v-model="isAgreePendTral">
|
||||||
|
<el-radio :label="1">是</el-radio>
|
||||||
|
<el-radio :label="0">否</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
<el-tag type="warning" v-if="noArbitrator">当前案件未指定仲裁员,请先指定仲裁员!</el-tag>
|
||||||
|
<p></p>
|
||||||
|
<!-- <el-form ref="form"> -->
|
||||||
|
<!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
|
||||||
|
<div style="display: inline-flex; margin-bottom: 8px">
|
||||||
|
<div class="infoIcon"></div>
|
||||||
|
<div>
|
||||||
|
<span v-if="isAgreePendTral == 1">当前案件</span>仲裁员<span v-if="isAgreePendTral !== 1">信息列表</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-if="isAgreePendTral == 1" class="nowarbitrator">
|
||||||
|
<el-tag size="medium">
|
||||||
|
{{ form.arbitratorName }}
|
||||||
|
</el-tag>
|
||||||
|
</div>
|
||||||
|
<div v-if="noArbitrator || isAgreePendTral == 0">
|
||||||
|
<el-table :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
|
||||||
|
<el-table-column type="selection" width="55" v-if="noArbitrator || isAgreePendTral == 0">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="仲裁员姓名" align="center" prop="nickName" :show-overflow-tooltip="true" />
|
||||||
|
<el-table-column label="介绍" align="center" prop="remark" :show-overflow-tooltip="true" />
|
||||||
|
</el-table>
|
||||||
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams1.pageNum"
|
||||||
|
:limit.sync="queryParams1.pageSize" @pagination="getarbitrAtor" v-if="isAgreePendTral == 0" />
|
||||||
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm" class="endbutton"
|
<el-button type="primary" @click="submitForm" class="endbutton"><span>确 定</span>
|
||||||
><span>确 定</span>
|
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button @click="cancel" class="endbutton1"
|
<el-button @click="cancel" class="endbutton1"><span> 取 消</span></el-button>
|
||||||
><span> 取 消</span></el-button
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,6 +59,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
|
import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
|
||||||
|
import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
export default {
|
export default {
|
||||||
name: "courtReviewDialog",
|
name: "courtReviewDialog",
|
||||||
@@ -52,25 +68,93 @@ export default {
|
|||||||
return {
|
return {
|
||||||
hearDate: "",
|
hearDate: "",
|
||||||
courtReviewform: {},
|
courtReviewform: {},
|
||||||
|
noArbitrator: false,
|
||||||
|
isAgreePendTral: 1,
|
||||||
|
total: 0,
|
||||||
|
queryParams1: {
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10,
|
||||||
|
},
|
||||||
|
paramsdata: {},
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
}
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.getarbitrAtor();
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
showformateCourt(val) {
|
||||||
|
if (val) {
|
||||||
|
this.isAgreePendTral = 1;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
form: {
|
||||||
|
handler(val) {
|
||||||
|
if (val.arbitratorName == null) {
|
||||||
|
this.noArbitrator = true;
|
||||||
|
} else {
|
||||||
|
this.noArbitrator = false;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 获取仲裁员信息
|
||||||
|
getarbitrAtor() {
|
||||||
|
arbitrAtor({}).then((res) => {
|
||||||
|
this.dataList = res.rows;
|
||||||
|
this.total = res.total;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 勾选仲裁员
|
||||||
|
handleSelectionChange(val) {
|
||||||
|
this.arbitrators = [];
|
||||||
|
val.forEach((item) => {
|
||||||
|
this.arbitrators.push({
|
||||||
|
id: item.userId,
|
||||||
|
arbitratorName: item.nickName,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
submitForm() {
|
submitForm() {
|
||||||
|
if (this.noArbitrator) {
|
||||||
|
this.paramsdata = {
|
||||||
|
id: this.form.id,
|
||||||
|
arbitrators: this.arbitrators,
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
if (this.isAgreePendTral == 0) {
|
||||||
|
this.paramsdata = {
|
||||||
|
isAgreePendTral: 0,
|
||||||
|
id: this.form.id,
|
||||||
|
arbitrators: this.arbitrators,
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
this.paramsdata = {
|
||||||
|
isAgreePendTral: 1,
|
||||||
|
id: this.form.id,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
this.$refs["courtReviewform"].validate((valid) => {
|
this.$refs["courtReviewform"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.courtReviewform.hearDate = moment(
|
this.courtReviewform.hearDate = moment(
|
||||||
this.courtReviewform.hearDate
|
this.courtReviewform.hearDate
|
||||||
).format("YYYY-MM-DD HH:mm:ss");
|
).format("YYYY-MM-DD HH:mm:ss");
|
||||||
pendTralSure({
|
this.paramsdata.hearDate = this.courtReviewform.hearDate;
|
||||||
id: this.form.id,
|
pendTralSure(
|
||||||
hearDate: this.courtReviewform.hearDate,
|
this.paramsdata
|
||||||
})
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
this.$modal.msgSuccess("确认成功");
|
this.$modal.msgSuccess("确认成功");
|
||||||
this.cancel();
|
this.cancel();
|
||||||
this.$emit("getcaseApply",this.queryParams);
|
this.$emit("getcaseApply", this.queryParams);
|
||||||
})
|
})
|
||||||
.catch((err) => {});
|
.catch((err) => { });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -83,19 +167,20 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .el-dialog {
|
::v-deep .el-dialog {
|
||||||
width: 422px;
|
|
||||||
height: 245px;
|
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
margin-left: 10%;
|
margin-left: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.endbutton {
|
.endbutton {
|
||||||
width: 124px;
|
width: 124px;
|
||||||
height: 37px;
|
height: 37px;
|
||||||
background: #0072ff;
|
background: #0072ff;
|
||||||
border-radius: 19px;
|
border-radius: 19px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
@@ -106,12 +191,14 @@ export default {
|
|||||||
// line-height: 48px;
|
// line-height: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.endbutton1 {
|
.endbutton1 {
|
||||||
width: 124px;
|
width: 124px;
|
||||||
height: 37px;
|
height: 37px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border: 1px solid #d0d0d0;
|
border: 1px solid #d0d0d0;
|
||||||
border-radius: 19px;
|
border-radius: 19px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
width: 31px;
|
width: 31px;
|
||||||
height: 13px;
|
height: 13px;
|
||||||
@@ -122,6 +209,7 @@ export default {
|
|||||||
// line-height: 48px;
|
// line-height: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-form-item__error {
|
::v-deep .el-form-item__error {
|
||||||
left: 90px;
|
left: 90px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<div style="margin-top: 30px;">
|
<div style="margin-top: 30px;">
|
||||||
<el-upload class="upload-demo" ref="upload" action="" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
|
<el-upload class="upload-demo" ref="upload" action="" :file-list="fileList" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
|
||||||
:auto-upload="false" :http-request="uploadFile" :on-change="beforeAvatarUpload" multiple>
|
:auto-upload="false" :http-request="uploadFile" :on-change="beforeAvatarUpload" :before-remove="beforeRemove" multiple>
|
||||||
<el-button type="primary"><span>修改证据</span></el-button>
|
<el-button type="primary"><span>修改证据</span></el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,6 +44,7 @@ export default {
|
|||||||
info: {
|
info: {
|
||||||
annexType: 2,
|
annexType: 2,
|
||||||
},
|
},
|
||||||
|
fileList:[]
|
||||||
// headers: {
|
// headers: {
|
||||||
// Authorization: "Bearer " + getToken(),
|
// Authorization: "Bearer " + getToken(),
|
||||||
// },
|
// },
|
||||||
@@ -51,6 +52,7 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
evidenceVisable(val) {
|
evidenceVisable(val) {
|
||||||
|
this.fileList = []
|
||||||
if (val) {
|
if (val) {
|
||||||
this.getEvidenceList({ caseAppliId: this.evidenceData.id, annexTypeList: "2" })
|
this.getEvidenceList({ caseAppliId: this.evidenceData.id, annexTypeList: "2" })
|
||||||
}
|
}
|
||||||
@@ -72,14 +74,20 @@ export default {
|
|||||||
cancel() {
|
cancel() {
|
||||||
this.$emit("cancelEvidence");
|
this.$emit("cancelEvidence");
|
||||||
},
|
},
|
||||||
// // 修改当前文件列表长度
|
// 修改当前文件列表长度
|
||||||
// changeFileLength(file, fileList) {
|
// changeFileLength(file, fileList) {
|
||||||
// this.filesLength = fileList.length
|
// this.uploadFiles.push(file)
|
||||||
// },
|
// },
|
||||||
|
// 删除文件
|
||||||
|
beforeRemove(file, fileList){
|
||||||
|
this.uploadFiles = fileList
|
||||||
|
},
|
||||||
// 文件上传之前处理
|
// 文件上传之前处理
|
||||||
beforeAvatarUpload(file) {
|
beforeAvatarUpload(file,fileList) {
|
||||||
|
console.log(file,fileList,"before");
|
||||||
this.uploadFiles = [];
|
this.uploadFiles = [];
|
||||||
this.uploadFiles.push(file)
|
// this.uploadFiles.push(file)
|
||||||
|
this.uploadFiles = fileList
|
||||||
},
|
},
|
||||||
// 用户点击上传调用
|
// 用户点击上传调用
|
||||||
async upload() {
|
async upload() {
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
operateVisable(val) {
|
operateVisable(val) {
|
||||||
|
this.radio = 1;
|
||||||
if (val) {
|
if (val) {
|
||||||
this.getcaseApply(this.queryParamsData)
|
this.getcaseApply(this.queryParamsData)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="仲裁方式">{{ timeData.arbitratMethodName }}</el-descriptions-item>
|
<el-descriptions-item label="仲裁方式">{{ timeData.arbitratMethodName }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="开庭时间">
|
<el-descriptions-item label="开庭时间">
|
||||||
<el-date-picker v-model="loanStartDate" type="datetime" placeholder="开庭时间">
|
<el-date-picker v-model="loanStartDate" :picker-options="pickerOptions" type="datetime"
|
||||||
|
placeholder="开庭时间">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
|
||||||
@@ -31,7 +32,12 @@ export default {
|
|||||||
props: ["timeVisable", "timeData"],
|
props: ["timeVisable", "timeData"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loanStartDate: ""
|
loanStartDate: "",
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -3,11 +3,17 @@
|
|||||||
<el-dialog title="上传证据目录" :visible="uploadCaseVisable" @close="cancel" center :distroy-on-close="true">
|
<el-dialog title="上传证据目录" :visible="uploadCaseVisable" @close="cancel" center :distroy-on-close="true">
|
||||||
<el-upload class="upload-demo" :before-upload="beforeUpload" ref="upload" accept=".zip"
|
<el-upload class="upload-demo" :before-upload="beforeUpload" ref="upload" accept=".zip"
|
||||||
action="https://jsonplaceholder.typicode.com/posts/" :action="UploadUrl()" :headers="headers"
|
action="https://jsonplaceholder.typicode.com/posts/" :action="UploadUrl()" :headers="headers"
|
||||||
:data="filedata" :on-preview="handlePreview" :on-remove="handleRemove" :on-success="handleSuccess" :file-list="fileList"
|
:data="filedata" :on-preview="handlePreview" :on-remove="handleRemove" :on-success="handleSuccess"
|
||||||
:auto-upload="false">
|
:file-list="fileList" :auto-upload="false">
|
||||||
<el-button slot="trigger" size="small" type="primary" :disabled="flagBtn">选取文件</el-button>
|
<el-button slot="trigger" size="small" type="primary" :disabled="flagBtn">选取文件</el-button>
|
||||||
<el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload" :disabled="flagBtn">上传压缩包</el-button>
|
<el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload"
|
||||||
<div slot="tip" class="el-upload__tip">只能上传zip文件,并且格式为一级目录上传申请书证据材料,二级目录为申请书和证据材料</div>
|
:disabled="flagBtn">上传压缩包</el-button>
|
||||||
|
<div slot="tip" class="el-upload__tip">
|
||||||
|
<div>结构示例</div>
|
||||||
|
<el-tree :data="dataTip"></el-tree>
|
||||||
|
<div>说明:1、压缩包目录结构为三级目录,
|
||||||
|
2、第2级目录名称应为“申请书”或“证据材料”。</div>
|
||||||
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<div class="title">证据目录结构</div>
|
<div class="title">证据目录结构</div>
|
||||||
<el-tree :data="data" @node-click="handleNodeClick"></el-tree>
|
<el-tree :data="data" @node-click="handleNodeClick"></el-tree>
|
||||||
@@ -28,9 +34,25 @@ export default {
|
|||||||
Authorization: "Bearer " + getToken(),
|
Authorization: "Bearer " + getToken(),
|
||||||
},
|
},
|
||||||
filedata: {
|
filedata: {
|
||||||
id:this.uploadCaseData.id
|
id: this.uploadCaseData.id
|
||||||
},
|
},
|
||||||
flagBtn:false
|
flagBtn: false,
|
||||||
|
dataTip: [{
|
||||||
|
label: '压缩包名称',
|
||||||
|
children: [{
|
||||||
|
label: '申请书',
|
||||||
|
children: [{
|
||||||
|
label: '申请书名称.pdf'
|
||||||
|
}]
|
||||||
|
}, {
|
||||||
|
label: '证据材料',
|
||||||
|
children: [{
|
||||||
|
label: '证据1.pdf'
|
||||||
|
}, {
|
||||||
|
label: '证据2.pdf'
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -62,6 +84,10 @@ export default {
|
|||||||
},
|
},
|
||||||
handleNodeClick(data) {
|
handleNodeClick(data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
let headPath = window.location.origin + "/API";
|
||||||
|
if(data.annexPath){
|
||||||
|
window.open(headPath + data.annexPath, "_blank")
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 递归替换key
|
// 递归替换key
|
||||||
setData(data) {
|
setData(data) {
|
||||||
@@ -75,14 +101,14 @@ export default {
|
|||||||
evidenceTree(data).then(res => {
|
evidenceTree(data).then(res => {
|
||||||
this.setData(res.data);
|
this.setData(res.data);
|
||||||
this.data = res.data;
|
this.data = res.data;
|
||||||
if(this.data.length > 0){
|
if (this.data.length > 0) {
|
||||||
this.flagBtn = true;
|
this.flagBtn = true;
|
||||||
}else{
|
} else {
|
||||||
this.flagBtn = false;
|
this.flagBtn = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSuccess(){
|
handleSuccess() {
|
||||||
this.evidenceTreeFn({ caseId: this.uploadCaseData.id })
|
this.evidenceTreeFn({ caseId: this.uploadCaseData.id })
|
||||||
},
|
},
|
||||||
beforeUpload(file) {
|
beforeUpload(file) {
|
||||||
|
|||||||
@@ -69,12 +69,9 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 启用认证按钮
|
// 启用认证按钮
|
||||||
changeStatus(row) {
|
changeStatus(row) {
|
||||||
enableDept({ id: row.id }).then(res => {
|
|
||||||
this.getList(this.queryParams);
|
|
||||||
})
|
|
||||||
this.$modal.confirm('是否进行启用?')
|
this.$modal.confirm('是否进行启用?')
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
enableDept({ id: row.id }).then(res => {
|
enableDept({ id: row.id }).then(res => {
|
||||||
|
|||||||
@@ -103,13 +103,21 @@
|
|||||||
<el-input v-model="form.deptType" placeholder="请输入部门编码" maxlength="50" />
|
<el-input v-model="form.deptType" placeholder="请输入部门编码" maxlength="50" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col> -->
|
</el-col> -->
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="部门类型" prop="deptType">
|
||||||
|
<el-select v-model="form.deptType" placeholder="请选择部门类型">
|
||||||
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="部门状态">
|
<el-form-item label="部门状态">
|
||||||
<el-radio-group v-model="form.status">
|
<el-radio-group v-model="form.status">
|
||||||
<el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value"
|
<el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.value">{{ dict.label
|
||||||
:label="dict.value">{{ dict.label }}</el-radio>
|
}}</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -134,7 +142,7 @@ export default {
|
|||||||
components: { Treeselect },
|
components: { Treeselect },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
flag:false,
|
flag: false,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
// 显示搜索条件
|
// 显示搜索条件
|
||||||
@@ -186,7 +194,14 @@ export default {
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
options: [{
|
||||||
|
value: 1,
|
||||||
|
label: '仲裁机构'
|
||||||
|
}, {
|
||||||
|
value: 2,
|
||||||
|
label: '金融公司'
|
||||||
|
},],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -242,10 +257,10 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 新增按钮操作 */
|
/** 新增按钮操作 */
|
||||||
handleAdd(row) {
|
handleAdd(row) {
|
||||||
console.log(row,"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
console.log(row, "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
||||||
if(row == 1){
|
if (row == 1) {
|
||||||
this.flag = false;
|
this.flag = false;
|
||||||
}else{
|
} else {
|
||||||
this.flag = true;
|
this.flag = true;
|
||||||
}
|
}
|
||||||
this.reset();
|
this.reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user