hiddenTroubleAccountManagement.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. <template>
  2. <div class="safety-platform-container">
  3. <header class="safety-platform-container__header">
  4. <div class="breadcrumb-title"> 隐患台账管理 </div>
  5. </header>
  6. <main class="safety-platform-container__main">
  7. <div class="search-table-container">
  8. <header>
  9. <div style="position: relative">
  10. <el-button type="primary" :icon="Plus" class="search-table-container--button" @click="handleCreate">
  11. 新增隐患
  12. </el-button>
  13. <el-button plain class="search-table-container--button" @click="handleImport">
  14. 导入
  15. </el-button>
  16. </div>
  17. <div class="act-search">
  18. <section class="select-box">
  19. <div class="select-box--item">
  20. <span>关键词:</span>
  21. <el-input
  22. v-model="tableQuery.queryParam.keyword"
  23. placeholder="隐患问题/整改要求等"
  24. class="act-search-input"
  25. />
  26. </div>
  27. <div class="select-box--item">
  28. <span>状态:</span>
  29. <el-select
  30. v-model="tableQuery.queryParam.status"
  31. placeholder="请选择状态"
  32. clearable
  33. >
  34. <el-option label="全部" :value="0" />
  35. <el-option label="待下发" :value="1" />
  36. <el-option label="待整改" :value="2" />
  37. <el-option label="待复查" :value="3" />
  38. <el-option label="已完成" :value="4" />
  39. <el-option label="待入账" :value="5" />
  40. </el-select>
  41. </div>
  42. <div class="select-box--item">
  43. <span>任务来源:</span>
  44. <el-input
  45. v-model="tableQuery.queryParam.taskSource"
  46. placeholder="如:上级检查、院内自查"
  47. class="act-search-input"
  48. clearable
  49. />
  50. </div>
  51. </section>
  52. <section class="search-btn">
  53. <el-button type="primary" @click="handleSearch">查询</el-button>
  54. <el-button @click="handleReset">重置</el-button>
  55. <el-button plain @click="handleDownload">
  56. 导出
  57. </el-button>
  58. </section>
  59. </div>
  60. </header>
  61. <div class="batch-table">
  62. <BasicTable
  63. ref="basicTableRef"
  64. :tableData="tableData"
  65. :tableConfig="tableConfig"
  66. @update:pageSize="handleSizeChange"
  67. @update:pageNumber="handleCurrentChange"
  68. >
  69. <template #currentNode="scope">
  70. <span>{{ scope.row.currentNode }}</span>
  71. </template>
  72. <template #status="scope">
  73. <span>{{ scope.row.statusName || '-' }}</span>
  74. </template>
  75. <template #action="scope">
  76. <div class="action-container--div" style="justify-content: left">
  77. <!-- 待下发 statusId=1:编辑、删除、查看、下发、扣分 -->
  78. <template v-if="scope.row.statusId === 1">
  79. <ActionButton text="编辑" @click="handleEdit(scope.row.id)" />
  80. <ActionButton
  81. text="删除"
  82. :popconfirm="{ title: '确定要删除?' }"
  83. @confirm="handleDelete(scope.row.id)"
  84. />
  85. <ActionButton text="查看" @click="handleView(scope.row.id)" />
  86. <ActionButton text="下发" @click="handleOpenIssue(scope.row.id)" />
  87. <ActionButton text="扣分" @click="handleOpenDeduct(scope.row.id)" />
  88. </template>
  89. <!-- 待整改 statusId=2:查看、整改、扣分 -->
  90. <template v-else-if="scope.row.statusId === 2">
  91. <ActionButton text="查看" @click="handleView(scope.row.id)" />
  92. <ActionButton text="整改" @click="handleRectify(scope.row.id)" v-if="id === scope.row.rectificationResponsibleIds"/>
  93. <ActionButton text="扣分" @click="handleOpenDeduct(scope.row.id)" />
  94. </template>
  95. <!-- 待复查 statusId=3:查看、复查、扣分 -->
  96. <template v-else-if="scope.row.statusId === 3">
  97. <ActionButton text="查看" @click="handleView(scope.row.id)" />
  98. <ActionButton text="复查" @click="handleReview(scope.row.id)" v-if="id === scope.row.reviewPersonId"/>
  99. <ActionButton text="扣分" @click="handleOpenDeduct(scope.row.id)" />
  100. </template>
  101. <!-- 已完成 statusId=4:查看、扣分 -->
  102. <template v-else-if="scope.row.statusId === 4">
  103. <ActionButton text="查看" @click="handleView(scope.row.id)" />
  104. <ActionButton text="扣分" @click="handleOpenDeduct(scope.row.id)" />
  105. </template>
  106. <!-- 待入账 statusId=5:编辑、删除、查看、下发、扣分(与待下发一致) -->
  107. <template v-else-if="scope.row.statusId === 5">
  108. <ActionButton text="编辑" @click="handleEdit(scope.row.id)" />
  109. <ActionButton
  110. text="删除"
  111. :popconfirm="{ title: '确定要删除?' }"
  112. @confirm="handleDelete(scope.row.id)"
  113. />
  114. <ActionButton text="查看" @click="handleView(scope.row.id)" />
  115. <ActionButton text="下发" @click="handleOpenIssue(scope.row.id)" />
  116. <ActionButton text="扣分" @click="handleOpenDeduct(scope.row.id)" />
  117. </template>
  118. <!-- 其他状态:无操作 -->
  119. </div>
  120. </template>
  121. </BasicTable>
  122. </div>
  123. </div>
  124. </main>
  125. <BatchImport
  126. v-if="batchImportVisible"
  127. :visible="batchImportVisible"
  128. :import-api-url="importApiUrl"
  129. :template-url="templateUrl"
  130. template-name="下载模板"
  131. :show-template="false"
  132. @close="batchImportVisible = false"
  133. @update="handleUpdate"
  134. />
  135. <!-- 隐患台账下发弹窗 -->
  136. <el-dialog
  137. v-model="showIssueDialog"
  138. title="隐患台账下发"
  139. width="500px"
  140. destroy-on-close
  141. @open="onIssueDialogOpen"
  142. >
  143. <el-form ref="issueFormRef" :model="issueForm" :rules="issueRules" label-width="140px">
  144. <el-form-item label="整改责任部门" prop="rectificationDepartmentId">
  145. <el-cascader
  146. v-model="issueForm.rectificationDepartmentId"
  147. :options="issueDeptTree"
  148. :props="cascaderDeptProp"
  149. :show-all-levels="false"
  150. placeholder="请选择整改责任部门"
  151. filterable
  152. clearable
  153. style="width: 100%"
  154. @change="onIssueDeptChange"
  155. />
  156. </el-form-item>
  157. <el-form-item label="整改负责人" prop="rectificationResponsibleUserId">
  158. <el-select
  159. v-model="issueForm.rectificationResponsibleUserId"
  160. placeholder="选择整改负责人"
  161. filterable
  162. clearable
  163. style="width: 100%"
  164. >
  165. <el-option
  166. v-for="user in issueUserList"
  167. :key="user.id"
  168. :label="user.realname ?? user.username"
  169. :value="user.id"
  170. />
  171. </el-select>
  172. </el-form-item>
  173. </el-form>
  174. <template #footer>
  175. <el-button @click="showIssueDialog = false">取消</el-button>
  176. <el-button type="primary" @click="handleIssueSave">保存</el-button>
  177. </template>
  178. </el-dialog>
  179. <!-- 扣分弹窗 -->
  180. <el-dialog v-model="showDeductDialog" title="扣分记录" width="400px" destroy-on-close @open="onDeductDialogOpen">
  181. <el-form ref="deductFormRef" :model="deductForm" :rules="deductRules" label-width="100px">
  182. <el-form-item label="扣分值" prop="deductionScore">
  183. <el-input-number
  184. v-model="deductForm.deductionScore"
  185. :min="0"
  186. :max="9999"
  187. :precision="0"
  188. placeholder="请输入扣分值(0-9999整数)"
  189. style="width: 100%"
  190. />
  191. </el-form-item>
  192. <el-form-item label="扣分部门">
  193. <el-select
  194. v-model="deductDeptIdsArray"
  195. placeholder="请选择扣分部门,可多选(复用复查人员所属部门)"
  196. clearable
  197. filterable
  198. multiple
  199. collapse-tags
  200. collapse-tags-tooltip
  201. style="width: 100%"
  202. >
  203. <el-option
  204. v-for="d in deductDeptOptions"
  205. :key="d.id"
  206. :label="d.deptName"
  207. :value="d.id"
  208. />
  209. </el-select>
  210. </el-form-item>
  211. </el-form>
  212. <template #footer>
  213. <el-button @click="showDeductDialog = false">取消</el-button>
  214. <el-button type="primary" @click="handleDeductSubmit">确认扣分</el-button>
  215. </template>
  216. </el-dialog>
  217. </div>
  218. </template>
  219. <script setup lang="ts">
  220. import { onMounted, reactive, ref } from 'vue';
  221. import { ElMessage } from 'element-plus';
  222. import { Plus } from '@element-plus/icons-vue';
  223. import BasicTable from '@/components/BasicTable.vue';
  224. import useTableConfig from '@/hooks/useTableConfigHook';
  225. import ActionButton from '@/components/ActionButton.vue';
  226. import { TABLE_OPTIONS, HIDDEN_DANGER_TABLE_COLUMNS } from './configs/tables';
  227. import { useRouter } from 'vue-router';
  228. import type { QueryPageRequest } from '@/types/basic-query';
  229. import {
  230. queryHiddenDangerPage,
  231. deleteHiddenDanger,
  232. exportHiddenDanger,
  233. issueHiddenDanger,
  234. deductHiddenDangerPoints,
  235. type HiddenDangerQueryParam,
  236. type HiddenDangerDeductPointsRequest,
  237. } from '@/api/hiddenDanger';
  238. import { getAllDepartments } from '@/api/auth/dept';
  239. import type { DeptTree } from '@/types/dept/type';
  240. import { queryAvailableUserList } from '@/api/production-safety/responsibility-implementation';
  241. import { downloadByData } from '@/utils/file/download';
  242. import BatchImport from '@/components/batch-import/BatchImport.vue';
  243. import { useGlobSetting } from '@/hooks/setting';
  244. import urlJoin from 'url-join';
  245. import { useUserInfoHook } from '@/hooks/useUserInfoHook'
  246. const { id } = useUserInfoHook();
  247. const router = useRouter();
  248. // 表格
  249. const basicTableRef = ref<InstanceType<typeof BasicTable>>();
  250. const { tableConfig, pagination } = useTableConfig(HIDDEN_DANGER_TABLE_COLUMNS, TABLE_OPTIONS);
  251. const tableData = ref<any[]>([]);
  252. const tableQuery = reactive<QueryPageRequest<HiddenDangerQueryParam>>({
  253. pageNumber: pagination.pageNumber,
  254. pageSize: pagination.pageSize,
  255. queryParam: {
  256. keyword: '',
  257. status: undefined,
  258. taskSource: '',
  259. },
  260. });
  261. const handleSizeChange = (value: number) => {
  262. pagination.pageSize = value;
  263. tableQuery.pageSize = value;
  264. getTableData();
  265. };
  266. const handleCurrentChange = (value: number) => {
  267. pagination.pageNumber = value;
  268. tableQuery.pageNumber = value;
  269. getTableData();
  270. };
  271. async function getTableData() {
  272. tableConfig.loading = true;
  273. try {
  274. const res = await queryHiddenDangerPage(tableQuery);
  275. if (res?.records?.length) {
  276. // 映射返回数据字段到表格字段
  277. tableData.value = res.records.map((item) => ({
  278. id: item.id,
  279. dangerProblem: item.dangerProblem,
  280. reasonName: item.reasonName,
  281. createdAt: item.createdAt,
  282. taskSource: item.taskSource,
  283. rectificationRequirement: item.rectificationRequirement,
  284. typeName: item.typeName,
  285. currentNode: item.currentNode,
  286. statusName: item.statusName,
  287. statusId: item.statusId,
  288. reviewPersonId: item.reviewPersonId,
  289. rectificationResponsibleIds: Number(item.rectificationResponsibleIds),
  290. }));
  291. pagination.total = (res as any).totalRow ?? (res as any).total ?? 0;
  292. } else {
  293. tableData.value = [];
  294. pagination.total = 0;
  295. }
  296. } catch (e) {
  297. console.error('获取隐患台账列表失败:', e);
  298. tableData.value = [];
  299. pagination.total = 0;
  300. } finally {
  301. tableConfig.loading = false;
  302. }
  303. }
  304. const handleSearch = () => {
  305. pagination.pageNumber = 1;
  306. tableQuery.pageNumber = 1;
  307. getTableData();
  308. };
  309. const handleReset = () => {
  310. tableQuery.queryParam.keyword = '';
  311. tableQuery.queryParam.status = undefined;
  312. tableQuery.queryParam.taskSource = '';
  313. handleSearch();
  314. };
  315. // 批量导入
  316. const batchImportVisible = ref(false);
  317. const { urlPrefix } = useGlobSetting();
  318. const importApiUrl = ref(urlJoin(urlPrefix, '/productionHiddenDanger/importHiddenDanger'));
  319. const templateUrl = ref('./skyeye-file-upload/sfysecurity/TEMPLATE/import-hidden-danger-template.xlsx');
  320. const handleImport = () => {
  321. batchImportVisible.value = true;
  322. };
  323. const handleUpdate = () => {
  324. batchImportVisible.value = false;
  325. getTableData();
  326. };
  327. const handleDownload = async () => {
  328. try {
  329. const exportParams: HiddenDangerQueryParam = {
  330. keyword: tableQuery.queryParam.keyword || undefined,
  331. status: tableQuery.queryParam.status,
  332. taskSource: tableQuery.queryParam.taskSource || undefined,
  333. };
  334. const response = await exportHiddenDanger(exportParams);
  335. if (response) {
  336. const fileName = `隐患台账_${new Date().toISOString().split('T')[0]}.xlsx`;
  337. downloadByData(response, fileName);
  338. ElMessage.success('导出成功');
  339. }
  340. } catch (e:any) {
  341. console.error('导出隐患台账失败:', e);
  342. ElMessage.error(e?.message || e?.data || '导出失败,请重试');
  343. }
  344. };
  345. /** 隐患台账详情页路径(与路由配置一致,避免 name 解析失败) */
  346. const HIDDEN_ACCOUNT_ITEM_PATH = '/work-safety/hidden-trouble-investigation-and-governance/hidden-trouble-account-management-item';
  347. const handleCreate = () => {
  348. router.push({
  349. path: HIDDEN_ACCOUNT_ITEM_PATH,
  350. query: {
  351. operate: 'hidden-trouble-account-create',
  352. },
  353. });
  354. };
  355. const handleEdit = (id: number) => {
  356. router.push({
  357. path: HIDDEN_ACCOUNT_ITEM_PATH,
  358. query: {
  359. id: String(id),
  360. operate: 'hidden-trouble-account-edit',
  361. },
  362. });
  363. };
  364. const handleDelete = async (id: number) => {
  365. try {
  366. await deleteHiddenDanger(id);
  367. ElMessage.success('删除成功');
  368. getTableData();
  369. } catch (e:any) {
  370. console.error('删除隐患台账失败:', e);
  371. ElMessage.error(e?.message || e?.data || '删除失败,请重试');
  372. }
  373. };
  374. /** 下发弹窗:点击下发打开弹窗,弹窗内部门用 queryAllDeptTree、负责人用 queryAvailableUserList,点击保存才触发下发接口 */
  375. const showIssueDialog = ref(false);
  376. const issueDangerId = ref<number>(0);
  377. const issueFormRef = ref();
  378. const issueForm = ref({
  379. rectificationDepartmentId: undefined as number | undefined,
  380. rectificationResponsibleUserId: undefined as number | undefined,
  381. rectificationResponsiblePersonName: '' as string,
  382. });
  383. const issueRules = {
  384. rectificationDepartmentId: [{ required: true, message: '请选择整改责任部门', trigger: 'change' }],
  385. rectificationResponsibleUserId: [{ required: true, message: '请选择整改负责人', trigger: 'change' }],
  386. };
  387. /** 下发弹窗部门树,与新增隐患台账复查人员所属部门一致(getAllDepartments 取第一级 children) */
  388. const cascaderDeptProp = {
  389. checkStrictly: true,
  390. expandTrigger: 'hover' as const,
  391. value: 'id',
  392. label: 'deptName',
  393. emitPath: false,
  394. };
  395. const issueDeptTree = ref<DeptTree[]>([]);
  396. const issueUserList = ref<Array<{ id: number; realname?: string; username?: string }>>([]);
  397. const onIssueDialogOpen = async () => {
  398. try {
  399. const [deptRes, userRes] = await Promise.all([
  400. getAllDepartments(),
  401. queryAvailableUserList({ pageNumber: 1, pageSize: 9999, queryParam: {} }),
  402. ]);
  403. const fullTree = (deptRes as DeptTree[]) ?? [];
  404. issueDeptTree.value = Array.isArray(fullTree) && fullTree[0]?.children ? fullTree[0].children : [];
  405. issueUserList.value = (userRes as any)?.records ?? [];
  406. } catch (e:any) {
  407. console.error('获取部门/用户列表失败:', e);
  408. ElMessage.error(e?.message || e?.data || '加载部门或负责人列表失败');
  409. issueDeptTree.value = [];
  410. issueUserList.value = [];
  411. }
  412. };
  413. const onIssueDeptChange = () => {
  414. issueForm.value.rectificationResponsibleUserId = undefined;
  415. issueForm.value.rectificationResponsiblePersonName = '';
  416. };
  417. /** 从部门树中根据 id 查找部门名称 */
  418. function findDeptNameById(nodes: DeptTree[] | undefined, id: number): string {
  419. if (!nodes?.length) return '';
  420. for (const n of nodes) {
  421. if (n.id === id) return n.deptName ?? '';
  422. if (n.children?.length) {
  423. const found = findDeptNameById(n.children, id);
  424. if (found) return found;
  425. }
  426. }
  427. return '';
  428. }
  429. const handleOpenIssue = (id: number) => {
  430. issueDangerId.value = id;
  431. issueForm.value = {
  432. rectificationDepartmentId: undefined,
  433. rectificationResponsibleUserId: undefined,
  434. rectificationResponsiblePersonName: '',
  435. };
  436. showIssueDialog.value = true;
  437. };
  438. const handleIssueSave = async () => {
  439. await issueFormRef.value?.validate?.().catch(() => {});
  440. const { rectificationDepartmentId, rectificationResponsibleUserId } = issueForm.value;
  441. if (rectificationDepartmentId == null || rectificationResponsibleUserId == null) {
  442. ElMessage.warning('请选择整改责任部门和整改负责人');
  443. return;
  444. }
  445. const selectedUser = issueUserList.value.find((u) => u.id === rectificationResponsibleUserId);
  446. const personName = selectedUser?.realname ?? selectedUser?.username ?? '';
  447. const deptName = findDeptNameById(issueDeptTree.value, rectificationDepartmentId);
  448. try {
  449. await issueHiddenDanger({
  450. danger_id: issueDangerId.value,
  451. rectification_department_ids: String(rectificationDepartmentId),
  452. rectification_responsible_person: personName,
  453. dept_name: deptName,
  454. rectification_responsible_ids: String(rectificationResponsibleUserId),
  455. });
  456. ElMessage.success('下发成功');
  457. showIssueDialog.value = false;
  458. getTableData();
  459. } catch (e:any) {
  460. console.error('下发失败:', e);
  461. ElMessage.error(e?.message || e?.data || '下发失败,请重试');
  462. }
  463. };
  464. /** 整改:跳转详情页进行整改 */
  465. const handleRectify = (id: number) => {
  466. router.push({
  467. path: HIDDEN_ACCOUNT_ITEM_PATH,
  468. query: { id: String(id), operate: 'hidden-trouble-account-rectify', action: 'rectify' },
  469. });
  470. };
  471. /** 复查:跳转复查详情页 */
  472. const handleReview = (id: number) => {
  473. router.push({
  474. path: HIDDEN_ACCOUNT_ITEM_PATH,
  475. query: { id: String(id), operate: 'hidden-trouble-account-review' },
  476. });
  477. };
  478. /** 扣分弹窗(扣分部门复用复查人员所属部门数据源) */
  479. function flattenDeptTreeForDeduct(nodes: DeptTree[] | undefined): Array<{ id: number; deptName: string }> {
  480. if (!nodes?.length) return [];
  481. const list: Array<{ id: number; deptName: string }> = [];
  482. const walk = (items: DeptTree[]) => {
  483. items.forEach((n) => {
  484. if (n.id != null) list.push({ id: n.id, deptName: n.deptName });
  485. if (n.children?.length) walk(n.children);
  486. });
  487. };
  488. walk(nodes);
  489. return list;
  490. }
  491. const showDeductDialog = ref(false);
  492. const deductDangerId = ref<number>(0);
  493. const deductDeptOptions = ref<Array<{ id: number; deptName: string }>>([]);
  494. const deductDeptIdsArray = ref<number[]>([]);
  495. const deductForm = ref<HiddenDangerDeductPointsRequest>({
  496. dangerId: 0,
  497. deductionScore: 0,
  498. });
  499. const deductFormRef = ref();
  500. const deductRules = {
  501. deductionScore: [
  502. { required: true, message: '请输入扣分值', trigger: 'blur' },
  503. { type: 'number', min: 0, max: 9999, message: '扣分值须为0-9999的整数', trigger: 'blur' },
  504. ],
  505. };
  506. const onDeductDialogOpen = async () => {
  507. try {
  508. const deptRes = await getAllDepartments();
  509. const fullTree = (deptRes as DeptTree[]) ?? [];
  510. const tree = Array.isArray(fullTree) && fullTree[0]?.children ? fullTree[0].children : [];
  511. deductDeptOptions.value = flattenDeptTreeForDeduct(tree);
  512. } catch (e) {
  513. console.error('获取部门列表失败:', e);
  514. deductDeptOptions.value = [];
  515. }
  516. };
  517. const handleOpenDeduct = (id: number) => {
  518. deductDangerId.value = id;
  519. deductDeptIdsArray.value = [];
  520. deductForm.value = {
  521. dangerId: id,
  522. deductionScore: 0,
  523. };
  524. showDeductDialog.value = true;
  525. };
  526. const handleDeductSubmit = async () => {
  527. await deductFormRef.value?.validate?.().catch(() => {});
  528. const score = Number(deductForm.value.deductionScore);
  529. if (score < 0 || score > 9999 || !Number.isInteger(score)) {
  530. ElMessage.warning('扣分值须为0-9999的整数');
  531. return;
  532. }
  533. try {
  534. deductForm.value.dangerId = deductDangerId.value;
  535. deductForm.value.departmentIds =
  536. deductDeptIdsArray.value.length > 0 ? deductDeptIdsArray.value.join(',') : undefined;
  537. await deductHiddenDangerPoints(deductForm.value);
  538. ElMessage.success('扣分记录成功');
  539. showDeductDialog.value = false;
  540. getTableData();
  541. } catch (e:any) {
  542. console.error('扣分失败:', e);
  543. ElMessage.error(e?.message || e?.data || '扣分失败,请重试');
  544. }
  545. };
  546. const handleView = (id: number) => {
  547. router.push({
  548. path: HIDDEN_ACCOUNT_ITEM_PATH,
  549. query: {
  550. id: String(id),
  551. operate: 'hidden-trouble-account-view',
  552. },
  553. });
  554. };
  555. onMounted(() => {
  556. getTableData();
  557. });
  558. </script>
  559. <style scoped lang="scss">
  560. @use '@/styles/page-details-layout.scss' as *;
  561. @use '@/styles/page-main-layout.scss' as *;
  562. @use '@/styles/basic-table-action.scss' as *;
  563. @use '@/views/traffic/violation/style/act-search-table.scss' as *;
  564. </style>