This commit is contained in:
helloDy
2024-02-29 15:54:23 +08:00
parent f8d033c97a
commit 93eb12aeb7
21 changed files with 277 additions and 150 deletions

View File

@@ -420,11 +420,19 @@ export default {
},
},
mounted() {
!this.edit && this.getCode('/base/equipment-maintain-plan/getCode');
this.getList('maintainer');
this.getList('department');
this.getList('line');
},
methods: {
// getCode
async getCode(url) {
this.formLoading = true;
const response = await this.$axios(url);
this.formLoading = false;
this.form.maintainOrderNumber = response.data || '';
},
handleSearchBarBtnClick(btn) {
console.log('btn', btn);
switch (btn.btnName) {