From 3182ff9a1fc71b628e4f48dc28a99e99a7a4be00 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 27 五月 2024 17:45:52 +0800 Subject: [PATCH] 优化 --- src/books/lifeCare/view/chapter006.vue | 580 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 445 insertions(+), 135 deletions(-) diff --git a/src/books/lifeCare/view/chapter006.vue b/src/books/lifeCare/view/chapter006.vue index f96efa1..13ca757 100644 --- a/src/books/lifeCare/view/chapter006.vue +++ b/src/books/lifeCare/view/chapter006.vue @@ -1,7 +1,7 @@ 锘�<template> - <div class="page-content-box"> - <div class="page-box"> - <div class="bodystyle"> + <div class="chapter" num="6"> + <div class="page-box" page="100"> + <div class="bodystyle topImg"> <h2 id="b006"><img class="img-0" alt="" src="../image/dy6.jpg" /></h2> <div class="bk"> <div class="bj1"> @@ -47,7 +47,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="101"> <div class="bodystyle"> <div class="bk"> <div class="bj1"> @@ -93,7 +93,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="102"> <div class="bodystyle"> <div class="bk-qjms"> <p class="bj1-qjms">鈯欍��鎯呭鎻忚堪2銆�鈯�</p> @@ -147,13 +147,59 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="103"> <div class="bodystyle"> <p>3.瀛︿範闃呰鎵嬪唽锛屽~鍐欒〃1-6-1骞跺洖绛旈棶棰樸��</p> <p class="img">琛�1-6-1銆�鍚勫勾榫勬濠村辜鍎夸竴鏃ラギ姘撮噺缁熻琛�</p> - <p class="center"> + <!-- <p class="center"> <img class="img-a" alt="" src="../image/0114-1.jpg" /> - </p> + </p> --> + <div> + <table class="table111 table122"> + <thead> + <tr> + <th + :style="{ + width: + index == chapter006.headersData.length - 1 ? '200px' : '', + }" + v-for="(header, index) in chapter006.headersData" + :key="index" + > + {{ header }} + </th> + </tr> + </thead> + <tbody> + <tr + v-for="(row, rowIndex) in chapter006.tableData161" + :key="rowIndex" + > + <td v-for="(cell, cellIndex) in row" :key="cellIndex"> + <template v-if="cell === ''"> + <input + type="text" + v-model="chapter006.tableData161[rowIndex][cellIndex]" + @blur=" + updateCell(rowIndex, cellIndex, $event.target.value) + " + /> + </template> + <template v-else> + <input + :readonly="cellIndex == 0" + type="text" + :value="chapter006.tableData161[rowIndex][cellIndex]" + @blur=" + updateCell(rowIndex, cellIndex, $event.target.value) + " + /> + </template> + </td> + </tr> + </tbody> + </table> + </div> <p>姘存槸鍠濆緱瓒婂瓒婂ソ鍚楋紵浣犵煡閬撲粈涔堟槸姘翠腑姣掑悧锛熻瑙i噴銆�</p> <div class="bk-tx"> <textarea @@ -195,7 +241,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="104"> <div class="bodystyle"> <p>浣犺涓鸿繖鏍风殑璇存硶瀵瑰悧锛熻鍐欐槑鐞嗙敱銆�</p> <div class="bk-tx"> @@ -244,7 +290,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="105"> <div class="bodystyle"> <div class="bk-qjms"> <p class="bj1-qjms">鈯欍��鎯呭鎻忚堪4銆�鈯�</p> @@ -287,7 +333,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="106"> <div class="bodystyle"> <div class="bk-qjms"> <p class="bj1-qjms">鈯欍��鎯呭鎻忚堪2銆�鈯�</p> @@ -331,7 +377,7 @@ </p> </div> </div> - <div class="page-box"> + <div class="page-box" page="107"> <div class="bodystyle"> <h4 id="d066"> 鈻垛柖 娲诲姩1锛氭壘鍑哄┐骞煎効鑷富楗按鐨勯棶棰�<span class="fontsz1" @@ -379,7 +425,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="108"> <div class="bodystyle"> <div class="bk-qjms"> <p class="bj1-qjms">鈯欍��鎯呭鎻忚堪3銆�鈯�</p> @@ -393,8 +439,8 @@ v-model="chapter006.textAreaItem.text15" style="border: 0" placeholder="璇疯緭鍏ュ唴瀹�" - rows="3" - maxlength="100" + rows="5" + maxlength="200" @blur="onBlurChange('text15')" ></textarea> </div> @@ -417,8 +463,8 @@ v-model="chapter006.textAreaItem.text16" style="border: 0" placeholder="璇疯緭鍏ュ唴瀹�" - rows="3" - maxlength="100" + rows="5" + maxlength="200" @blur="onBlurChange('text16')" ></textarea> </div> @@ -430,7 +476,7 @@ </div> </div> </div> - <div class="page-box"> + <div class="page-box" page="109"> <div class="bodystyle"> <p> 1.鏍规嵁浠ヤ笂鎯呭锛岄拡瀵规煇涓�骞撮緞娈碉紝浠ュ皬缁勫悎浣滅殑鏂瑰紡鍏卞悓璁捐涓�涓富棰樺楗帮紝浣垮┐骞煎効鑳藉叿浣撱�佺洿瑙傚湴鐪嬪埌鑷繁鐨勯ギ姘撮噺锛屽悓鏃朵篃渚夸簬鎵樿偛鍥搷浣溿�傚湪涓嬫柟鐢诲嚭璁捐鑽夊浘锛屽苟鍒朵綔瀹屾垚銆� @@ -460,12 +506,113 @@ </div> <p>3.澶磋剳椋庢毚銆傚皬缁勬垚鍛樺綊绾虫�荤粨瀹屾垚琛�1-6-2銆�</p> <p class="img">琛�1-6-2銆�濠村辜鍎胯壇濂介ギ姘翠範鎯殑鍩瑰吇</p> - <p class="center"> + <!-- <p class="center"> <img class="img-a" alt="" src="../image/0120-2.jpg" /> - </p> + </p> --> + <div> + <table class="table111 table122 table162"> + <thead> + <tr> + <th + :style="{ + width: index == 0 ? '200px' : '', + }" + v-for="(header, index) in chapter006.headersData162" + :key="index" + > + {{ header }} + </th> + </tr> + </thead> + <tbody> + <tr> + <td rowspan="3" style="background-color: #eee"> + 涓诲叕楗按鐨勪範鎯� + </td> + <td> + <input + v-model="chapter006.tableData162.text1" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td> + <input + v-model="chapter006.tableData162.text2" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td> + <input + v-model="chapter006.tableData162.text3" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td rowspan="3" style="background-color: #eee"> + 鎰挎剰鍠濈櫧寮�姘寸殑涔犳儻 + </td> + <td> + <input + v-model="chapter006.tableData162.text4" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td> + <input + v-model="chapter006.tableData162.text5" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td> + <input + v-model="chapter006.tableData162.text6" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td rowspan="3" style="background-color: #eee"> + 鍏朵粬鑹ソ鐨勯ギ姘翠範鎯� + </td> + <td> + <input + v-model="chapter006.tableData162.text7" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td> + <input + v-model="chapter006.tableData162.text8" + @blur="updateCell162" + /> + </td> + </tr> + <tr> + <td> + <input + v-model="chapter006.tableData162.text9" + @blur="updateCell162" + /> + </td> + </tr> + </tbody> + </table> + </div> + <p><br /></p> </div> </div> - <div class="page-box"> + <div class="page-box" page="110"> <div class="bodystyle"> <h3 id="c023"> <span class="bk-h3" @@ -512,14 +659,13 @@ <p>5.鏁寸悊銆傚皢鎵�鐢ㄧ墿鍝佹竻鐞嗗共鍑�锛屾憜鏀炬暣榻愩��</p> </div> </div> - <div class="page-box"> + <div class="page-box" page="111"> <div class="bodystyle"> <p><b>鈶㈠疄璁粌涔�</b></p> <p> 2锝�4浜轰负涓�缁勫紑灞曞疄璁搷浣滐紝鍏朵腑涓�浜烘搷浣滐紝鍏朵粬鍚屽瑙傛懇銆傛搷浣滆�呬竴杈瑰疄鎿嶄竴杈硅瑙f搷浣滆棰嗭紝鍏朵粬鍚屽鎸夌収鍑嗗楗按鐗╁搧鐨勮瘎鍒嗘爣鍑嗙粰鎿嶄綔鑰呮墦鍒嗐�� </p> - <p><br /></p> - <div class="bk-sys"> + <!-- <div class="bk-sys"> <div class="bj1-sys"> <p class="left"> <img class="img-gn1" alt="" src="../image/dy-sys.png" /> @@ -529,6 +675,73 @@ <img class="img-h" alt="" src="../image/0122-1.jpg" /> </p> <p class="img">鍑嗗楗按鐗╁搧鐨勮瘎鍒嗘爣鍑�</p> + </div> --> + <div class="tips-bk"> + <div class="bj-tip"> + 鍑嗗楗按鐗╁搧鐨勮瘎鍒嗘爣鍑�<img + src="../icons/task.png" + @click="activityGroup" + alt="" + /> + </div> + <div v-if="chapter006.isGroupOpen" class="tips-file"> + <table class="table111 table122"> + <thead> + <tr> + <th + :style="{ + width: + index == 1 || index == chapter006.groupData.length - 1 + ? '100px' + : '', + }" + v-for="(header, index) in chapter006.publicHeader" + :key="index" + > + {{ header }} + </th> + </tr> + </thead> + <tbody> + <tr + v-for="(row, rowIndex) in chapter006.groupData" + :key="rowIndex" + > + <td v-for="(cell, cellIndex) in row" :key="cellIndex"> + <template v-if="cell === ''"> + <input + type="text" + v-model="chapter006.groupData[rowIndex][cellIndex]" + @blur=" + updateCellGroup( + rowIndex, + cellIndex, + $event.target.value + ) + " + /> + </template> + <template v-else-if="cellIndex == 4"> + <input + type="text" + v-model="chapter006.groupData[rowIndex][cellIndex]" + @blur=" + updateCellGroup( + rowIndex, + cellIndex, + $event.target.value + ) + " + /> + </template> + <template v-else> + {{ cell }} + </template> + </td> + </tr> + </tbody> + </table> + </div> </div> <p><b>鈶f�荤粨涓庡弽鎬�</b></p> <p>1.鎿嶄綔涓鏄撳嚭鐜板摢浜涘け璇紵閫犳垚杩欎簺澶辫鐨勫師鍥犲垎鍒槸浠�涔堬紵</p> @@ -558,7 +771,7 @@ >锛烇紴锛烇紴锛烇紴锛烇紴</span > </h4> - <p><br /></p> + <!-- <p><br /></p> <div class="bk-sys"> <div class="bj1-sys"> <p class="left"> @@ -569,7 +782,33 @@ <img class="img-h" alt="" src="../image/0122-2.jpg" /> </p> <p class="img">鍠濇按</p> + </div> --> + <div class="tips-bk"> + <div class="bj-tip"> + 瑙嗛锛氬枬姘�<img + src="../icons/video.png" + @click="activityOne" + alt="" + /> + </div> + <div + class="tips-file" + v-if="chapter006.isOpenOne && chapter006.videOneUrl" + > + <video + webkit-playsinline="true" + x-webkit-airplay="true" + playsinline="true" + x5-video-orientation="h5" + x5-video-player-fullscreen="true" + x5-playsinline="" + controls + class="video-border w100" + :src="chapter006.videOneUrl" + ></video> + </div> </div> + <p><br /></p> <p><b>鈶犳椿鍔ㄥ噯澶�</b></p> <p>1.鐗╁搧鍑嗗锛氭按鏉�佹按妗躲�侀妗屻�佹瘺宸俱��</p> <p> @@ -588,7 +827,7 @@ </p> </div> </div> - <div class="page-box"> + <div class="page-box" page="112"> <div class="bodystyle"> <p>5.甯姪鎴栬�呮彁閱掑┐骞煎効灏嗗槾宸存摝骞插噣銆�</p> <p>6.濠村辜鍎垮枬瀹屽悗锛屾寚瀵煎┐骞煎効灏嗘按鏉斁鍥炴按鏉灦鐨勫搴斾綅缃��</p> @@ -615,8 +854,8 @@ @blur="onBlurChange('text22')" ></textarea> </div> - <p><br /></p> - <div class="bk-sys"> + <!-- <p><br /></p> --> + <!-- <div class="bk-sys"> <div class="bj1-sys"> <p class="left"> <img class="img-gn1" alt="" src="../image/dy-sys.png" /> @@ -626,6 +865,73 @@ <img class="img-h" alt="" src="../image/0123-1.jpg" /> </p> <p class="img">鎸囧濠村辜鍎块泦浣撻ギ姘寸殑璇勫垎鏍囧噯</p> + </div> --> + <div class="tips-bk"> + <div class="bj-tip"> + 鎸囧濠村辜鍎块泦浣撻ギ姘寸殑璇勫垎鏍囧噯<img + src="../icons/task.png" + @click="activityScore1" + alt="" + /> + </div> + <div v-if="chapter006.isScore1Open" class="tips-file"> + <table class="table111 table122"> + <thead> + <tr> + <th + :style="{ + width: + index == 1 || index == chapter006.scoreData1.length - 1 + ? '100px' + : '', + }" + v-for="(header, index) in chapter006.publicHeader" + :key="index" + > + {{ header }} + </th> + </tr> + </thead> + <tbody> + <tr + v-for="(row, rowIndex) in chapter006.scoreData1" + :key="rowIndex" + > + <td v-for="(cell, cellIndex) in row" :key="cellIndex"> + <template v-if="cell === ''"> + <input + type="text" + v-model="chapter006.scoreData1[rowIndex][cellIndex]" + @blur=" + updateCellGroup( + rowIndex, + cellIndex, + $event.target.value + ) + " + /> + </template> + <template v-else-if="cellIndex == 4"> + <input + type="text" + v-model="chapter006.scoreData1[rowIndex][cellIndex]" + @blur=" + updateCellGroup( + rowIndex, + cellIndex, + $event.target.value + ) + " + /> + </template> + <template v-else> + {{ cell }} + </template> + </td> + </tr> + </tbody> + </table> + </div> </div> <p><b>鈶㈠疄璁粌涔�</b></p> <p> @@ -634,21 +940,6 @@ <h4 id="d070"> 鈻垛柖 搴旂敤涓庡疄璺�<span class="fontsz1">锛烇紴锛烇紴锛烇紴锛烇紴</span> </h4> - <div class="tips-bk"> - <div class="bj-tip"> - 浜戞祴璇曪細鍗曞厓鍏簲鐢ㄤ笌瀹炶返<img - src="../icons/sub.png" - @click="activityThree" - alt="" - /> - </div> - <div - v-if="chapter006.idOpenThree && chapter006.qustionData[3]" - class="tips-file" - > - <examinations :cardList="chapter006.qustionData[3]" /> - </div> - </div> <p><br /></p> <p><b>涓�銆佸崟閫夐</b></p> <p> @@ -683,7 +974,7 @@ <p class="block">D.浠ヤ笂閮芥槸</p> </div> </div> - <div class="page-box"> + <div class="page-box" page="113"> <div class="bodystyle"> <p> 4.涓嬪垪鏄负濠村辜鍎挎彁渚涚殑楗敤姘达紝涓嶅畨鍏ㄧ殑鏄紙銆�<input @@ -739,15 +1030,33 @@ @blur="onBlurChange('desc1')" ></textarea> </div> + <div class="tips-bk"> + <div class="bj-tip"> + 浜戞祴璇曪細鍗曞厓鍏簲鐢ㄤ笌瀹炶返<img + src="../icons/sub.png" + @click="activityThree" + alt="" + /> + </div> + <div + v-if="chapter006.idOpenThree && chapter006.qustionData[108]" + class="tips-file" + > + <examinations + :primaryColor="'#f49a4c'" + :cardList="chapter006.qustionData[108]" + /> + </div> + </div> </div> </div> </div> </template> <script> -// import getResourcePath from "@/assets/methods/resources.js"; -// import getQuestionData from "@/assets/methods/examination.js"; +import getResourcePath from "@/assets/methods/resources.js"; +import getQuestionData from "@/assets/methods/examination.js"; import testData from "../js/examinationList.js"; -// import examinations from "@/components/examinations/index.vue"; +import examinations from "@/components/examinations/index.vue"; export default { name: "chapter006", @@ -755,67 +1064,59 @@ return { chapter006: { videOneUrl: "", - videoTwoUrl: "", - videoFourUrl: "", - videoFiveUrl: "", isGroupOpen: true, isOpenOne: true, - isOpenTwo: true, idOpenThree: true, - isOpenFour: true, - isOpenFive: true, isScore1Open: true, - isScore2Open: true, - isScore3Open: true, qustionData: {}, - // 涓冩娲楁墜娉曡瘎鍒嗐�傘�� + // 鍑嗗楗按鐗╁搧鐨勮瘎鍒嗘爣鍑� publicHeader: ["搴忓彿", "鑰冩牳鍐呭", "閰嶅垎", "璇勫垎鏍囧噯", "鎵e垎", "寰楀垎"], groupData: [ [ 1, "鐗╁搧鍑嗗", - 16, - "濂剁矇锛堝湪鏈夋晥鏈熷唴 )銆佹秷姣掕繃鐨勫ザ鐡躲�佺函鍑�姘淬�佷繚娓╃摱銆佸噳姘存澂锛堟亽娓╂按澹讹級銆佹礂鎵嬬泦銆佹礂鎵嬫恫銆佹瘺宸撅紙鍑嗗涓嶅叏锛屾瘡缂哄皯涓�椤规墸 2 鍒嗭紝鎵e畬涓烘锛�", + 10, + "姘存《銆佹按妗朵笓鐢ㄦ竻娲佸肪銆佹按鏉笓鐢ㄧ櫨娲佸竷銆佸皬鍒峰瓙銆佹按鏉瓑鐢ㄥ搧锛堝噯澶囦笉鍏紝姣忕己灏戜竴椤规墸2鍒嗭紝鎵e畬涓烘锛�", "", "", ], [ 2, "鎿嶄綔鑰呭噯澶�", - 8, - "鏉熻捣澶村彂锛屽壀鐭寚鐢诧紝鎽橀櫎鎵嬭〃鍙婇楗帮紝娲楀噣鍙屾墜锛堣鏄庢垨鎿嶄綔涓嶅噯纭瘡椤规墸 2 鍒嗭級", + 10, + "鏉熻捣澶村彂锛屽壀鐭寚鐢诧紝鎽橀櫎鎵嬭〃鍙婇楗帮紝娲楀噣鍙屾墜锛岀┛涓婂洿鍏滃苟鎴翠笂澶村肪鍜屽彛缃╋紙璇存槑鎴栨搷浣滀笉鍑嗙‘姣忛」鎵�2鍒嗭紝鎵e畬涓烘锛�", "", "", ], [ 3, - "鍑嗗宸ヤ綔", - 15, - "妫�鏌ュザ绮夊寘瑁咃紝淇濊瘉濂剁矇鍦ㄤ繚璐ㄦ湡鍐咃紝娓呮磥鏃犳薄鏌擄紙璇存槑鎴栨搷浣滀笉鍑嗙‘姣忛」鎵� 2 鍒嗭紝鍏� 6 鍒嗭級锛岄槄璇诲ザ绮夎皟閰嶈鏄庝功锛屾牴鎹┐鍎跨殑鏈堥緞鍙婁骇鍝佸寘瑁呬笂鐨勫杺鍝鸿〃锛岃绠楀簲璋冮厤鐨勬恫浣撻噺锛堣鏄庢垨鎿嶄綔涓嶅噯纭墸 4鍒嗭級锛屼竴鎵嬪彇娑堟瘨濂界殑濂剁摱锛屽彟涓�鎵嬫嫥寮�濂剁摱鐩栵紝浣夸箣鏈濅笂缃簬瀹夊叏浣嶇疆锛堣鏄庢垨鎿嶄綔涓嶅噯纭墸 5 鍒嗭級", + "娓呮磥銆佹秷姣掓按妗�", + 40, + "鐢ㄦ祦鍔ㄧ殑姘村啿娲楁按妗讹紝鎸夌収妗跺彛鈥旀《鍐呭鈥旀《搴曗�旀《鐩栧唴渚с�佸渚р�旀《澶栧锛夆�旀《澶栧簳鐨勯『搴忎緷娆℃摝鎷紝鐢卞唴鍚戝灏嗘按妗跺啿娲楀共鍑�锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼瘡椤规墸2鍒嗭級锛屾墦寮�姘存《涓嬫柟鐨勬按榫欏ご锛屼娇娴佸姩鐨勬按浠庢按榫欏ご鍑烘按鍙f祦锛屽叧涓婃按榫欏ご锛屽�掑叆1/3寮�姘达紝鐩栦笂鐩栧瓙锛岀敤鍔涘乏鍙虫憞鏅冩按妗讹紝浣垮紑姘存帴瑙﹀埌妗跺唴澹佺殑姣忎釜瑙掕惤銆傛墦寮�姘存《涓嬫柟鐨勬按榫欏ご锛岃寮�姘村啿娲楀嚭姘村彛锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼墸10鍒嗭級锛岄噰鐢ㄦ秷姣掓恫鎿︽嫮鐨勬柟娉曞姘存《鐨勫澹佽繘琛屾秷姣掞紙璇存槑鎴栨搷浣滀笉鍚堟牸鎵�10鍒嗭級銆�", "", "", ], [ 4, - "绮惧噯鍙栭噺", - 26, - "鍙傝�冨ザ绮夊寘瑁呬笂鐨勭敤閲忚鏄庯紝鎸夊┐鍎跨殑浣撻噸锛屾妸娓╂按锛�38鈥傗剝锝� 40鈥傗剝锛夊�掑叆濂剁摱涓揪鍚堥�傜殑鍒诲害锛堣鏄庢垨鎿嶄綔涓嶅噯纭墸 5 鍒嗭級锛岀溂鐫涗笌濂剁摱骞宠锛岃瀵熸按閲忔槸鍚﹀悎閫傦紙璇存槑鎴栨搷浣滀笉鍑嗙‘鎵� 8 鍒嗭級锛岀溂鐫涗笌濂剁摱骞宠锛岃瀵熸按閲忔槸鍚﹀悎閫傦紙璇存槑鎴栨搷浣滀笉鍑嗙‘鎵�5鍒嗭級锛屾墦寮�濂剁矇缃愶紝鐢ㄥザ绮変笓鐢ㄧ殑璁¢噺鍕哄彇閫傞噺濂剁矇锛屾瘡涓�閲忓嫼澶氬嚭閲忓嫼涓婃部鐨勫ザ绮夐兘鐢ㄥザ绮夌洅锛堢瓛锛夊彛骞抽潰澶勫埉骞筹紙璇存槑鎴栨搷浣滀笉鍑嗙‘鎵�8鍒嗭級锛屽皢鍕轰腑濂剁矇浜庡ザ鐡舵涓婃柟鍊掑叆濂剁摱涓紙璇存槑鎴栨搷浣滀笉鍑嗙‘鎵�5鍒嗭級銆�", + "鎽嗘斁姘存《", + 5, + "鏀剧疆濂芥按妗跺悗锛岀洊濂介《閮ㄧ洊瀛愶紝涓嬫柟姘撮緳澶存湞澶栵紝鏂逛究濠村辜鍎挎帴姘达紙璇存槑鎴栨搷浣滀笉鍚堟牸鎵�5鍒嗭級銆�", "", "", ], [ 5, - "鍧囧寑婧惰В", + "娓呮磥銆佹秷姣掓按鏉�", 15, - "鏃嬬揣濂跺槾鐩栵紝鎸変竴涓柟鍚戞按骞宠交杞绘憞鏅冿紙鎴栧乏鍙虫棆杞級鐡惰韩锛屼娇濂剁矇婧惰В锛堣鏄庢垨鎿嶄綔涓嶅噯纭墸10鍒嗭級锛屽皢濂剁摱鍊炬枩45掳锛屾鏌ョ摱搴曠殑濂剁矇鏄惁鍏呭垎婧惰В銆傝嫢鐡跺簳鏈夊ザ绮夋湭婧惰В锛岄噸澶嶄互涓婃搷浣滆嚦濂剁矇瀹屽叏婧惰В锛屼娇鐡跺唴濂舵恫娴撳害鍧囧寑锛堣鏄庢垨鎿嶄綔涓嶅噯纭墸5鍒嗭級銆�", + "鐢ㄤ笓鐢ㄧ櫨娲佸竷鎸夌収鏉彛鈥旀澂鍐呭鈥旀澂搴曗�旀澂澶栧鐨勯『搴忔摝鎷紝鏈�鍚庣敤灏忓埛瀛愬埛娲楁按鏉殑鎶婃墜锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼墸5鍒嗭級锛岀敤娴佸姩鐨勬按灏嗘按鏉啿娲楀共鍑�锛屼緷娆℃斁鍏ュ緟娑堟瘨鐨勫鍣ㄤ腑锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼墸5鍒嗭級锛屾斁鍏ユ秷姣掓煖锛岃繘琛屾秷姣掞紱娑堟瘨瀹屾瘯鍚庯紝灏嗘澂瀛愬�掓墸鏀剧疆娌ュ共锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼墸5鍒嗭級銆�", "", "", ], [ 6, - "娴嬭瘯濂舵俯", + "鎽嗘斁姘存澂", 10, - "灏嗗ザ鐡跺�掔疆锛屼娇涔虫眮婊翠簬鍠傚摵鑰呭墠鑷傚唴渚х毊鑲や笂娴嬭瘯濂舵俯锛屾劅瑙夋俯搴︿笉鐑墜锛屼究鍙粰濠村効椋熺敤锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼墸10鍒嗭級", + "灏嗘秷杩囨瘨鐨勬按鏉斁鍏ユ按鏉灦锛涙嬁鏉瓙鏃讹紝鎵嬩笉纰版澂鍙o紝鏌勬湞澶栵紝鏉彛鏈濅笂锛堣鏄庢垨鎿嶄綔涓嶅悎鏍兼墸10鍒嗭級", "", "", ], @@ -829,91 +1130,106 @@ ], [8, "娴嬭瘯濂舵俯", 5, "鎺у埗鍦�5鍒嗛挓鍐咃紙瓒呰繃鏃堕棿鎵�5鍒嗭級", "", ""], ], - // 琛ㄦ牸1-5-1 - headersData: ["搴忓彿", "钀ュ吇绱�", "涓昏鍔熻兘", "椋熺墿鏉ユ簮", "缂轰箯鐥囷紙鐘讹級"], // 琛ㄥご - tableData151: [ - // 浜岀淮鏁扮粍浣滀负琛ㄦ牸鏁版嵁 - ["1", "", "", "", ""], - ["2", "", "", "", ""], - ["3", "", "", "", ""], - ["4", "", "", "", ""], - ["5", "", "", "", ""], - ["6", "", "", "", ""], - ["7", "", "", "", ""], + // 鎸囧濠村辜鍎块泦浣撻ギ姘寸殑璇勫垎鏍囧噯 + scoreData1: [ + [ + 1, + "鐗╁搧鍑嗗", + 8, + "姘存澂銆佹按妗躲�侀妗屻�佹瘺宸撅紙鍑嗗涓嶅叏锛屾瘡缂哄皯涓�椤规墸2鍒嗭紝鎵e畬涓烘锛�", + "", + "", + ], + [ + 2, + "鎿嶄綔鑰呭噯澶�", + 12, + "鏉熻捣澶村彂锛屽壀鐭寚鐢诧紝鎽橀櫎鎵嬭〃鍙婇楗帮紝绌夸笂鍥村厹锛屾埓涓婂ご宸惧拰鍙g僵锛岀敤涓冩娲楁墜娉曟礂鍑�鍙屾墜锛堣鏄庢垨鎿嶄綔涓嶅噯纭瘡椤规墸2鍒嗭紝鎵e畬涓烘锛�", + "", + "", + ], + [ + 3, + "鎸囧鍠濇按", + 70, + "寮曞濠村辜鍎垮湪鍠濇按鍓嶅簲鍏堢敤涓冩娲楁墜娉曟竻娲楀弻鎵嬶紝鐒跺悗鍙栬嚜宸辩殑鏉瓙锛堣瑷�鎴栫ず鑼冨姩浣滀笉鍑嗙‘鎵�10鍒嗭級锛屽皢娓╁害鍜屾按閲忛�備腑鐨勬按鍊掑叆濠村辜鍎跨殑姘存澂涓紝鏀剧疆鍦ㄥ┐骞煎効鐨勬鍓嶆柟锛堝姩浣滄垨鎿嶄綔涓嶅噯纭墸10鍒嗭級锛屾寚瀵煎┐骞煎効鍠濇按鏃舵纭湴鎷挎按鏉細鍙虫墜鎸佹澂鏌勶紝宸︽墜鎵舵澂韬紝閬垮厤姘存磼鍑烘垨婊戣惤锛堣瑷�鎴栫ず鑼冨姩浣滀笉鍑嗙‘鎵�10鍒嗭級锛屾彁閱掑┐骞煎効杞昏交绔捣姘存澂锛屾彁閱掑┐骞煎効鍚逛竴鍚癸紝杞昏交鐢ㄥ槾鍞囪瘯涓�璇曪紝閬垮厤鐑槾锛屽枬姘存椂瑕佷竴鍙d竴鍙f參鎱㈠枬锛屼笉瑕佽竟璧拌竟鍠濓紝鍠濇按鏃朵笉璇寸瑧锛堣瑷�鎴栫ず鑼冨姩浣滀笉鍑嗙‘鎵�20鍒嗭級锛屽府鍔╂垨鑰呮彁閱掑┐骞煎効灏嗗槾宸存摝骞插噣锛堣瑷�鎴栫ず鑼冨姩浣滀笉鍑嗙‘鎵�10鍒嗭級锛岀敤璇█鎻愰啋濠村辜鍎垮枬瀹屾按鍚庯紝灏嗘按鏉斁鍥炴按鏉灦瀵瑰簲鐨勪綅缃紙蹇樿鐢ㄨ瑷�鎻愮ず鑰呮墸10鍒嗭級銆�", + "", + "", + ], + [ + 4, + "鏁寸悊鐗╁搧", + 5, + "鐢ㄥ搧褰掍綅锛屾竻鐞嗘敹绾筹紙璇存槑鎴栨搷浣滀笉鍚堟牸鎵�5鍒嗭級", + "", + "", + ], + [5, " 鏃堕棿瑕佹眰", 15, "鎺у埗鍦�5鍒嗛挓鍐咃紙瓒呰繃鏃堕棿鎵�5鍒嗭級", "", ""], ], - // 1-5-2 - headers152: ["椁愮偣", "鏃堕棿", "楗彍鍚嶇О", "鎵�鍚鐗╁強鏁伴噺"], // 琛ㄥご - tableData152: [ - // 浜岀淮鏁扮粍浣滀负琛ㄦ牸鏁版嵁 - ["", "", "", ""], - ["", "", "", ""], + // 琛ㄦ牸1-6-1 + headersData: [ + "骞撮緞锛堝瞾锛�", + "浣撻噸锛堝崈鍏嬶級", + "鎬绘憚鍏ラ噺锛堟鍗囷級", + "姣忓崈鍏嬩綋閲嶆憚鍏ラ噺锛堟鍗囷級", + ], // 琛ㄥご + tableData161: [ ["", "", "", ""], ["", "", "", ""], ["", "", "", ""], ["", "", "", ""], ["", "", "", ""], ], - // 1-5-3 - headers153: ["閫傚悎鏈堥緞", "7-2鏈堥緞", "13-24鏈堥緞", "24浠ヤ笂鏈堥緞"], // 琛ㄥご - tableData153: [ - // 浜岀淮鏁扮粍浣滀负琛ㄦ牸鏁版嵁 - ["椋熺墿鍚嶇О", "", "", ""], - ["鏉愭枡鍑嗗", "", "", ""], - ["鍒朵綔姝ラ", "", "", ""], - ["娉ㄦ剰浜嬮」", "", "", ""], - ["浣犵殑璇勪环", "", "", ""], - ], - // 1-5-4 - headers154: ["椁愬叿鍚嶇О", "浣跨敤闃舵", "娆惧紡鐗圭偣"], - tableData154: [ - ["", "", ""], - ["", "", ""], - ["", "", ""], - ["", "", ""], - ["", "", ""], - ], + // 1-6-2 + headersData162: ["濠村辜鍎胯壇濂界殑楗按涔犳儻", "鍩瑰吇鏂规硶"], // 琛ㄥご + tableData162: {}, textAreaItem: {}, radio: {}, }, }; }, components: { - // examinations, + examinations, }, - created() { + async created() { const localData = JSON.parse(localStorage.getItem("chapter006")); if (localData) { this.chapter006 = { ...Object.assign(this.chapter006, localData) }; } - // this.chapter006.videOneUrl = getResourcePath("439b0bde62a5098875c77e2492676577"); - // this.chapter006.videoTwoUrl = getResourcePath("1a878261410b01ee8e4e0602a1fe935f"); - // this.chapter006.videoFourUrl = getResourcePath("6cf2619beb704b3d79de04f0775c8ba3"); - // this.chapter006.videoFiveUrl = getResourcePath("8400384441ad9236d5eab24f500ec2c7"); + this.chapter006.videOneUrl = getResourcePath( + "04fafb0e896ffe0379edd6d695a92b13" + ); this.chapter006.videOneUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=439b0bde62a5098875c77e2492676577"; - this.chapter006.videoTwoUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=1a878261410b01ee8e4e0602a1fe935f"; - this.chapter006.videoFourUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=6cf2619beb704b3d79de04f0775c8ba3"; - this.chapter006.videoFiveUrl = - "https://jsek.bnuic.com/file/api/ApiDownload?md5=8400384441ad9236d5eab24f500ec2c7"; - // this.chapter006.qustionData = await getQuestionData("5",testData[5]); + "https://jsek.bnuic.com/file/api/ApiDownload?md5=04fafb0e896ffe0379edd6d695a92b13"; + this.chapter006.qustionData = await getQuestionData( + "6", + testData[6], + this.config.activeBook + ); }, methods: { activityOne() { this.chapter006.isOpenOne = !this.chapter006.isOpenOne; }, - activityTwo() { - this.chapter006.isOpenTwo = !this.chapter006.isOpenTwo; - }, activityThree() { this.chapter006.idOpenThree = !this.chapter006.idOpenThree; }, - activityFour() { - this.chapter006.isOpenFour = !this.chapter006.isOpenFour; + activityScore1() { + this.chapter006.isScore1Open = !this.chapter006.isScore1Open; + localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); }, - activityFive() { - this.chapter006.isOpenFive = !this.chapter006.isOpenFive; + updateCellScore1(rowIndex, cellIndex, value) { + // 鏇存柊鍗曞厓鏍兼暟鎹� + this.$set(this.chapter006.scoreData1[rowIndex], cellIndex, value); + if (cellIndex == 4) { + this.$set( + this.chapter006.scoreData1[rowIndex], + 5, + this.chapter006.scoreData1[rowIndex][2] - + this.chapter006.scoreData1[rowIndex][cellIndex] + ); + } + localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); }, activityGroup() { this.chapter006.isGroupOpen = !this.chapter006.isGroupOpen; @@ -934,17 +1250,11 @@ }, updateCell(rowIndex, cellIndex, value) { // 鏇存柊鍗曞厓鏍兼暟鎹� - this.$set(this.chapter006.tableData151[rowIndex], cellIndex, value); + this.$set(this.chapter006.tableData161[rowIndex], cellIndex, value); localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); }, - updateCell152(rowIndex, cellIndex, value) { + updateCell162(rowIndex, cellIndex, value) { // 鏇存柊鍗曞厓鏍兼暟鎹� - this.$set(this.chapter006.tableData152[rowIndex], cellIndex, value); - localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); - }, - updateCell153(rowIndex, cellIndex, value) { - // 鏇存柊鍗曞厓鏍兼暟鎹� - this.$set(this.chapter006.tableData153[rowIndex], cellIndex, value); localStorage.setItem("chapter006", JSON.stringify(this.chapter006)); }, onBlurChange() { -- Gitblit v1.9.1