view_screening_results.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>筛选类型</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <meta name="renderer" content="webkit" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <meta name="keywords" content="筛选类型" />
  10. <meta name="description" content="筛选类型" />
  11. <link rel="shortcut icon" href="../../favicon.ico" />
  12. <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css" />
  13. <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
  14. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
  15. <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css" />
  16. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet" />
  17. <style type="text/css">
  18. [v-cloak] {
  19. display: none;
  20. }
  21. .flex-box {
  22. display: -webkit-box;
  23. display: -ms-flexbox;
  24. display: flex;
  25. -webkit-box-pack: center;
  26. -ms-flex-pack: center;
  27. justify-content: center;
  28. -webkit-box-align: center;
  29. -ms-flex-align: center;
  30. align-items: center;
  31. }
  32. .flex-box-item {
  33. -webkit-box-flex: 1;
  34. -ms-flex: 1;
  35. flex: 1;
  36. }
  37. p {
  38. word-break: break-all;
  39. }
  40. /*.question-content{max-height: 195px;overflow: auto;}*/
  41. .prompt-text {
  42. background-color: #ffa39e;
  43. color: #fff;
  44. font-size: 12px;
  45. text-align: center;
  46. line-height: 26px;
  47. }
  48. .single-choice-question {
  49. margin: 20px;
  50. padding: 0 20px;
  51. max-height: 540px;
  52. overflow-y: auto;
  53. border: 1px solid #d7dce6;
  54. border-radius: 10px;
  55. }
  56. .question-title {
  57. font-size: 16px;
  58. line-height: 40px;
  59. }
  60. .question-list,
  61. .daan-list {
  62. margin: 0;
  63. padding-left: 0;
  64. list-style: none;
  65. font-size: 14px;
  66. line-height: 1;
  67. }
  68. .question-list > li {
  69. border-top: 1px solid #d7dce6;
  70. padding: 10px 0;
  71. }
  72. .question-name {
  73. margin-bottom: 10px;
  74. }
  75. .daan-list > * {
  76. padding-left: 20px;
  77. line-height: 20px;
  78. height: 28px;
  79. }
  80. .daan-list input {
  81. opacity: 0;
  82. }
  83. .daan-list input[type='radio'] {
  84. width: 100%;
  85. height: 100%;
  86. opacity: 0;
  87. position: absolute;
  88. cursor: pointer;
  89. margin: 0;
  90. left: 0;
  91. right: 0;
  92. top: 0;
  93. bottom: 0;
  94. }
  95. .daan-list i {
  96. width: 20px;
  97. height: 20px;
  98. display: inline-block;
  99. vertical-align: middle;
  100. margin-right: 10px;
  101. background: url(../images/dianxuan_btn.png) center center / 100% 100% no-repeat;
  102. }
  103. .daan-list input[type='radio']:checked ~ i {
  104. background-image: url(../images/dianxuan_pre.png);
  105. }
  106. .label-block {
  107. display: block;
  108. position: relative;
  109. cursor: pointer;
  110. }
  111. .label-block + .label-block {
  112. margin-top: 16px;
  113. }
  114. .label-block span,
  115. .calculation-score .pull-right {
  116. color: #ff9630;
  117. }
  118. .w-250 {
  119. width: 250px;
  120. border: 1px solid #d7dce6;
  121. position: relative;
  122. border-top: 0;
  123. overflow: hidden;
  124. height: 605px;
  125. overflow: auto;
  126. }
  127. .f-16 {
  128. font-size: 16px;
  129. }
  130. .mb20 {
  131. margin-bottom: 20px !important;
  132. }
  133. .m20 {
  134. margin: 20px;
  135. }
  136. .f16 {
  137. font-size: 16px;
  138. }
  139. .base-info,
  140. .calculation-score,
  141. .btn-group-bottom,
  142. .assessment-report {
  143. padding: 17px;
  144. font-size: 14px;
  145. }
  146. .calculation-score p {
  147. margin-bottom: 5px;
  148. }
  149. .assessment-report p {
  150. margin-bottom: 0;
  151. }
  152. .canvas-box canvas {
  153. width: 100%;
  154. height: 100%;
  155. }
  156. .w-70 {
  157. width: 70px;
  158. }
  159. .base-info .flex-box {
  160. margin-top: 20px;
  161. }
  162. .right-triangle {
  163. position: relative;
  164. background: url(../images/right-triangle.png) right center / auto 15px no-repeat;
  165. }
  166. .base-info .w-70 {
  167. padding-right: 10px;
  168. text-align: justify;
  169. position: relative;
  170. text-align-last: justify;
  171. }
  172. .base-info .w-70:after {
  173. content: ':';
  174. position: absolute;
  175. right: 2px;
  176. top: 0;
  177. font-weight: bold;
  178. }
  179. .base-info input {
  180. height: 20px;
  181. padding: 0;
  182. text-align: center;
  183. width: 60px;
  184. margin: 0 5px;
  185. border-radius: 10px;
  186. border: 1px solid #d7dce6;
  187. }
  188. .progress-number {
  189. position: absolute;
  190. top: 50%;
  191. margin-top: -30px;
  192. text-align: center;
  193. left: 0;
  194. right: 0;
  195. }
  196. .progress-number > span {
  197. font-size: 14px;
  198. color: #12b7f5;
  199. }
  200. .clear-bottom {
  201. height: 91px;
  202. }
  203. .btn-group-bottom {
  204. padding: 40px 0 10px;
  205. position: fixed;
  206. right: 0;
  207. left: 0;
  208. bottom: 0;
  209. border-left: 1px solid #d7dce6;
  210. background: #fff;
  211. border-top: 1px solid #d7dce6;
  212. }
  213. .btn-group-bottom .btn {
  214. width: 100%;
  215. height: 40px;
  216. padding: 8px 12px;
  217. border-radius: 0;
  218. width: 90px;
  219. margin: 0 10px;
  220. }
  221. .warning-text .screen_result {
  222. color: #ff3b30;
  223. font-size: 12px;
  224. }
  225. .success-text .screen_result {
  226. color: #74bf00;
  227. font-size: 12px;
  228. }
  229. .score-box {
  230. height: 80px;
  231. padding-left: 120px;
  232. padding-top: 8px;
  233. background-size: auto 100%;
  234. background-repeat: no-repeat;
  235. background-position: 0 center;
  236. }
  237. .warning-text .score-box {
  238. color: #ff9630;
  239. background-image: url(../images/jiaofeishibai_icon.png);
  240. }
  241. .success-text .score-box {
  242. color: #74bf00;
  243. background-image: url(../images/jiaofeichengong_icon.png);
  244. }
  245. .score {
  246. font-size: 30px;
  247. }
  248. .score > small {
  249. font-size: 12px;
  250. }
  251. .orange-text {
  252. color: #ffa65b;
  253. }
  254. .answer-content,
  255. .advice-content {
  256. border: 1px solid #ececec;
  257. border-radius: 10px;
  258. padding: 10px 20px 5px;
  259. }
  260. .advice-content {
  261. padding: 0;
  262. }
  263. .advice-list {
  264. padding: 20px 20px 0;
  265. overflow: hidden;
  266. }
  267. .advice-list li {
  268. padding-left: 20px;
  269. line-height: 1;
  270. position: relative;
  271. list-style: none;
  272. margin-bottom: 20px;
  273. }
  274. .advice-list li:before {
  275. position: absolute;
  276. left: 0;
  277. top: 50%;
  278. margin-top: -6px;
  279. width: 12px;
  280. height: 12px;
  281. border-radius: 100%;
  282. background-color: #02cfb9;
  283. content: '';
  284. }
  285. .other-advice {
  286. border-top: 1px solid #ececec;
  287. line-height: 2;
  288. height: 90px;
  289. padding: 5px 20px;
  290. }
  291. .bgc-02cfb9 {
  292. background-color: #02cfb9;
  293. color: #fff;
  294. }
  295. .bgc-12b7f5 {
  296. background-color: #12b7f5;
  297. color: #fff;
  298. }
  299. .bgc-FF9630 {
  300. background-color: #ff9630;
  301. color: #fff;
  302. }
  303. .bgc-2DBE55 {
  304. background-color: #2dbe55;
  305. color: #fff;
  306. }
  307. .bgc-2DBE55.focus,
  308. .bgc-2DBE55:focus,
  309. .bgc-2DBE55:hover {
  310. color: #fff;
  311. background-color: #30a14f;
  312. }
  313. .bgc-FF9630.focus,
  314. .bgc-FF9630:focus,
  315. .bgc-FF9630:hover {
  316. color: #fff;
  317. background-color: #f58920;
  318. }
  319. .bgc-12b7f5.focus,
  320. .bgc-12b7f5:focus,
  321. .bgc-12b7f5:hover {
  322. color: #fff;
  323. background-color: #01a9bd;
  324. }
  325. .bgc-02cfb9.focus,
  326. .bgc-02cfb9:focus,
  327. .bgc-02cfb9:hover {
  328. color: #fff;
  329. background-color: #00bda8;
  330. }
  331. </style>
  332. </head>
  333. <body>
  334. <div id="app" v-cloak>
  335. <div class="m20 mb0" style="line-height: 1">
  336. <div class="flex-box mb20">
  337. <div class="flex-box-item">
  338. 筛查类型:
  339. <span v-text="userInfo.template_title"></span>
  340. </div>
  341. <div class="flex-box-item">
  342. 筛查人员:
  343. <span v-text="doctorInfo.name"></span>
  344. </div>
  345. </div>
  346. <div class="flex-box mb20">
  347. <div class="flex-box-item">
  348. 筛查对象:
  349. <span
  350. v-text="userInfo.patient_name+'('+(userInfo.sex==1?'男':'女')+(!userInfo.age?'<1':userInfo.age)+'岁)'"></span>
  351. </div>
  352. <div class="flex-box-item">
  353. 体征记录:
  354. <span v-if="!noTiZhong">
  355. <span v-text="tizhongRecord.value1+'kg'"></span>
  356. &nbsp;&nbsp;身高
  357. <span v-text="tizhongRecord.value2+'cm'"></span>
  358. </span>
  359. <span v-else>暂无体征</span>
  360. </div>
  361. </div>
  362. <div class="flex-box">
  363. <div class="flex-box-item">
  364. 处理情况:
  365. <span>{{dealAction}}</span>
  366. </div>
  367. <div class="flex-box-item ui-grid">
  368. <div class="ui-col-0">筛查机构:</div>
  369. <div class="ui-col-1" v-text="doctorInfo.hospitalName"></div>
  370. </div>
  371. </div>
  372. </div>
  373. <div class="single-choice-question">
  374. <div class="question-title">问卷题目</div>
  375. <div class="question-content">
  376. <ul class="question-list" v-for="(qst,key,index) in answer">
  377. <li v-if="qst.option">
  378. <p class="question-name" v-html="key+'、'+qst.question.title"></p>
  379. <div class="daan-list" v-if="qst.question.questionType==0">
  380. <label class="label-block">
  381. <span
  382. class="pull-right"
  383. v-text="qst.option.score+'分'"
  384. v-if="userInfo.isThird != 1 && userInfo.isThird !=2"></span>
  385. <input
  386. :type="qst.questionType==1?'checked':'radio'"
  387. readonly="readonly"
  388. :name="'ques'+index+(qst.questionType==1?'[]':'')"
  389. checked="checked"
  390. value="1" />
  391. <i></i>
  392. <span v-text="qst.option.content"></span>
  393. </label>
  394. </div>
  395. <div class="daan-list" v-else-if="qst.question.questionType==1">
  396. <label class="label-block" v-for="opt in qst.option">
  397. <span
  398. class="pull-right"
  399. v-text="opt.score+'分'"
  400. v-if="userInfo.isThird != 1 && userInfo.isThird !=2"></span>
  401. <input
  402. :type="qst.questionType==1?'checked':'radio'"
  403. readonly="readonly"
  404. :name="'ques'+index+(qst.questionType==1?'[]':'')"
  405. checked="checked"
  406. value="1" />
  407. <i></i>
  408. <span v-text="opt.content"></span>
  409. </label>
  410. </div>
  411. <div class="daan-list" v-else>
  412. <textarea class="wenjuan-textarea" rows="2" v-model="qst.option.content"></textarea>
  413. </div>
  414. </li>
  415. </ul>
  416. </div>
  417. </div>
  418. <div class="base-info">
  419. <div :class="userInfo.is_danger?'warning-text':'success-text'">
  420. <div class="score-box">
  421. <!-- 冠心病 评分改为文字提示-并删除评估报告-->
  422. <p class="f-16 mb0" v-if="userInfo.isThird != 1 && userInfo.isThird !=2">
  423. <span class="c-333">评分</span>
  424. <span class="score">
  425. <span v-text="result.screen_result_score"></span>
  426. <small>分</small>
  427. </span>
  428. </p>
  429. <p class="screen_result" v-text="result.screen_result"></p>
  430. </div>
  431. </div>
  432. </div>
  433. <div class="calculation-score">
  434. <p class="f16 mb10">评估报告</p>
  435. <div class="answer-content">
  436. <p v-text="(result && result.advice) || userInfo.third_advice"></p>
  437. </div>
  438. </div>
  439. <div class="calculation-score" v-if="result.doctorOtherAdvice || result.doctorAdvice">
  440. <p class="f16 mb10">家庭医生的建议</p>
  441. <div class="advice-content">
  442. <div class="option-advice" v-if="result.doctorAdvice">
  443. <ul class="advice-list">
  444. <li v-for="advice in result.doctorAdvice" v-text="advice.advice || '无'"></li>
  445. </ul>
  446. </div>
  447. <div class="other-advice" v-if="result.doctorOtherAdvice">
  448. <p>
  449. <span class="orange-text">补充建议:</span>
  450. <span v-text="result.doctorOtherAdvice || '无'"></span>
  451. </p>
  452. </div>
  453. </div>
  454. </div>
  455. <div class="clear-bottom" v-if="!isView || (userInfo.is_again==1 && userInfo.is_danger==1)">
  456. <div class="btn-group-bottom flex-box">
  457. <button class="btn bgc-2DBE55" @click="jkjy" v-if="result.doctorOtherAdvice || result.doctorAdvice">
  458. 健康教育
  459. </button>
  460. <button class="btn bgc-FF9630" @click="sqsf" v-else-if="userInfo.disease==3">社区随访</button>
  461. <button class="btn bgc-FF9630" @click="jkzg" v-else>健康跟踪</button>
  462. <button
  463. class="btn bgc-12b7f5"
  464. v-if="userInfo.is_again&&(result.doctorOtherAdvice || result.doctorAdvice)"
  465. @click="reScreening">
  466. 再次筛查
  467. </button>
  468. <button class="btn bgc-02cfb9" @click="referral">转诊</button>
  469. </div>
  470. </div>
  471. <div class="clear-bottom" v-if="(userInfo.is_order>=1)">
  472. <div class="btn-group-bottom text-center">
  473. <p class="c-12b7f5">{{userInfo.is_order==1?'已预约':'已接诊'}}</p>
  474. <p v-if="(userInfo.is_order==2)">专科医生{{specialDoctorName}}已同意安排接诊</p>
  475. </div>
  476. </div>
  477. <el-dialog title="提示" :visible.sync="centerDialogVisible" width="65%" center>
  478. <span>是否纳入本社区随访</span>
  479. <span slot="footer" class="dialog-footer">
  480. <el-button @click="centerDialogVisible = false">取 消</el-button>
  481. <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
  482. </span>
  483. </el-dialog>
  484. </div>
  485. <script src="../../../js/jquery-2.2.4.js" type="text/javascript" charset="utf-8"></script>
  486. <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  487. <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  488. <script src="../../../api/http-request.js" type="text/javascript" charset="utf-8"></script>
  489. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  490. <script src="../../../plugins/toastr/toastr.min.js"></script>
  491. <script type="text/javascript" src="../../../api/jbsc-api.js"></script>
  492. <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
  493. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  494. <script type="text/javascript">
  495. var httpData = GetRequest()
  496. var wlyyAgent = JSON.parse(window.localStorage.getItem('wlyyAgent'))
  497. var func_doctor = null,
  498. func_hospital = null
  499. new Vue({
  500. el: '#app',
  501. data: {
  502. centerDialogVisible: false,
  503. answer: [], //问卷
  504. userInfo: { is_again: 0 }, //用户信息
  505. result: [], //结果
  506. tizhongRecord: [],
  507. specialDoctorName: '',
  508. noTiZhong: true,
  509. doctorInfo: { code: wlyyAgent.uid },
  510. resultCode: httpData['resultCode'],
  511. isView: httpData['isView'] || false,
  512. dealAction: []
  513. },
  514. mounted: function () {
  515. this.getScreenResultDetail()
  516. this.getDoctorInfo()
  517. },
  518. methods: {
  519. getDoctorInfo: function () {
  520. var vm = this
  521. var data = {
  522. code: vm.doctorInfo.code
  523. }
  524. jbscAPI.doctorBaseinfo(data).then(function (res) {
  525. if (res.status == 200) {
  526. vm.doctorInfo = res.data
  527. } else {
  528. top.layer.msg(res.msg, { icon: 5 })
  529. }
  530. })
  531. },
  532. jkjy: function () {
  533. var vm = this
  534. top.layer.open({
  535. type: 2,
  536. // offset: ['100px'], //右下角弹出
  537. area: ['80%', '648px'],
  538. shade: 0.5,
  539. title: '健康教育',
  540. fixed: true, //不固定
  541. maxmin: true,
  542. closeBtn: 1,
  543. shift: 5,
  544. shadeClose: false, //点击遮罩关闭层
  545. content:
  546. '../../article/html/article.html?code=' + this.userInfo.patient_code + '&resultCode=' + vm.resultCode
  547. })
  548. },
  549. jkzg: function () {
  550. var vm = this
  551. var index = top.layer.getFrameIndex(window.name) //先得到当前iframe层的索引
  552. top.layer.open({
  553. type: 2,
  554. area: ['500px', '550px'],
  555. shade: 0.5,
  556. title: '家医建议',
  557. fixed: true, //不固定
  558. maxmin: false,
  559. closeBtn: 1,
  560. shift: 5,
  561. shadeClose: false, //点击遮罩关闭层
  562. content:
  563. '../../jbsc/html/advice.html?parentIframe=' +
  564. index +
  565. '&resultCode=' +
  566. vm.resultCode +
  567. '&filter_code=' +
  568. vm.userInfo.template_code
  569. })
  570. },
  571. sqsf: function () {
  572. var vm = this
  573. vm.centerDialogVisible = true
  574. },
  575. getScreenResultDetail: function () {
  576. var vm = this
  577. var loadding = top.layer.load(0, { shade: false }) //0代表加载的风格,支持0-2
  578. var data = {
  579. code: vm.resultCode
  580. }
  581. jbscAPI.getScreenResultDetail(data).then(function (res) {
  582. top.layer.close(loadding)
  583. if (res.status == 200) {
  584. var data = res.data
  585. console.log('ressaaaaaaaaaaaaaaaaaaa', res.data)
  586. data && ((vm.answer = data.answer), (vm.userInfo = data.info), (vm.result = data.result))
  587. data && data.info && data.info.code && vm.getHealth()
  588. data && (vm.specialDoctorName = data.specialDoctorName)
  589. var userInfo = data.info || []
  590. if (
  591. (userInfo.isDanger == 1 || userInfo.is_danger == 1) &&
  592. (userInfo.isAgain == 1 || userInfo.is_again == 1)
  593. ) {
  594. //只有高危的筛查需要处理
  595. if (userInfo.following == 1) {
  596. vm.dealAction.push('已跟踪')
  597. }
  598. if (userInfo.isOrder == 1 || userInfo.is_order == 1) {
  599. vm.dealAction.push('已预约')
  600. }
  601. if (userInfo.isOrder == 2 || userInfo.is_order == 2) {
  602. vm.dealAction.push('已接诊')
  603. }
  604. if (userInfo.following == 0 && (userInfo.isOrder == 0 || userInfo.is_order == 0)) {
  605. vm.dealAction.push('待处理')
  606. }
  607. if (userInfo.isDanger == 0 || userInfo.is_danger == 0) {
  608. vm.dealAction.push('日常健康管理')
  609. }
  610. } else {
  611. vm.dealAction.push('')
  612. }
  613. vm.dealAction = vm.dealAction.join(',')
  614. if (data.info.third_source && data.info.third_source != 4) {
  615. for (let i in vm.answer) {
  616. if (vm.answer[i].question.title == '评估医生:') {
  617. if (vm.answer[i].option) {
  618. jbscAPI
  619. .getDoctorInfoByJwDoctor({ jwDoctor: data.answer[i].option.content })
  620. .then(function (res1) {
  621. if (res.status == 200) {
  622. vm.answer[i].option.content = res1.data.jwDoctorName
  623. }
  624. })
  625. }
  626. } else if (vm.answer[i].question.title == '评估机构:') {
  627. if (vm.answer[i].option) {
  628. jbscAPI
  629. .getHospitalInfoByMappingId({ mappingId: vm.answer[i].option.content })
  630. .then(function (res1) {
  631. if (res.status == 200) {
  632. vm.answer[i].option.content = res1.data.name
  633. }
  634. })
  635. }
  636. }
  637. }
  638. } else {
  639. }
  640. } else {
  641. top.layer.msg(res.msg, { icon: 5 })
  642. }
  643. })
  644. },
  645. getHealth: function () {
  646. var vm = this
  647. var data = {
  648. patient: vm.userInfo.patient_code
  649. }
  650. jbscAPI.getHealth(data).then(function (res) {
  651. if (res.status == 200) {
  652. vm.tizhongRecord =
  653. _.find(res.data, function (o) {
  654. return o.type == '3'
  655. }) || {}
  656. } else {
  657. top.layer.msg(res.msg, { icon: 5 })
  658. }
  659. JSON.stringify(vm.tizhongRecord) !== '{}' && (vm.noTiZhong = false)
  660. })
  661. },
  662. referral: function () {
  663. // top.layer.msg('PC上暂不支持,请打开手机端疑似高危记录进行转诊预约', { icon: 5 })
  664. var vm = this
  665. var patient = vm.userInfo.patient_code,
  666. callCode = ''
  667. top.layer.open({
  668. type: 2,
  669. closeBtn: 1, // 显示关闭按钮
  670. area: ['800px', '90%'],
  671. title: '预约挂号',
  672. content: '../../jbsc/html/appointment/appoint-select.html?patient=' + patient + '&callCode=' + callCode
  673. })
  674. },
  675. reScreening: function () {
  676. //再次筛查
  677. var vm = this
  678. top.layer.open({
  679. type: 2,
  680. // offset: ['100px'], //右下角弹出
  681. area: ['820px', '648px'],
  682. shade: 0.5,
  683. title: '筛选统计',
  684. fixed: true, //不固定
  685. maxmin: true,
  686. closeBtn: 1,
  687. shift: 5,
  688. shadeClose: false, //点击遮罩关闭层
  689. content:
  690. 'questionnaire.html?isAgain=1&fliter_title=' +
  691. vm.userInfo.template_title +
  692. '&fliter_code=' +
  693. vm.userInfo.template_code +
  694. '&resident_code=' +
  695. vm.userInfo.patient_code +
  696. '&resident_name=' +
  697. vm.userInfo.patient_name
  698. })
  699. var index = top.layer.getFrameIndex(window.name) //先得到当前iframe层的索引
  700. top.layer.close(index) //再执行关闭
  701. }
  702. }
  703. })
  704. </script>
  705. </body>
  706. </html>