Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

doubleCheckDialog.vue 63KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959
  1. <template>
  2. <div>
  3. <el-dialog
  4. title="双人核对"
  5. :visible.sync="isVisibility"
  6. :modal-append-to-body="false"
  7. width="854px"
  8. >
  9. <!-- <el-form :inline="true" class="demo-form-inline newInline" ref="doubleReview" :model="doubleReview" label-width="105px">
  10. <el-form-item label="透析物品核查 : " :prop="isName('透析物品核查')"
  11. :rules="isCheckmust('透析物品核查')">
  12. <el-radio v-model="doubleReview.dialysis_item_check" label="1" @change="changeRadio">正确</el-radio>
  13. </el-form-item>
  14. <el-form-item class="newItem" label="差错描述 : " label-width="90px">
  15. <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
  16. </el-form-item>
  17. </el-form> -->
  18. <!-- <el-form :inline="true" class="demo-form-inline newCheckBox" ref="doubleReview" :model="doubleReview" label-width="110px">
  19. <el-checkbox-group v-model="checkList" @change="changeBox">
  20. <el-checkbox :label="diazes"></el-checkbox>
  21. <el-checkbox :label="puncture_needle"></el-checkbox>
  22. <el-checkbox :label="dialysate_formulation"></el-checkbox>
  23. <el-checkbox :label="kalium"></el-checkbox>
  24. <el-checkbox :label="calcium"></el-checkbox>
  25. </el-checkbox-group>
  26. </el-form> -->
  27. <!-- <el-form :inline="true" class="demo-form-inline newInline" ref="doubleReview" :model="doubleReview" label-width="105px">
  28. <el-form-item label="透析参数核查 : " :prop="isName('透析参数核查')"
  29. :rules="isCheckmust('透析参数核查')">
  30. <el-radio v-model="doubleReview.dialysis_parameter_check" label="1" @change="changeRadioTwo">正确</el-radio>
  31. </el-form-item>
  32. <el-form-item class="newItem" label="差错描述 : " label-width="90px">
  33. <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
  34. </el-form-item>
  35. </el-form> -->
  36. <!-- <el-form class="newCheckBox">
  37. <el-checkbox-group v-model="checkListOne" @change="changeBoxOne" >
  38. <el-checkbox :label="dialys_mode"></el-checkbox>
  39. <el-checkbox :label="long_time"></el-checkbox>
  40. <el-checkbox :label="target_ultrafiltration"></el-checkbox>
  41. <el-checkbox :label="anticoagulant" ></el-checkbox>
  42. <el-checkbox :label="anticoagulant_shouji"></el-checkbox>
  43. <el-checkbox :label="anticoagulant_weichi"></el-checkbox>
  44. <el-checkbox :label="anticoagulant_zongliang"></el-checkbox>
  45. <el-checkbox :label="displace_liqui_part"></el-checkbox>
  46. <el-checkbox :label="replacement_total"></el-checkbox>
  47. <el-checkbox :label="blood_flow_volume"></el-checkbox>
  48. <el-checkbox :label="dialysate_flow"></el-checkbox>
  49. <el-checkbox :label="displace_liqui_value"></el-checkbox>
  50. </el-checkbox-group>
  51. </el-form>
  52. <el-form :inline="true" class="demo-form-inline newInline" ref="doubleReview" :model="doubleReview" label-width="105px">
  53. </el-form> -->
  54. <!-- <el-form class="newCheckBox"></el-form> -->
  55. <!-- <el-form :inline="true" class="demo-form-inline newInline" ref="doubleReview" :model="doubleReview" label-width="105px">
  56. </el-form> -->
  57. <!-- <el-form class="newCheckBox"></el-form> -->
  58. <el-form
  59. :inline="true"
  60. class="demo-form-inline"
  61. ref="doubleReview"
  62. :model="doubleReview"
  63. label-width="120px"
  64. >
  65. <div class="demo-form-inline newInline">
  66. <el-form-item
  67. label="透析物品核查 : "
  68. :prop="isName('透析物品核查')"
  69. :rules="isCheckmust('透析物品核查')"
  70. >
  71. <el-radio
  72. v-model="doubleReview.dialysis_item_check"
  73. label="1"
  74. @change="changeRadio"
  75. >正确</el-radio
  76. >
  77. <!-- <el-radio v-model="doubleReview.dialysis_item_check" label="2">错误</el-radio> -->
  78. </el-form-item>
  79. <el-form-item class="newItem" label="差错描述 : " label-width="90px">
  80. <el-input v-model="doubleReview.dialysis_item_desc"> </el-input>
  81. </el-form-item>
  82. </div>
  83. <el-form-item style="padding-left: 17px;">
  84. <el-checkbox-group v-model="checkList" @change="changeBox">
  85. <el-checkbox :label="diazes"></el-checkbox>&nbsp;&nbsp;
  86. <span v-if="org_id == 0 || org_id == 9671 || org_id == 10440 || org_id == 9675"><el-input style="width:200px" v-model="doubleReview.dialyzer_batch_number"></el-input></span>
  87. </el-checkbox-group>
  88. <el-checkbox-group v-model="checkList" @change="changeBox">
  89. <el-checkbox :label="puncture_needle"></el-checkbox>
  90. <span v-if="org_id == 0 || org_id == 9671 || org_id == 10440 || org_id == 9675"><el-input style="width:200px" v-model="doubleReview.needle_batch_number"></el-input></span>
  91. </el-checkbox-group>
  92. <el-checkbox-group v-model="checkList" @change="changeBox">
  93. <!-- <el-checkbox :label="diazes"></el-checkbox>
  94. <el-checkbox :label="puncture_needle"></el-checkbox> -->
  95. <el-checkbox :label="dialysate_formulation"></el-checkbox>
  96. <el-checkbox :label="kalium"></el-checkbox>
  97. <el-checkbox :label="calcium"></el-checkbox>
  98. </el-checkbox-group>
  99. </el-form-item>
  100. <div class="demo-form-inline newInline">
  101. <el-form-item
  102. label="透析参数核查 : "
  103. :prop="isName('透析参数核查')"
  104. :rules="isCheckmust('透析参数核查')"
  105. >
  106. <el-radio
  107. v-model="doubleReview.dialysis_parameter_check"
  108. label="1"
  109. @change="changeRadioTwo"
  110. >正确</el-radio
  111. >
  112. <!-- <el-radio v-model="doubleReview.dialysis_parameter_check" label="2">错误</el-radio> -->
  113. </el-form-item>
  114. <el-form-item class="newItem" label="差错描述 : " label-width="90px">
  115. <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
  116. </el-form-item>
  117. </div>
  118. <el-form-item class="newCheckBox" style="padding-left: 17px;">
  119. <el-checkbox-group v-model="checkListOne" @change="changeBoxOne">
  120. <el-checkbox :label="dialys_mode"></el-checkbox>
  121. <el-checkbox :label="long_time"></el-checkbox>
  122. <el-checkbox :label="target_ultrafiltration"></el-checkbox>
  123. <el-checkbox :label="prescription_water" v-if="org_id == 10469"></el-checkbox>
  124. <el-checkbox :label="anticoagulant"></el-checkbox>
  125. <el-checkbox :label="anticoagulant_shouji"></el-checkbox>
  126. <el-checkbox :label="anticoagulant_weichi"></el-checkbox>
  127. <el-checkbox :label="anticoagulant_zongliang"></el-checkbox>
  128. <el-checkbox :label="displace_liqui_part"></el-checkbox>
  129. <el-checkbox :label="replacement_total"></el-checkbox>
  130. <el-checkbox :label="blood_flow_volume"></el-checkbox>
  131. <el-checkbox :label="dialysate_flow"></el-checkbox>
  132. <el-checkbox :label="displace_liqui_value"></el-checkbox>
  133. </el-checkbox-group>
  134. </el-form-item>
  135. <div class="demo-form-inline newInline">
  136. <el-form-item
  137. label="血管通路核查 : "
  138. :prop="isName('血管通路核查')"
  139. :rules="isCheckmust('血管通路核查')"
  140. >
  141. <el-radio
  142. v-model="doubleReview.vascular_access_verification"
  143. label="1"
  144. @change="changeRadioThree"
  145. >正确</el-radio
  146. >
  147. <!-- <el-radio v-model="doubleReview.vascular_access_verification" label="2">错误</el-radio> -->
  148. </el-form-item>
  149. <el-form-item class="newItem" label="差错描述 : " label-width="90px">
  150. <el-input v-model="doubleReview.vascular_access_desc"></el-input>
  151. </el-form-item>
  152. </div>
  153. <div class="newCheckBox" style="padding-left: 17px;">
  154. <el-checkbox-group v-model="checkListTwo" @change="changeBoxTwo">
  155. <el-checkbox :label="blood_access_part_opera_id"> </el-checkbox>
  156. <el-checkbox label="动静脉接错"></el-checkbox>
  157. <el-checkbox label="渗血"></el-checkbox>
  158. <el-checkbox label="压迫"></el-checkbox>
  159. <el-checkbox label="折叠"></el-checkbox>
  160. <el-checkbox label="滑脱"></el-checkbox>
  161. </el-checkbox-group>
  162. </div>
  163. <div class="demo-form-inline newInline">
  164. <el-form-item
  165. label="管道连接核查 : "
  166. :prop="isName('管道连接核查')"
  167. :rules="isCheckmust('管道连接核查')"
  168. >
  169. <el-radio
  170. v-model="doubleReview.pipeline_connection_check"
  171. label="1"
  172. @change="changeRadioFour"
  173. >正确</el-radio
  174. >
  175. <!-- <el-radio v-model="doubleReview.pipeline_connection_check" label="2">错误</el-radio> -->
  176. </el-form-item>
  177. <el-form-item class="newItem" label="差错描述 : " label-width="90px">
  178. <el-input v-model="doubleReview.pipeline_connection_desc"></el-input>
  179. </el-form-item>
  180. </div>
  181. <el-form-item style="padding-left: 17px;">
  182. <el-checkbox-group v-model="checkListThree" @change="changeBoxThree">
  183. <el-checkbox label="泵前补液测管未夹"></el-checkbox>
  184. <el-checkbox label="肝素管夹未开启"></el-checkbox>
  185. <el-checkbox label="透析器连接错误"></el-checkbox>
  186. <el-checkbox label="动静脉壶页面不标准"></el-checkbox>
  187. <el-checkbox label="静脉管路未卡入保护夹"></el-checkbox>
  188. <el-checkbox label="压力传感器夹未打开"></el-checkbox>
  189. <el-checkbox label="接口连接松动"></el-checkbox>
  190. <el-checkbox label="管路打折"></el-checkbox>
  191. </el-checkbox-group>
  192. </el-form-item>
  193. <el-form-item
  194. label="第一核对时间:"
  195. :prop="isName('第一核对时间')"
  196. :rules="isCheckmust('第一核对时间')"
  197. >
  198. <el-time-picker
  199. v-model="first_check_time"
  200. format="HH:mm"
  201. value-format="HH:mm"
  202. placeholder="请输入核对时间"
  203. >
  204. </el-time-picker>
  205. </el-form-item>
  206. <el-form-item
  207. label="第一核对人员"
  208. :prop="isName('第一核对人员')"
  209. :rules="isCheckmust('第一核对人员')"
  210. >
  211. <el-select v-model="doubleReview.creater" placeholder="请选择核对人">
  212. <el-option
  213. v-for="(admin, index) in admin_users"
  214. :key="index"
  215. :value="admin.id"
  216. :label="admin.name"
  217. ></el-option>
  218. </el-select>
  219. </el-form-item>
  220. <el-form-item
  221. label="第二核对时间:"
  222. :prop="isName('第二核对时间')"
  223. :rules="isCheckmust('第二核对时间')"
  224. >
  225. <el-time-picker
  226. v-model="check_time"
  227. format="HH:mm"
  228. value-format="HH:mm"
  229. placeholder="请输入核对时间"
  230. >
  231. </el-time-picker>
  232. </el-form-item>
  233. <el-form-item
  234. label="第二核对人员"
  235. :prop="isName('第二核对人员')"
  236. :rules="isCheckmust('第二核对人员')"
  237. >
  238. <el-select v-model="doubleReview.modifier" placeholder="请选择核对人">
  239. <el-option
  240. v-for="(admin, index) in admin_users"
  241. :key="index"
  242. :value="admin.id"
  243. :label="admin.name"
  244. ></el-option>
  245. </el-select>
  246. </el-form-item>
  247. <!-- v-if="isShowFiled('第二核对人员工号')" -->
  248. <el-form-item
  249. label="第二核对人员工号:"
  250. v-if="isShowFiled('第二核对人员工号')"
  251. :prop="isName('第二核对人员工号')"
  252. :rules="isCheckmust('第二核对人员工号')"
  253. label-width="150px"
  254. >
  255. <el-input
  256. style="width: 200px"
  257. v-model="doubleReview.employee_number"
  258. ></el-input>
  259. </el-form-item>
  260. <p
  261. style="margin-left: 13px; margin-top: 10px"
  262. v-if="doubleReview.creater != 0"
  263. >
  264. {{ getFirstCheckDesc() }}
  265. </p>
  266. <p
  267. style="margin-left: 13px; margin-top: 10px"
  268. v-if="doubleReview.modifier != 0"
  269. >
  270. {{ getScondCheckDesc() }}
  271. </p>
  272. </el-form>
  273. <div slot="footer" class="dialog-footer">
  274. <el-button @click="handleCancle">取 消</el-button>
  275. <el-button type="primary" @click="handleComfirm('doubleReview')"
  276. >保 存</el-button
  277. >
  278. </div>
  279. </el-dialog>
  280. <el-dialog
  281. title="提示"
  282. :visible.sync="infoDialogVisible"
  283. width="30%">
  284. <span>
  285. <el-form>
  286. <el-row>
  287. <span>申请日期:</span>
  288. <span>
  289. <el-date-picker
  290. type="datetime"
  291. format="yyyy-MM-dd HH:mm"
  292. value-format="yyyy-MM-dd HH:mm"
  293. placeholder="选择时间"
  294. v-model="selected_date"
  295. ></el-date-picker>
  296. </span>
  297. </el-row>
  298. <el-row>
  299. <span>备注:</span>
  300. <span>
  301. <el-input v-model="remark" style="width:200px"></el-input>
  302. </span>
  303. </el-row>
  304. </el-form>
  305. </span>
  306. <span slot="footer" class="dialog-footer">
  307. <el-button @click="infoDialogVisible = false">取 消</el-button>
  308. <el-button type="primary" @click="saveInformation">确 定</el-button>
  309. </span>
  310. </el-dialog>
  311. </div>
  312. </template>
  313. <script>
  314. import { postDoubleCheck, changeRole,saveInformation } from "@/api/dialysis";
  315. import { uParseTime } from "@/utils/tools";
  316. import { parseTime } from "@/utils";
  317. import { getDataConfig } from "@/utils/data";
  318. import store from "@/store";
  319. export default {
  320. name: "doubleCheckDialog",
  321. data() {
  322. return {
  323. isVisibility: false,
  324. time: "",
  325. isClose: false,
  326. check_time: 0,
  327. first_check_time: 0,
  328. doubleReview: {
  329. dialysis_item_check: "1",
  330. dialysis_parameter_check: "1",
  331. vascular_access_verification: "1",
  332. pipeline_connection_check: "1",
  333. dialysis_item_desc: "",
  334. dialysis_parameter_desc: "",
  335. vascular_access_desc: "",
  336. pipeline_connection_desc: "",
  337. collator: "",
  338. creater: this.$store.getters.xt_user.user.id,
  339. modifier: "",
  340. created_time: 0,
  341. updated_time: 0,
  342. check_time: 0,
  343. first_check_time: 0,
  344. employee_number: "",
  345. dialyzer_batch_number:"",
  346. needle_batch_number:""
  347. },
  348. dialysate_formulation_options: [],
  349. record_date: "",
  350. checkList: [],
  351. checkListOne: [],
  352. checkListTwo: [],
  353. checkListThree: [],
  354. diazes: "透析器/灌流器:",
  355. puncture_needle: "穿刺针:",
  356. dialysate_formulation: "透析液配方:",
  357. kalium: "钾:",
  358. calcium: "钙:",
  359. dialys_mode: "透析模式:",
  360. long_time: "透析时长:",
  361. target_ultrafiltration: "目标超滤量:",
  362. prescription_water:"处方脱水量:",
  363. anticoagulant: "抗凝剂:",
  364. anticoagulant_shouji: "首剂:",
  365. anticoagulant_weichi: "维持:",
  366. anticoagulant_zongliang: "总量:",
  367. displace_liqui_part: "置换液:",
  368. replacement_total: "置换量:",
  369. blood_flow_volume: "处方血流量:",
  370. dialysate_flow: "透析液流量:",
  371. blood_access_part_opera_id: "通路类型:",
  372. displace_liqui_value: "置换液总量:",
  373. job_number: "",
  374. org_id: 0,
  375. infoDialogVisible:false,
  376. selected_date:"",
  377. remark:""
  378. };
  379. },
  380. methods: {
  381. isName(name) {
  382. let filedList = this.$store.getters.xt_user.fileds;
  383. for (let i = 0; i < filedList.length; i++) {
  384. if (filedList[i].module == 8 && filedList[i].filed_name_cn == name) {
  385. return filedList[i].filed_name;
  386. }
  387. }
  388. },
  389. isCheckmust(name) {
  390. let filedList = this.$store.getters.xt_user.fileds;
  391. for (let i = 0; i < filedList.length; i++) {
  392. if (
  393. filedList[i].module == 8 &&
  394. filedList[i].filed_name_cn == name &&
  395. filedList[i].is_write == 1
  396. ) {
  397. // console.log(filedList[i].is_write,'false')
  398. return [
  399. {
  400. required: true,
  401. message: `请输入${name}`,
  402. trigger: ["blur", "change"],
  403. },
  404. ];
  405. }
  406. }
  407. },
  408. isShowFiled(name) {
  409. var filedList = this.$store.getters.xt_user.fileds;
  410. for (let i = 0; i < filedList.length; i++) {
  411. if (
  412. filedList[i].module == 8 &&
  413. filedList[i].filed_name_cn == name &&
  414. filedList[i].is_show == 1
  415. ) {
  416. return true;
  417. }
  418. }
  419. return false;
  420. },
  421. show() {
  422. if(this.admin_users!=null && this.admin_users.length >0){
  423. var arr = []
  424. for(let i=0;i<this.admin_users.length;i++){
  425. if(this.admin_users[i].status == 1){
  426. arr.push(this.admin_users[i])
  427. }
  428. }
  429. this.admin_users = []
  430. this.admin_users.push(...arr)
  431. }
  432. this.isVisibility = true;
  433. if (this.double_check.id > 0) {
  434. this.first_check_time = uParseTime(
  435. this.double_check.first_check_time,
  436. "{y}-{m}-{d} {h}:{i}"
  437. ).split(" ")[1];
  438. if (
  439. this.$store.getters.xt_user.user.id == this.double_check.creater ||
  440. this.double_check.modifier > 0
  441. ) {
  442. if (this.double_check.modifier > 0) {
  443. this.check_time = uParseTime(
  444. this.doubleReview.check_time,
  445. "{y}-{m}-{d} {h}:{i}"
  446. ).split(" ")[1];
  447. }
  448. } else if (
  449. this.$store.getters.xt_user.user.id != this.double_check.creater &&
  450. this.double_check.modifier == 0
  451. ) {
  452. this.check_time = uParseTime(new Date(), "{y}-{m}-{d} {h}:{i}").split(
  453. " "
  454. )[1];
  455. this.doubleReview.modifier = this.$store.getters.xt_user.user.id;
  456. }
  457. if (this.doubleReview.modifier == 0) {
  458. this.doubleReview.modifier = "";
  459. }
  460. } else {
  461. var nowDate = new Date();
  462. var nowHours = nowDate.getHours();
  463. var nowMinutes = nowDate.getMinutes();
  464. // if(this.$store.getters.xt_user.user.id != this.double_check.creater && this.double_check.modifier == 0){
  465. // this.check_time = (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes)
  466. // }
  467. this.first_check_time =
  468. (nowHours < 10 ? "0" + nowHours : nowHours) +
  469. ":" +
  470. (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
  471. }
  472. },
  473. hide() {
  474. this.isVisibility = false;
  475. },
  476. handleCancle: function () {
  477. this.isVisibility = false;
  478. },
  479. handleComfirm(formName) {
  480. console.log(this.doubleReview, "提交参数");
  481. this.$refs[formName].validate((valid) => {
  482. if (valid) {
  483. if (this.patient.id <= 0) {
  484. this.$message.error("没有选择患者");
  485. return;
  486. }
  487. var first_check_time = this.record_date + " " + this.first_check_time;
  488. var check_time = this.record_date + " " + this.check_time;
  489. var first_time = new Date(first_check_time).getTime();
  490. var second_time = new Date(check_time).getTime();
  491. if (first_time >= second_time) {
  492. this.$message.error("第一次核对时间不能大于或者等于第二次核对时间");
  493. return;
  494. }
  495. if (this.doubleReview.creater == this.doubleReview.modifier) {
  496. this.$message.error("第一次核对人不能与第二次核对人相同");
  497. return;
  498. }
  499. let ParamsQuery = this.doubleReview;
  500. ParamsQuery["patient"] = this.patient.id;
  501. ParamsQuery["record_date"] = this.record_date;
  502. if (this.check_time) {
  503. ParamsQuery["check_time"] =
  504. this.record_date + " " + this.check_time;
  505. }
  506. if (this.first_check_time) {
  507. ParamsQuery["first_check_time"] =
  508. this.record_date + " " + this.first_check_time;
  509. }
  510. ParamsQuery["creater"] = this.doubleReview.creater;
  511. ParamsQuery["modifier"] = this.doubleReview.modifier;
  512. ParamsQuery['employee_number'] = this.doubleReview.employee_number
  513. ParamsQuery['dialyzer_batch_number'] = this.doubleReview.dialyzer_batch_number
  514. ParamsQuery['needle_batch_number'] = this.doubleReview.needle_batch_number
  515. console.log(ParamsQuery, "提交参数");
  516. postDoubleCheck(ParamsQuery).then((response) => {
  517. if (response.data.state == 0) {
  518. if(response.data.code == 600000008){
  519. this.infoDialogVisible = true
  520. }
  521. this.$message.error(response.data.msg);
  522. return false;
  523. } else {
  524. this.$notify({
  525. title: "成功",
  526. message: "提交成功",
  527. type: "success",
  528. duration: 2000,
  529. });
  530. this.doubleReview.creater =
  531. response.data.data.doubleCheck.creater;
  532. this.doubleReview.check_time =
  533. response.data.data.doubleCheck.check_time;
  534. this.doubleReview.first_check_time =
  535. response.data.data.doubleCheck.first_check_time;
  536. this.doubleReview.modifier =
  537. response.data.data.doubleCheck.modifier;
  538. this.first_check_time = uParseTime(
  539. this.doubleReview.first_check_time,
  540. "{y}-{m}-{d} {h}:{i}"
  541. ).split(" ")[1];
  542. let doublecheck_resp = response.data.data.doubleCheck;
  543. var doubleCheck = this.double_check;
  544. for (var index in doublecheck_resp) {
  545. this.$set(doubleCheck, index, doublecheck_resp[index]);
  546. }
  547. this.hide();
  548. }
  549. });
  550. } else {
  551. console.log("error submit!!");
  552. return false;
  553. }
  554. });
  555. },
  556. getFirstCheckDesc: function () {
  557. if (this.double_check.creater > 0) {
  558. if (
  559. this.doubleReview.first_check_time > 0 &&
  560. this.doubleReview.check_time > 0
  561. ) {
  562. if (
  563. this.doubleReview.first_check_time < this.doubleReview.check_time
  564. ) {
  565. let time = uParseTime(
  566. this.doubleReview.first_check_time,
  567. "{y}-{m}-{d} {h}:{i}:{s}"
  568. );
  569. if (this.doubleReview.creater <= 0) {
  570. return "";
  571. }
  572. var desc = "";
  573. if (
  574. this.admin_users == null ||
  575. typeof this.admin_users.length == "undefined"
  576. ) {
  577. return "";
  578. }
  579. var leng = this.admin_users.length;
  580. if (leng == 0) {
  581. return "";
  582. }
  583. for (let index = 0; index < leng; index++) {
  584. if (this.admin_users[index].id == this.doubleReview.creater) {
  585. let name = this.admin_users[index].name;
  586. desc = "第一核对人员:" + name + " 第一核对时间:" + time;
  587. break;
  588. }
  589. }
  590. return desc;
  591. } else {
  592. let time = uParseTime(
  593. this.doubleReview.check_time,
  594. "{y}-{m}-{d} {h}:{i}:{s}"
  595. );
  596. if (this.doubleReview.modifier <= 0) {
  597. return "";
  598. }
  599. var desc = "";
  600. if (
  601. this.admin_users == null ||
  602. typeof this.admin_users.length == "undefined"
  603. ) {
  604. return "";
  605. }
  606. var leng = this.admin_users.length;
  607. if (leng == 0) {
  608. return "";
  609. }
  610. for (let index = 0; index < leng; index++) {
  611. if (this.admin_users[index].id == this.doubleReview.modifier) {
  612. let name = this.admin_users[index].name;
  613. desc = "第一核对人员:" + name + " 第一核对时间:" + time;
  614. break;
  615. }
  616. }
  617. return desc;
  618. }
  619. } else {
  620. let time = uParseTime(
  621. this.doubleReview.first_check_time,
  622. "{y}-{m}-{d} {h}:{i}:{s}"
  623. );
  624. if (this.doubleReview.creater <= 0) {
  625. return "";
  626. }
  627. var desc = "";
  628. if (
  629. this.admin_users == null ||
  630. typeof this.admin_users.length == "undefined"
  631. ) {
  632. return "";
  633. }
  634. var leng = this.admin_users.length;
  635. if (leng == 0) {
  636. return "";
  637. }
  638. for (let index = 0; index < leng; index++) {
  639. if (this.admin_users[index].id == this.doubleReview.creater) {
  640. let name = this.admin_users[index].name;
  641. desc = "第一核对人员:" + name + " 第一核对时间:" + time;
  642. break;
  643. }
  644. }
  645. return desc;
  646. }
  647. }
  648. },
  649. getScondCheckDesc: function () {
  650. if (this.double_check.modifier > 0) {
  651. if (
  652. this.doubleReview.first_check_time > 0 &&
  653. this.doubleReview.check_time > 0
  654. ) {
  655. if (
  656. this.doubleReview.first_check_time < this.doubleReview.check_time
  657. ) {
  658. let time = uParseTime(
  659. this.doubleReview.check_time,
  660. "{y}-{m}-{d} {h}:{i}:{s}"
  661. );
  662. if (this.doubleReview.modifier <= 0) {
  663. return "";
  664. }
  665. var desc = "";
  666. if (
  667. this.admin_users == null ||
  668. typeof this.admin_users.length == "undefined"
  669. ) {
  670. return desc;
  671. }
  672. var leng = this.admin_users.length;
  673. if (leng == 0) {
  674. return desc;
  675. }
  676. for (let index = 0; index < leng; index++) {
  677. if (this.admin_users[index].id == this.doubleReview.modifier) {
  678. let name = this.admin_users[index].name;
  679. desc = "第二核对人员:" + name + " 第二核对时间:" + time;
  680. break;
  681. }
  682. }
  683. return desc;
  684. } else {
  685. let time = uParseTime(
  686. this.doubleReview.first_check_time,
  687. "{y}-{m}-{d} {h}:{i}:{s}"
  688. );
  689. if (this.doubleReview.creater <= 0) {
  690. return "";
  691. }
  692. var desc = "";
  693. if (
  694. this.admin_users == null ||
  695. typeof this.admin_users.length == "undefined"
  696. ) {
  697. return desc;
  698. }
  699. var leng = this.admin_users.length;
  700. if (leng == 0) {
  701. return desc;
  702. }
  703. for (let index = 0; index < leng; index++) {
  704. if (this.admin_users[index].id == this.doubleReview.creater) {
  705. let name = this.admin_users[index].name;
  706. desc = "第二核对人员:" + name + " 第二核对时间:" + time;
  707. break;
  708. }
  709. }
  710. return desc;
  711. }
  712. } else {
  713. let time = uParseTime(
  714. this.doubleReview.check_time,
  715. "{y}-{m}-{d} {h}:{i}:{s}"
  716. );
  717. if (this.doubleReview.modifier <= 0) {
  718. return "";
  719. }
  720. var desc = "";
  721. if (
  722. this.admin_users == null ||
  723. typeof this.admin_users.length == "undefined"
  724. ) {
  725. return desc;
  726. }
  727. var leng = this.admin_users.length;
  728. if (leng == 0) {
  729. return desc;
  730. }
  731. for (let index = 0; index < leng; index++) {
  732. if (this.admin_users[index].id == this.doubleReview.modifier) {
  733. let name = this.admin_users[index].name;
  734. desc = "第二核对人员:" + name + " 第二核对时间:" + time;
  735. break;
  736. }
  737. }
  738. return desc;
  739. }
  740. }
  741. },
  742. changeBox(val) {
  743. var arr = [];
  744. var str = val.join(";");
  745. if (str.indexOf("透析器/灌流器") != -1 && this.prescription != null) {
  746. arr.push(
  747. "透析器/灌流器:" +
  748. (this.prescription.dialyzer_perfusion_apparatus
  749. ? this.prescription.dialyzer_perfusion_apparatus
  750. : "")
  751. );
  752. }
  753. if (str.indexOf("透析器/灌流器") != -1 && this.prescription == null) {
  754. arr.push("透析器/灌流器:");
  755. }
  756. if (str.indexOf("穿刺针") != -1 && this.predialysis_evaluation.id != 0) {
  757. arr.push("穿刺针:" + this.predialysis_evaluation.puncture_needle);
  758. }
  759. if (str.indexOf("穿刺针") != -1 && this.predialysis_evaluation.id == 0) {
  760. arr.push("穿刺针:");
  761. }
  762. if (str.indexOf("透析液配方") != -1 && this.prescription != null) {
  763. arr.push(
  764. "透析液配方:" +
  765. this.GetDialysateFormulationById(
  766. this.prescription.dialysate_formulation
  767. )
  768. );
  769. }
  770. if (str.indexOf("透析液配方") != -1 && this.prescription == null) {
  771. arr.push("透析液配方:");
  772. }
  773. if (str.indexOf("钾") != -1 && this.prescription != null) {
  774. arr.push(
  775. "钾:" + (this.prescription.kalium ? this.prescription.kalium : "")
  776. );
  777. }
  778. if (str.indexOf("钾") != -1 && this.prescription == null) {
  779. arr.push("钾:");
  780. }
  781. if (str.indexOf("钙") != -1 && this.prescription != null) {
  782. arr.push(
  783. "钙:" + (this.prescription.calcium ? this.prescription.calcium : "")
  784. );
  785. }
  786. if (str.indexOf("钙") != -1 && this.prescription == null) {
  787. arr.push("钙:");
  788. }
  789. this.doubleReview.dialysis_item_desc = arr.join(";");
  790. if (val.length > 0) {
  791. this.doubleReview.dialysis_item_check = 2;
  792. } else {
  793. this.doubleReview.dialysis_item_check = "1";
  794. }
  795. },
  796. changeBoxOne(val) {
  797. var arr = [];
  798. var str = val.join(";");
  799. if (str.indexOf("透析模式") != -1 && this.prescription != null) {
  800. arr.push(
  801. "透析模式:" +
  802. (this.getMode(this.prescription.mode_id)
  803. ? this.getMode(this.prescription.mode_id)
  804. : "")
  805. );
  806. }
  807. if (str.indexOf("透析模式") != -1 && this.prescription == null) {
  808. arr.push("透析模式:");
  809. }
  810. if (str.indexOf("透析时长") != -1 && this.prescription != null) {
  811. arr.push(
  812. "透析时长:" +
  813. (this.prescription.dialysis_duration_hour
  814. ? this.prescription.dialysis_duration_hour
  815. : "") +
  816. "小时" +
  817. this.prescription.dialysis_duration_minute +
  818. "分"
  819. );
  820. }
  821. if (str.indexOf("透析时长") != -1 && this.prescription == null) {
  822. arr.push("透析时长:");
  823. }
  824. if (str.indexOf("目标超滤量") != -1 && this.prescription != null) {
  825. arr.push(
  826. "目标超滤量:" +
  827. (this.prescription.target_ultrafiltration
  828. ? this.prescription.target_ultrafiltration
  829. : "")
  830. );
  831. }
  832. if (str.indexOf("目标超滤量") != -1 && this.prescription == null) {
  833. arr.push("目标超滤量:");
  834. }
  835. if (str.indexOf("处方脱水量") != -1 && this.prescription == null) {
  836. arr.push("处方脱水量:");
  837. }
  838. if (str.indexOf("处方脱水量") != -1 && this.prescription != null) {
  839. arr.push(
  840. "处方脱水量:" +
  841. (this.prescription.prescription_water
  842. ? this.prescription.prescription_water
  843. : "")
  844. );
  845. }
  846. if (str.indexOf("处方脱水量") != -1 && this.prescription == null) {
  847. arr.push("处方脱水量:");
  848. }
  849. if (str.indexOf("抗凝剂") != -1 && this.prescription != null) {
  850. arr.push(
  851. "抗凝剂:" +
  852. (this.prescription.anticoagulant
  853. ? this.prescription.anticoagulant
  854. : "")
  855. );
  856. }
  857. if (str.indexOf("抗凝剂") != -1 && this.prescription == null) {
  858. arr.push("抗凝剂:");
  859. }
  860. if (str.indexOf("首剂") != -1 && this.prescription != null) {
  861. arr.push(
  862. "首剂:" +
  863. (this.prescription.anticoagulant_shouji
  864. ? this.prescription.anticoagulant_shouji
  865. : "")
  866. );
  867. }
  868. if (str.indexOf("首剂") != -1 && this.prescription == null) {
  869. arr.push("首剂:");
  870. }
  871. if (str.indexOf("维持") != -1 && this.prescription != null) {
  872. arr.push(
  873. "维持:" +
  874. (this.prescription.anticoagulant_weichi
  875. ? this.prescription.anticoagulant_weichi
  876. : "")
  877. );
  878. }
  879. if (str.indexOf("维持") != -1 && this.prescription == null) {
  880. arr.push("维持:");
  881. }
  882. if (str.indexOf("总量") != -1 && this.prescription != null) {
  883. arr.push(
  884. "总量:" +
  885. (this.prescription.anticoagulant_zongliang
  886. ? this.prescription.anticoagulant_zongliang
  887. : "")
  888. );
  889. }
  890. if (str.indexOf("总量") != -1 && this.prescription == null) {
  891. arr.push("总量:");
  892. }
  893. if (str.indexOf("置换液") != -1 && this.prescription != null) {
  894. arr.push(
  895. "置换液:" +
  896. (this.getDisplace(this.prescription.displace_liqui_part)
  897. ? this.getDisplace(this.prescription.displace_liqui_part)
  898. : "")
  899. );
  900. }
  901. if (str.indexOf("置换液") != -1 && this.prescription == null) {
  902. arr.push("置换液:");
  903. }
  904. if (str.indexOf("置换量") != -1 && this.prescription != null) {
  905. arr.push(
  906. "置换量:" +
  907. (this.prescription.replacement_total
  908. ? this.prescription.replacement_total
  909. : "")
  910. );
  911. }
  912. if (str.indexOf("置换量") != -1 && this.prescription == null) {
  913. arr.push("置换量:");
  914. }
  915. if (str.indexOf("处方血流量") != -1 && this.prescription != null) {
  916. arr.push(
  917. "处方血流量:" +
  918. (this.prescription.blood_flow_volume
  919. ? this.prescription.blood_flow_volume
  920. : "")
  921. );
  922. }
  923. if (str.indexOf("处方血流量") != -1 && this.prescription == null) {
  924. arr.push("处方血流量:");
  925. }
  926. if (str.indexOf("透析液流量") != -1 && this.prescription != null) {
  927. arr.push(
  928. "透析液流量:" +
  929. (this.prescription.dialysate_flow
  930. ? this.prescription.dialysate_flow
  931. : "")
  932. );
  933. }
  934. if (str.indexOf("透析液流量") != -1 && this.prescription == null) {
  935. arr.push("透析液流量:");
  936. }
  937. if (str.indexOf("置换液总量") != -1 && this.prescription != null) {
  938. arr.push(
  939. "置换液总量:" +
  940. (this.prescription.displace_liqui_value
  941. ? this.prescription.displace_liqui_value
  942. : "")
  943. );
  944. }
  945. if (str.indexOf("置换液总量") != -1 && this.prescription == null) {
  946. arr.push("置换液总量:");
  947. }
  948. this.doubleReview.dialysis_parameter_desc = arr.join(";");
  949. if (val.length > 0) {
  950. this.doubleReview.dialysis_parameter_check = 2;
  951. } else {
  952. this.doubleReview.dialysis_parameter_check = "1";
  953. }
  954. },
  955. changeBoxTwo(val) {
  956. var arr = [];
  957. var str = val.join(";");
  958. if (
  959. str.indexOf("通路类型") != -1 &&
  960. this.predialysis_evaluation.id != 0
  961. ) {
  962. arr.push(
  963. "通路类型:" +
  964. this.getBloodAccess(
  965. this.predialysis_evaluation.blood_access_part_opera_id
  966. )
  967. );
  968. }
  969. if (
  970. str.indexOf("通路类型") != -1 &&
  971. this.predialysis_evaluation.id == 0
  972. ) {
  973. arr.push("通路类型:");
  974. }
  975. if (str.indexOf("动静脉接错") != -1) {
  976. arr.push("动静脉接错:");
  977. }
  978. if (str.indexOf("渗血") != -1) {
  979. arr.push("渗血:");
  980. }
  981. if (str.indexOf("压迫") != -1) {
  982. arr.push("压迫:");
  983. }
  984. if (str.indexOf("折叠") != -1) {
  985. arr.push("折叠:");
  986. }
  987. if (str.indexOf("滑脱") != -1) {
  988. arr.push("滑脱:");
  989. }
  990. this.doubleReview.vascular_access_desc = arr.join(";");
  991. if (val.length > 0) {
  992. this.doubleReview.vascular_access_verification = 2;
  993. } else {
  994. this.doubleReview.vascular_access_verification = "1";
  995. }
  996. },
  997. changeBoxThree(val) {
  998. var arr = [];
  999. var str = val.join(";");
  1000. if (str.indexOf("泵前补液测管未夹") != -1) {
  1001. arr.push("泵前补液测管未夹:");
  1002. }
  1003. if (str.indexOf("肝素管夹未开启") != -1) {
  1004. arr.push("肝素管夹未开启:");
  1005. }
  1006. if (str.indexOf("透析器连接错误") != -1) {
  1007. arr.push("透析器连接错误:");
  1008. }
  1009. if (str.indexOf("动静脉壶页面不标准") != -1) {
  1010. arr.push("动静脉壶页面不标准:");
  1011. }
  1012. if (str.indexOf("静脉管路未卡入保护夹") != -1) {
  1013. arr.push("静脉管路未卡入保护夹:");
  1014. }
  1015. if (str.indexOf("压力传感器夹未打开") != -1) {
  1016. arr.push("压力传感器夹未打开");
  1017. }
  1018. if (str.indexOf("接口连接松动") != -1) {
  1019. arr.push("接口连接松动");
  1020. }
  1021. if (str.indexOf("管路打折") != -1) {
  1022. arr.push("管路打折");
  1023. }
  1024. this.doubleReview.pipeline_connection_desc = arr.join(";");
  1025. if (val.length > 0) {
  1026. this.doubleReview.pipeline_connection_check = 2;
  1027. } else {
  1028. this.doubleReview.pipeline_connection_check = "1";
  1029. }
  1030. },
  1031. changeRadio(val) {
  1032. if (val == 1) {
  1033. this.doubleReview.dialysis_item_desc = "";
  1034. this.checkList = [];
  1035. }
  1036. },
  1037. changeRadioTwo(val) {
  1038. if (val == 1) {
  1039. this.doubleReview.dialysis_parameter_desc = "";
  1040. this.checkListOne = [];
  1041. }
  1042. },
  1043. changeRadioThree(val) {
  1044. if (val == 1) {
  1045. this.doubleReview.vascular_access_desc = "";
  1046. this.checkListTwo = [];
  1047. }
  1048. },
  1049. changeRadioFour(val) {
  1050. if (val == 1) {
  1051. this.doubleReview.pipeline_connection_desc = "";
  1052. this.checkListThree = [];
  1053. }
  1054. },
  1055. GetDialysateFormulationById(val) {
  1056. this.dialysate_formulation_options = getDataConfig(
  1057. "hemodialysis",
  1058. "dialysate_formulation"
  1059. );
  1060. let name = "";
  1061. let dfl = this.dialysate_formulation_options.length;
  1062. for (let index = 0; index < dfl; index++) {
  1063. if (this.dialysate_formulation_options[index].id == val) {
  1064. name = this.dialysate_formulation_options[index].name;
  1065. break;
  1066. }
  1067. }
  1068. return name;
  1069. },
  1070. getMode(id) {
  1071. var name = "";
  1072. if (id == 1) {
  1073. name = "HD";
  1074. }
  1075. if (id == 2) {
  1076. name = "HDF";
  1077. }
  1078. if (id == 3) {
  1079. name = "HD+HP";
  1080. }
  1081. if (id == 4) {
  1082. name = "HP";
  1083. }
  1084. if (id == 5) {
  1085. name = "HF";
  1086. }
  1087. if (id == 6) {
  1088. name = "SCUF";
  1089. }
  1090. if (id == 7) {
  1091. name = "IUF";
  1092. }
  1093. if (id == 8) {
  1094. name = "HFHD";
  1095. }
  1096. if (id == 9) {
  1097. name = "HFHD+HP";
  1098. }
  1099. if (id == 10) {
  1100. name = "PHF";
  1101. }
  1102. if (id == 11) {
  1103. name = "HFR";
  1104. }
  1105. if (id == 12) {
  1106. name = "HDF+HP";
  1107. }
  1108. if (id == 13) {
  1109. name = "CRRT";
  1110. }
  1111. if (id == 14) {
  1112. name = "腹水回输";
  1113. }
  1114. if (id == 19) {
  1115. name = "IUF+HD";
  1116. }
  1117. if (id == 20) {
  1118. name = "UF";
  1119. }
  1120. if (id == 21) {
  1121. name = "HD+";
  1122. }
  1123. if (id == 22) {
  1124. name = "血浆胆红素吸附+HDF";
  1125. }
  1126. if (id == 23) {
  1127. name = "血浆胆红素吸附";
  1128. }
  1129. if (id == 24) {
  1130. name = "I-HDF";
  1131. }
  1132. if (id == 25) {
  1133. name = "HD高通";
  1134. }
  1135. if (id == 26) {
  1136. name = "CVVH";
  1137. }
  1138. if (id == 27) {
  1139. name = "CVVHD";
  1140. }
  1141. if (id == 28) {
  1142. name = "CVVHDF";
  1143. }
  1144. if (id == 29) {
  1145. name = "PE";
  1146. }
  1147. return name;
  1148. },
  1149. getAnticoagulant(id) {
  1150. var name = "";
  1151. if (id == 1) {
  1152. name = "无肝素";
  1153. }
  1154. if (id == 2) {
  1155. name = "普通肝素";
  1156. }
  1157. if (id == 3) {
  1158. name = "低分子肝素";
  1159. }
  1160. if (id == 4) {
  1161. name = "阿加曲班";
  1162. }
  1163. if (id == 5) {
  1164. name = "枸橼酸钠";
  1165. }
  1166. if (id == 6) {
  1167. name = "低分子肝素钙";
  1168. }
  1169. if (id == 7) {
  1170. name = "低分子肝素钠";
  1171. }
  1172. return name;
  1173. },
  1174. getBloodAccess(id) {
  1175. let vascular_access_desc = getDataConfig(
  1176. "hemodialysis",
  1177. "vascular_access_desc"
  1178. );
  1179. var name = "";
  1180. for (let i = 0; i < vascular_access_desc.length; i++) {
  1181. if (vascular_access_desc[i].id == id) {
  1182. name = vascular_access_desc[i].name;
  1183. }
  1184. }
  1185. return name;
  1186. },
  1187. getDisplace(id) {
  1188. var name = "";
  1189. var arr = this.$store.getters.displace_liqui;
  1190. for (let i = 0; i < arr.length; i++) {
  1191. if (id == arr[i].id) {
  1192. name = arr[i].name;
  1193. }
  1194. }
  1195. return name;
  1196. },
  1197. changeRole(admin_user_id) {
  1198. var params = {
  1199. admin_user_id: admin_user_id,
  1200. };
  1201. changeRole(params).then((response) => {
  1202. if (response.data.state == 1) {
  1203. var role = response.data.data.adminRole;
  1204. this.job_number = role.job_number;
  1205. }
  1206. });
  1207. },
  1208. },
  1209. props: {
  1210. admin_users: {
  1211. //系统用户列表
  1212. type: Array,
  1213. default: () => {
  1214. return [];
  1215. },
  1216. },
  1217. double_check: {
  1218. // 双人核对
  1219. type: Object,
  1220. default: () => {
  1221. return { id: 0 };
  1222. },
  1223. },
  1224. patient: {
  1225. // 患者信息
  1226. type: Object,
  1227. default: () => {
  1228. return { id: 0 };
  1229. },
  1230. },
  1231. predialysis_evaluation: {
  1232. // 透前评估
  1233. type: Object,
  1234. default: () => {
  1235. return { id: 0 };
  1236. },
  1237. },
  1238. prescription: {
  1239. // 透析处方
  1240. type: Object,
  1241. default: () => {
  1242. return { id: 0 };
  1243. },
  1244. },
  1245. },
  1246. watch: {
  1247. isVisibility(val) {
  1248. console.log("presciption23233223322323",this.prescription)
  1249. if(this.prescription != null && this.prescription.id == 0){
  1250. if(this.org_id == 10440 || this.org_id == 0){
  1251. this.diazes = "透析器/灌流器:" + " " + "批号:";
  1252. }
  1253. }
  1254. if (this.prescription != null && this.prescription.id != 0) {
  1255. if (this.prescription.dialyzer_perfusion_apparatus != "" ||this.prescription.dialysis_dialyszers != "" || this.prescription.dialysis_irrigation != "") {
  1256. if(this.org_id == 10440 || this.org_id == 0){
  1257. this.diazes = "透析器/灌流器:";
  1258. this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus;
  1259. this.diazes = this.diazes + this.prescription.dialysis_dialyszers + this.prescription.dialysis_irrigation + " " +"批号:"+ " ";
  1260. console.log("hhahahahhahahahawowoowowowowo--------",this.diazes)
  1261. }
  1262. if(this.org_id!=0 && this.org_id!=10440){
  1263. this.diazes = "透析器/灌流器:";
  1264. this.diazes =
  1265. this.diazes + this.prescription.dialyzer_perfusion_apparatus;
  1266. this.diazes =
  1267. this.diazes +
  1268. this.prescription.dialysis_dialyszers +
  1269. this.prescription.dialysis_irrigation
  1270. }
  1271. } else {
  1272. if(this.org_id == 10440 || this.org_id == 0){
  1273. this.diazes = "";
  1274. this.diazes = this.diazes + " " +"批号:"+ " ";
  1275. }
  1276. if(this.org_id!=0 && this.org_id!=10440){
  1277. this.diazes = "";
  1278. this.diazes = this.diazes;
  1279. }
  1280. }
  1281. if (this.prescription.dialysate_formulation != "") {
  1282. this.dialysate_formulation = "透析液配方:";
  1283. this.dialysate_formulation =
  1284. this.dialysate_formulation +
  1285. this.GetDialysateFormulationById(
  1286. this.prescription.dialysate_formulation
  1287. );
  1288. } else {
  1289. this.dialysate_formulation = this.dialysate_formulation;
  1290. }
  1291. if (this.prescription.kalium != "") {
  1292. this.kalium = "钾:";
  1293. this.kalium =
  1294. this.kalium +
  1295. (this.prescription.kalium ? this.prescription.kalium : "");
  1296. } else {
  1297. this.kalium = this.kalium;
  1298. }
  1299. if (this.prescription.calcium != "") {
  1300. this.calcium = "钙:";
  1301. this.calcium =
  1302. this.calcium +
  1303. (this.prescription.calcium ? this.prescription.calcium : "");
  1304. } else {
  1305. this.calcium = this.calcium;
  1306. }
  1307. if (this.prescription.mode_id > 0) {
  1308. this.dialys_mode = "透析模式:";
  1309. this.dialys_mode =
  1310. this.dialys_mode + this.getMode(this.prescription.mode_id);
  1311. } else {
  1312. this.dialys_mode = this.dialys_mode;
  1313. }
  1314. if (
  1315. this.prescription.dialysis_duration_hour != "" ||
  1316. this.prescription.dialysis_duration_minute != ""
  1317. ) {
  1318. this.long_time = "透析时长:";
  1319. this.long_time =
  1320. this.long_time +
  1321. (this.prescription.dialysis_duration_hour
  1322. ? this.prescription.dialysis_duration_hour
  1323. : "") +
  1324. "小时" +
  1325. (this.prescription.dialysis_duration_minute
  1326. ? this.prescription.dialysis_duration_minute
  1327. : "") +
  1328. "分";
  1329. } else {
  1330. this.long_time = this.long_time;
  1331. }
  1332. if (this.prescription.target_ultrafiltration != "") {
  1333. this.target_ultrafiltration = "目标超滤量:";
  1334. this.target_ultrafiltration =
  1335. this.target_ultrafiltration +
  1336. (this.prescription.target_ultrafiltration
  1337. ? this.prescription.target_ultrafiltration
  1338. : "");
  1339. } else {
  1340. this.target_ultrafiltration = this.target_ultrafiltration;
  1341. }
  1342. if (this.prescription.prescription_water != "") {
  1343. this.prescription_water = "处方脱水量:";
  1344. this.prescription_water =
  1345. this.prescription_water +
  1346. (this.prescription.prescription_water
  1347. ? this.prescription.prescription_water
  1348. : "");
  1349. } else {
  1350. this.prescription_water = this.prescription_water;
  1351. }
  1352. if (this.prescription.anticoagulant != "") {
  1353. this.anticoagulant = "抗凝剂:";
  1354. this.anticoagulant =
  1355. this.anticoagulant +
  1356. (this.getAnticoagulant(this.prescription.anticoagulant)
  1357. ? this.getAnticoagulant(this.prescription.anticoagulant)
  1358. : "");
  1359. } else {
  1360. this.anticoagulant = this.anticoagulant;
  1361. }
  1362. if (this.prescription.anticoagulant_shouji != "") {
  1363. this.anticoagulant_shouji = "首剂:";
  1364. this.anticoagulant_shouji =
  1365. this.anticoagulant_shouji +
  1366. (this.prescription.anticoagulant_shouji
  1367. ? this.prescription.anticoagulant_shouji
  1368. : "");
  1369. } else {
  1370. this.anticoagulant_shouji = this.anticoagulant_shouji;
  1371. }
  1372. if (this.prescription.anticoagulant_weichi != "") {
  1373. this.anticoagulant_weichi = "维持:";
  1374. this.anticoagulant_weichi =
  1375. this.anticoagulant_weichi +
  1376. (this.prescription.anticoagulant_weichi
  1377. ? this.prescription.anticoagulant_weichi
  1378. : "");
  1379. } else {
  1380. this.anticoagulant_weichi = this.anticoagulant_weichi;
  1381. }
  1382. if (this.prescription.anticoagulant_zongliang != "") {
  1383. this.anticoagulant_zongliang = "总量:";
  1384. this.anticoagulant_zongliang =
  1385. this.anticoagulant_zongliang +
  1386. (this.prescription.anticoagulant_zongliang
  1387. ? this.prescription.anticoagulant_zongliang
  1388. : "");
  1389. } else {
  1390. this.anticoagulant_zongliang = this.anticoagulant_zongliang;
  1391. }
  1392. if (this.prescription.displace_liqui_part != "") {
  1393. this.displace_liqui_part = "置换液:";
  1394. this.displace_liqui_part =
  1395. this.displace_liqui_part +
  1396. (this.getDisplace(this.prescription.displace_liqui_part)
  1397. ? this.getDisplace(this.prescription.displace_liqui_part)
  1398. : "");
  1399. } else {
  1400. this.displace_liqui_part = this.getDisplace(this.displace_liqui_part);
  1401. }
  1402. if (this.prescription.replacement_total != "") {
  1403. this.replacement_total = "置换量:";
  1404. this.replacement_total =
  1405. this.replacement_total +
  1406. (this.prescription.replacement_total
  1407. ? this.prescription.replacement_total
  1408. : "");
  1409. } else {
  1410. this.replacement_total = this.replacement_total;
  1411. }
  1412. if (this.prescription.dialysate_flow != "") {
  1413. this.dialysate_flow = "透析液流量:";
  1414. this.dialysate_flow =
  1415. this.dialysate_flow +
  1416. (this.prescription.dialysate_flow
  1417. ? this.prescription.dialysate_flow
  1418. : "");
  1419. } else {
  1420. this.dialysate_flow = this.dialysate_flow;
  1421. }
  1422. if (this.prescription.displace_liqui_value != "") {
  1423. this.displace_liqui_value = "置换液总量:";
  1424. this.displace_liqui_value =
  1425. this.displace_liqui_value + this.prescription.displace_liqui_value;
  1426. }
  1427. }
  1428. if (this.predialysis_evaluation != null &&this.predialysis_evaluation.id != 0) {
  1429. if(this.org_id == 0 || this.org_id == 10440){
  1430. this.puncture_needle = "穿刺针:";
  1431. this.puncture_needle =this.puncture_needle + this.predialysis_evaluation.puncture_needle+ " " + "批号:" + " ";
  1432. this.blood_access_part_opera_id =
  1433. this.blood_access_part_opera_id +
  1434. this.getBloodAccess(
  1435. this.predialysis_evaluation.blood_access_part_opera_id
  1436. );
  1437. }
  1438. if(this.org_id !=0 && this.org_id!=10440){
  1439. this.puncture_needle = "穿刺针:";
  1440. this.puncture_needle =
  1441. this.puncture_needle + this.predialysis_evaluation.puncture_needle
  1442. this.blood_access_part_opera_id =
  1443. this.blood_access_part_opera_id +
  1444. this.getBloodAccess(
  1445. this.predialysis_evaluation.blood_access_part_opera_id
  1446. );
  1447. }
  1448. }
  1449. if(this.predialysis_evaluation != null &&this.predialysis_evaluation.id == 0){
  1450. this.puncture_needle = "穿刺针:" + " "+ "批号:"
  1451. }
  1452. if (this.double_check != null && this.double_check.id != 0) {
  1453. if (
  1454. this.double_check.dialysis_item_desc.indexOf("透析器/灌流器") != -1
  1455. ) {
  1456. this.checkList.push(
  1457. "透析器/灌流器:" + this.prescription.dialyzer_perfusion_apparatus
  1458. );
  1459. }
  1460. if (this.double_check.dialysis_item_desc.indexOf("穿刺针") != -1) {
  1461. this.checkList.push(
  1462. "穿刺针:" +
  1463. (this.predialysis_evaluation.puncture_needle
  1464. ? this.predialysis_evaluation.puncture_needle
  1465. : "")
  1466. );
  1467. }
  1468. if (this.double_check.dialysis_item_desc.indexOf("透析液配方:") != -1) {
  1469. this.checkList.push(
  1470. "透析液配方:" +
  1471. this.GetDialysateFormulationById(
  1472. this.prescription.dialysate_formulation
  1473. )
  1474. );
  1475. }
  1476. if (this.double_check.dialysis_item_desc.indexOf("钾:") != -1) {
  1477. this.checkList.push(
  1478. "钾:" + (this.prescription.kalium ? this.prescription.kalium : "")
  1479. );
  1480. }
  1481. if (this.double_check.dialysis_item_desc.indexOf("钙:") != -1) {
  1482. this.checkList.push(
  1483. "钙:" + (this.prescription.calcium ? this.prescription.calcium : "")
  1484. );
  1485. }
  1486. if (
  1487. this.double_check.dialysis_parameter_desc.indexOf("透析模式:") != -1
  1488. ) {
  1489. this.checkListOne.push(
  1490. "透析模式:" + this.getMode(this.prescription.mode_id)
  1491. );
  1492. }
  1493. if (
  1494. this.double_check.dialysis_parameter_desc.indexOf("透析时长") != -1
  1495. ) {
  1496. this.checkListOne.push(
  1497. "透析时长:" +
  1498. (this.prescription.dialysis_duration_hour
  1499. ? this.prescription.dialysis_duration_hour
  1500. : "")
  1501. );
  1502. }
  1503. if (
  1504. this.double_check.dialysis_parameter_desc.indexOf("目标超滤量") != -1
  1505. ) {
  1506. this.checkListOne.push(
  1507. "目标超滤量:" +
  1508. (this.prescription.target_ultrafiltration
  1509. ? this.prescription.target_ultrafiltration
  1510. : "")
  1511. );
  1512. }
  1513. if (
  1514. this.double_check.dialysis_parameter_desc.indexOf("处方脱水量") != -1
  1515. ) {
  1516. this.checkListOne.push(
  1517. "处方脱水量:" +
  1518. (this.prescription.prescription_water
  1519. ? this.prescription.prescription_water
  1520. : "")
  1521. );
  1522. }
  1523. if (this.double_check.dialysis_parameter_desc.indexOf("抗凝剂") != -1) {
  1524. this.checkListOne.push(
  1525. "抗凝剂:" +
  1526. this.getAnticoagulant(
  1527. this.prescription.anticoagulant
  1528. ? this.prescription.anticoagulant
  1529. : ""
  1530. )
  1531. );
  1532. }
  1533. if (this.double_check.dialysis_parameter_desc.indexOf("首剂") != -1) {
  1534. this.checkListOne.push(
  1535. "首剂:" +
  1536. (this.prescription.anticoagulant_shouji
  1537. ? this.prescription.anticoagulant_shouji
  1538. : "")
  1539. );
  1540. }
  1541. if (this.double_check.dialysis_parameter_desc.indexOf("维持") != -1) {
  1542. this.checkListOne.push(
  1543. "维持:" +
  1544. (this.prescription.anticoagulant_weichi
  1545. ? this.prescription.anticoagulant_weichi
  1546. : "")
  1547. );
  1548. }
  1549. if (this.double_check.dialysis_parameter_desc.indexOf("总量") != -1) {
  1550. this.checkListOne.push(
  1551. "总量:" +
  1552. (this.prescription.anticoagulant_zongliang
  1553. ? this.prescription.anticoagulant_zongliang
  1554. : "")
  1555. );
  1556. }
  1557. if (this.double_check.dialysis_parameter_desc.indexOf("置换液") != -1) {
  1558. this.checkListOne.push(
  1559. "置换液:" +
  1560. (this.getDisplace(this.prescription.displace_liqui_part)
  1561. ? this.getDisplace(this.prescription.displace_liqui_part)
  1562. : "")
  1563. );
  1564. }
  1565. if (this.double_check.dialysis_parameter_desc.indexOf("置换量") != -1) {
  1566. this.checkListOne.push(
  1567. "置换量:" +
  1568. (this.prescription.replacement_total
  1569. ? this.prescription.replacement_total
  1570. : "")
  1571. );
  1572. }
  1573. if (
  1574. this.double_check.dialysis_parameter_desc.indexOf("处方血流量") != -1
  1575. ) {
  1576. this.checkListOne.push(
  1577. "处方血流量:" +
  1578. (this.prescription.blood_flow_volume
  1579. ? this.prescription.blood_flow_volume
  1580. : "")
  1581. );
  1582. }
  1583. if (
  1584. this.double_check.dialysis_parameter_desc.indexOf("透析液流量") != -1
  1585. ) {
  1586. this.checkListOne.push(
  1587. "透析液流量:" +
  1588. (this.prescription.dialysate_flow
  1589. ? this.prescription.dialysate_flow
  1590. : "")
  1591. );
  1592. }
  1593. if (
  1594. this.double_check.dialysis_parameter_desc.indexOf("置换液总量") != -1
  1595. ) {
  1596. this.checkListOne.push(
  1597. "置换液总量:" +
  1598. (this.prescription.displace_liqui_value
  1599. ? this.prescription.displace_liqui_value
  1600. : "")
  1601. );
  1602. }
  1603. if (this.double_check.vascular_access_desc.indexOf("通路类型") != -1) {
  1604. this.checkListTwo.push(
  1605. "通路类型:" +
  1606. this.getBloodAccess(
  1607. this.predialysis_evaluation.blood_access_part_opera_id
  1608. )
  1609. );
  1610. }
  1611. if (
  1612. this.double_check.vascular_access_desc.indexOf("动静脉接错") != -1
  1613. ) {
  1614. this.checkListTwo.push("动静脉接错");
  1615. }
  1616. if (this.double_check.vascular_access_desc.indexOf("渗血") != -1) {
  1617. this.checkListTwo.push("渗血");
  1618. }
  1619. if (this.double_check.vascular_access_desc.indexOf("压迫") != -1) {
  1620. this.checkListTwo.push("压迫");
  1621. }
  1622. if (this.double_check.vascular_access_desc.indexOf("折叠") != -1) {
  1623. this.checkListTwo.push("折叠");
  1624. }
  1625. if (this.double_check.vascular_access_desc.indexOf("滑脱") != -1) {
  1626. this.checkListTwo.push("滑脱");
  1627. }
  1628. if (
  1629. this.double_check.pipeline_connection_desc.indexOf(
  1630. "泵前补液测管未夹"
  1631. ) != -1
  1632. ) {
  1633. this.checkListThree.push("泵前补液测管未夹");
  1634. }
  1635. if (
  1636. this.double_check.pipeline_connection_desc.indexOf(
  1637. "肝素管夹未开启"
  1638. ) != -1
  1639. ) {
  1640. this.checkListThree.push("肝素管夹未开启");
  1641. }
  1642. if (
  1643. this.double_check.pipeline_connection_desc.indexOf(
  1644. "透析器连接错误"
  1645. ) != -1
  1646. ) {
  1647. this.checkListThree.push("透析器连接错误");
  1648. }
  1649. if (
  1650. this.double_check.pipeline_connection_desc.indexOf(
  1651. "动静脉壶页面不标准"
  1652. ) != -1
  1653. ) {
  1654. this.checkListThree.push("动静脉壶页面不标准");
  1655. }
  1656. if (
  1657. this.double_check.pipeline_connection_desc.indexOf(
  1658. "静脉管路未卡入保护夹"
  1659. ) != -1
  1660. ) {
  1661. this.checkListThree.push("静脉管路未卡入保护夹");
  1662. }
  1663. if (
  1664. this.double_check.pipeline_connection_desc.indexOf(
  1665. "压力传感器夹未打开"
  1666. ) != -1
  1667. ) {
  1668. this.checkListThree.push("压力传感器夹未打开");
  1669. }
  1670. if (
  1671. this.double_check.pipeline_connection_desc.indexOf("接口连接松动") !=
  1672. -1
  1673. ) {
  1674. this.checkListThree.push("接口连接松动");
  1675. }
  1676. if (
  1677. this.double_check.pipeline_connection_desc.indexOf("管路打折") != -1
  1678. ) {
  1679. this.checkListThree.push("管路打折");
  1680. }
  1681. }
  1682. },
  1683. "double_check.id": function () {
  1684. if (this.double_check.id > 0) {
  1685. for (var index in this.doubleReview) {
  1686. this.doubleReview[index] = this.double_check[index] + "";
  1687. }
  1688. this.doubleReview.created_time = this.double_check["created_time"];
  1689. this.doubleReview.creater = this.double_check["creater"];
  1690. this.doubleReview.updated_time = this.double_check["updated_time"];
  1691. this.doubleReview.modifier = this.double_check["modifier"];
  1692. this.doubleReview.dialysis_item_desc =
  1693. this.double_check["dialysis_item_desc"];
  1694. this.doubleReview.dialysis_parameter_desc =
  1695. this.double_check["dialysis_parameter_desc"];
  1696. this.doubleReview.vascular_access_desc =
  1697. this.double_check["vascular_access_desc"];
  1698. this.doubleReview.pipeline_connection_desc =
  1699. this.double_check["pipeline_connection_desc"];
  1700. this.doubleReview.created_time = this.double_check["created_time"];
  1701. this.doubleReview.creater = this.double_check["creater"];
  1702. this.doubleReview.updated_time = this.double_check["updated_time"];
  1703. this.doubleReview.modifier = this.double_check["modifier"];
  1704. this.doubleReview.check_time = this.double_check["check_time"];
  1705. this.doubleReview.first_check_time =
  1706. this.double_check["first_check_time"];
  1707. this.first_check_time = uParseTime(
  1708. this.doubleReview.first_check_time,
  1709. "{y}-{m}-{d} {h}:{i}"
  1710. ).split(" ")[1];
  1711. if (
  1712. this.$store.getters.xt_user.user.id == this.double_check.creater ||
  1713. this.double_check.modifier > 0
  1714. ) {
  1715. this.check_time = uParseTime(
  1716. this.doubleReview.check_time,
  1717. "{y}-{m}-{d} {h}:{i}"
  1718. ).split(" ")[1];
  1719. } else if (
  1720. this.$store.getters.xt_user.user.id != this.double_check.creater &&
  1721. this.double_check.modifier == 0
  1722. ) {
  1723. this.check_time = uParseTime(
  1724. new Date(),
  1725. "{y}-{m}-{d} {h}:{i}"
  1726. ).split(" ")[1];
  1727. this.doubleReview.modifier = this.$store.getters.xt_user.user.id;
  1728. }
  1729. } else {
  1730. this.dialysis_item_check = "1";
  1731. this.dialysis_parameter_check = "1";
  1732. this.vascular_access_verification = "1";
  1733. this.pipeline_connection_check = "1";
  1734. this.doubleReview.dialysis_item_desc = "";
  1735. this.doubleReview.dialysis_parameter_desc = "";
  1736. this.doubleReview.vascular_access_desc = "";
  1737. this.doubleReview.pipeline_connection_desc = "";
  1738. var nowDate = new Date();
  1739. var nowYear = nowDate.getFullYear();
  1740. var nowMonth = nowDate.getMonth() + 1;
  1741. var nowDay = nowDate.getDate();
  1742. var nowHours = nowDate.getHours();
  1743. var nowMinutes = nowDate.getMinutes();
  1744. if (
  1745. this.$store.getters.xt_user.user.id != this.double_check.creater &&
  1746. this.double_check.modifier == 0
  1747. ) {
  1748. this.check_time =
  1749. (nowHours < 10 ? "0" + nowHours : nowHours) +
  1750. ":" +
  1751. (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
  1752. }
  1753. this.first_check_time =
  1754. (nowHours < 10 ? "0" + nowHours : nowHours) +
  1755. ":" +
  1756. (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
  1757. }
  1758. },
  1759. saveInformation(){
  1760. var params = {
  1761. selected_date:this.selected_date,
  1762. patient_id:this.$route.query.patient_id,
  1763. record_date:this.$route.query.date,
  1764. module:5,
  1765. remark:this.remark,
  1766. }
  1767. saveInformation(params).then(response=>{
  1768. if(response.data.state == 1){
  1769. var information = response.data.data.information
  1770. this.$message.success("审核成功!")
  1771. this.infoDialogVisible = false
  1772. }
  1773. })
  1774. }
  1775. },
  1776. created() {
  1777. var date = this.$route.query && this.$route.query.date;
  1778. this.record_date = date
  1779. ? uParseTime(date, "{y}-{m}-{d}")
  1780. : parseTime(new Date(), "{y}-{m}-{d}");
  1781. this.org_id = this.$store.getters.xt_user.org.id;
  1782. var nowDate = new Date();
  1783. var nowYear = nowDate.getFullYear();
  1784. var nowMonth = nowDate.getMonth() + 1;
  1785. var nowDay = nowDate.getDate();
  1786. var nowHours = nowDate.getHours();
  1787. var nowMinutes = nowDate.getMinutes();
  1788. if (
  1789. this.$store.getters.xt_user.user.id != this.double_check.creater &&
  1790. this.double_check.modifier == 0
  1791. ) {
  1792. this.check_time =
  1793. (nowHours < 10 ? "0" + nowHours : nowHours) +
  1794. ":" +
  1795. (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
  1796. }
  1797. this.first_check_time =
  1798. (nowHours < 10 ? "0" + nowHours : nowHours) +
  1799. ":" +
  1800. (nowMinutes < 10 ? "0" + nowMinutes : nowMinutes);
  1801. },
  1802. };
  1803. </script>
  1804. <style lang="scss">
  1805. .newInline {
  1806. display: flex;
  1807. }
  1808. .newItem {
  1809. flex: 1;
  1810. display: flex !important;
  1811. .el-form-item__content {
  1812. width: 100%;
  1813. }
  1814. }
  1815. .newCheckBox {
  1816. margin-bottom: 10px;
  1817. .el-checkbox {
  1818. margin-bottom: 10px;
  1819. }
  1820. }
  1821. </style>