| | |
| | | prop: "insResult", |
| | | dataType: "tag", |
| | | formatData: (params) => { |
| | | return this.insResultList.find((m) => m.value == params).label; |
| | | let obj = this.insResultList.find((m) => m.value == params) |
| | | if (obj) { |
| | | return this.insResultList.find((m) => m.value == params).label; |
| | | } else { |
| | | return '' |
| | | } |
| | | }, |
| | | formatType: (params) => { |
| | | return this.insResultList.find((m) => m.value == params).type; |
| | | let obj = this.insResultList.find((m) => m.value == params) |
| | | if (obj) { |
| | | return this.insResultList.find((m) => m.value == params).type; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | |
| | | this.getDicts("inspection_task_state").then((response) => { |
| | | this.inspectionTaskState = this.dictToValue(response.data); |
| | | }); |
| | | this.refreshTable(); |
| | | |
| | | }, |
| | | mounted() { |
| | | this.queryParams.userId = this.userId; |
| | | this.refreshTable(); |
| | | }, |
| | | methods: { |
| | | getList() { |