案件流程节点接口调试
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
|
||||
<el-form-item label="案件状态" prop="roleName">
|
||||
<el-input v-model="queryParams.roleName" placeholder="请输入案件状态" clearable style="width: 240px"
|
||||
<el-form-item label="案件状态" prop="caseStatusName">
|
||||
<el-input v-model="queryParams.caseStatusName" placeholder="请输入案件状态" clearable style="width: 240px"
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="节点名称" prop="status">
|
||||
<el-select v-model="queryParams.status" placeholder="节点名称" clearable style="width: 240px">
|
||||
<el-option v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.label"
|
||||
<el-form-item label="节点名称" prop="nodeName">
|
||||
<el-select v-model="queryParams.nodeName" placeholder="节点名称" clearable style="width: 240px">
|
||||
<el-option v-for="dict in dict.type.case_flow_node" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -29,17 +29,15 @@
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="节点名称" align="center" prop="nodename" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件状态" align="center" prop="casestatus" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="驳回节点" align="center" prop="rejectnode" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="关联角色" align="center" prop="associatedroles" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="节点名称" align="center" prop="nodeName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="驳回节点" align="center" prop="backFlowName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="关联角色" align="center" prop="roleNames" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" @click="moveDown(scope.row)" type="text"
|
||||
icon="el-icon-arrow-down"></el-button>
|
||||
<el-button size="mini" @click="moveDown(scope.row)" type="text" icon="el-icon-arrow-down"></el-button>
|
||||
|
||||
<el-button size="mini" @click="moveUp(scope.row)" type="text"
|
||||
icon="el-icon-arrow-up"></el-button>
|
||||
<el-button size="mini" @click="moveUp(scope.row)" type="text" icon="el-icon-arrow-up"></el-button>
|
||||
<el-button size="mini" @click="eidtNodeprocess(scope.row)" type="text"
|
||||
icon="el-icon-edit">修改</el-button>
|
||||
<el-button size="mini" @click="deleteNodeprocess(scope.row)" type="text"
|
||||
@@ -57,19 +55,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import {
|
||||
// getTemplate,
|
||||
// deleteTemplate,
|
||||
// getTemplateInfoById
|
||||
// } from "@/api/officialSeal/officialSeal.js";
|
||||
|
||||
import { queryCaseFlowInfo, deleteCaseFlow, sortCaseFlow } from "@/api/caseprocessManagement/caseprocessManagement.js";
|
||||
import addNodeprocess from "./components/addNodeprocess";
|
||||
export default {
|
||||
name: "paymentList",
|
||||
components: {
|
||||
addNodeprocess,
|
||||
},
|
||||
dicts: ['sys_normal_disable'],
|
||||
dicts: ['case_flow_node'],
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
@@ -103,11 +96,31 @@ export default {
|
||||
},
|
||||
// 删除接口
|
||||
deleteSealFn(data) {
|
||||
deleteTemplate(data).then(res => {
|
||||
deleteCaseFlow(data).then(res => {
|
||||
this.$modal.msgSuccess("删除成功!");
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
},
|
||||
// 向下 sortType
|
||||
moveDown(row) {
|
||||
let params = {
|
||||
id: row.id,
|
||||
sortType: 0
|
||||
}
|
||||
sortCaseFlow(params).then((res) => {
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
},
|
||||
// 向上
|
||||
moveUp(row) {
|
||||
let params = {
|
||||
id: row.id,
|
||||
sortType: 1
|
||||
}
|
||||
sortCaseFlow(params).then((res) => {
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
},
|
||||
// 新增流程节点
|
||||
addnodeprocess(row) {
|
||||
this.addvisiable = true;
|
||||
@@ -136,32 +149,12 @@ export default {
|
||||
// 查询列表数据
|
||||
getList(parms) {
|
||||
this.loading = true;
|
||||
// getTemplate(parms).then((response) => {
|
||||
// this.dataList = response.rows;
|
||||
this.dataList = [
|
||||
{
|
||||
nodename: '调解',
|
||||
casestatus: '未立案',
|
||||
rejectnode: 2,
|
||||
associatedroles: '申请人'
|
||||
}
|
||||
];
|
||||
// this.total = response.total;
|
||||
this.loading = false;
|
||||
console.log(this.dataList, "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
||||
// this.dataList.forEach(item => {
|
||||
// if (item.identifyStatus == 0 || item.identifyStatus == null) {
|
||||
// item.identifyStatus = '未认证'
|
||||
// } else {
|
||||
// item.identifyStatus = '已认证'
|
||||
// }
|
||||
// if (item.isUse == 0 || item.isUse == null) {
|
||||
// item.isUse = '未启用'
|
||||
// } else {
|
||||
// item.isUse = '已启用'
|
||||
// }
|
||||
// })
|
||||
// });
|
||||
parms.nodeId = parseInt(parms.nodeName)
|
||||
queryCaseFlowInfo(parms).then((response) => {
|
||||
this.dataList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user