Browse Source

fix:维权修复

master
pengwei 1 month ago
parent
commit
11d87ba052
  1. 1
      src/views/rightsComfort/Rights.vue
  2. 16
      src/views/rightsComfort/Supervision.vue

1
src/views/rightsComfort/Rights.vue

@ -161,6 +161,7 @@ const list = ref([]);
const query = ref({
current: 1,
size: 10,
code:'2'
});
const total = ref(0);
function getList() {

16
src/views/rightsComfort/Supervision.vue

@ -10,11 +10,11 @@ const catchStore = useCatchStore();
const dict = catchStore.getDicts(["personType","injurySeverity","formsOfTort","occurrenceStage","investigatingPolice","situation"]);
let InfringerHandleDict = reactive([
{
dictValue:"刑事追究",
dictValue:"1",
dictLabel:"刑事追究"
},
{
dictValue:"行政处罚",
dictValue:"2",
dictLabel:"行政处罚"
},
])
@ -170,7 +170,7 @@ watch(()=>activeName,()=>{
<el-col :span="6">
<el-form-item label="案件性质">
<el-select
v-model="query.InfringerHandle"
v-model="query.caseType"
clearable>
<el-option
v-for="(item,key) in InfringerHandleDict"
@ -211,7 +211,11 @@ watch(()=>activeName,()=>{
<el-table-column label="案件名称" prop="caseName" width="100"/>
<el-table-column label="发案时间" prop="happenTime" width="160"/>
<el-table-column label="简要案情" prop="factReason" width="200" show-overflow-tooltip></el-table-column>
<el-table-column label="案件性质" prop="infringerHandle" width="120"></el-table-column>
<el-table-column label="案件性质" prop="" width="120">
<template #default="{row}">
{{row.caseType =='1'?'刑事案件':'民事案件'}}
</template>
</el-table-column>
<el-table-column label="案件类别" prop="caseCategory" />
<el-table-column label="操作" min-width="200">
<template #default="{ row }">
@ -325,14 +329,14 @@ watch(()=>activeName,()=>{
<el-row>
<el-col :span="12">
<el-form-item
prop="rpcApplyVo.infringerHandle"
prop="rpcApplyVo.caseType"
:rules="{
required: true,
message: '请选择案件类别',
trigger: ['blur'],
}"
label="案件类别">
<el-select v-model="detailData.rpcApplyVo.infringerHandle" >
<el-select v-model="detailData.rpcApplyVo.caseType" >
<el-option v-for="(item,i) in InfringerHandleDict" :value="item.dictValue" :label="item.dictLabel" :key="i"></el-option>
</el-select>
</el-form-item>

Loading…
Cancel
Save