diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue index 4f59de85..61e21d5d 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentListDetail.vue @@ -81,6 +81,12 @@ this.visible = true; this.$http.get('/base/zyClothsComponent/detail?id='+id).then( res=>{ + if (res.code !== 200) { + this.$message({ + type: 'error', + message: '未查询到数据!' + }); + } this.model = res.result.zyClothsComponent this.data1 = res.result.zyProcessComponents this.confirmLoading = false @@ -89,8 +95,6 @@ // this.basicActionData = res.result.zyClothActions // this.accessoriesData = res.result.zyFabrics // this.fabricData = res.result.zyAccessories - console.log('工序详情页') - console.log(res.result) // console.log(this.data) // console.log(this.accessoriesData) // console.log(this.fabricData) diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue index 29e46cea..dd18a223 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularListDetail.vue @@ -111,6 +111,12 @@ // this.model = record this.$http.get('/base/zyClothsModular/detail?id='+id).then( res=>{ + if (res.code !== 200) { + this.$message({ + type: 'error', + message: '未查询到数据!' + }); + } // this.data = res.result this.model = res.result.zyClothsModular this.data1 = res.result.zyClothsModularComponents diff --git a/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue b/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue index bce304ea..e8ce5ca1 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsstyle/modules/ZyClothsStyleListDetail.vue @@ -385,7 +385,7 @@ if (res.code !== 200) { this.$message({ type: 'error', - message: '查询不到知识点数据' + message: '未查询到数据!' }); } this.confirmLoading = false