Giter VIP home page Giter VIP logo

studenthealthmanage's Introduction

项目原地址

修复

  1. 学生信息登记覆盖
  2. 同一天提交数据,只记录最后提交的信息
  3. 删除家长登录

新增

  1. 批量学生数据导入
  2. 将登记的信息导出为Excel(PS 仅支持电脑端谷歌内核浏览器)
  3. 学生修改密码功能

数据库设计

参考 db.md

validateToken() {
				uni.showLoading({
					title: '加载中...'
				});
				uniCloud.callFunction({
					name: 'validateToken',
					data: {
						token: uni.getStorageSync('token')
					}
				}).then((res) => {
					uni.hideLoading()
					uni.showModal({
						content: res.result.msg,
						showCancel: false
					})
				}).catch((err) => {
					uni.hideLoading()
					uni.showModal({
						content: '请求云函数发生错误,' + err.message,
						showCancel: false
					})
				})
			},

项目运行和部署说明

  • 本项目需要HBuilderX 2.5.8(Alpha版)以上版本才能运行。

  • 项目需要注册和开通uniCloud ,因阿里云审核要求,需要实名认证。

  • 拉取项目源码后,对cloudfunctions目录点右键,选择你的服务空间。如果没有服务空间,需要创建,创建时会引导登录和注册uniCloud。

  • 配好服务空间后,请根据项目下的db.md文件,在你的云数据库中创建相应的表。具体方式是对cloudfunctions目录点右键,打开uniCloud web控制台,在里面的云数据库界面点击"新建表",表名里把db.md涉及的表名都创建一遍。

  • 对每个云函数(文件夹)点右键,"上传并部署"到你的服务空间中。

  • 修改manifest.json中的DCloud_AppID为自己的,再修改main.js中云空间的spaceIdclientSecret为自己的(在uniCloud web控制台复制)。

  • 最后,可以运行了。如果是win版,可以直接运行在内置浏览器。如果是mac版,内置浏览器也有跨域问题,需要运行到小程序模拟器或app中,或者给mac的外部浏览器安装跨域插件

studenthealthmanage's People

Contributors

alex-2code avatar hbcui1984 avatar jaincen avatar nihaojob avatar zhanghao164 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.