| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div style="font-size: 5px"> |
| | | <div> |
| | | {{ ruleDescription}} |
| | | </div> |
| | | |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getUnitSelect(); |
| | | if(this.$route.query.time){ |
| | | this.daterangeCreateTime= this.$route.query.time |
| | | } |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | /** 详细按钮操作 */ |
| | |
| | | // 运维单位下拉列表 |
| | | unitSelect().then((res) => { |
| | | this.unitList = res.data; |
| | | if (this.$route.query.unitId) { |
| | | // 先找到对应的选项 |
| | | const unit = this.unitList.find(item => item.id === Number(this.$route.query.unitId) || item.id === this.$route.query.unitId); |
| | | if (unit) { |
| | | this.queryParams.unitId = unit.id; // 确保类型匹配 |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | /** 查询违规审核列表 */ |