| | |
| | | methods: { |
| | | /** 查询设备档案列表 */ |
| | | initWorkshop(){ |
| | | listWorkshop(this.queryParams).then(response => { |
| | | listWorkshop().then(response => { |
| | | this.options = response.rows; |
| | | }); |
| | | }, |
| | | // 在这里编写处理选中事件的逻辑 |
| | | handleSelectChange(selectedOption) { |
| | | this.form.lineCode = null; |
| | | this.queryParams.workshopCode = selectedOption; |
| | | listLineInfo(this.queryParams).then(response => { |
| | | listLineInfo(selectedOption).then(response => { |
| | | this.lineOptions = response.rows; |
| | | }); |
| | | }, |
| | | getList() { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | console.log(this.queryParams) |
| | | this.loading = true; |
| | | listEquipmentArchives(this.queryParams).then(response => { |
| | | this.equipmentArchivesList = response.rows; |