Commit 89c51f10 authored by lrw's avatar lrw

知情同意书更改、序号问题

parent c01a0f77
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<template v-if="item.type == 'radio'"> <template v-if="item.type == 'radio'">
<view class="margin-top padding sict-label" :key="item.value" v-show="!item.hidden"> <view class="margin-top padding sict-label" :key="item.value" v-show="!item.hidden">
<view v-show="!item.hidden"> <view v-show="!item.hidden">
<span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" v-if="item.required">*</span> <span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" :style="{opacity: item.required ? 1 : 0}" >*</span>
{{index+1}} {{item.label}} {{item.label}}
</view> </view>
<view class="text-right sict-value" v-show="!item.hidden"> <view class="text-right sict-value" v-show="!item.hidden">
<radio-group @change="showChange($event,item)"> <radio-group @change="showChange($event,item)">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<template v-else-if="item.type == 'picker'"> <template v-else-if="item.type == 'picker'">
<view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value"> <view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value">
<view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" <view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx"
v-if="item.required">*</span>{{index+1}}{{item.label}}</view> :style="{opacity: item.required ? 1 : 0}">*</span>{{item.label}}</view>
<picker @change="updatePickerVal($event,item)" range-key="label" mode="selector" :value="form[item.value]" :range="item.opts"> <picker @change="updatePickerVal($event,item)" range-key="label" mode="selector" :value="form[item.value]" :range="item.opts">
<view class="picker"> <view class="picker">
{{form[item.value]?form[item.value]:'请选择'}} {{form[item.value]?form[item.value]:'请选择'}}
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<template v-else-if="item.type == 'pickerMore'"> <template v-else-if="item.type == 'pickerMore'">
<view class="margin-top" :key="index"> <view class="margin-top" :key="index">
<uni-collapse> <uni-collapse>
<uni-collapse-item :title="index+1 +'、' + item.label" :open="true" :required="item.required"> <uni-collapse-item :title="item.label" :open="true" :required="item.required">
<view class="padding-lr"> <view class="padding-lr">
<view class="uni-list"> <view class="uni-list">
<checkbox-group @change="showChange($event,item)"> <checkbox-group @change="showChange($event,item)">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<template v-else-if="item.type == 'date'"> <template v-else-if="item.type == 'date'">
<view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value"> <view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value">
<view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" <view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx"
v-if="item.required">*</span>{{index+1}}{{item.label}}</view> :style="{opacity: item.required ? 1 : 0}">*</span>{{item.label}}</view>
<picker mode="date" :value="date" start="2015-09-01" end="2020-09-01" @change="updatePickerVal($event,item)"> <picker mode="date" :value="date" start="2015-09-01" end="2020-09-01" @change="updatePickerVal($event,item)">
<view class="picker"> <view class="picker">
{{form[item.value]?form[item.value]:'请选择'}} {{form[item.value]?form[item.value]:'请选择'}}
...@@ -71,8 +71,8 @@ ...@@ -71,8 +71,8 @@
<template v-else-if="item.type == 'input'"> <template v-else-if="item.type == 'input'">
<view class="cu-form-group margin-top padding-rl" :key="item.value" v-show="!item.hidden"> <view class="cu-form-group margin-top padding-rl" :key="item.value" v-show="!item.hidden">
<view :class="item.titleClass"> <view :class="item.titleClass">
<span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" v-if="item.required">*</span> <span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" :style="{opacity: item.required ? 1 : 0}">*</span>
{{index+1}}{{item.label}}</view> {{item.label}}</view>
<input class="text-right" :placeholder="item.placeholder" :type="item.controType" :value="form[item.value]" name="input" <input class="text-right" :placeholder="item.placeholder" :type="item.controType" :value="form[item.value]" name="input"
@input="updateInputVal($event,item.value)" @blur="inputBlur($event,item)"></input> @input="updateInputVal($event,item.value)" @blur="inputBlur($event,item)"></input>
</view> </view>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
</view> </view>
</view> </view>
<view class="padding-xl green-word"> <view class="padding-xl green-word">
<div class="text-left"> <!-- <div class="text-left">
<p>在您决定是否参加该筛查(或随访)之前,请仔细阅读以下内容。您可以和您的亲属、朋友一起讨论,或请医生给予解释,然后做出决定。</p> <p>在您决定是否参加该筛查(或随访)之前,请仔细阅读以下内容。您可以和您的亲属、朋友一起讨论,或请医生给予解释,然后做出决定。</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p class="text-bold">一、筛查开展的背景和目的</p> <p class="text-bold">一、筛查开展的背景和目的</p>
...@@ -139,6 +139,13 @@ ...@@ -139,6 +139,13 @@
<p class="text-bold">六、保密原则</p> <p class="text-bold">六、保密原则</p>
<p>您的所有个人资料将是保密的,由承担该筛查工作的医院妥善保存。任何公开报告将不会披露您的个人信息。我们将在法律允许的范围内,尽一切努力保护您的隐私。</p> <p>您的所有个人资料将是保密的,由承担该筛查工作的医院妥善保存。任何公开报告将不会披露您的个人信息。我们将在法律允许的范围内,尽一切努力保护您的隐私。</p>
<p>我们将保存所采取的标本资料,并可能在以后的研究中使用,标本上贴有带编码的标签,不会出现您的姓名,您的所有信息将会保密。</p> <p>我们将保存所采取的标本资料,并可能在以后的研究中使用,标本上贴有带编码的标签,不会出现您的姓名,您的所有信息将会保密。</p>
</div> -->
<div class="text-left">
<p class="content">根据中华人民共和国国家卫生健康委员会2020年第1号公告要求以及《国际卫生条例(2005)》、《中华人民共和国传染病防治法》等有关法律规定,并按照国务院常务会议提出的“分类有序复工复产”和上海疫情防控办及市政府《关于进一步落实各项疫情防控措施的通告》的相关要求,为做好新型冠状病毒感染的肺炎疫情防控工作,保障广大人民群众生命健康,现面向使用本系统的所有用户,特告知如下:</p>
<p>&nbsp;</p>
<p class="content">本系统将对所有注册使用的用户信息进行记录,必要时将与执法部门进行信息对接,请积极配合并确保所填信息真实、有效。如若有任何瞒报情况被查出,将被有关部门依法追究法律责任并被列为失信人员,敬请配合。</p>
<p>&nbsp;</p>
<p class="content">另本人承诺:同意将本系统的个人信息数据经脱敏后用于防疫工作开展以及相关科学研究等。</p>
</div> </div>
<button @click="modalName = ''" class="cu-btn block bg-blue margin-tb-sm lg">我知道了</button> <button @click="modalName = ''" class="cu-btn block bg-blue margin-tb-sm lg">我知道了</button>
</view> </view>
...@@ -2118,7 +2125,7 @@ ...@@ -2118,7 +2125,7 @@
flag = false flag = false
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: `${i+1}${this.list[i].label }未填写` title: `${this.list[i].label }未填写`
}) })
break break
} }
...@@ -2126,7 +2133,7 @@ ...@@ -2126,7 +2133,7 @@
flag = false flag = false
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: `${i+1}${this.list[i].label }填写错误` title: `${this.list[i].label }填写错误`
}) })
break break
} }
...@@ -2196,7 +2203,9 @@ ...@@ -2196,7 +2203,9 @@
} }
} }
} }
.content {
text-indent: 20px;
}
uni-radio-group { uni-radio-group {
border: 2upx solid #d3d3d3; border: 2upx solid #d3d3d3;
border-radius: 8upx; border-radius: 8upx;
......
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>
<template> <template>
<view class="questionnaire"> <view class="questionnaire">
<form @submit="formSubmit"> <form @submit="formSubmit">
...@@ -27,8 +6,8 @@ ...@@ -27,8 +6,8 @@
<template v-if="item.type == 'radio'"> <template v-if="item.type == 'radio'">
<view class="margin-top padding sict-label" :key="item.value" v-show="!item.hidden"> <view class="margin-top padding sict-label" :key="item.value" v-show="!item.hidden">
<view v-show="!item.hidden"> <view v-show="!item.hidden">
<span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" v-if="item.required">*</span> <span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" :style="{opacity: item.required ? 1 : 0}">*</span>
{{index+1}} {{item.label}} {{item.label}}
</view> </view>
<view class="text-right sict-value" v-show="!item.hidden"> <view class="text-right sict-value" v-show="!item.hidden">
<radio-group @change="showChange($event,item)"> <radio-group @change="showChange($event,item)">
...@@ -46,7 +25,7 @@ ...@@ -46,7 +25,7 @@
<template v-else-if="item.type == 'picker'"> <template v-else-if="item.type == 'picker'">
<view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value"> <view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value">
<view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" <view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx"
v-if="item.required">*</span>{{index+1}}{{item.label}}</view> :style="{opacity: item.required ? 1 : 0}">*</span>{{item.label}}</view>
<picker @change="updatePickerVal($event,item)" range-key="label" mode="selector" :value="form[item.value]" :range="item.opts"> <picker @change="updatePickerVal($event,item)" range-key="label" mode="selector" :value="form[item.value]" :range="item.opts">
<view class="picker"> <view class="picker">
{{form[item.value]?form[item.value]:'请选择'}} {{form[item.value]?form[item.value]:'请选择'}}
...@@ -58,7 +37,7 @@ ...@@ -58,7 +37,7 @@
<template v-else-if="item.type == 'pickerMore'"> <template v-else-if="item.type == 'pickerMore'">
<view class="margin-top" :key="index"> <view class="margin-top" :key="index">
<uni-collapse> <uni-collapse>
<uni-collapse-item :title="index+1 +'、' + item.label" :open="true" :required="item.required"> <uni-collapse-item :title="item.label" :open="true" :required="item.required">
<view class="padding-lr"> <view class="padding-lr">
<view class="uni-list"> <view class="uni-list">
<checkbox-group @change="showChange($event,item)"> <checkbox-group @change="showChange($event,item)">
...@@ -82,7 +61,7 @@ ...@@ -82,7 +61,7 @@
<template v-else-if="item.type == 'date'"> <template v-else-if="item.type == 'date'">
<view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value"> <view class="cu-form-group margin-top padding-rl" v-show="!item.hidden" :key="item.value">
<view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" <view :class="item.titleClass"><span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx"
v-if="item.required">*</span>{{index+1}}{{item.label}}</view> :style="{opacity: item.required ? 1 : 0}">*</span>{{item.label}}</view>
<picker mode="date" :value="date" start="2015-09-01" end="2020-09-01" @change="updatePickerVal($event,item)"> <picker mode="date" :value="date" start="2015-09-01" end="2020-09-01" @change="updatePickerVal($event,item)">
<view class="picker"> <view class="picker">
{{form[item.value]?form[item.value]:'请选择'}} {{form[item.value]?form[item.value]:'请选择'}}
...@@ -93,8 +72,8 @@ ...@@ -93,8 +72,8 @@
<template v-else-if="item.type == 'input'"> <template v-else-if="item.type == 'input'">
<view class="cu-form-group margin-top padding-rl" :key="item.value" v-show="!item.hidden"> <view class="cu-form-group margin-top padding-rl" :key="item.value" v-show="!item.hidden">
<view :class="item.titleClass"> <view :class="item.titleClass">
<span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" v-if="item.required">*</span> <span style="color:red;display: inline-block; vertical-align:inherit;margin-right:4upx" :style="{opacity: item.required ? 1 : 0}">*</span>
{{index+1}}{{item.label}}</view> {{item.label}}</view>
<input class="text-right" :placeholder="item.placeholder" :type="item.controType" :value="form[item.value]" name="input" <input class="text-right" :placeholder="item.placeholder" :type="item.controType" :value="form[item.value]" name="input"
@input="updateInputVal($event,item.value)"></input> @input="updateInputVal($event,item.value)"></input>
</view> </view>
...@@ -800,7 +779,7 @@ ...@@ -800,7 +779,7 @@
flag = false flag = false
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: `${i+1}${this.list[i].label }未填写` title: `${this.list[i].label }未填写`
}) })
break break
} }
......
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