批量上传,批量操作
This commit is contained in:
@@ -41,9 +41,17 @@
|
||||
v-hasPermi="['caseManagement:list:add']">案件录入</el-button>
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
|
||||
v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button>
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(0)"
|
||||
v-hasPermi="['caseManagement:list:submit']">案件批量提交</el-button>
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(1)"
|
||||
v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
|
||||
v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column type="selection">
|
||||
</el-table-column>
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
@@ -67,6 +75,7 @@
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)">详情</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="viewProcess(scope.row)">查看流程</el-button>
|
||||
<!-- 案件日志 -->
|
||||
<el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)">案件日志</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="editRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
|
||||
@@ -113,6 +122,14 @@
|
||||
scope.row.arbitratMethod == 1 &&
|
||||
checkPermi(['caseManagement:list:hear'])
|
||||
">开庭审理</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
|
||||
checkPermi(['caseManagement:list:evidenceUpdate'])" @click="evidenceUpload(scope.row)">证据修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31"
|
||||
@click="timeUpdata(scope.row)">开庭时间</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-lock" v-if="checkPermi(['caseManagement:list:lock'])"
|
||||
@click="lockClick(scope.row)">锁定</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-unlock" v-if="checkPermi(['caseManagement:list:lock'])"
|
||||
@click="ulockClick(scope.row)">解锁</el-button>
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -165,6 +182,18 @@
|
||||
<!-- 案件日志 -->
|
||||
<caselogDialog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :flagLoading="flagLoading"
|
||||
:caselogDataArr="caselogDataArr"></caselogDialog>
|
||||
<!-- 案件流程 -->
|
||||
<viewprocessDialog :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" :processData="processData">
|
||||
</viewprocessDialog>
|
||||
<!-- 证据修改 -->
|
||||
<evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
|
||||
</evidenceDialog>
|
||||
<!-- 开庭时间修改 -->
|
||||
<timeDialog :timeVisable="timeVisable" :getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData">
|
||||
</timeDialog>
|
||||
<!-- 批量操作弹窗 -->
|
||||
<operateDialog :operateVisable="operateVisable" :getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
|
||||
</operateDialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -179,7 +208,10 @@ import trialincourtDialog from "./components/trialincourtDialog.vue";
|
||||
import payDialog from "./components/payDialog.vue";
|
||||
import filingreviewDialog from "./components/filingreviewDialog.vue";
|
||||
import caselogDialog from "./components/caselogDialog.vue";
|
||||
|
||||
import viewprocessDialog from "./components/viewprocessDialog.vue";
|
||||
import evidenceDialog from './components/evidenceDialog.vue'
|
||||
import timeDialog from './components/timeDialog.vue'
|
||||
import operateDialog from './components/operateDialog.vue'
|
||||
import { caseApplicationDetail } from "@/api/pay/pay";
|
||||
import {
|
||||
caseApply,
|
||||
@@ -207,6 +239,10 @@ export default {
|
||||
payDialog,
|
||||
filingreviewDialog,
|
||||
caselogDialog,
|
||||
viewprocessDialog,
|
||||
evidenceDialog,
|
||||
timeDialog,
|
||||
operateDialog
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -221,7 +257,7 @@ export default {
|
||||
queryParams: {
|
||||
caseNum: undefined,
|
||||
// caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
|
||||
caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10],
|
||||
caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31],
|
||||
// hearDate: "",
|
||||
caseStatus: null,
|
||||
applicantName: "",
|
||||
@@ -250,6 +286,9 @@ export default {
|
||||
adjudicatename: {}, //书面仲裁(被)申请人姓名
|
||||
showtrialincourt: false, //开庭审理
|
||||
openPay: false, //缴费弹框
|
||||
processVisable: false,//案件流程弹窗
|
||||
evidenceVisable: false,//修改证据弹窗
|
||||
evidenceData: {},
|
||||
payTitle: "",
|
||||
payForm: {},
|
||||
caseAttachList: [], //案件质证资料
|
||||
@@ -258,7 +297,13 @@ export default {
|
||||
caselogDataArr: [],
|
||||
options: [], //机构数据
|
||||
payId: null,
|
||||
caseStatus: []
|
||||
caseStatus: [],
|
||||
processData: {},
|
||||
timeVisable: false,
|
||||
timeData: {},
|
||||
operateVisable:false,
|
||||
operateData:{},
|
||||
operateTitle:""
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -280,6 +325,68 @@ export default {
|
||||
cancelBatch() {
|
||||
this.openbatch = false;
|
||||
},
|
||||
cancelTime() {
|
||||
this.timeVisable = false;
|
||||
},
|
||||
cancelOperate(){
|
||||
this.operateVisable = false;
|
||||
},
|
||||
// 批量操作弹窗
|
||||
operateClick(type){
|
||||
this.operateVisable = true;
|
||||
if(type == 0){
|
||||
this.operateTitle = '批量提交'
|
||||
}else if(type == 1){
|
||||
this.operateTitle = '批量删除'
|
||||
}else if(type == 2){
|
||||
this.operateTitle = '批量立案申请'
|
||||
}
|
||||
},
|
||||
// 修改开庭时间
|
||||
timeUpdata(row) {
|
||||
this.timeData = row;
|
||||
this.timeVisable = true;
|
||||
},
|
||||
// 锁定案件
|
||||
lockClick(row) {
|
||||
this.$modal
|
||||
.confirm("是否锁定案件")
|
||||
.then(function () {
|
||||
// return removeCaseApply({ id: row.id });
|
||||
})
|
||||
.then((res) => {
|
||||
// this.getcaseApply(this.queryParams);
|
||||
this.$modal.msgSuccess("锁定成功");
|
||||
})
|
||||
.catch(() => { });
|
||||
},
|
||||
// 解锁案件
|
||||
ulockClick(row) {
|
||||
this.$modal
|
||||
.confirm("是否解锁锁案件")
|
||||
.then(function () {
|
||||
// return removeCaseApply({ id: row.id });
|
||||
})
|
||||
.then((res) => {
|
||||
// this.getcaseApply(this.queryParams);
|
||||
this.$modal.msgSuccess("解锁成功");
|
||||
})
|
||||
.catch(() => { });
|
||||
},
|
||||
// 修改证据
|
||||
evidenceUpload(row) {
|
||||
this.evidenceData = row;
|
||||
this.evidenceVisable = true;
|
||||
},
|
||||
// 取消弹窗(证据弹窗)
|
||||
cancelEvidence() {
|
||||
this.evidenceVisable = false;
|
||||
},
|
||||
// 查看流程
|
||||
viewProcess(row) {
|
||||
this.processVisable = true;
|
||||
this.processData = row;
|
||||
},
|
||||
// 机构发生变化
|
||||
changeDept(data) {
|
||||
this.queryParams.nameId = data[0];
|
||||
@@ -388,6 +495,10 @@ export default {
|
||||
cancelcaseLog() {
|
||||
this.showcaseLog = false;
|
||||
},
|
||||
//关闭案件流程
|
||||
cancelViewProcess() {
|
||||
this.processVisable = false;
|
||||
},
|
||||
// 修改
|
||||
editRow(row) {
|
||||
this.flag = "1";
|
||||
@@ -401,7 +512,8 @@ export default {
|
||||
this.$modal
|
||||
.confirm("是否提交立案申请?")
|
||||
.then(function () {
|
||||
return submitCaseApply({ id: row.id });
|
||||
// return submitCaseApply({ id: row.id });
|
||||
return submitCaseApply({ids: [row.id] });
|
||||
})
|
||||
.then(() => {
|
||||
this.getcaseApply(this.queryParams);
|
||||
@@ -549,7 +661,8 @@ export default {
|
||||
this.$modal
|
||||
.confirm("是否确认删除?")
|
||||
.then(function () {
|
||||
return removeCaseApply({ id: row.id });
|
||||
// return removeCaseApply({ id: row.id });
|
||||
return removeCaseApply({ids:[row.id]});
|
||||
})
|
||||
.then((res) => {
|
||||
this.getcaseApply(this.queryParams);
|
||||
|
||||
Reference in New Issue
Block a user