Commit bf87ca1d authored by sjf1256754123's avatar sjf1256754123

demo

parent c01a0f77
......@@ -3,7 +3,7 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "疫情登记",
"navigationBarTitleText": "",
"app-plus": {
"bounce": "none"
}
......
......@@ -124,21 +124,10 @@
</view>
<view class="padding-xl green-word">
<div class="text-left">
<p>在您决定是否参加该筛查(或随访)之前,请仔细阅读以下内容。您可以和您的亲属、朋友一起讨论,或请医生给予解释,然后做出决定。</p>
<p>根据中华人民共和国国家卫生健康委员会2020年第1号公告要求以及《国际卫生条例(2005)》、《中华人民共和国传染病防治法》等有关法律规定,并按照国务院常务会议提出的“分类有序复工复产”和上海疫情防控办及市政府《关于进一步落实各项疫情防控措施的通告》的相关要求,为做好新型冠状病毒感染的肺炎疫情防控工作,保障广大人民群众生命健康,现面向使用本系统的所有用户,特告知如下:</p>
<p>&nbsp;</p>
<p class="text-bold">一、筛查开展的背景和目的</p>
<p>癌症是严重威胁人民生命和健康的疾病,也是我国居民的主要死亡原因之一。目前因出现临床症状而就诊的患者多为中晚期病人,治疗费用昂贵而且效果不佳,给病人和家属带来极大的痛苦和沉重的经济负担。</p>
<p>医学研究和临床实践证实,癌症的发生发展有一个过程,可以通过科学有效的技术方法对人群进行筛查,及时发现癌前病变及早期癌,经有效治疗,可以阻断癌前病变的发展。接受早诊早治的患者痛苦小,经济花费少,而且患者可以很快恢复健康,像健康人一样工作生活。早诊早治是目前控制癌症的最有效的途径。</p>
<p>&nbsp;</p>
<p class="text-bold">四、哪些人不宜参加筛查</p>
<p>具有下列情况的,不宜参加筛查:①严重心脏病,心力衰竭;②重症呼吸道疾病,呼吸困难,哮喘持续状态;③有严重脑部疾病者;④咽后壁脓肿,严重脊柱畸形,或主动脉瘤患者;⑤身体虚弱不能耐受内镜检查,或难以镇静自控者;⑥上消化道腐蚀性炎症急性期,或疑为上消化道穿孔者;⑦大量腹水、严重腹胀,或有重度食管静脉曲张者;⑧有出血倾向者(凝血功能不正常),或正在服用抗凝血药物者,后者须停药一周后检查出凝血功能正常方可进行内镜检查;⑨妊娠期妇女;⑨40-69岁有碘过敏史者等。</p>
<p>&nbsp;</p>
<p class="text-bold">五、参加筛查可能带来的不适与不便</p>
<p>内镜检查和治疗时一般很安全。但也偶有检查和治疗过程中发生食管或胃出血、穿孔及药物反应(如碘过敏)等。对这些情况医生都有很好的预防措施和应急预案,即使发生,罕有危及生命的可能。如果您想进一步了解情况,请与检查小组的医生联系。</p>
<p>&nbsp;</p>
<p class="text-bold">六、保密原则</p>
<p>您的所有个人资料将是保密的,由承担该筛查工作的医院妥善保存。任何公开报告将不会披露您的个人信息。我们将在法律允许的范围内,尽一切努力保护您的隐私。</p>
<p>我们将保存所采取的标本资料,并可能在以后的研究中使用,标本上贴有带编码的标签,不会出现您的姓名,您的所有信息将会保密。</p>
<p>本系统将对所有注册使用的用户信息进行记录,必要时将与执法部门进行信息对接,请积极配合并确保所填信息真实、有效。如若有任何瞒报情况被查出,将被有关部门依法追究法律责任并被列为失信人员,敬请配合。</p>
<p>另本人承诺:同意将本系统的个人信息数据经脱敏后用于防疫工作开展以及相关科学研究等。</p>
</div>
<button @click="modalName = ''" class="cu-btn block bg-blue margin-tb-sm lg">我知道了</button>
</view>
......
......@@ -2,9 +2,9 @@
<view class="index">
<view class="temp">
<view class="btnList">
<button class="btnStaff" type="primary" @click="staff" v-show="flag">员工填报</button>
<button class="btnSecurity" type="primary" @click="fillInDay" v-show="!flag">每日填报</button>
<button class="btnSecurity" type="primary" @click="security">安保测温</button>
<button class="btnStaff" type="primary" @click="staff">首次填报</button>
<button class="btnSecurity" type="primary" @click="fillInDay">每日签到</button>
<button class="btnSecurity" type="primary" @click="getScancode" v-show="securityFlag">安保测温</button>
<!-- <image class="img" src="../../static/22.jpg" mode="" @click="fillInDay"></image> -->
<image class="img" :src="imgSrc" mode="widthFix" @click="modalName = 'Image'">
<view class="tips">入园请向门卫出示健康码</view>
......@@ -37,15 +37,12 @@
imgSrc:'',
modalName:'',
flag:true,
option:{
userId:''
}
securityFlag:false,
userId:''
};
},
onLoad: function(option) {
const scene = decodeURIComponent(option.scene)
console.log(scene)
this.option = option
this.userId = option.u
let that = this
// #ifdef MP-WEIXIN
wx.login({
......@@ -84,16 +81,36 @@
},
// 安保跳转
security() {
uni.navigateTo({
url: `/pages/security/security`
// security() {
// uni.navigateTo({
// url: `/pages/security/security?userId=${this.userId}`
// })
// },
getScancode(){
var _this = this;
// 允许从相机和相册扫码
wx.scanCode({
success: (res) => {
var result = res.result;
_this.setData({
result: result,
})
}
})
},
fillInDay() {
console.log(232)
uni.navigateTo({
url:`/pages/fillInDay/fillInDay`
})
if(!this.$store.state.user.userInfo.idCard){
uni.showToast({
icon: 'none',
title: '请先上报个人资料!'
})
}else{
uni.navigateTo({
url:`/pages/fillInDay/fillInDay`
})
}
},
// 获取用户信息
getUserInfo(code) {
......@@ -101,8 +118,8 @@
const d = res.data
if (d.code == 1) {
let userInfo = d.object
if(userInfo.idCard){
this.flag=false
if(userInfo.roleId == '1003'){
this.securityFlag=true
}
let obj = Object.assign({}, this.$store.getters.userInfo)
if (obj.avatarUrl) {
......@@ -111,6 +128,9 @@
this.$store.dispatch('user/setInfo', Object.assign(obj, userInfo))
this.$store.dispatch('user/setToken', d.result)
this.getImg()
if(this.userId){
this.security()
}
}
}).catch(err => {
console.log(err)
......
......@@ -34,19 +34,21 @@
};
},
onLoad: function(option) {
console.log(option)
this.form.userId = option.userId
},
onShow() {},
methods: {
// 体温正常
normal() {
this.form.heatNomal = 0
this.form.userId = this.$store.state.user.userInfo.id
this.form.heat = ''
this.$http.post(`/sict-ncov/report/daily/heat`,this.form).then(res => {
const d = res.data
if (d.code == 1) {
console.log(d)
uni.showToast({
icon: 'success',
title: d.object
})
}
}).catch(err => {
console.log(err)
......@@ -64,15 +66,13 @@
submit(){
this.form.heatNomal = this.form.heat<37.2?0:1
this.form.userId = this.$store.state.user.userInfo.id
console.log(this.form)
// uni.showToast({
// icon: 'none',
// title: "提交异常体温!"
// })
this.$http.post(`/sict-ncov/report/daily/heat`,this.form).then(res => {
const d = res.data
if (d.code == 1) {
console.log(d)
uni.showToast({
icon: 'none',
title: d.object
})
}
}).catch(err => {
console.log(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment