| pages/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pages/index.vue
@@ -636,27 +636,23 @@ }, isShowTab() { if (this.isShowTableData.length > 0) { uni.showToast({ title: '已有正在操作的工单,不能再次选择', //将值设置为 success 或者直接不用写icon这个参数 icon: 'error', //显示持续时间为 2秒 duration: 2000 }); return; } this.isShow = true; this.engineeringNo = null; // 默认选中“待开工” this.engineeringNo = '待开工'; this.tableData = []; // 下拉框只显示工单状态 this.engineeringNoMapList = ['待开工', '未开工', '开工', '暂停','完工']; // 默认显示全部工单 this.getWomdaa(); // 默认显示“待开工”工单 this.getWomdaaByStatus(); }, // 下拉框选中后,按状态筛选工单 onEngineeringNoChange(status) {