证据目录界面,案件导入问题
This commit is contained in:
@@ -126,10 +126,13 @@
|
||||
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'])"
|
||||
<el-button size="mini" type="text" icon="el-icon-lock"
|
||||
v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0"
|
||||
@click="lockClick(scope.row)">锁定</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-unlock" v-if="checkPermi(['caseManagement:list:lock'])"
|
||||
<el-button size="mini" type="text" icon="el-icon-unlock"
|
||||
v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1"
|
||||
@click="ulockClick(scope.row)">解锁</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button>
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -188,12 +191,17 @@
|
||||
<!-- 证据修改 -->
|
||||
<evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
|
||||
</evidenceDialog>
|
||||
|
||||
<!-- 开庭时间修改 -->
|
||||
<timeDialog :timeVisable="timeVisable" :getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData">
|
||||
<timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData">
|
||||
</timeDialog>
|
||||
<!-- 批量操作弹窗 -->
|
||||
<operateDialog :operateVisable="operateVisable" :getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
|
||||
<operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
|
||||
@getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
|
||||
</operateDialog>
|
||||
<!-- 上传证据目录弹窗 -->
|
||||
<uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel" :uploadCaseData="uploadCaseData">
|
||||
</uploadCaseDialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -209,22 +217,24 @@ 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 evidenceDialog from './components/evidenceDialog.vue';
|
||||
import timeDialog from './components/timeDialog.vue';
|
||||
import operateDialog from './components/operateDialog.vue';
|
||||
import uploadCaseDialog from './components/uploadCaseDialog.vue';
|
||||
import { caseApplicationDetail } from "@/api/pay/pay";
|
||||
import {
|
||||
caseApply,
|
||||
removeCaseApply,
|
||||
submitCaseApply,
|
||||
selectCaseApply,
|
||||
updateCaseLockStatus
|
||||
} from "@/api/caseAccess/caseEntry";
|
||||
import { listDept } from "@/api/system/dept";
|
||||
import {
|
||||
document,
|
||||
caseLogRecordList,
|
||||
} from "@/api/caseManagement/caseManagement";
|
||||
import { getDicts } from '@/api/system/dict/data.js'
|
||||
import { getDicts } from '@/api/system/dict/data.js';
|
||||
export default {
|
||||
name: "caseList",
|
||||
// dicts: ["case_status"],
|
||||
@@ -242,7 +252,8 @@ export default {
|
||||
viewprocessDialog,
|
||||
evidenceDialog,
|
||||
timeDialog,
|
||||
operateDialog
|
||||
operateDialog,
|
||||
uploadCaseDialog
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -301,16 +312,19 @@ export default {
|
||||
processData: {},
|
||||
timeVisable: false,
|
||||
timeData: {},
|
||||
operateVisable:false,
|
||||
operateData:{},
|
||||
operateTitle:""
|
||||
operateVisable: false,
|
||||
operateData: {},
|
||||
operateTitle: "",
|
||||
operateStatus: 0,
|
||||
uploadCaseVisable:false,
|
||||
uploadCaseData:{}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
getDicts("case_status").then(res => {
|
||||
this.caseStatus = res.data;
|
||||
let params = this.$route.params.status;
|
||||
if (params) {
|
||||
if (params >= 0) {
|
||||
this.queryParams.caseStatus = params;
|
||||
}
|
||||
this.getcaseApply(this.queryParams);
|
||||
@@ -328,18 +342,29 @@ export default {
|
||||
cancelTime() {
|
||||
this.timeVisable = false;
|
||||
},
|
||||
cancelOperate(){
|
||||
cancelOperate() {
|
||||
this.operateVisable = false;
|
||||
},
|
||||
uploadCaseCancel(){
|
||||
this.uploadCaseVisable = false;
|
||||
},
|
||||
// 上传证据目录弹窗
|
||||
uploadCase(row){
|
||||
this.uploadCaseData = row;
|
||||
this.uploadCaseVisable = true;
|
||||
},
|
||||
// 批量操作弹窗
|
||||
operateClick(type){
|
||||
operateClick(type) {
|
||||
this.operateVisable = true;
|
||||
if(type == 0){
|
||||
this.operateTitle = '批量提交'
|
||||
}else if(type == 1){
|
||||
this.operateTitle = '批量删除'
|
||||
}else if(type == 2){
|
||||
this.operateTitle = '批量立案申请'
|
||||
if (type == 0) {
|
||||
this.operateTitle = '批量提交';
|
||||
this.operateStatus = 0;
|
||||
} else if (type == 1) {
|
||||
this.operateTitle = '批量删除';
|
||||
this.operateStatus = 1;
|
||||
} else if (type == 2) {
|
||||
this.operateTitle = '批量立案申请';
|
||||
this.operateStatus = 2;
|
||||
}
|
||||
},
|
||||
// 修改开庭时间
|
||||
@@ -347,15 +372,16 @@ export default {
|
||||
this.timeData = row;
|
||||
this.timeVisable = true;
|
||||
},
|
||||
|
||||
// 锁定案件
|
||||
lockClick(row) {
|
||||
this.$modal
|
||||
.confirm("是否锁定案件")
|
||||
.then(function () {
|
||||
// return removeCaseApply({ id: row.id });
|
||||
return updateCaseLockStatus({ id: row.id, lockStatus: 1 });
|
||||
})
|
||||
.then((res) => {
|
||||
// this.getcaseApply(this.queryParams);
|
||||
this.getcaseApply(this.queryParams);
|
||||
this.$modal.msgSuccess("锁定成功");
|
||||
})
|
||||
.catch(() => { });
|
||||
@@ -363,12 +389,12 @@ export default {
|
||||
// 解锁案件
|
||||
ulockClick(row) {
|
||||
this.$modal
|
||||
.confirm("是否解锁锁案件")
|
||||
.confirm("是否解锁案件")
|
||||
.then(function () {
|
||||
// return removeCaseApply({ id: row.id });
|
||||
return updateCaseLockStatus({ id: row.id, lockStatus: 0 });
|
||||
})
|
||||
.then((res) => {
|
||||
// this.getcaseApply(this.queryParams);
|
||||
this.getcaseApply(this.queryParams);
|
||||
this.$modal.msgSuccess("解锁成功");
|
||||
})
|
||||
.catch(() => { });
|
||||
@@ -513,7 +539,7 @@ export default {
|
||||
.confirm("是否提交立案申请?")
|
||||
.then(function () {
|
||||
// return submitCaseApply({ id: row.id });
|
||||
return submitCaseApply({ids: [row.id] });
|
||||
return submitCaseApply({ ids: [row.id] });
|
||||
})
|
||||
.then(() => {
|
||||
this.getcaseApply(this.queryParams);
|
||||
@@ -662,7 +688,7 @@ export default {
|
||||
.confirm("是否确认删除?")
|
||||
.then(function () {
|
||||
// return removeCaseApply({ id: row.id });
|
||||
return removeCaseApply({ids:[row.id]});
|
||||
return removeCaseApply({ ids: [row.id] });
|
||||
})
|
||||
.then((res) => {
|
||||
this.getcaseApply(this.queryParams);
|
||||
|
||||
Reference in New Issue
Block a user