Browse Source

涉访涉诉--标签功能

master
buaixuexideshitongxue 1 month ago
parent
commit
ad735d4837
  1. 23
      src/components/negative/verify-sfss.vue

23
src/components/negative/verify-sfss.vue

@ -70,7 +70,7 @@
currentRow.tag currentRow.tag
? currentRow.tag ? currentRow.tag
.split(',') .split(',')
.map(v => getDictLabel(dict.tagList, v)) .map(v => getDictLabel(dict.sfssTags, v))
.join(',') .join(',')
: '/' : '/'
}} }}
@ -1571,7 +1571,7 @@ import {getConfinementListAll} from "@/api/work/confinement";
import {timeFormat} from "@/utils/util"; import {timeFormat} from "@/utils/util";
// //
const catchSotre = useCatchStore(); const catchSotre = useCatchStore();
const dict = catchSotre.getDicts([ const baseDict = catchSotre.getDicts([
"isRectify", "isRectify",
"personType", "personType",
"superviseMeasures", "superviseMeasures",
@ -1585,8 +1585,21 @@ const dict = catchSotre.getDicts([
"resolveSituation", "resolveSituation",
"resolveStatus", "resolveStatus",
"checkStatus", "checkStatus",
"sfssSourceTable" "sfssSourceTable",
]); "sfssTags",
// businessType
"businessType",
])
const dict = computed(() => ({
...baseDict,
...(props.extraDict || {}),
}))
const props = defineProps<{
extraDict?: Record<string, any[]>
}>()
const negative = inject("negative"); const negative = inject("negative");
const form = ref({ const form = ref({
@ -1643,7 +1656,7 @@ async function getFormData() {
form.value = { form.value = {
...row, ...row,
complaintId: row?.id, complaintId: row?.id,
involveProblem:row.involveProblem ? String(row.involveProblem).split(/[,,]/).filter(Boolean) : [], involveProblem: row.involveProblem ? String(row.involveProblem).split(/[,,]/).filter(Boolean) : [],
involveDepartId: negative.value.involveDepartId, involveDepartId: negative.value.involveDepartId,
caseNumber: negative.value.caseNumber, caseNumber: negative.value.caseNumber,
checkStatus: negative.value.checkStatus, checkStatus: negative.value.checkStatus,

Loading…
Cancel
Save