Merge branch 'hcb' of SH-Arbitrate/Mediation-Frontend into dev

This commit was merged in pull request #54.
This commit is contained in:
2024-02-26 18:01:35 +08:00
committed by Gitea
5 changed files with 27 additions and 20 deletions
+6 -4
View File
@@ -63,7 +63,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="statusRole(scope.row.caseFlowId)">提交</el-button> --> <!-- <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="statusRole(scope.row.caseFlowId)">提交</el-button> -->
<el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text" <el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text"
icon="el-icon-edit" v-hasPermi="['caseManagement:list:edit']">修改</el-button> icon="el-icon-edit" v-hasPermi="['caseManagement:list:edit']" v-if="scope.row.caseFlowId <= 1">修改</el-button>
<el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button> <el-button size="mini" @click="checkDetail(scope.row)" type="text" icon="el-icon-view">查看详情</el-button>
<!-- <el-button size="mini" @click="consultantApplica(scope.row)" type="text" icon="el-icon-tickets">法律顾问用印申请</el-button> --> <!-- <el-button size="mini" @click="consultantApplica(scope.row)" type="text" icon="el-icon-tickets">法律顾问用印申请</el-button> -->
<!-- <el-button size="mini" @click="departmentApplica(scope.row)" type="text" icon="el-icon-edit-outline">部门长用印</el-button> --> <!-- <el-button size="mini" @click="departmentApplica(scope.row)" type="text" icon="el-icon-edit-outline">部门长用印</el-button> -->
@@ -78,7 +78,7 @@
<!-- <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">申请人签收</el-button> --> <!-- <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">申请人签收</el-button> -->
<!-- <el-button size="mini" @click="receivedMediation(scope.row)" type="text" icon="el-icon-edit-outline">被申请人签收</el-button> --> <!-- <el-button size="mini" @click="receivedMediation(scope.row)" type="text" icon="el-icon-edit-outline">被申请人签收</el-button> -->
<el-button size="mini" type="text" icon="el-icon-edit" <el-button size="mini" type="text" icon="el-icon-edit"
@click="evidenceUpload(scope.row)" v-hasPermi="['caseManagement:list:evidenceEdit']">上传证据</el-button> @click="evidenceUpload(scope.row)" v-hasPermi="['caseManagement:list:evidenceEdit']" v-if="scope.row.caseFlowId <= 9">上传证据</el-button>
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseFlowId == 15 || scope.row.caseFlowId == 16 || scope.row.caseFlowId == 17" @click="caseFilingDetails(scope.row)">归档详情</el-button> <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseFlowId == 15 || scope.row.caseFlowId == 16 || scope.row.caseFlowId == 17" @click="caseFilingDetails(scope.row)">归档详情</el-button>
<!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)">缴费</el-button> --> <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)">缴费</el-button> -->
<!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="selectMediator(scope.row)">预约时间</el-button> --> <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="selectMediator(scope.row)">预约时间</el-button> -->
@@ -139,7 +139,7 @@
<confirmMediation @cancelConfirmTion="cancelConfirmTion" :confirmTionVisable="confirmTionVisable" <confirmMediation @cancelConfirmTion="cancelConfirmTion" :confirmTionVisable="confirmTionVisable"
:confirmTionData="confirmTionData" @getList="getList" :queryParams="queryParams"></confirmMediation> :confirmTionData="confirmTionData" @getList="getList" :queryParams="queryParams"></confirmMediation>
<!-- 归档详情 --> <!-- 归档详情 -->
<caseFilingDetailsPage :showarchiveDetails="showarchiveDetails" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :flagLoadingS="flagLoadingS"></caseFilingDetailsPage> <caseFilingDetailsPage :showarchiveDetails="showarchiveDetails" :caseFilingData="caseFilingData" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :flagLoadingS="flagLoadingS"></caseFilingDetailsPage>
</div> </div>
</template> </template>
@@ -253,6 +253,7 @@ export default {
buttonList: [], buttonList: [],
caseStausArr: [],//案件状态 caseStausArr: [],//案件状态
isapplicant: true, //判断角色申请人或非申请人 isapplicant: true, //判断角色申请人或非申请人
caseFilingData:{}
}; };
}, },
created() { created() {
@@ -690,7 +691,8 @@ export default {
}, },
//归档详情 //归档详情
caseFilingDetails(val){ caseFilingDetails(val){
this.showarchiveDetails = true this.showarchiveDetails = true;
this.caseFilingData = val;
let vals = {id:val.id} let vals = {id:val.id}
caseApplicationSelectById(vals).then(res=>{ caseApplicationSelectById(vals).then(res=>{
this.detailsAwardNum = res.data this.detailsAwardNum = res.data
@@ -9,8 +9,8 @@
<el-tab-pane label="申请人案件证据资料" name="first"></el-tab-pane> <el-tab-pane label="申请人案件证据资料" name="first"></el-tab-pane>
<!-- <el-tab-pane label="被申请人案件证据资料" name="second"></el-tab-pane> --> <!-- <el-tab-pane label="被申请人案件证据资料" name="second"></el-tab-pane> -->
<el-tab-pane label="调解书" name="third"></el-tab-pane> <el-tab-pane label="调解书" name="third"></el-tab-pane>
<el-tab-pane label="案件视频" name="fourth"></el-tab-pane> <el-tab-pane label="案件视频" name="fourth" v-if="caseFilingData.mediationMethod == '1'"></el-tab-pane>
<el-tab-pane label="庭审笔录" name="six"></el-tab-pane> <el-tab-pane label="庭审笔录" name="six" v-if="caseFilingData.mediationMethod == '1'"></el-tab-pane>
</el-tabs> </el-tabs>
<div v-show="activeName=='first'"> <div v-show="activeName=='first'">
@@ -52,7 +52,7 @@
</template> </template>
<script> <script>
export default { export default {
props: ["showarchiveDetails","detailsAwardNum","videoList","flagLoadingS","trialTranscripts"], props: ["showarchiveDetails","detailsAwardNum","videoList","flagLoadingS","trialTranscripts","caseFilingData"],
components: { components: {
}, },
@@ -13,7 +13,7 @@
<!-- <div style="margin-top: 20px;margin-bottom: 20px;">时间</div> --> <!-- <div style="margin-top: 20px;margin-bottom: 20px;">时间</div> -->
<el-form label-position="right" label-width="80px" :model="formLabelAlign"> <el-form label-position="right" label-width="80px" :model="formLabelAlign">
<el-form-item label="时间"> <el-form-item label="时间">
<el-date-picker v-model="formLabelAlign.name" type="datetime" placeholder="选择日期时间"> <el-date-picker v-model="formLabelAlign.name" type="datetime" :picker-options="pickerOptions" placeholder="选择日期时间">
</el-date-picker> </el-date-picker>
<!-- <el-input v-else v-model="formLabelAlign.name"></el-input> --> <!-- <el-input v-else v-model="formLabelAlign.name"></el-input> -->
</el-form-item> </el-form-item>
@@ -43,13 +43,18 @@ export default {
time: [], time: [],
name: "" name: ""
}, },
formTimeArr: [], pickerOptions: {
disabledDate(time) {
return time.getTime() <= Date.now() -1 * 24 * 3600 * 1000; // 禁用超过当前时间的日期
},
selectableRange: `${new Date()}- 23:59:59`,//这
},
}; };
}, },
watch: { watch: {
timeConfirmVisable(val) { timeConfirmVisable(val) {
if (val) { if (val) {
this.formTimeArr = []; this.formLabelAlign.name = null;
} }
}, },
}, },
@@ -139,7 +139,7 @@ export default {
handleSuccessC(res) { handleSuccessC(res) {
console.log(res,'自然人上传成功'); console.log(res,'自然人上传成功');
this.$message.success('上传成功'); this.$message.success('上传成功');
this.submitForm.annexIds[4] = res.annexId; this.submitForm.annexIds.push(res.annexId)
}, },
handleRemoveC(file, fileList) { handleRemoveC(file, fileList) {
console.log(file, fileList); console.log(file, fileList);
@@ -174,8 +174,8 @@ export default {
submitUpload() { submitUpload() {
this.$refs['ruleForm'].validate((valid) => { this.$refs['ruleForm'].validate((valid) => {
if (valid) { if (valid) {
if(this.submitForm.annexIds.length < 3){ if(this.submitForm.annexIds.length < 4){
this.$message.error('三种类型模板必须上传'); this.$message.error('四种类型模板必须上传');
return return
} }
this.submitForm.identifyId = this.ruleForm.identifyId; this.submitForm.identifyId = this.ruleForm.identifyId;
@@ -115,7 +115,8 @@ export default {
}, },
editVisable(val){ editVisable(val){
if(val){ if(val){
this.getTemplateDetailFn({ id: this.editData.id }) this.getTemplateDetailFn({ id: this.editData.id });
this.submitForm.annexIds = []
} }
} }
}, },
@@ -138,8 +139,7 @@ export default {
getTemplateDetailFn(data) { getTemplateDetailFn(data) {
getTemplateDetail(data).then(res => { getTemplateDetail(data).then(res => {
this.ruleForm = res; this.ruleForm = res;
this.submitForm.annexIds = [this.ruleForm.agreementFile.fileId,this.ruleForm.applicationFile.fileId,this.ruleForm.bookFile.fileId] // this.submitForm.annexIds = [this.ruleForm.agreementFile.fileId,this.ruleForm.applicationFile.fileId,this.ruleForm.bookFile.fileId]
console.log(this.submitForm.annexIds,"PPPPPPPPPPPPPPPPPPPPPPPP");
}) })
}, },
submitUpload() { submitUpload() {
@@ -175,13 +175,13 @@ export default {
console.log(res,'机构上传成功'); console.log(res,'机构上传成功');
this.$message.success('上传成功'); this.$message.success('上传成功');
// this.submitForm.annexIds.push(res.annexId); // this.submitForm.annexIds.push(res.annexId);
this.submitForm.annexIds[1] = res.annexId; this.submitForm.annexIds.push(res.annexId);
}, },
// 自然人 // 自然人
handleSuccessC(res) { handleSuccessC(res) {
console.log(res,'自然人上传成功'); console.log(res,'自然人上传成功');
this.$message.success('上传成功'); this.$message.success('上传成功');
this.submitForm.annexIds[4] = res.annexId; this.submitForm.annexIds.push(res.annexId);
}, },
handleRemoveC(file, fileList) { handleRemoveC(file, fileList) {
console.log(file, fileList); console.log(file, fileList);
@@ -202,7 +202,7 @@ export default {
handleSuccessA(res) { handleSuccessA(res) {
this.$message.success('上传成功'); this.$message.success('上传成功');
// this.submitForm.annexIds.push(res.annexId); // this.submitForm.annexIds.push(res.annexId);
this.submitForm.annexIds[0] = res.annexId; this.submitForm.annexIds.push(res.annexId);
}, },
handleChangeB(file, fileList) { handleChangeB(file, fileList) {
@@ -218,7 +218,7 @@ export default {
handleSuccessB(res) { handleSuccessB(res) {
this.$message.success('上传成功'); this.$message.success('上传成功');
// this.submitForm.annexIds.push(res.annexId); // this.submitForm.annexIds.push(res.annexId);
this.submitForm.annexIds[3] = res.annexId; this.submitForm.annexIds.push(res.annexId);
}, },
// handleSuccess() { // handleSuccess() {
// this.$message.success('修改成功'); // this.$message.success('修改成功');