|
|
|
|
@ -46,8 +46,7 @@
|
|
|
|
|
</el-form> |
|
|
|
|
<div class="flex between"> |
|
|
|
|
<el-button type="primary" @click=""> |
|
|
|
|
生成督察通报</el-button |
|
|
|
|
> |
|
|
|
|
生成督察通报</el-button> |
|
|
|
|
<div> |
|
|
|
|
<el-button type="primary" @click="getList"> |
|
|
|
|
<template #icon> |
|
|
|
|
@ -165,12 +164,15 @@
|
|
|
|
|
<span>{{ getDictLable(dict.distributionState, activeRow.distributionState) }}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<file-list :files="activeRow.files? JSON.parse(activeRow.files) : []" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
</template> |
|
|
|
|
<script setup> |
|
|
|
|
import { getDictLable } from "@/utils/util"; |
|
|
|
|
import { listTaskProblem } from '@/api/mobileSupervision/taskProblem' |
|
|
|
|
import { getDictLable } from "@/utils/util"; |
|
|
|
|
import { listTaskProblem, getTaskProblem } from '@/api/mobileSupervision/taskProblem' |
|
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
|
|
|
|
|
|
const catchStore = useCatchStore(); |
|
|
|
|
@ -199,6 +201,7 @@ import { getDictLable } from "@/utils/util";
|
|
|
|
|
function getList() { |
|
|
|
|
listTaskProblem(query.value).then(data => { |
|
|
|
|
list.value = data.records |
|
|
|
|
total.value = data.total |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -208,9 +211,9 @@ import { getDictLable } from "@/utils/util";
|
|
|
|
|
|
|
|
|
|
const show = ref(false) |
|
|
|
|
const activeRow = ref({}) |
|
|
|
|
function showDeatil(row) { |
|
|
|
|
async function showDeatil(row) { |
|
|
|
|
show.value = true |
|
|
|
|
activeRow.value = row |
|
|
|
|
activeRow.value = await getTaskProblem(row.id) |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|