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

Loading…
Cancel
Save