|
|
@ -61,6 +61,10 @@ |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<el-button @click="handleReset">重置</el-button> |
|
|
<el-button @click="handleReset">重置</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
<el-button type="primary" plain @click="handleAdd">新增备案</el-button> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
@ -103,7 +107,7 @@ |
|
|
|
|
|
|
|
|
<el-table-column label="任务状态" width="140"> |
|
|
<el-table-column label="任务状态" width="140"> |
|
|
<template #default="{ row }"> |
|
|
<template #default="{ row }"> |
|
|
<span :class="getStatusClass(row.taskStatus)">{{ row.taskStatusName || '--' }}</span> |
|
|
<span :class="getStatusClass(row.taskStatus)">{{ getTaskStatusText(row) }}</span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
@ -113,14 +117,109 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column label="操作" width="80" fixed="right"> |
|
|
<el-table-column label="操作" width="230" fixed="right" align="center"> |
|
|
<template #default="{ row }"> |
|
|
<template #default="{ row }"> |
|
|
|
|
|
<el-button |
|
|
|
|
|
size="small" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
link |
|
|
|
|
|
:disabled="Number(row.taskStatus) === 1" |
|
|
|
|
|
@click="handleProgress(row)" |
|
|
|
|
|
> |
|
|
|
|
|
处理进度 |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button |
|
|
|
|
|
v-if="Number(row.taskStatus) === 3" |
|
|
|
|
|
size="small" |
|
|
|
|
|
type="primary" |
|
|
|
|
|
@click="handleReview(row)" |
|
|
|
|
|
> |
|
|
|
|
|
审查 |
|
|
|
|
|
</el-button> |
|
|
<el-button size="small" type="primary" link @click="handleDetail(row)">详情</el-button> |
|
|
<el-button size="small" type="primary" link @click="handleDetail(row)">详情</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 模拟审批 --> |
|
|
|
|
|
<el-dialog |
|
|
|
|
|
v-model="reviewVisible" |
|
|
|
|
|
title="审批处理" |
|
|
|
|
|
width="720px" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
@closed="resetReviewForm" |
|
|
|
|
|
> |
|
|
|
|
|
<el-form ref="reviewFormRef" :model="reviewForm" :rules="reviewRules" label-width="100px" class="review-form"> |
|
|
|
|
|
<el-form-item label="审批结果:" prop="result"> |
|
|
|
|
|
<el-radio-group v-model="reviewForm.result" @change="handleReviewResultChange"> |
|
|
|
|
|
<el-radio value="approved">通过</el-radio> |
|
|
|
|
|
<el-radio value="rejected">未通过</el-radio> |
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="审批意见:" prop="comment"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="reviewForm.comment" |
|
|
|
|
|
type="textarea" |
|
|
|
|
|
:rows="8" |
|
|
|
|
|
maxlength="100" |
|
|
|
|
|
show-word-limit |
|
|
|
|
|
placeholder="请输入审批意见" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
<template #footer> |
|
|
|
|
|
<el-button @click="reviewVisible = false">取消</el-button> |
|
|
|
|
|
<el-button type="primary" @click="submitReview">提交</el-button> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 处理进度 --> |
|
|
|
|
|
<el-dialog v-model="progressVisible" title="处理进度" width="680px" class="progress-dialog"> |
|
|
|
|
|
<div v-if="progressRow" class="progress-timeline"> |
|
|
|
|
|
<div class="progress-step"> |
|
|
|
|
|
<div class="progress-marker"> |
|
|
|
|
|
<span class="progress-dot is-complete"></span> |
|
|
|
|
|
<span class="progress-line"></span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="progress-content"> |
|
|
|
|
|
<div class="progress-row"> |
|
|
|
|
|
<span class="progress-label">企业提交</span> |
|
|
|
|
|
<span class="progress-time">{{ formatDateTime(progressRow.enterpriseHandleTime || progressRow.createTime) || '--' }}</span> |
|
|
|
|
|
<span class="progress-company">{{ progressRow.enterpriseName || '--' }}</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="progress-step"> |
|
|
|
|
|
<div class="progress-marker"> |
|
|
|
|
|
<span class="progress-dot" :class="`is-${progressView.tone}`"></span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="progress-content"> |
|
|
|
|
|
<div class="progress-row"> |
|
|
|
|
|
<span class="progress-label" :class="`is-${progressView.tone}`">{{ progressView.label }}</span> |
|
|
|
|
|
<template v-if="progressView.tone === 'waiting'"> |
|
|
|
|
|
<span class="progress-state">{{ progressView.state }}</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-else> |
|
|
|
|
|
<span class="progress-time">{{ formatDateTime(progressRow.reviewTime || getMockReviewTime(progressRow)) || '--' }}</span> |
|
|
|
|
|
<span class="progress-reviewer"> |
|
|
|
|
|
{{ progressRow.reviewerName || currentUserName }}——{{ progressRow.lawEnforcementAgency || '--' }} |
|
|
|
|
|
</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="progress-result"> |
|
|
|
|
|
<div> |
|
|
|
|
|
{{ progressView.resultLabel }}: |
|
|
|
|
|
<span :class="`progress-result--${progressView.tone}`">{{ progressView.state }}</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div v-if="progressView.comment">{{ progressView.comment }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<!-- 分页 --> |
|
|
<!-- 分页 --> |
|
|
<div class="pagination-container"> |
|
|
<div class="pagination-container"> |
|
|
<span class="total-text">共 {{ total }} 项数据</span> |
|
|
<span class="total-text">共 {{ total }} 项数据</span> |
|
|
@ -139,9 +238,10 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import { ref, reactive, onMounted } from 'vue'; |
|
|
import { computed, nextTick, ref, reactive, onActivated, onMounted } from 'vue'; |
|
|
import { useRouter } from 'vue-router'; |
|
|
import { useRouter } from 'vue-router'; |
|
|
import { ElMessage } from 'element-plus'; |
|
|
import { ElMessage } from 'element-plus'; |
|
|
|
|
|
import type { FormInstance, FormRules } from 'element-plus'; |
|
|
import { getTaskPage } from '@/api/nos/index'; |
|
|
import { getTaskPage } from '@/api/nos/index'; |
|
|
import type { |
|
|
import type { |
|
|
NosLawEnforcementTaskPageVO, |
|
|
NosLawEnforcementTaskPageVO, |
|
|
@ -149,7 +249,23 @@ import type { |
|
|
Response as TaskPageResponse |
|
|
Response as TaskPageResponse |
|
|
} from '@/api/nos/type'; |
|
|
} from '@/api/nos/type'; |
|
|
import { parseTime } from '@/utils/ruoyi'; |
|
|
import { parseTime } from '@/utils/ruoyi'; |
|
|
import { lo } from 'element-plus/es/locale'; |
|
|
|
|
|
|
|
|
type ReviewDecision = 'approved' | 'rejected'; |
|
|
|
|
|
type ProgressTone = 'waiting' | 'error' | 'success' | 'default'; |
|
|
|
|
|
|
|
|
|
|
|
interface FilingReviewRecord extends NosLawEnforcementTaskPageVO { |
|
|
|
|
|
reviewComment?: string; |
|
|
|
|
|
reviewerName?: string; |
|
|
|
|
|
reviewTime?: string; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ProgressView { |
|
|
|
|
|
label: string; |
|
|
|
|
|
state: string; |
|
|
|
|
|
resultLabel: string; |
|
|
|
|
|
tone: ProgressTone; |
|
|
|
|
|
comment?: string; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const TASK_TYPE_OPTIONS = [ |
|
|
const TASK_TYPE_OPTIONS = [ |
|
|
{ label: '行政检查', value: 1 }, |
|
|
{ label: '行政检查', value: 1 }, |
|
|
@ -160,7 +276,7 @@ const TASK_TYPE_OPTIONS = [ |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
const TASK_STATUS_OPTIONS = [ |
|
|
const TASK_STATUS_OPTIONS = [ |
|
|
{ label: '企业处理中', value: 1 }, |
|
|
{ label: '待企业处理', value: 1 }, |
|
|
{ label: '退回企业补正', value: 2 }, |
|
|
{ label: '退回企业补正', value: 2 }, |
|
|
{ label: '待审核', value: 3 }, |
|
|
{ label: '待审核', value: 3 }, |
|
|
{ label: '已办结', value: 4 }, |
|
|
{ label: '已办结', value: 4 }, |
|
|
@ -168,14 +284,24 @@ const TASK_STATUS_OPTIONS = [ |
|
|
{ label: '待现场处置', value: 6 } |
|
|
{ label: '待现场处置', value: 6 } |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
const TASK_STATUS_TEXT_MAP: Record<number, string> = Object.fromEntries( |
|
|
|
|
|
TASK_STATUS_OPTIONS.map((item) => [item.value, item.label]) |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
const router = useRouter(); |
|
|
const router = useRouter(); |
|
|
|
|
|
|
|
|
const loading = ref(false); |
|
|
const loading = ref(false); |
|
|
const tableData = ref<NosLawEnforcementTaskPageVO[]>([]); |
|
|
const tableData = ref<FilingReviewRecord[]>([]); |
|
|
const total = ref(0); |
|
|
const total = ref(0); |
|
|
const currentPage = ref(1); |
|
|
const currentPage = ref(1); |
|
|
const pageSize = ref(10); |
|
|
const pageSize = ref(10); |
|
|
const selectedRows = ref<NosLawEnforcementTaskPageVO[]>([]); |
|
|
const selectedRows = ref<NosLawEnforcementTaskPageVO[]>([]); |
|
|
|
|
|
const reviewVisible = ref(false); |
|
|
|
|
|
const progressVisible = ref(false); |
|
|
|
|
|
const reviewFormRef = ref<FormInstance>(); |
|
|
|
|
|
const reviewingRow = ref<FilingReviewRecord>(); |
|
|
|
|
|
const progressRow = ref<FilingReviewRecord>(); |
|
|
|
|
|
const reviewOverrides = new Map<string, Partial<FilingReviewRecord>>(); |
|
|
|
|
|
|
|
|
const searchForm = reactive({ |
|
|
const searchForm = reactive({ |
|
|
timeRange: [] as string[], |
|
|
timeRange: [] as string[], |
|
|
@ -185,6 +311,16 @@ const searchForm = reactive({ |
|
|
taskStatus: undefined as number | undefined |
|
|
taskStatus: undefined as number | undefined |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const reviewForm = reactive<{ |
|
|
|
|
|
result: ReviewDecision; |
|
|
|
|
|
comment: string; |
|
|
|
|
|
}>({ |
|
|
|
|
|
result: 'approved', |
|
|
|
|
|
comment: '' |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const currentUserName = localStorage.getItem('username') || '当前用户'; |
|
|
|
|
|
|
|
|
const formatDateTime = (time?: string) => { |
|
|
const formatDateTime = (time?: string) => { |
|
|
if (!time) return ''; |
|
|
if (!time) return ''; |
|
|
return parseTime(time, '{y}-{m}-{d} {h}:{i}') || ''; |
|
|
return parseTime(time, '{y}-{m}-{d} {h}:{i}') || ''; |
|
|
@ -202,6 +338,99 @@ const getStatusClass = (status?: number) => { |
|
|
return status ? `list-card__status--${status}` : ''; |
|
|
return status ? `list-card__status--${status}` : ''; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const getTaskStatusText = (row: NosLawEnforcementTaskPageVO) => { |
|
|
|
|
|
return TASK_STATUS_TEXT_MAP[Number(row.taskStatus)] || row.taskStatusName || '--'; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const getMockReviewTime = (row: FilingReviewRecord) => { |
|
|
|
|
|
const sourceTime = row.enterpriseHandleTime || row.createTime; |
|
|
|
|
|
if (!sourceTime) return ''; |
|
|
|
|
|
const normalizedTime = sourceTime.includes('T') ? sourceTime : sourceTime.replace(/-/g, '/'); |
|
|
|
|
|
const timestamp = new Date(normalizedTime).getTime(); |
|
|
|
|
|
if (Number.isNaN(timestamp)) return ''; |
|
|
|
|
|
return parseTime(timestamp + 2 * 60 * 60 * 1000, '{y}-{m}-{d} {h}:{i}') || ''; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const normalizeFilingRecord = (row: NosLawEnforcementTaskPageVO): FilingReviewRecord => { |
|
|
|
|
|
const override = row.id ? reviewOverrides.get(String(row.id)) : undefined; |
|
|
|
|
|
const effectiveRow: FilingReviewRecord = { ...row, ...override }; |
|
|
|
|
|
const status = Number(effectiveRow.taskStatus); |
|
|
|
|
|
const hasReviewResult = [2, 4, 5].includes(status); |
|
|
|
|
|
let reviewComment = effectiveRow.reviewComment || ''; |
|
|
|
|
|
|
|
|
|
|
|
if (status === 2) { |
|
|
|
|
|
reviewComment = reviewComment || '企业提交材料未通过审查,请补正后重新提交。'; |
|
|
|
|
|
} else if (status === 4 || status === 5) { |
|
|
|
|
|
reviewComment = reviewComment || '审查通过,材料符合要求。'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
|
...effectiveRow, |
|
|
|
|
|
taskStatusName: getTaskStatusText(effectiveRow), |
|
|
|
|
|
reviewComment, |
|
|
|
|
|
reviewerName: effectiveRow.reviewerName || (hasReviewResult ? currentUserName : ''), |
|
|
|
|
|
reviewTime: effectiveRow.reviewTime || (hasReviewResult ? getMockReviewTime(effectiveRow) : '') |
|
|
|
|
|
}; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const validateReviewComment = (_rule: unknown, value: string, callback: (error?: Error) => void) => { |
|
|
|
|
|
if (reviewForm.result === 'rejected' && !value?.trim()) { |
|
|
|
|
|
callback(new Error('审批未通过时必须填写审批意见')); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
callback(); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const reviewRules: FormRules = { |
|
|
|
|
|
comment: [{ validator: validateReviewComment, trigger: ['blur', 'change'] }] |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const progressView = computed<ProgressView>(() => { |
|
|
|
|
|
const row = progressRow.value; |
|
|
|
|
|
const status = Number(row?.taskStatus); |
|
|
|
|
|
|
|
|
|
|
|
if (status === 2) { |
|
|
|
|
|
return { |
|
|
|
|
|
label: '审查结果', |
|
|
|
|
|
state: '未通过', |
|
|
|
|
|
resultLabel: '审查结果', |
|
|
|
|
|
tone: 'error', |
|
|
|
|
|
comment: `审查意见:${row?.reviewComment || '企业提交材料未通过审查,请补正后重新提交。'}` |
|
|
|
|
|
}; |
|
|
|
|
|
} |
|
|
|
|
|
if (status === 3) { |
|
|
|
|
|
return { |
|
|
|
|
|
label: '等待审查', |
|
|
|
|
|
state: '等待审查处理', |
|
|
|
|
|
resultLabel: '处理状态', |
|
|
|
|
|
tone: 'waiting' |
|
|
|
|
|
}; |
|
|
|
|
|
} |
|
|
|
|
|
if (status === 4 || status === 5) { |
|
|
|
|
|
return { |
|
|
|
|
|
label: '审查结果', |
|
|
|
|
|
state: '通过', |
|
|
|
|
|
resultLabel: '审查结果', |
|
|
|
|
|
tone: 'success', |
|
|
|
|
|
comment: `审查意见:${row?.reviewComment || '审查通过,材料符合要求。'}` |
|
|
|
|
|
}; |
|
|
|
|
|
} |
|
|
|
|
|
if (status === 6) { |
|
|
|
|
|
return { |
|
|
|
|
|
label: '现场处置', |
|
|
|
|
|
state: '待现场处置', |
|
|
|
|
|
resultLabel: '处理状态', |
|
|
|
|
|
tone: 'waiting' |
|
|
|
|
|
}; |
|
|
|
|
|
} |
|
|
|
|
|
return { |
|
|
|
|
|
label: '企业处理', |
|
|
|
|
|
state: '等待企业处理', |
|
|
|
|
|
resultLabel: '处理状态', |
|
|
|
|
|
tone: 'default' |
|
|
|
|
|
}; |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
const buildQueryParams = () => { |
|
|
const buildQueryParams = () => { |
|
|
return { |
|
|
return { |
|
|
taskTypeId: 2, |
|
|
taskTypeId: 2, |
|
|
@ -220,7 +449,7 @@ const getList = async () => { |
|
|
loading.value = true; |
|
|
loading.value = true; |
|
|
try { |
|
|
try { |
|
|
const res = (await getTaskPage(buildQueryParams()) as unknown) as TaskPageResponse; |
|
|
const res = (await getTaskPage(buildQueryParams()) as unknown) as TaskPageResponse; |
|
|
tableData.value = res.rows || []; |
|
|
tableData.value = (res.rows || []).map(normalizeFilingRecord); |
|
|
total.value = res.total || 0; |
|
|
total.value = res.total || 0; |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
console.error('获取列表数据失败:', error); |
|
|
console.error('获取列表数据失败:', error); |
|
|
@ -260,6 +489,68 @@ const handleDetail = (row: NosLawEnforcementTaskPageVO) => { |
|
|
}); |
|
|
}); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const handleProgress = (row: FilingReviewRecord) => { |
|
|
|
|
|
if (Number(row.taskStatus) === 1) return; |
|
|
|
|
|
progressRow.value = row; |
|
|
|
|
|
progressVisible.value = true; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const handleReview = (row: FilingReviewRecord) => { |
|
|
|
|
|
if (Number(row.taskStatus) !== 3) { |
|
|
|
|
|
ElMessage.warning('当前任务状态不可审查'); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
reviewingRow.value = row; |
|
|
|
|
|
reviewForm.result = 'approved'; |
|
|
|
|
|
reviewForm.comment = ''; |
|
|
|
|
|
reviewVisible.value = true; |
|
|
|
|
|
nextTick(() => reviewFormRef.value?.clearValidate()); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const handleReviewResultChange = () => { |
|
|
|
|
|
if (reviewForm.result === 'approved') { |
|
|
|
|
|
reviewFormRef.value?.clearValidate('comment'); |
|
|
|
|
|
} |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const resetReviewForm = () => { |
|
|
|
|
|
reviewingRow.value = undefined; |
|
|
|
|
|
reviewForm.result = 'approved'; |
|
|
|
|
|
reviewForm.comment = ''; |
|
|
|
|
|
reviewFormRef.value?.clearValidate(); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const submitReview = async () => { |
|
|
|
|
|
const isValid = await reviewFormRef.value?.validate().catch(() => false); |
|
|
|
|
|
if (!isValid || !reviewingRow.value) return; |
|
|
|
|
|
|
|
|
|
|
|
const approved = reviewForm.result === 'approved'; |
|
|
|
|
|
reviewingRow.value.taskStatus = approved ? 4 : 2; |
|
|
|
|
|
reviewingRow.value.taskStatusName = approved ? '已办结' : '退回企业补正'; |
|
|
|
|
|
reviewingRow.value.reviewerName = currentUserName; |
|
|
|
|
|
reviewingRow.value.reviewTime = parseTime(Date.now(), '{y}-{m}-{d} {h}:{i}') || ''; |
|
|
|
|
|
reviewingRow.value.reviewComment = approved |
|
|
|
|
|
? reviewForm.comment.trim() || '审查通过,材料符合要求。' |
|
|
|
|
|
: reviewForm.comment.trim(); |
|
|
|
|
|
|
|
|
|
|
|
if (reviewingRow.value.id) { |
|
|
|
|
|
reviewOverrides.set(String(reviewingRow.value.id), { |
|
|
|
|
|
taskStatus: reviewingRow.value.taskStatus, |
|
|
|
|
|
taskStatusName: reviewingRow.value.taskStatusName, |
|
|
|
|
|
reviewerName: reviewingRow.value.reviewerName, |
|
|
|
|
|
reviewTime: reviewingRow.value.reviewTime, |
|
|
|
|
|
reviewComment: reviewingRow.value.reviewComment |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
reviewVisible.value = false; |
|
|
|
|
|
ElMessage.success(approved ? '审批通过,任务已办结' : '已退回企业补正'); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const handleAdd = () => { |
|
|
|
|
|
router.push({ name: 'NosAddFiling' }); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
const handleSizeChange = (val: number) => { |
|
|
const handleSizeChange = (val: number) => { |
|
|
pageSize.value = val; |
|
|
pageSize.value = val; |
|
|
currentPage.value = 1; |
|
|
currentPage.value = 1; |
|
|
@ -274,6 +565,14 @@ const handleCurrentChange = (val: number) => { |
|
|
onMounted(() => { |
|
|
onMounted(() => { |
|
|
getList(); |
|
|
getList(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
let listActivated = false; |
|
|
|
|
|
onActivated(() => { |
|
|
|
|
|
if (listActivated) { |
|
|
|
|
|
getList(); |
|
|
|
|
|
} |
|
|
|
|
|
listActivated = true; |
|
|
|
|
|
}); |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped> |
|
|
<style scoped> |
|
|
@ -340,6 +639,128 @@ onMounted(() => { |
|
|
color: #909399; |
|
|
color: #909399; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.review-form { |
|
|
|
|
|
padding: 8px 8px 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.review-form :deep(.el-textarea__inner) { |
|
|
|
|
|
resize: vertical; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-dialog :deep(.el-dialog__body) { |
|
|
|
|
|
padding: 12px 28px 32px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-timeline { |
|
|
|
|
|
padding: 16px 0 0 8px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-step { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
min-height: 132px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-step:last-child { |
|
|
|
|
|
min-height: auto; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-marker { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex: 0 0 32px; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-dot { |
|
|
|
|
|
z-index: 1; |
|
|
|
|
|
width: 10px; |
|
|
|
|
|
height: 10px; |
|
|
|
|
|
margin-top: 5px; |
|
|
|
|
|
border-radius: 50%; |
|
|
|
|
|
background: #c0c4cc; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-dot.is-complete { |
|
|
|
|
|
background: #409eff; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-dot.is-waiting { |
|
|
|
|
|
background: #e6a23c; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-dot.is-error { |
|
|
|
|
|
background: #f56c6c; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-dot.is-success { |
|
|
|
|
|
background: #67c23a; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-line { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
top: 15px; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
width: 1px; |
|
|
|
|
|
background: #c0c4cc; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-content { |
|
|
|
|
|
flex: 1; |
|
|
|
|
|
min-width: 0; |
|
|
|
|
|
padding-left: 8px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-row { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: baseline; |
|
|
|
|
|
gap: 24px; |
|
|
|
|
|
line-height: 22px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-label { |
|
|
|
|
|
flex: 0 0 72px; |
|
|
|
|
|
color: #303133; |
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-label.is-waiting, |
|
|
|
|
|
.progress-state { |
|
|
|
|
|
color: #e6a23c; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-label.is-error { |
|
|
|
|
|
color: #f56c6c; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-label.is-success { |
|
|
|
|
|
color: #67c23a; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-time, |
|
|
|
|
|
.progress-company, |
|
|
|
|
|
.progress-reviewer { |
|
|
|
|
|
color: #909399; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-result { |
|
|
|
|
|
margin-top: 22px; |
|
|
|
|
|
padding-left: 96px; |
|
|
|
|
|
color: #303133; |
|
|
|
|
|
line-height: 32px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-result--waiting { |
|
|
|
|
|
color: #e6a23c; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-result--error { |
|
|
|
|
|
color: #f56c6c; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.progress-result--success { |
|
|
|
|
|
color: #67c23a; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.list-card__status--1 { |
|
|
.list-card__status--1 { |
|
|
color: #1367fe; /* 企业处理中 */ |
|
|
color: #1367fe; /* 企业处理中 */ |
|
|
} |
|
|
} |
|
|
|