| | |
| | | <template> |
| | | <basic-container> |
| | | <div class="equipments"> |
| | | <div |
| | | :class="[ |
| | | 'equipments', |
| | | $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '', |
| | | ]" |
| | | > |
| | | <avue-crud |
| | | :option="option" |
| | | :data="data" |
| | |
| | | selection: true, |
| | | labelWidth: 110, |
| | | column: column, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | }, |
| | | useifid: 266, |
| | | }; |
| | |
| | | ).then((res) => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | data.records.forEach(item=>{ |
| | | if(item.numberType==-1){ |
| | | item.numberType=null; |
| | | data.records.forEach((item) => { |
| | | if (item.numberType == -1) { |
| | | item.numberType = null; |
| | | } |
| | | if(item.carType==-1){ |
| | | item.carType=null; |
| | | if (item.carType == -1) { |
| | | item.carType = null; |
| | | } |
| | | }) |
| | | }); |
| | | this.data = data.records; |
| | | console.log(this.data); |
| | | this.loading = false; |