批量管理页面的开发
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="70px">
|
||||
<el-form-item label="批号:" prop="deptNameFirchar">
|
||||
<el-input v-model="queryParams.deptNameFirchar" placeholder="请输入批号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="申请人:" prop="deptNameFirchar">
|
||||
<el-input v-model="queryParams.deptNameFirchar" placeholder="请输入申请人" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table v-loading="loading" style="width: 100%" :data="dataList">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="批号" align="center" prop="ruleType" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="申请人" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="仲裁方式" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="仲裁员" align="center" prop="prefixstr" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件状态" align="center" prop="prefixstr">
|
||||
<template slot-scope="scope">
|
||||
<el-tag type="success">{{ scope.row.prefixstr }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="350">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-view" @click="viewingCasesBtn(scope.row)">查看案件列表</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-check" @click="confirmSubmission(scope.row)">提交</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-view" @click="filingFeview(scope.row)">立案审查</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-tickets" @click="batchPayments(scope.row)">缴费</el-button>
|
||||
<el-button size="mini" type="text" @click="paymentConfir(scope.row)">缴费确认</el-button>
|
||||
<el-button size="mini" type="text" @click="courtReviews(scope.row)">组庭审核</el-button>
|
||||
<el-button size="mini" type="text">组庭确认</el-button>
|
||||
<el-button size="mini" type="text">审核仲裁方式</el-button>
|
||||
<el-button size="mini" type="text">书面审理</el-button>
|
||||
<el-button size="mini" type="text">仲裁员审核仲裁文书</el-button>
|
||||
<el-button size="mini" type="text">核验仲裁文书</el-button>
|
||||
<el-button size="mini" type="text">部门长审核仲裁文书</el-button>
|
||||
<el-button size="mini" type="text">签名</el-button>
|
||||
<el-button size="mini" type="text">用印</el-button>
|
||||
<el-button size="mini" type="text">生成裁决书</el-button>
|
||||
<el-button size="mini" type="text">归档</el-button>
|
||||
<el-button size="mini" type="text">仲裁文书送达</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList(queryParams)"
|
||||
/>
|
||||
<!-- 缴费 -->
|
||||
<batchPayment :caseVisablePay="caseVisablePay" @cancelCasePay="cancelCasePay"></batchPayment>
|
||||
<!-- 缴费确认 -->
|
||||
<paymentConfirmation :caseVisablePayment="caseVisablePayment" @cancelCasePayment="cancelCasePayment"></paymentConfirmation>
|
||||
<!-- 组庭审核 -->
|
||||
<courtReview :caseVisableReview="caseVisableReview" @cancelCaseReview="cancelCaseReview"></courtReview>
|
||||
<!-- 查看案件列表 -->
|
||||
<viewingCases :caseVisableViewing="caseVisableViewing" @cancelCaseViewing="cancelCaseViewing"></viewingCases>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {caseNumRuleList,deleteCaseNumRule} from '@/api/officialSeal/officialSeal.js'
|
||||
import batchPayment from './components/batchPayment.vue'
|
||||
import paymentConfirmation from './components/paymentConfirmation.vue'
|
||||
import courtReview from './components/courtReview.vue'
|
||||
import viewingCases from './components/viewingCases.vue'
|
||||
export default {
|
||||
components: {
|
||||
batchPayment,
|
||||
paymentConfirmation,
|
||||
courtReview,
|
||||
viewingCases
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
// 遮罩层
|
||||
loading: false,
|
||||
// 总条数
|
||||
total: 0,
|
||||
caseVisablePay: false,//批量缴费弹窗
|
||||
caseVisablePayment:false,//批量缴费确认
|
||||
caseVisableReview:false,//批量组庭审核
|
||||
caseVisableViewing:false,//查看案件列表
|
||||
dataList: [],
|
||||
editData:{}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList(this.queryParams)
|
||||
},
|
||||
methods: {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 查询列表
|
||||
getList(parm){
|
||||
this.loading = true;
|
||||
caseNumRuleList(parm).then(res=>{
|
||||
this.dataList = res.rows;
|
||||
this.total = res.total
|
||||
this.loading = false;
|
||||
})
|
||||
},
|
||||
// 批量提交
|
||||
confirmSubmission(row){
|
||||
this.$modal.confirm("您确定要批量提交吗?").then((res) => {
|
||||
// this.deleteSealFn({ id: row.id })
|
||||
}).catch(() =>{
|
||||
|
||||
})
|
||||
},
|
||||
// 批量提交接口
|
||||
confirmSubmissionFn(data) {
|
||||
// deleteCaseNumRule(data).then(res => {
|
||||
// this.$modal.msgSuccess("删除成功!");
|
||||
// this.getList(this.queryParams);
|
||||
// })
|
||||
},
|
||||
// 批量立案审查
|
||||
filingFeview(){
|
||||
this.$modal.confirm("你确定要批量立案审查吗?").then((res) => {
|
||||
// this.deleteSealFn({ id: row.id })
|
||||
}).catch(() =>{
|
||||
|
||||
})
|
||||
},
|
||||
// 批量缴费
|
||||
batchPayments(){
|
||||
this.caseVisablePay = true
|
||||
},
|
||||
cancelCasePay(){
|
||||
this.caseVisablePay = false
|
||||
},
|
||||
// 批量缴费确认
|
||||
paymentConfir(){
|
||||
this.caseVisablePayment = true
|
||||
},
|
||||
cancelCasePayment(){
|
||||
this.caseVisablePayment = false
|
||||
},
|
||||
// 批量组庭审核
|
||||
courtReviews(){
|
||||
this.caseVisableReview = true
|
||||
},
|
||||
cancelCaseReview(){
|
||||
this.caseVisableReview = false
|
||||
},
|
||||
// 查看案件列表
|
||||
viewingCasesBtn(){
|
||||
this.caseVisableViewing = true
|
||||
},
|
||||
cancelCaseViewing(){
|
||||
this.caseVisableViewing = false
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Reference in New Issue
Block a user