| | |
| | | prop="createTime" |
| | | min-width="180" |
| | | /> |
| | | <el-table-column label="整改状态" min-width="120"> |
| | | <el-table-column v-if="showReformedFilter" label="整改状态" min-width="120"> |
| | | <template #default="{ row }"> |
| | | <div class="flex a-center j-center"> |
| | | <div class="ripple"> |
| | |
| | | // localStorage 配置 |
| | | bigHiddenDangerConfig: null, // 重大隐患配置:1开启 2关闭 |
| | | generalHiddenDangerConfig: null, // 一般隐患配置:1开启 2关闭 |
| | | projectCategory: null, |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | } |
| | | if (this.$route.query.projectName) { |
| | | this.projectName = this.$route.query.projectName; |
| | | } |
| | | if (this.$route.query.projectCategory) { |
| | | this.projectCategory = this.$route.query.projectCategory; |
| | | } |
| | | |
| | | // 判断是否委托方端:通过 projectId 判断 |
| | |
| | | // 项目端:传递 type |
| | | params.type = this.currentType; |
| | | } else { |
| | | if (this.projectCategory) { |
| | | params.projectCategory = this.projectCategory |
| | | } |
| | | // 委托方:只在重大隐患 Tab 且用户选择了类型时传递 type |
| | | if (this.activeTab === 1 && this.searchForm.type) { |
| | | params.type = this.searchForm.type; |