scanning_all.vue 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431
  1. <template>
  2. <view class="Scanning_all">
  3. <view class="Scanning">
  4. <view class="Scanning_top" id="Scanning_tops" :animation="animationData" v-if="workData.length > 0">
  5. <view class="Scanning_top_icon">
  6. <text class="cubeic-ok newicon newicon-duigou"></text>
  7. </view>
  8. <view class="Scanning_top_text">
  9. <view class="text1">签到成功</view>
  10. </view>
  11. <view class="Scanning_cont">
  12. 当前科室关联多个工单,请查看工单信息,
  13. <view>可选择多个工单后,点击 一键送达 完成配送.</view>
  14. </view>
  15. </view>
  16. <view class="Scanning_top" id="Scanning_tops" :animation="animationData" v-if="workData.length === 0">
  17. <view class="Scanning_top_icon">
  18. <text class="cubeic-close newicon newicon-shibai"></text>
  19. </view>
  20. <view class="Scanning_top_text">
  21. <view class="text1">签到失败</view>
  22. </view>
  23. <view class="Scanning_cont">
  24. 您扫描的科室为<text class="red">{{deptName}}</text>,未匹配到工单,请确认。
  25. </view>
  26. </view>
  27. <view class="title" v-if="workData.length > 0">
  28. <text class="span1">工单信息</text>
  29. <text class="span2" @click="all()" v-if="tabType != 'specimenPlan'">全选</text>
  30. <text class="span3" @click="Dall()">全不选</text>
  31. </view>
  32. <view class="tabs" v-if="workData.length > 0">
  33. <view class="tab">
  34. <view @click="act('drugsBag')" v-if="infoDATA['drugsBag']">
  35. <view id="10" :class="{ acts: tabType == 'drugsBag' }">药品({{ infoDATA.drugsBag.length }})</view>
  36. </view>
  37. <view @click="act('specimen')" v-if="infoDATA['specimen']">
  38. <view id="40" :class="{ acts: tabType == 'specimen' }">标本({{ infoDATA.specimen.length }})</view>
  39. </view>
  40. <view @click="act('specimenPlan')" v-if="infoDATA['specimenPlan']">
  41. <view id="40" :class="{ acts: tabType == 'specimenPlan' }">标本轮巡({{ infoDATA.specimenPlan.length }})</view>
  42. </view>
  43. <view @click="act('patientTransport')" v-if="infoDATA['patientTransport']">
  44. <view id="20" :class="{ acts: tabType == 'patientTransport' }">患者转运({{ infoDATA.patientTransport.length }})
  45. </view>
  46. </view>
  47. <view @click="act('inspect')" v-if="infoDATA['inspect']">
  48. <view id="30" :class="{ acts: tabType == 'inspect' }">患者陪检({{ infoDATA.inspect.length }})</view>
  49. </view>
  50. <view @click="act('jPBag')" v-if="infoDATA['jPBag']">
  51. <view id="40" :class="{ acts: tabType == 'jPBag' }">静配({{ infoDATA.jPBag.length }})</view>
  52. </view>
  53. <view @click="act('other')" v-if="infoDATA['other']">
  54. <view id="40" :class="{ acts: tabType == 'other' }">其他({{ infoDATA.other.length }})</view>
  55. </view>
  56. <view @click="act('blood')" v-if="infoDATA['blood']">
  57. <view id="40" :class="{ acts: tabType == 'blood' }">血制品({{ infoDATA.blood.length }})</view>
  58. </view>
  59. <view @click="act('clothingGet')" v-if="infoDATA['clothingGet']">
  60. <view id="40" :class="{ acts: tabType == 'clothingGet' }">被服洗涤回收({{ infoDATA.clothingGet.length }})</view>
  61. </view>
  62. <view @click="act('clothingSend')" v-if="infoDATA['clothingSend']">
  63. <view id="40" :class="{ acts: tabType == 'clothingSend' }">被服洗涤送回({{ infoDATA.clothingSend.length }})</view>
  64. </view>
  65. </view>
  66. </view>
  67. <view class="page_items" v-if="!workData.length" style="font-size: 18px; margin-top: 15%">
  68. <view class="zwsj">
  69. <image class="zwsj_img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
  70. <view class="zwsj_txt">暂无工单</view>
  71. </view>
  72. </view>
  73. <view class="page_items footerOtherMargin" v-if="workData.length > 0">
  74. <view class="page_item" v-for="(infoDATA, i) of workData" :key="i">
  75. <view class="page_item_top">
  76. <view class="page_item_top_L">
  77. <text v-show="hasSelect(infoDATA.id)" class="ac" @click="ac(infoDATA, i)" :id="infoDATA.id">
  78. <text class="ac-span"></text>
  79. </text>
  80. <text v-show="!hasSelect(infoDATA.id)" class="ac1" @click="ac1(infoDATA, i)"
  81. :id="infoDATA.id + '0'"></text>
  82. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  83. <view class="page_item_cont_start emergency1" v-if="infoDATA.emergencyType.value == 1">
  84. <text class="page_item_cont_start_txt">
  85. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  86. {{ infoDATA.emergencyType.name }}
  87. </text>
  88. </view>
  89. <view class="page_item_cont_start emergency" v-if="infoDATA.emergencyType.value == 2">
  90. <text class="page_item_cont_start_txt">
  91. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  92. {{ infoDATA.emergencyType.name }}
  93. </text>
  94. </view>
  95. <view class="page_item_cont_start emergencys" v-if="infoDATA.emergencyType.value == 3">
  96. <text class="page_item_cont_start_txt">
  97. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  98. {{ infoDATA.emergencyType.name }}
  99. </text>
  100. </view>
  101. </view>
  102. <view class="page_item_top_R">
  103. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'specimen'">标本</text>
  104. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'specimenPlan'">标本</text>
  105. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'drugsBag'">药品</text>
  106. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'jPBag'">静配</text>
  107. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'inspect'">患者陪检</text>
  108. <text class="L_iocn" v-if="
  109. infoDATA.taskType.associationType.value == 'patientTransport'
  110. ">患者转运</text>
  111. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'other'">其他</text>
  112. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'">血制品</text>
  113. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'clothingGet'">被服洗涤回收</text>
  114. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'clothingSend'">被服洗涤送回</text>
  115. </view>
  116. <view class="L"></view>
  117. <view class="R"></view>
  118. </view>
  119. <view class="page_item_cont">
  120. <view class="page_item_cont_T">
  121. <view class="page_item_cont_title">
  122. <text> <text class="starting">起</text> 点科室 </text>
  123. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  124. </view>
  125. </view>
  126. <view class="line"></view>
  127. <view class="page_item_cont_B">
  128. <template v-if="infoDATA.taskType.associationType.value == 'inspect'">
  129. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.middleDept" :key="i">
  130. <text> <text class="End">检</text> 查科室 </text>
  131. <text class="text_big">{{ dept.dept }}</text>
  132. <view></view>
  133. </view>
  134. </template>
  135. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  136. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  137. <text> <text class="End">终</text> 点科室 </text>
  138. <text class="text_big">{{ dept.dept }}</text>
  139. </view>
  140. </template>
  141. </view>
  142. </view>
  143. <view class="page_item_foot">
  144. <view class="page_item_foot_text">
  145. <text class="text1">状态</text>
  146. <text class="text2" v-if="
  147. !(
  148. infoDATA.gdState.value == '5' &&
  149. infoDATA.taskType.associationType.value == 'inspect'
  150. )
  151. ">{{ infoDATA.gdState.name }}</text>
  152. <text class="text2" v-if="
  153. infoDATA.gdState.value == '5' &&
  154. infoDATA.taskType.associationType.value == 'inspect'
  155. ">待送回</text>
  156. </view>
  157. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '2'">
  158. <text class="text1">预计响应时间</text>
  159. <text class="text2">{{ infoDATA.estimeResponseTime || '无' }}</text>
  160. </view>
  161. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '5'">
  162. <text class="text1" v-if="!(infoDATA.taskType.associationType.value == 'inspect')">预计送达时间</text>
  163. <text class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect'">预计送回时间</text>
  164. <text class="text2">{{ infoDATA.estimeCompleteTime || '无' }}</text>
  165. </view>
  166. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '4'">
  167. <text class="text1">预计到达时间</text>
  168. <text class="text2">{{ infoDATA.estimateArriveTime || '无' }}</text>
  169. </view>
  170. <view class="page_item_foot_text">
  171. <text class="text1">创建时间</text>
  172. <text class="text2">{{ infoDATA.startTime || '无' }}</text>
  173. </view>
  174. </view>
  175. </view>
  176. </view>
  177. <view class="foot_btn2 footerPadding" v-if="workData.length > 0">
  178. <view class="btn1" @click="allStart()" v-if="flag">一键操作</view>
  179. <view class="btn1" v-if="!flag">一键操作</view>
  180. <view class="btn1" @click="showAlert">返回</view>
  181. </view>
  182. <view class="foot_btn1 footerPadding" v-if="!workData.length">
  183. <view class="btn3" @click="showAlert">返回</view>
  184. </view>
  185. </view>
  186. <!-- 弹窗 -->
  187. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  188. @know="know" :operate="models.operate"></showModel>
  189. <!-- 填写交接人工号弹窗 -->
  190. <selectAccount v-if="hosModels.disjunctor" :disjunctor="hosModels.disjunctor" @ok="hosOk"
  191. @cancel="hosCancel">
  192. </selectAccount>
  193. </view>
  194. </template>
  195. <script>
  196. import showModel from "../../components/showModel/showModel.vue";
  197. import {
  198. post,
  199. SM,
  200. webHandle
  201. } from "../../http/http.js";
  202. export default {
  203. data() {
  204. return {
  205. hosId: null,
  206. currentCode: '', //当前小扫描的科室二维码
  207. SMFlag: true,
  208. // 填写交接人工号弹窗model
  209. hosModels: {
  210. disjunctor: false,
  211. },
  212. // 弹窗model
  213. models: {
  214. disjunctor: false,
  215. },
  216. infoDATA: {},
  217. workData: [],
  218. tabType: "", //当前选中项
  219. userId: {
  220. ids: [],
  221. },
  222. typeData: [],
  223. types: false,
  224. code: "",
  225. deptId: '',
  226. deptName: '',
  227. flag: true, //一键操作,禁止多次
  228. flagTimer: null,
  229. selectArr: [], //选中项
  230. animationData: {}, //动画
  231. };
  232. },
  233. methods: {
  234. // 填写交接人工号-确认
  235. hosOk(data) {
  236. console.log(data);
  237. const {
  238. accountName,
  239. account,
  240. accountId
  241. } = data;
  242. if (!accountName && !account) {
  243. //没有填写交接人
  244. uni.showModal({
  245. title: "提示",
  246. content: "请填写交接人工号!",
  247. showCancel: false,
  248. success: function(res) {
  249. if (res.confirm) {
  250. console.log("用户点击确定");
  251. } else if (res.cancel) {
  252. console.log("用户点击取消");
  253. }
  254. },
  255. });
  256. return;
  257. } else if ((!accountName && account) || (accountName && !account)) {
  258. //没有填写交接人
  259. uni.showModal({
  260. title: "提示",
  261. content: "请填写正确的交接人工号!",
  262. showCancel: false,
  263. success: function(res) {
  264. if (res.confirm) {
  265. console.log("用户点击确定");
  266. } else if (res.cancel) {
  267. console.log("用户点击取消");
  268. }
  269. },
  270. });
  271. return;
  272. }
  273. this.hosModels.disjunctor = false;
  274. this.orderDeptHandler(false, data);
  275. },
  276. // 填写交接人工号-取消
  277. hosCancel() {
  278. this.hosModels.disjunctor = false;
  279. this.flag = true;
  280. },
  281. // 填写交接人工号弹窗
  282. showSelectAccount() {
  283. this.hosModels = {
  284. disjunctor: true,
  285. };
  286. },
  287. // 返回
  288. showAlert() {
  289. uni.navigateTo({
  290. url: "../receiptpage/receiptpage",
  291. });
  292. },
  293. // 标本配送-待送达-运输过程-标本数字交接,则,科室签到不需要填写交接人
  294. validateHandoverSpecimen(){
  295. return post("/simple/data/fetchDataList/taskType", {
  296. "idx": 0,
  297. "sum": 1,
  298. "taskType": {
  299. "hosId": {
  300. "id": this.hosId
  301. },
  302. "associationType": {
  303. "key": "association_types",
  304. "value": "specimen"
  305. }
  306. }
  307. });
  308. },
  309. //科室签到
  310. //trueBigScanner----判断是否大扫描
  311. //bigScanner----判断是否需要交接人
  312. //accountObj----弹窗填写的交接人信息
  313. async orderDeptHandler(bigScanner, accountObj) {
  314. console.log(this.infoDATA);
  315. uni.showLoading({
  316. title: "加载中",
  317. mask: true,
  318. });
  319. if(this.tabType === 'specimen' && this.infoDATA.specimen && this.infoDATA.specimen[0].gdState.value == 5){
  320. let result = await this.validateHandoverSpecimen();
  321. if (result.status == 200) {
  322. if(result.list.length){
  323. // 标本-运送过程-终点科室-标本数字交接
  324. if(result.list[0].carryingCourses[1].checkoutMethod.value == 3){
  325. bigScanner = false;
  326. }
  327. }else{
  328. uni.showToast({
  329. icon: "none",
  330. title: "请配置标本配送任务类型!",
  331. });
  332. uni.hideLoading();
  333. return;
  334. }
  335. }
  336. }
  337. let type = "orderSign/" + this.code;
  338. let list = {
  339. ids: this.userId.ids,
  340. trueBigScanner: ['666']
  341. };
  342. bigScanner && (list.bigScanner = ['666']);
  343. if (accountObj) {
  344. list.handover = [accountObj.accountId];
  345. }
  346. post("/workerOrder/" + type, list).then((res) => {
  347. console.log(this.tabType)
  348. uni.hideLoading();
  349. if (res.status == 200) {
  350. if (this.tabType == "inspect" || this.tabType == "patientTransport") {
  351. if (res.ids) {
  352. for (var i = 0; i < this.userId.ids.length; i++) {
  353. if (this.userId.ids[i] == res.ids[0]) {
  354. this.userId.ids.splice(i, 1);
  355. }
  356. }
  357. }
  358. uni.navigateTo({
  359. url: `../scanning_djInfo/scanning_djInfo?type=${
  360. this.tabType
  361. }&type1=${res.type}&infoData=${res.data}&status=${
  362. res.status
  363. }&workOrderList=${encodeURIComponent(
  364. JSON.stringify(res.workOrderList)
  365. )}&msg=${res.msg}&deptCode=${this.code}&dept=${
  366. res.dept
  367. }&ids=${encodeURIComponent(
  368. JSON.stringify(this.userId.ids)
  369. )}&model=${encodeURIComponent(JSON.stringify(res))}`,
  370. });
  371. } else if (this.tabType == 'specimenPlan') {
  372. // -----------------------------
  373. console.log(this.selectArr, '选中工单')
  374. let gd = this.infoDATA.specimenPlan.find(v => v.id == this.selectArr[0]);
  375. let startDeptId = gd.startDept.id; //起点科室id
  376. let isDigitalHandover = gd.taskType.isDigitalHandover; //是否数字交接开关
  377. let signDeptId = res.deptId; //签到的科室id
  378. let gdId = gd.id;
  379. let gdState = gd.gdState.value;
  380. let endDepts = gd.endDepts.map(v => v.id).toString();
  381. uni.navigateTo({
  382. url: `../scanning_djEnd/scanning_djEnd?type=${
  383. this.tabType
  384. }&type1=${res.type}&code=${this.code}&dept=${
  385. res.dept
  386. }&ids=${encodeURIComponent(
  387. JSON.stringify(this.userId.ids)
  388. )}&model=${encodeURIComponent(JSON.stringify(res))}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}&deptId=${res.deptId}&startDeptId=${startDeptId}&isDigitalHandover=${isDigitalHandover}&signDeptId=${signDeptId}&gdId=${gdId}&gdState=${gdState}&endDepts=${endDepts}`,
  389. });
  390. } else if (this.tabType == 'specimen') {
  391. if (res.deptType && res.deptType.value === 'middleRoom') {
  392. // 如果是中转科室
  393. uni.navigateTo({
  394. url: `../checkAfterBigScreen/checkAfterBigScreen?type=${
  395. this.tabType
  396. }&type1=${res.type}&code=${this.code}&dept=${
  397. res.dept
  398. }&ids=${encodeURIComponent(
  399. JSON.stringify(this.userId.ids)
  400. )}&model=${encodeURIComponent(JSON.stringify(res))}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}&deptId=${res.deptId}`,
  401. });
  402. } else if(res.type === 'spe-dsd-4'){
  403. // 检验方式是标本数字交接
  404. uni.navigateTo({
  405. url: `/pages/specimenHandoverNew/specimenHandoverNew?type=${
  406. this.tabType
  407. }&type1=${res.type}&code=${this.code}&dept=${
  408. res.dept
  409. }&ids=${encodeURIComponent(
  410. JSON.stringify(this.userId.ids)
  411. )}&model=${encodeURIComponent(JSON.stringify(res))}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}&deptId=${res.deptId}`,
  412. });
  413. } else {
  414. uni.navigateTo({
  415. url: `../scanning_djEnd/scanning_djEnd?type=${
  416. this.tabType
  417. }&type1=${res.type}&code=${this.code}&dept=${
  418. res.dept
  419. }&ids=${encodeURIComponent(
  420. JSON.stringify(this.userId.ids)
  421. )}&model=${encodeURIComponent(JSON.stringify(res))}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}&deptId=${res.deptId}`,
  422. });
  423. }
  424. } else { //一键操作 走这里
  425. uni.navigateTo({
  426. url: `../scanning_djEnd/scanning_djEnd?type=${
  427. this.tabType
  428. }&type1=${res.type}&code=${this.code}&dept=${
  429. res.dept
  430. }&ids=${encodeURIComponent(
  431. JSON.stringify(this.userId.ids)
  432. )}&model=${encodeURIComponent(JSON.stringify(res))}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}&deptId=${res.deptId}`,
  433. });
  434. }
  435. } else if (res.status == "0000") {
  436. this.showSelectAccount();
  437. } else if (res.status == "2001") {
  438. uni.navigateTo({
  439. url: `../otherCompleteOrder/otherCompleteOrder?orderId=${this.userId.ids[0]}&taskType=${res.workOrder.taskType ? encodeURIComponent(JSON.stringify(res.workOrder.taskType)) : ''}&order=${res.workOrder ? encodeURIComponent(JSON.stringify(res.workOrder)) : ''}`,
  440. });
  441. }else if (res.status == "2005") {
  442. uni.showToast({
  443. icon: "none",
  444. title: res.info,
  445. });
  446. this.flag = true;
  447. // setTimeout(_=>{
  448. // uni.redirectTo({
  449. // url:'/pages/receiptpage/receiptpage'
  450. // })
  451. // },1000)
  452. }else {
  453. this.flag = true;
  454. uni.navigateTo({
  455. url: `../scanning_djEnd/scanning_djEnd?type=${this.tabType}&type1=${
  456. res.type
  457. }&code=${this.code}&dept=${res.dept}&ids=${encodeURIComponent(
  458. JSON.stringify(this.userId.ids)
  459. )}&model=${encodeURIComponent(JSON.stringify(res))}&deptId=${res.deptId}`,
  460. });
  461. }
  462. }).catch(err=>{
  463. console.log(9999,err)
  464. })
  465. },
  466. //一键操作
  467. allStart() {
  468. console.log(this.tabType)
  469. clearTimeout(this.flagTimer);
  470. this.flagTimer = setTimeout(() => {
  471. this.flag = false;
  472. let list = {};
  473. let type = "";
  474. console.log(this.userId)
  475. if (this.userId.ids.length > 0) {
  476. if (this.tabType == "blood") {
  477. uni.showLoading({
  478. title: "加载中",
  479. mask: true,
  480. });
  481. // 判断是否签到批量核对
  482. post('/simple/data/fetchDataList/taskTypeConfig', {
  483. idx: 0,
  484. sum: 1,
  485. taskTypeConfig: {
  486. "taskTypeDTO": {
  487. "hosId": {
  488. "id": this.hosId
  489. },
  490. "ordinaryField": {
  491. "key": "ordinary_field",
  492. "value": "blood"
  493. }
  494. }
  495. },
  496. }).then(res => {
  497. if(res.status == 200){
  498. let list = res.list || [];
  499. if(list.length > 0){
  500. let signTypeList = list[0].signTypeList || [];
  501. let signType = signTypeList.find( v => v.value == 4 );
  502. if(signType){
  503. uni.hideLoading();
  504. uni.navigateTo({
  505. url: `/pages/newBlood/endOrderSignBlood/endOrderSignBlood?orderIds=${this.userId.ids.toString()}&deptName=${this.deptName}&deptId=${this.deptId}`,
  506. });
  507. }else{
  508. // 万能交接服务的血制品
  509. let postData = {
  510. "idx": 0,
  511. "sum": 1,
  512. "taskTypeConfig": {
  513. "taskTypeDTO": {
  514. "hosId": {
  515. "id": this.hosId
  516. },
  517. "ordinaryField": {
  518. "key": "ordinary_field",
  519. "value": "blood"
  520. }
  521. }
  522. }
  523. };
  524. post("/simple/data/fetchDataList/taskTypeConfig", postData).then((result) => {
  525. uni.hideLoading();
  526. if(result.status == 200){
  527. if(result.list && result.list[0] && result.list[0].checkType){
  528. if(result.list[0].checkType.value == 1){
  529. // 起点终点科室按照血制品类型进行核对
  530. uni.navigateTo({
  531. url: `../signIn_blood/signIn_blood?deptName=${this.deptName}&orderId=${this.userId.ids[0]}`,
  532. });
  533. }else if(result.list[0].checkType.value == 2){
  534. // 终点科室无需扫码进行核对
  535. uni.navigateTo({
  536. url: `../check_blood/check_blood?orderId=${this.userId.ids[0]}`,
  537. });
  538. }
  539. }else{
  540. uni.showToast({
  541. icon: "none",
  542. title: "请前往血制品配置页面配置核对方式!",
  543. });
  544. }
  545. }else{
  546. uni.showToast({
  547. icon: "none",
  548. title: result.msg || "接口获取数据失败!",
  549. });
  550. }
  551. })
  552. }
  553. }else{
  554. uni.showToast({
  555. icon: "none",
  556. title: "请配置血制品任务类型!",
  557. });
  558. }
  559. }else{
  560. uni.hideLoading();
  561. uni.showToast({
  562. icon: "none",
  563. title: res.msg || "接口获取数据失败!",
  564. });
  565. }
  566. })
  567. }else if (this.tabType == "clothingGet") {
  568. uni.navigateTo({
  569. url: `../quiltWashing/quiltWashingGetEndCheck/quiltWashingGetEndCheck?orderIds=${this.userId.ids.toString()}&endDeptName=${this.deptName}`
  570. })
  571. } else if (this.tabType == "clothingSend") {
  572. let postData = {
  573. ids: this.userId.ids,
  574. type: 'clothingSend',
  575. };
  576. uni.showLoading({
  577. title: "加载中",
  578. mask: true,
  579. });
  580. post("/transflow/bigScan", postData).then((res) => {
  581. uni.hideLoading();
  582. if (res.status == 200) {
  583. uni.navigateTo({
  584. url: "../receiptpage/receiptpage",
  585. });
  586. } else {
  587. uni.showToast({
  588. icon: "none",
  589. title: res.msg || "接口获取数据失败!",
  590. });
  591. }
  592. });
  593. } else if (
  594. this.tabType == "drugsBag" ||
  595. this.tabType == "jPBag" ||
  596. this.tabType == "other" ||
  597. this.tabType == "specimen" ||
  598. this.tabType == "specimenPlan"
  599. ) {
  600. this.orderDeptHandler(true);
  601. } else {
  602. if (!this.SMFlag) {
  603. return;
  604. }
  605. this.SMFlag = false;
  606. SM()
  607. .then((ress1) => {
  608. uni.showLoading({
  609. title: "加载中",
  610. mask: true,
  611. });
  612. //检验二维码的有效性
  613. post("/dept/scanning", {
  614. content: ress1,
  615. }).then((result) => {
  616. this.SMFlag = true;
  617. this.currentCode = result.code;
  618. if (result.state == 200 || result.state == 201) {
  619. let ress = result.code;
  620. if (ress) {
  621. if (this.tabType == "patientTransport") {
  622. type = "handleTrans";
  623. let data = {
  624. ids: this.userId.ids,
  625. deptCode: this.code,
  626. code: ress,
  627. };
  628. list = data;
  629. }
  630. if (this.tabType == "inspect") {
  631. type = "handleIns";
  632. let data = {
  633. ids: this.userId.ids,
  634. deptCode: this.code,
  635. code: ress,
  636. };
  637. list = data;
  638. }
  639. post("/workerOrder/" + type, list).then((res) => {
  640. uni.hideLoading();
  641. if (res.status == 200) {
  642. console.log('工单id',this.typeData)
  643. console.log('selectArr', this.selectArr)
  644. if (
  645. this.tabType == "inspect" ||
  646. this.tabType == "patientTransport"
  647. ) {
  648. if(this.tabType === 'patientTransport' && this.infoDATA.patientTransport && this.infoDATA.patientTransport[0].gdState.value == 5){
  649. // 门诊服务点
  650. if(res.orderList){
  651. uni.navigateTo({
  652. url: `/pages/outpatient/outpatientEndSignIn/outpatientEndSignIn?model=${encodeURIComponent(JSON.stringify(res))}`,
  653. });
  654. }else{
  655. if (res.ids) {
  656. for (var i = 0; i < this.userId.ids.length; i++) {
  657. if (this.userId.ids[i] == res.ids[0]) {
  658. this.userId.ids.splice(i, 1);
  659. }
  660. }
  661. }
  662. uni.navigateTo({
  663. url: `../scanning_djInfo/scanning_djInfo?type=${
  664. this.tabType
  665. }&type1=${res.type}&infoData=${res.data}&status=${
  666. res.status
  667. }&msg=${res.msg}&deptCode=${this.code}&dept=${
  668. res.dept
  669. }&workOrderList=${encodeURIComponent(
  670. JSON.stringify(res.workOrderList)
  671. )}&ids=${encodeURIComponent(
  672. JSON.stringify(this.userId.ids)
  673. )}&model=${encodeURIComponent(
  674. JSON.stringify(res)
  675. )}`,
  676. });
  677. }
  678. }else{
  679. if (res.ids) {
  680. for (var i = 0; i < this.userId.ids.length; i++) {
  681. if (this.userId.ids[i] == res.ids[0]) {
  682. this.userId.ids.splice(i, 1);
  683. }
  684. }
  685. }
  686. uni.navigateTo({
  687. url: `../scanning_djInfo/scanning_djInfo?type=${
  688. this.tabType
  689. }&type1=${res.type}&infoData=${res.data}&status=${
  690. res.status
  691. }&msg=${res.msg}&deptCode=${this.code}&dept=${
  692. res.dept
  693. }&workOrderList=${encodeURIComponent(
  694. JSON.stringify(res.workOrderList)
  695. )}&ids=${encodeURIComponent(
  696. JSON.stringify(this.userId.ids)
  697. )}&model=${encodeURIComponent(
  698. JSON.stringify(res)
  699. )}`,
  700. });
  701. }
  702. } else {
  703. uni.navigateTo({
  704. url: `../scanning_djEnd/scanning_djEnd?type=${
  705. this.tabType
  706. }&type1=${res.type}&dept=${
  707. res.dept
  708. }&ids=${encodeURIComponent(
  709. JSON.stringify(this.userId.ids)
  710. )}&model=${encodeURIComponent(
  711. JSON.stringify(res)
  712. )}&code=${this.code}`,
  713. });
  714. }
  715. } else {
  716. uni.navigateTo({
  717. url: `../scanning_djEnd/scanning_djEnd?type=${
  718. this.tabType
  719. }&type1=${res.type}&dept=${
  720. res.dept
  721. }&ids=${encodeURIComponent(
  722. JSON.stringify(this.userId.ids)
  723. )}&model=${encodeURIComponent(
  724. JSON.stringify(res)
  725. )}&code=${this.code}&qrcode=${this.currentCode}`,
  726. });
  727. }
  728. });
  729. }
  730. } else {
  731. this.flag = true;
  732. uni.hideLoading();
  733. uni.showToast({
  734. icon: "none",
  735. title: result.info || "接口获取数据失败!",
  736. });
  737. }
  738. });
  739. })
  740. .catch((err) => {
  741. this.SMFlag = true;
  742. });
  743. }
  744. } else {
  745. this.flag = true;
  746. this.models = {
  747. disjunctor: true,
  748. title: "提示",
  749. content: "请选择工单!",
  750. icon: "warn",
  751. operate: {
  752. know: "返回",
  753. },
  754. };
  755. }
  756. }, 500);
  757. },
  758. typePD(data, list) {
  759. if (list) {
  760. if (data.length >= 2) {
  761. for (var i = 0; i < data.length; i++) {
  762. if (data[i].gdState.value != list.gdState.value) {
  763. this.typeData.splice(i, 1);
  764. this.types = true;
  765. }
  766. }
  767. } else {
  768. this.types = false;
  769. }
  770. } else if (data.length == 1) {
  771. this.types = false;
  772. } else {
  773. this.types = false;
  774. for (var i = 0; i < data.length; i++) {
  775. if (data[0].gdState.value != data[i].gdState.value) {
  776. this.typeData.splice(i, 1);
  777. this.types = true;
  778. }
  779. }
  780. }
  781. },
  782. act(type) {
  783. this.Dall();
  784. this.tabType = type;
  785. this.workData = this.infoDATA[type] || [];
  786. this.all();
  787. },
  788. // 已选择的项中是否包含该id
  789. hasSelect(id) {
  790. return this.selectArr.includes(id);
  791. },
  792. //取消
  793. ac(data, i) {
  794. console.log(data, i, this.selectArr, this.userId.ids, this.typeData);
  795. // id放入数组
  796. this.selectArr = this.selectArr.filter((item) => item != data.id);
  797. for (var i = 0; i < this.userId.ids.length; i++) {
  798. if (this.userId.ids[i] == data.id) {
  799. this.typeData.splice(i, 1);
  800. this.userId.ids.splice(i, 1);
  801. }
  802. }
  803. },
  804. //选中
  805. ac1(data, i) {
  806. console.log(data, i, this.userId.ids, '选中');
  807. if (this.tabType == 'specimenPlan' && this.typeData.length > 0) {
  808. this.typeData = [data];
  809. } else {
  810. this.typeData.push(data);
  811. }
  812. this.types = false;
  813. for (var i = 0; i < this.typeData.length; i++) {
  814. if (this.typeData[0].gdState.value != this.typeData[i].gdState.value) {
  815. this.models = {
  816. disjunctor: true,
  817. title: "提示",
  818. content: "请选择不同状态的工单!",
  819. icon: "warn",
  820. operate: {
  821. know: "返回",
  822. },
  823. };
  824. this.typeData.splice(i, 1);
  825. this.types = true;
  826. }
  827. }
  828. if (!this.types) {
  829. if (this.tabType == 'specimenPlan' && this.typeData.length > 0) {
  830. this.userId.ids = [data.id];
  831. this.selectArr = [data.id];
  832. } else {
  833. this.userId.ids.push(data.id);
  834. this.selectArr.push(data.id);
  835. }
  836. }
  837. },
  838. //全选
  839. all() {
  840. let id = [];
  841. this.typeData = JSON.parse(JSON.stringify(this.workData));
  842. this.typePD(this.workData);
  843. if (this.types) {
  844. this.models = {
  845. disjunctor: true,
  846. title: "提示",
  847. content: "请选择不同状态的工单!",
  848. icon: "warn",
  849. operate: {
  850. know: "返回",
  851. },
  852. };
  853. this.typeData = [];
  854. } else {
  855. for (var i = 0; i < this.workData.length; i++) {
  856. id.push(this.workData[i].id);
  857. this.selectArr.push(this.workData[i].id);
  858. }
  859. this.userId.ids = id;
  860. }
  861. },
  862. //全不选
  863. Dall() {
  864. this.selectArr = [];
  865. this.typeData = [];
  866. this.userId.ids = [];
  867. },
  868. texiao() {
  869. setTimeout(() => {
  870. this.animation.height(0).opacity(0).step();
  871. this.animationData = this.animation.export();
  872. }, 15000);
  873. },
  874. // 返回
  875. know() {
  876. this.models.disjunctor = false;
  877. },
  878. },
  879. onLoad(options) {
  880. console.log(options, 'options');
  881. this.infoDATA = JSON.parse(options.infoDATA); //扫描科室码返回的信息
  882. console.log(this.infoDATA);
  883. this.code = options.code; //扫描科室码返回的二维码信息
  884. this.deptName = options.deptName; //扫描科室码返回的科室名称
  885. this.deptId = options.deptId; //扫描科室码返回的科室ID
  886. let arr = [];
  887. for (let key in this.infoDATA) {
  888. if(key === 'ordinary'){
  889. // 如果是万能交接服务,key值要从关联业务区分
  890. this.infoDATA['ordinary'].forEach(v => {
  891. arr.push(v.taskType.ordinaryField.value);
  892. if(this.infoDATA[v.taskType.ordinaryField.value]){
  893. this.infoDATA[v.taskType.ordinaryField.value].push(v);
  894. }else{
  895. this.infoDATA[v.taskType.ordinaryField.value] = [v];
  896. }
  897. })
  898. delete this.infoDATA['ordinary'];
  899. }else{
  900. arr.push(key);
  901. }
  902. }
  903. this.workData = this.infoDATA[arr[0]] || [];
  904. console.log('病人数据',this.workData);
  905. this.tabType = arr[0];
  906. this.all();
  907. // #ifdef APP-PLUS
  908. webHandle("no", "app");
  909. // #endif
  910. // #ifdef H5
  911. webHandle("no", "wx");
  912. // #endif
  913. },
  914. onShow() {
  915. this.SMFlag = true;
  916. this.flag = true;
  917. // 创建动画
  918. this.animation = uni.createAnimation({
  919. duration: 500,
  920. timingFunction: "ease",
  921. delay: 2000,
  922. });
  923. setTimeout(() => {
  924. this.texiao();
  925. }, 500);
  926. // #ifdef APP-PLUS
  927. uni.$off('scan') // 每次进来先 移除全局自定义事件监听器
  928. // uni.$on('scan', function(data) {
  929. // that.pdaChange(data)
  930. // })
  931. // #endif
  932. },
  933. onHide() {
  934. this.animationData = {};
  935. },
  936. onUnload() {
  937. // 页面关闭后清空数据
  938. this.animationData = {};
  939. },
  940. created(){
  941. this.hosId = uni.getStorageSync('userData').user.currentHospital.id;
  942. }
  943. };
  944. </script>
  945. <style lang="less">
  946. ::-webkit-scrollbar {
  947. width: 0;
  948. }
  949. ::-webkit-scrollbar-track {
  950. background-color: none;
  951. }
  952. ::-webkit-scrollbar-thumb {
  953. background-color: none;
  954. }
  955. ::-webkit-scrollbar-thumb:hover {
  956. background-color: none;
  957. }
  958. ::-webkit-scrollbar-thumb:active {
  959. background-color: none;
  960. }
  961. .Scanning_all {
  962. .title {
  963. font-size: 36rpx;
  964. margin-top: 20rpx;
  965. margin-bottom: 20rpx;
  966. font-weight: 700;
  967. position: relative;
  968. height: 40rpx;
  969. .span1 {
  970. position: absolute;
  971. left: 0;
  972. font-weight: 700;
  973. }
  974. .span2 {
  975. position: absolute;
  976. right: 20%;
  977. color: rgb(73, 184, 86);
  978. }
  979. .span3 {
  980. position: absolute;
  981. right: 0;
  982. color: rgb(73, 184, 86);
  983. }
  984. }
  985. .tabs {
  986. height: 90rpx;
  987. width: 100%;
  988. overflow-x: auto;
  989. overflow-y: hidden;
  990. position: relative;
  991. background: #fff;
  992. .acts {
  993. background: #ccc;
  994. height: 50rpx !important;
  995. width: 80% !important;
  996. border-radius: 20rpx;
  997. }
  998. .tab {
  999. display: flex;
  1000. align-items: center;
  1001. flex-wrap: nowrap;
  1002. height: 90rpx;
  1003. position: absolute;
  1004. width: auto;
  1005. padding-top: 6rpx;
  1006. view {
  1007. display: inline-block;
  1008. width: 300rpx;
  1009. line-height: 48rpx;
  1010. font-size: 32rpx;
  1011. height: 100%;
  1012. text-align: center;
  1013. }
  1014. }
  1015. }
  1016. .Scanning {
  1017. padding: 0 20rpx;
  1018. height: calc(100% - 100rpx);
  1019. // seimin
  1020. .Scanning_top {
  1021. height: 400rpx;
  1022. opacity: 1;
  1023. .Scanning_top_icon {
  1024. width: 140rpx;
  1025. height: 140rpx;
  1026. margin: 0 auto;
  1027. margin-top: 36rpx;
  1028. border-radius: 50%;
  1029. line-height: 140rpx;
  1030. .cubeic-ok {
  1031. font-size: 140rpx;
  1032. color: #35b34a;
  1033. }
  1034. .cubeic-close {
  1035. font-size: 140rpx;
  1036. color: #ff3b53;
  1037. }
  1038. }
  1039. .Scanning_top_text {
  1040. .text1 {
  1041. margin-top: 40rpx;
  1042. font-size: 48rpx;
  1043. text-align: center;
  1044. }
  1045. }
  1046. .Scanning_cont {
  1047. font-size: 32rpx;
  1048. margin-top: 30rpx;
  1049. text-align: center;
  1050. .text1 {
  1051. margin-top: 24rpx;
  1052. color: #ff3b53;
  1053. }
  1054. }
  1055. }
  1056. .page_items {
  1057. margin-bottom: 110rpx;
  1058. .zwsj {
  1059. margin-top: 180rpx;
  1060. text-align: center;
  1061. .zwsj-img {
  1062. width: 560rpx;
  1063. }
  1064. .zwsj_txt {
  1065. font-size: 36rpx;
  1066. font-weight: 700;
  1067. margin-top: 20rpx;
  1068. text-align: center;
  1069. }
  1070. }
  1071. .page_item {
  1072. margin-top: 16rpx;
  1073. // min-height: 356rpx;
  1074. background: #fff;
  1075. border-radius: 8rpx;
  1076. overflow-y: auto;
  1077. padding: 0 16rpx;
  1078. border: 2rpx solid #e5e9ed;
  1079. .L {
  1080. width: 40rpx;
  1081. height: 40rpx;
  1082. border-radius: 50%;
  1083. background: #f9fafb;
  1084. position: relative;
  1085. left: -50rpx;
  1086. top: 66rpx;
  1087. }
  1088. .R {
  1089. width: 40rpx;
  1090. height: 40rpx;
  1091. border-radius: 50%;
  1092. background: #f9fafb;
  1093. position: relative;
  1094. float: right;
  1095. right: -50rpx;
  1096. top: 26rpx;
  1097. }
  1098. .starting {
  1099. width: 50rpx;
  1100. height: 50rpx;
  1101. color: #fff;
  1102. background: #49b856;
  1103. display: inline-block;
  1104. border-radius: 50%;
  1105. text-align: center;
  1106. line-height: 46rpx;
  1107. font-size: 32rpx;
  1108. margin-right: 6rpx;
  1109. }
  1110. .End {
  1111. width: 50rpx;
  1112. height: 50rpx;
  1113. color: #fff;
  1114. background: #39b199;
  1115. display: inline-block;
  1116. border-radius: 50%;
  1117. text-align: center;
  1118. line-height: 46rpx;
  1119. font-size: 32rpx;
  1120. margin-right: 6rpx;
  1121. }
  1122. .page_item_top {
  1123. height: 86rpx;
  1124. border-bottom: 2rpx dashed #e5e9ed;
  1125. padding: 0 16rpx;
  1126. .page_item_top_L {
  1127. height: 100%;
  1128. float: left;
  1129. line-height: 88rpx;
  1130. display: flex;
  1131. align-items: center;
  1132. .ac {
  1133. width: 32rpx;
  1134. height: 32rpx;
  1135. border: 2rpx solid #ccc;
  1136. display: inline-block;
  1137. position: relative;
  1138. .ac-span {
  1139. position: absolute;
  1140. left: 50%;
  1141. top: 50%;
  1142. width: 24rpx;
  1143. height: 24rpx;
  1144. background: #39b199;
  1145. transform: translate(-50%, -50%);
  1146. }
  1147. }
  1148. .ac1 {
  1149. width: 32rpx;
  1150. height: 32rpx;
  1151. border: 2rpx solid #ccc;
  1152. display: inline-block;
  1153. position: relative;
  1154. }
  1155. .emergencys {
  1156. background: #ff3b53 !important;
  1157. width: 124rpx !important;
  1158. }
  1159. .emergency {
  1160. background: #ff3b53 !important;
  1161. }
  1162. .emergency1 {
  1163. background: #49b856 !important;
  1164. }
  1165. .page_item_cont_start {
  1166. text-align: center;
  1167. height: 44rpx;
  1168. width: 104rpx;
  1169. line-height: 44rpx;
  1170. border-radius: 8rpx;
  1171. background: #49b856;
  1172. color: #fff;
  1173. display: inline-block;
  1174. .page_item_cont_start_txt {
  1175. font-size: 28rpx;
  1176. display: flex;
  1177. align-items: center;
  1178. justify-content: center;
  1179. .cubeic-star {
  1180. font-size: 28rpx;
  1181. }
  1182. }
  1183. }
  1184. .L_time {
  1185. color: #6cc076;
  1186. font-size: 32rpx;
  1187. }
  1188. .L_text {
  1189. font-size: 32rpx;
  1190. display: inline-block;
  1191. font-weight: 700;
  1192. margin-right: 8rpx;
  1193. }
  1194. }
  1195. .page_item_top_R {
  1196. height: 60rpx;
  1197. float: right;
  1198. padding-top: 20rpx;
  1199. font-size: 32rpx;
  1200. position: absolute;
  1201. right: 50rpx;
  1202. .L_iocn {
  1203. display: inline-block;
  1204. height: 52rpx;
  1205. line-height: 48rpx;
  1206. color: rgb(7, 134, 60);
  1207. font-size: 36rpx;
  1208. font-weight: 700;
  1209. }
  1210. }
  1211. }
  1212. .page_item_cont {
  1213. min-height: 180rpx;
  1214. padding: 0 16rpx;
  1215. text-align: left;
  1216. position: relative;
  1217. .text_big {
  1218. font-size: 32rpx;
  1219. position: absolute;
  1220. right: 16rpx;
  1221. font-weight: 700;
  1222. margin-top: 10rpx;
  1223. }
  1224. .text_big2 {
  1225. font-size: 32rpx;
  1226. position: absolute;
  1227. right: 16rpx;
  1228. font-weight: 700;
  1229. }
  1230. .line {
  1231. height: 20rpx;
  1232. width: 2rpx;
  1233. border-left: 2rpx solid #e5e9ed;
  1234. position: absolute;
  1235. top: 82rpx;
  1236. left: 40rpx;
  1237. }
  1238. .lines {
  1239. height: 40%;
  1240. width: 2rpx;
  1241. border-left: 2rpx solid #e5e9ed;
  1242. position: absolute;
  1243. top: 23%;
  1244. left: 36rpx;
  1245. }
  1246. .page_item_cont_T {
  1247. padding-top: 28rpx;
  1248. font-size: 28rpx;
  1249. .page_item_cont_title {
  1250. height: 100%;
  1251. font-size: 32rpx;
  1252. }
  1253. }
  1254. .page_item_cont_B {
  1255. padding-top: 28rpx;
  1256. margin-bottom: 28rpx;
  1257. .page_item_cont_title {
  1258. height: 60rpx;
  1259. font-size: 32rpx;
  1260. }
  1261. .page_item_cont_title1 {
  1262. height: 60rpx;
  1263. line-height: 60rpx;
  1264. font-size: 32rpx;
  1265. padding-left: 64rpx;
  1266. }
  1267. }
  1268. }
  1269. .page_item_foot {
  1270. border-top: 2rpx dashed #e5e9ed;
  1271. border-bottom: 2rpx dashed #e5e9ed;
  1272. padding: 28rpx 16rpx;
  1273. text-align: left;
  1274. .page_item_foot_text {
  1275. height: 48rpx;
  1276. font-size: 32rpx;
  1277. line-height: 48rpx;
  1278. margin-bottom: 20rpx;
  1279. .text1 {
  1280. color: rgb(102, 102, 102);
  1281. }
  1282. .text2 {
  1283. float: right;
  1284. font-weight: 700;
  1285. }
  1286. }
  1287. }
  1288. #infos {
  1289. display: none;
  1290. }
  1291. .page_item_infos {
  1292. padding-bottom: 20rpx;
  1293. border-bottom: 2rpx dashed #e5e9ed;
  1294. .page_item_info2 {
  1295. text-align: left;
  1296. line-height: 60rpx;
  1297. font-size: 32rpx;
  1298. padding-left: 16rpx;
  1299. .page_item_foot_text {
  1300. height: 48rpx;
  1301. font-size: 32rpx;
  1302. line-height: 48rpx;
  1303. margin-bottom: 20rpx;
  1304. .text1 {
  1305. color: rgb(102, 102, 102);
  1306. }
  1307. .text2 {
  1308. float: right;
  1309. font-weight: 700;
  1310. }
  1311. }
  1312. }
  1313. }
  1314. }
  1315. }
  1316. .foot_btn2 {
  1317. position: fixed;
  1318. bottom: 0;
  1319. right: 20rpx;
  1320. left: 20rpx;
  1321. line-height: 66rpx;
  1322. height: 100rpx;
  1323. border-top: 2rpx solid #e5e9ed;
  1324. background: #f9fafb;
  1325. display: flex;
  1326. .btn1,
  1327. .btn2 {
  1328. height: 66rpx;
  1329. flex: 1;
  1330. margin: 0 2%;
  1331. background-image: linear-gradient(to right, #72c172, #3bb197);
  1332. color: #fff;
  1333. border-radius: 8rpx;
  1334. font-size: 32rpx;
  1335. margin-top: 16rpx;
  1336. text-align: center;
  1337. }
  1338. }
  1339. .foot_btn1 {
  1340. position: fixed;
  1341. bottom: 0;
  1342. right: 20rpx;
  1343. left: 20rpx;
  1344. line-height: 66rpx;
  1345. height: 100rpx;
  1346. border-top: 2rpx solid #e5e9ed;
  1347. background: #f9fafb;
  1348. text-align: center;
  1349. .btn3 {
  1350. height: 66rpx;
  1351. width: 100%;
  1352. background-image: linear-gradient(to right, #72c172, #3bb197);
  1353. color: #fff;
  1354. border-radius: 8rpx;
  1355. font-size: 32rpx;
  1356. margin-top: 16rpx;
  1357. }
  1358. }
  1359. }
  1360. }
  1361. </style>