Browse Source

fit:1、信访投诉修复

master
pengwei 6 months ago
parent
commit
0440b8c881
  1. 18
      src/views/data/PetitionComplaint.vue

18
src/views/data/PetitionComplaint.vue

@ -136,7 +136,7 @@
<template #default="{row}">
{{
query.problemSourcesCode? getDataType(query.problemSourcesCode):((row.tableName === 'gabxf')?(row.problemSourcesCode==='21'?'国家信访':'公安部信访'):((row.tableName =='jzxx')?'局长信箱':'案件核查'))
getDataTypeFun(activeRow)
}}
</template>
</el-table-column>
@ -283,7 +283,7 @@
<div class="col col-12">
<label>投诉渠道</label>
<span> {{
(activeRow.tableName === 'gabxf')?(activeRow.problemSourcesCode==='21'?'国家信访':'公安部信访'):'局长信箱'
getDataTypeFun(activeRow)
}}</span>
</div>
<div class="col col-12">
@ -443,7 +443,15 @@ async function handleDel(row) {
await delDataThreadFun({originId:row.originId,tableName:row.tableName});
getList();
}
const getDataTypeFun =(row)=>{
if(row.tableName === 'gabxf'){
return row.problemSourcesCode==='21'?'国家信访':'公安部信访';
}else if(row.tableName ==='jzxx'){
return '局长信箱';
}else{
return '案件核查';
}
}
const activeNegativeId = ref("");
@ -461,6 +469,10 @@ function handleDetail(row) {
console.log(activeRow.value)
detailShow.value = true;
}
watch(()=>query.value.problemSourcesCode,(val)=>{
query.value.problemSourcesCode=val;
getList();
})
</script>
<style lang="scss" scoped>
</style>

Loading…
Cancel
Save