123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632 |
- <!DOCTYPE html>
- <html lang="zh-cn">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="./vue.js"></script>
- <title>遗体器官捐献申请登记表</title>
- <style scoped="scoped">
- .footer {
- margin-top: 0.8cm;
- /*width: 26cm;*/
- width: 100%;
- text-align: center;
- /* margin: 0 auto; */
- }
- .header {
- width: 20cm;
- margin: 0 auto;
- margin-top: 2cm;
- display: flex;
- /* justify-content: center; */
- align-items: center;
- margin-top: 25px;
- color: #eb3223;
- margin-bottom: 1cm;
- letter: spacing 2;
- }
- .header .img {
- margin-left: 1.24cm;
- margin-right: 0.3cm;
- width: 10.6cm;
- height: 2cm;
- }
- .img {
- width: 9cm;
- height: 2.5cm;
- }
- .header .img1 {
- margin-left: 0.5cm;
- }
- .header1 {
- font-size: 18px;
- /* margin-top: 134px; */
- width: 1080px;
- /* height: 40px; */
- margin: 0 auto;
- display: flex;
- /* justify-content: space-around; */
- }
- .header1 .box-2 {
- margin-left: 1.2cm;
- }
- .header1 .box-5 {
- display: flex;
- margin-left: 1cm;
- /* width: 200px; */
- /* border-bottom: 1px solid #333; */
- }
- .header1 .box-5 .box-6 {
- width: 4.2cm;
- border-bottom: 1px solid #333;
- }
- .table {
- border-collapse: collapse;
- border-spacing: 0;
- background-color: transparent;
- display: table;
- max-width: 100%;
- margin: 0 auto;
- }
- .table td {
- height: 44px;
- text-align: center;
- vertical-align: middle;
- font-size: 18px;
- font-family: 'Arial Normal', 'Arial';
- color: #333333;
- padding: 4px 12px;
- }
- .table-bordered {
- border: 1px solid #ddd;
- }
- * {
- margin: 0px;
- padding: 0px;
- }
- .info {
- width: 800px;
- margin: 0 auto;
- display: flex;
- justify-content: space-between;
- margin-top: 12px;
- font-size: 16px;
- }
- .date {
- display: flex;
- justify-content: flex-end;
- }
- .gap {
- display: block;
- height: 4px;
- width: 26px;
- }
- .column {
- width: 2.5cm;
- height: 30px;
- border: 1px solid #333;
- background: #ebc5ad;
- }
- .column1 {
- width: 145px;
- height: 25px;
- border: 1px solid #333;
- background: #ebc5ad;
- }
- .box {
- border: 1px solid #333;
- }
- .column01 {
- width: 100px;
- height: 15px;
- border: 1px solid #333;
- /* background: #f1f1f1; */
- }
- .checkbox {
- width: 20px;
- height: 15px;
- border: 1px solid #333;
- /* justify-content: center; */
- }
- .box01 {
- margin-right: 3px;
- margin-left: 3px;
- }
- .tpl {
- width: 50px !important;
- height: 15px;
- border: 1px solid #333;
- background: #f1f1f1;
- }
- .tpl01 {
- width: 50px !important;
- height: 15px;
- border: 1px solid #333;
- }
- .title {
- font-size: 18px !important;
- font-weight: bold;
- }
- .value {
- width: 2cm;
- height: 30px;
- border: 1px solid #333;
- }
- .value1-tip {
- border: 1px solid #333;
- }
- .value1 {
- width: 110px;
- display: inline-block;
- }
- .value9 {
- width: 550px;
- display: inline-block;
- text-align: left;
- }
- .value2 {
- width: 550px;
- display: inline-block;
- text-align: left;
- }
- .value3 {
- width: 610px;
- display: inline-block;
- text-align: left;
- }
- .value4 {
- padding: 8px 0px;
- }
- .value5 {
- padding-right: 180px;
- text-align: right;
- }
- .value6 {
- text-align: right;
- padding: 8px 45px;
- }
- .value7 {
- text-align: right;
- padding-right: 180px;
- padding-top: 10px;
- }
- .value8 {
- text-align: right;
- padding: 8px 45px;
- }
- .tp {
- width: 60px;
- display: inline-block;
- }
- .cameraCheckBoxTop {
- margin-right: 8px;
- width: 15px;
- height: 15px;
- }
- .portrait {
- width: 100px;
- height: 100px;
- }
- .button-dayin {
- background-color: #FF0000;
- color: #FFFFFF;
- width: 200px;
- padding: 20px 0px;
- margin: 50px auto;
- text-align: center;
- font-size: 30px;
- }
- </style>
- </head>
- <body>
- <div id="app">
- <div>
- <span></span>
- <div class="header" style="margin-top: 1cm;width: 24cm;">
- <div class="img" style="padding-top:0px;">
- <img style="height: 2.2cm; width: 7cm;" src="/dru/img/chinalogo.png" />
- </div>
- <div class="left">
- <div style="font-size: 31px;letter-spacing:4px"></div>
- </div>
- <div class="img1">
- <img src="/dru/img/11.png" alt="" style="height: 2cm; width: 10.5cm;">
- </div>
- </div>
- <div class="header1" style="width: 21cm;">
- <div class="box-1">
- 制表单位:{{redname}}红十字会
- </div>
- <div class="box-2">
- 填表日期:
- </div>
- <div class="box-3">
- 年 月
- 日
- </div>
- <div class="box-5">
- <div>编号:</div>
- </div>
- </div>
- <div style="margin:8px auto;">
- <table class="table table-striped table-bordered" align="center" valign="center">
- <tr>
- <td class="value" colspan="16"
- style="width: 21cm;padding: 32px 12px;text-indent: 40px; text-align: left;line-height: 38px;">
- 遗体器官捐献是服务医疗事业,造福人类的高尚行为,是“人道、博爱、奉献”精神的崇高体现。我已了解遗体器官捐献的基本常识和有关政策法规。我自愿登记成为{{redname}}遗体器官捐献志愿者,身故后请执行人和所有亲属尊重我的决定。
- </td>
- </tr>
- <tr>
- <td class="column">姓名</td>
- <td class="value" colspan="2">{{decodeURIComponent(hh.full_name)}}</td>
- <td class="column" style="width: 1cm;">性别</td>
- <td class="value" colspan="2">{{decodeURIComponent(hh.sex_text)}}</td>
- <td class="column" style="width: 2cm;">出生年月</td>
- <td class="value" colspan="5">{{decodeURIComponent(hh.birthday)}}</td>
- </tr>
- <tr>
- <td class="column">身份证号码</td>
- <td class="value" colspan="5">{{decodeURIComponent(hh.id_card)}}</td>
- <td class="column" style="width: 2cm;">职业</td>
- <td class="value" colspan="2">{{decodeURIComponent(hh.vocation)}}</td>
- <td class="column" style="width: 1.2cm;">学历</td>
- <td class="value" colspan="2">{{decodeURIComponent(hh.education_text)}}</td>
- </tr>
- <tr>
- <td class="value" colspan="6" style="position: relative;">
- <div style="position: absolute; top:40px; left:100px;"> 我自愿捐献</div>
- <div
- style="display: flex;align-items: center;justify-content:flex-start;line-height: 38px;padding: 0px 0 0 0;with: 200px;padding-left:200px;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1;margin-left: 5px;">
- {{donatename.indexOf('遗体') != -1 ? '√': ''}}</div>遗体;
- </div>
- <div
- style="display: flex;align-items: center;justify-content: flex-start;padding-bottom: 8px;with: 200px;padding-left:200px;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1;margin-left: 5px;">
- {{donatename.indexOf('眼角膜') != -1 ? '√': ''}}</div>眼角膜;
- </div>
- </td>
- <td class="value" colspan="6" style="position: relative;">
- <div
- style="display: flex;align-items: center;justify-content: flex-start;padding-bottom: 0px;with: 200px;padding-bottom:10px; padding-left:35px;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1;">
- {{donatename.indexOf('全部器官') != -1 ? '√': ''}}</div>全部器官
- </div>
- <div style="display: flex;flex-wrap: nowrap;align-items:flex-start;">
- <div style="display:inline-block;margin-bottom:8px;text-align:left;">
- 或:
- </div>
- <div style="display: flex;flex-wrap: wrap;align-items:flex-start;">
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('肾脏') != -1 ? '√': ''}}</div>肾脏
- </div>
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('肝脏') != -1 ? '√': ''}}</div>肝脏
- </div>
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('心脏') != -1 ? '√': ''}}</div>心脏
- </div>
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('肺脏') != -1 ? '√': ''}}</div>肺脏
- </div>
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('胰腺') != -1 ? '√': ''}}</div>胰腺
- </div>
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('小肠') != -1 ? '√': ''}}</div>小肠
- </div>
- <div style="width:25%;margin-bottom:8px;text-align:left;">
- <div
- style="width: 14px;height: 14px;border: 1px solid #333333;margin-right: 5px;line-height: 1; display:inline-block;">
- {{donatename.indexOf('其他') != -1 ? '√': ''}}</div>其他
- </div>
- </div>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div style="margin:8px auto;margin-top: 5cm;">
- <table class="table table-striped table-bordered" align="center" valign="center">
- <tr>
- <td class="column1" rowspan="2">联系电话</td>
- <td class="value" colspan="1" style="width: 5.8cm;text-align: left;">固定电话:</td>
- <td class="value" rowspan="2" colspan="14" style="width: 10cm;">
- <div style="display: flex; justify-content:center;margin-left:1.8cm">
- 我指定
- <div
- style="border-bottom: 1px solid #333333; width: 3cm;display:flex;justify-content:center">
- {{decodeURIComponent(hh.executor)}}</div>为我的遗体器官
- </div>
- <div style="text-align: left;line-height: 38px;display: flex;justify-content:center">
- 捐献执行人全权负责本人的遗体器官捐献事宜</div>
- </td>
- </tr>
- <tr>
- <td class="value" colspan="1" style="width: 5.8cm;text-align: left;">移动电话:{{decodeURIComponent(hh.mobile)}}</td>
- </tr>
- <tr>
- <td class="column1">居住地址</td>
- <td class="value" colspan="8">
- <!--{$arr.address}-->
- </td>
- </tr>
- <tr>
- <td class="column1" rowspan="2">捐献执行人</td>
- <td class="value" colspan="4" rowspan="2">{{decodeURIComponent(hh.executor)}}</td>
- <td class="column1">身份证号</td>
- <td class="value" colspan="4">{{decodeURIComponent(hh.executor_id_card)}}</td>
- </tr>
- <tr>
- <td class="column1">移动电话:</td>
- <td class="value" colspan="2">{{decodeURIComponent(hh.executor_mobile)}}</td>
- </tr>
- <tr>
- <td class="column1" rowspan="1">与捐献志愿者关系</td>
- <td class="value" rowspan="1" colspan="4">{{decodeURIComponent(hh.executor_relation)}}</td>
- <td class="column1">固定电话:</td>
- <td class="value" colspan="2"></td>
- </tr>
- <tr>
- <td class="column1">红十字会地址</td>
- <td class="value" colspan="4">{{redaddress}}</td>
- <td class="column1">捐献电话</td>
- <td class="value" colspan="4">{{redphone}}</td>
- </tr>
- </table>
- </div>
- <div class="footer">
- 我保证填写的以上信息准确真实,如发生变更或个人意愿发生变化时,及时告知登记机构。
- </div>
- <div style="padding:100px 70px 20px; display:flex;justify-content:space-around;align-items:center;width: 21cm;margin: auto;">
- <img style="height: 1cm; width: 5cm;" src="/dru/img/zgrtqgjxglzx.png" />
- <img style="height: 1cm; width: 5cm;"
- :src="'/dru/img/' + redlogo" v-if="redlogo != ''"/>
- <span>联系方式:{{redphone}}</span>
- </div>
- </div>
- </div>
- </body>
- <script>
- var app = new Vue({
- el: '#app',
- data() {
- return {
- hh: {},
- redList: [{
- cid: 7,
- name: '公安县',
- where: '公安县斗湖堤镇马嘶桥路58号',
- phone: '0716-5156511',
- logo: ''
- }, {
- cid: 6,
- name: '咸宁市',
- where: '温泉马柏大道306号',
- phone: '0715-8111755',
- logo: ''
-
- },{
- cid: 9,
- name: '东宝区',
- where: '荆门市东宝区工业园新台西路10号',
- phone: '0724-2382815',
- logo: ''
- },
- {
- cid: 12,
- name: '咸宁市',
- where: '湖北省咸宁市咸安区温泉街道办事处温泉马柏大道306号',
- phone: '0715-8111755',
- logo: ''
- },
- {
- cid: 11,
- name: '长宁区',
- where: '上海市长宁区长宁路599号',
- phone: '021-22050000',
- logo: ''
- },
- {
- cid: 13,
- name: '赤壁市',
- where: '赤壁市赤壁大道786号卫健局三楼',
- phone: '0715-5336010',
- logo: ''
- }
- ],
- donateList: [{
- did: 39,
- name: '眼角膜'
- },{
- did: 38,
- name: '全部器官'
- },
- {
- did: 37,
- name: '其他'
- },
- {
- did: 36,
- name: '小肠'
- },
- {
- did: 35,
- name: '胰腺'
- },
- {
- did: 34,
- name: '肺脏'
- },
- {
- did: 33,
- name: '心脏'
- },
- {
- did: 32,
- name: '肝脏'
- },
- {
- did: 31,
- name: '肾脏'
- },
- {
- did: 23,
- name: '遗体'
- }]
- }
- },
- created() {
- this.hh = this.GetRequest()
- },
- computed: {
- redname() {
- let str = ''
- let len = this.redList.length
- let cid = decodeURIComponent(this.hh.cid)
- this.redList.forEach(item => {
- if (item.cid == cid) {
- str = item.name
- }
- });
- return str
- },
- redaddress() {
- let str = ''
- let len = this.redList.length
- let cid = decodeURIComponent(this.hh.cid)
- this.redList.forEach(item => {
- if (item.cid == cid) {
- str = item.where
- }
- });
- return str
- },
- redphone() {
- let str = ''
- let len = this.redList.length
- let cid = decodeURIComponent(this.hh.cid)
- this.redList.forEach(item => {
- if (item.cid == cid) {
- str = item.phone
- }
- });
- return str
- },
- redlogo() {
- let str = ''
- let cid = decodeURIComponent(this.hh.cid)
- this.redList.forEach(item => {
- if (item.cid == cid) {
- str = item.logo
- }
- });
- return str
- },
- donatename() {
- let str = ''
- let did = decodeURIComponent(this.hh.category_ids)
- this.donateList.forEach(item => {
- console.log(item.name,did,item.did)
- if (did.indexOf(item.did+'') != -1) {
- str += item.name
- }
- });
- return str
- }
- },
- methods: {
- GetRequest() {
- var url = location.search; //获取url中"?"符后的字串
- var theRequest = new Object();
- if (url.indexOf("?") != -1) {
- var str = url.substr(1);
- strs = str.split("&");
- for (var i = 0; i < strs.length; i++) {
- theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
- }
- }
- return theRequest;
- },
- }
- })
- </script>
- </html>
|