jsk 健康
This commit is contained in:
		
							parent
							
								
									9af5ed4e41
								
							
						
					
					
						commit
						67a7cd02fb
					
				| 
						 | 
					@ -37,7 +37,7 @@ export function editHealthScienceApi(data) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 营养科普-删除
 | 
					// 营养科普-删除
 | 
				
			||||||
export function delHealthScienceApi(Id) { 
 | 
					export function delHealthScienceApi(Id) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
        url: '/smart-canteen/health_popular_science/del/'+Id,
 | 
					        url: '/smart-canteen/health_popular_science/del/'+Id,
 | 
				
			||||||
        method: 'post',
 | 
					        method: 'post',
 | 
				
			||||||
| 
						 | 
					@ -81,7 +81,7 @@ export function addChronicApi(data) {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        data: data
 | 
					        data: data
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
} 
 | 
					}
 | 
				
			||||||
// 慢性病-更新
 | 
					// 慢性病-更新
 | 
				
			||||||
export function editChronicApi(data) {
 | 
					export function editChronicApi(data) {
 | 
				
			||||||
    return request({
 | 
					    return request({
 | 
				
			||||||
| 
						 | 
					@ -103,7 +103,17 @@ export function delChronicApi(Id) {
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					// 分页查询 健康档案-列表
 | 
				
			||||||
 | 
					export function getHealthInfoPageApi(data) {
 | 
				
			||||||
 | 
					  return request({
 | 
				
			||||||
 | 
					    url: '/smart-canteen/health/info/list',
 | 
				
			||||||
 | 
					    method: 'get',
 | 
				
			||||||
 | 
					    headers: {
 | 
				
			||||||
 | 
					        "merchant-id":"378915229716713472",
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    params:data
 | 
				
			||||||
 | 
					  })
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -199,8 +199,8 @@
 | 
				
			||||||
                <el-button @click="cancel">取 消</el-button>
 | 
					                <el-button @click="cancel">取 消</el-button>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </el-dialog>
 | 
					        </el-dialog>
 | 
				
			||||||
        <el-dialog :visible.sync="dialogVisible" width="700px">
 | 
					        <el-dialog :visible.sync="dialogVisible">
 | 
				
			||||||
            <img style="width: 100%;height: 100%;" :src="dialogImageUrl" alt="">
 | 
					            <img width="100%" :src="dialogImageUrl" alt="">
 | 
				
			||||||
        </el-dialog>
 | 
					        </el-dialog>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -359,7 +359,7 @@ export default {
 | 
				
			||||||
                return delWareHouseCategoryApi({categoryId:row.categoryId});
 | 
					                return delWareHouseCategoryApi({categoryId:row.categoryId});
 | 
				
			||||||
            }).then(() => {
 | 
					            }).then(() => {
 | 
				
			||||||
                this.getList();
 | 
					                this.getList();
 | 
				
			||||||
                this.$modal.msgSuccess("删除成功");
 | 
					                this.$modal.msgSuccess("删除成功!");
 | 
				
			||||||
            }).catch(() => {});
 | 
					            }).catch(() => {});
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue