SuitScience.vue 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054
  1. // 适宜技术处方
  2. <template>
  3. <div id="suitScience">
  4. <!-- 中成药方 和适宜技术处方 -->
  5. <div class="chinese_medicine">
  6. <div class="flex flex-row-right">
  7. <div class="clearer flex-center" @click="clear();$emit('clear')">清空</div>
  8. </div>
  9. <!-- 中成药 -->
  10. <!-- fixed="left" -->
  11. <div class="table-container">
  12. <div class="table-show flex-vertical-between flex-wrap">
  13. <div class="table-left">
  14. <el-table :data="listLeft" border style="width:100%;">
  15. <el-table-column prop="id" label="序号" fixed="left" width="50"></el-table-column>
  16. <el-table-column prop="name" label="穴位">
  17. <template slot-scope="scope">
  18. <!-- <el-input v-model="scope.row.name" size="mini"></el-input> -->
  19. <div class="xuewei">
  20. <el-select
  21. :id="'xuwei'+scope.row.id"
  22. size="mini"
  23. remote
  24. :value="scope.row.name"
  25. filterable
  26. placeholder="请选择" :disabled="!editable"
  27. @change="acunameC($event,scope)"
  28. :filter-method="filterMethod"
  29. >
  30. <el-option
  31. :label="item.acuname"
  32. :value="item.acuid"
  33. v-for="(item,index) in acupointList"
  34. :key="index"
  35. ></el-option>
  36. </el-select>
  37. </div>
  38. </template>
  39. </el-table-column>
  40. <el-table-column label="操作" width="100">
  41. <template slot-scope="scope" v-if="scope.row.name">
  42. <div class="operate">
  43. <img v-if="editable" src="../assets/add.png" alt @click="addData(scope)" />
  44. <img v-if="editable" src="../assets/delete1.png" alt @click="deleteData(scope)" />
  45. <img src="../assets/find.png" alt @click="find(scope)" />
  46. </div>
  47. </template>
  48. </el-table-column>
  49. </el-table>
  50. </div>
  51. <div class="table-left">
  52. <el-table :data="listRight" border style="width:100%;">
  53. <el-table-column prop="id" label="序号" fixed="left" width="50"></el-table-column>
  54. <el-table-column prop="name" label="穴位">
  55. <template slot-scope="scope">
  56. <!-- <el-input v-model="scope.row.name" size="mini"></el-input> -->
  57. <div class="xuewei">
  58. <el-select
  59. :id="'xuwei'+scope.row.id"
  60. size="mini"
  61. remote
  62. :value="scope.row.name"
  63. filterable
  64. placeholder="请选择" :disabled="!editable"
  65. @change="acunameC($event,scope)"
  66. :filter-method="filterMethod"
  67. >
  68. <el-option
  69. :label="item.acuname"
  70. :value="item.acuid"
  71. v-for="(item,index) in acupointList"
  72. :key="index"
  73. ></el-option>
  74. </el-select>
  75. </div>
  76. </template>
  77. </el-table-column>
  78. <el-table-column label="操作" width="100">
  79. <template slot-scope="scope" v-if="scope.row.name">
  80. <div class="operate">
  81. <img v-if="editable" src="../assets/add.png" alt @click="addData(scope)" />
  82. <img v-if="editable" src="../assets/delete1.png" alt @click="deleteData(scope)" />
  83. <img src="../assets/find.png" alt @click="find(scope)" />
  84. </div>
  85. </template>
  86. </el-table-column>
  87. </el-table>
  88. </div>
  89. </div>
  90. <!-- 底部处方 -->
  91. <div class="table-bottom">
  92. <div class="table-b-header">
  93. <div class="flex-vertical-center-l header-about flex-wrap" v-if="container_i==2">
  94. <div class="item flex-vertical-center-l">
  95. <span>类型:</span>
  96. <div class="div2">
  97. <el-select
  98. size="mini"
  99. v-model="bottom_form.doseType1"
  100. placeholder="请选择"
  101. @change="doseType1C"
  102. >
  103. <el-option
  104. :label="item.value[0]"
  105. :value="item.key"
  106. v-for="(item,index) in typeList"
  107. :key="index"
  108. ></el-option>
  109. </el-select>
  110. </div>
  111. </div>
  112. <div class="item flex-vertical-center-l">
  113. <span>次数:</span>
  114. <div class="div1">
  115. <el-input
  116. size="mini"
  117. @change="countPrice()"
  118. placeholder="请输入 "
  119. v-model="bottom_form.doseNum1"
  120. ></el-input>
  121. </div>
  122. </div>
  123. </div>
  124. <div v-if="container_i==2" class="header-about">
  125. <div class="item flex-vertical-center-l" style="align-items:flex-start;">
  126. <span>操作指南:</span>
  127. <div style="flex:1;">
  128. <el-input
  129. size="mini"
  130. placeholder="请输入"
  131. v-model="bottom_form.caozuo"
  132. type="textarea"
  133. autosize
  134. ></el-input>
  135. </div>
  136. </div>
  137. </div>
  138. <div class="header-about">
  139. <div class="item flex-vertical-center-l">
  140. <span>嘱托:</span>
  141. <div style="flex:1;">
  142. <el-input size="mini" placeholder="请输入" v-model="bottom_form.zhutuo"></el-input>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. <!-- 留在这个页面 -->
  151. <div class="table-b-bottom flex-vertical-between">
  152. <div class="t-b-b-left flex-vertical-center-l flex-wrap">
  153. <div class="t-b-l-item">
  154. 当前处方金额:
  155. <span>{{nowMoney}}元</span>
  156. </div>
  157. <div class="t-b-l-item">
  158. 合计费用:
  159. <span>{{allMoney}}元</span>
  160. </div>
  161. </div>
  162. <div class="t-b-b-right flex-vertical-center-r">
  163. <!-- <div class="flex-center bg-green" @click="submit()" v-if="showSubmit">提交处方</div> -->
  164. <template v-if="isAutoCheck==0">
  165. <el-button
  166. type="primary"
  167. size="mini"
  168. @click="submit()"
  169. v-if="editable"
  170. >保存处方</el-button>
  171. </template>
  172. <template v-if="isAutoCheck==1">
  173. <el-button
  174. type="primary"
  175. size="mini"
  176. @click="submit()"
  177. v-if="editable"
  178. >保存处方</el-button>
  179. </template>
  180. </div>
  181. </div>
  182. </div>
  183. </template>
  184. <script>
  185. import { getXueweiList } from "@/api/knowledge.js";
  186. import { getSelectType } from "@/api/city.js";
  187. import { mapGetters } from "vuex";
  188. import { getDataByKey } from "@/api/system.js";
  189. export default {
  190. props: {
  191. container_i: {
  192. type: Number,
  193. default: 2
  194. },
  195. showSubmit: {
  196. type: Boolean,
  197. default: true
  198. }
  199. },
  200. computed: {
  201. editable() {
  202. switch (+this.isAutoCheck) {
  203. case 0:
  204. /**
  205. * v-if="isAutoCheck==0"
  206. * v-if="prescribed==0 || !prescribed"
  207. * 保存处方
  208. */
  209. return +this.prescribed === 0
  210. case 1:
  211. /**
  212. * v-if="isAutoCheck==1"
  213. * v-if="paystate==0 || !paystate"
  214. * 保存处方
  215. */
  216. return +this.paystate === 0
  217. default:
  218. return false
  219. }
  220. },
  221. saveable() /* 父组件 获取 */ {
  222. return this.editable && this.tableData4.some(item => item.name)
  223. },
  224. ...mapGetters(["getuserinfo", "getPatiensInfo"])
  225. },
  226. data() {
  227. return {
  228. isMyMade: true,
  229. prescribed: 0,
  230. isAutoCheck: "0", // 是否自动审核 0 手动 1自动 (自动的时候用his 的是否支付成功字段 判断显示)
  231. paystate: 0, // 云his 是否支付 0 否 1是(为否可以编辑)
  232. name: "适宜技术处方",
  233. recipeId: "", // 当前选择的处方 id(推荐方剂)
  234. tableData4: [
  235. {
  236. id: 1,
  237. name: "",
  238. acuname: "",
  239. acuid: ""
  240. }
  241. ],
  242. listLeft: [],
  243. listRight: [],
  244. nowMoney: 0,
  245. allMoney: 0,
  246. isPay: false,
  247. // 底部表单
  248. bottom_form: {
  249. doseNum: "",
  250. doseType: "",
  251. usege: "",
  252. num: "",
  253. daijian: "",
  254. nongjian: "",
  255. time: "",
  256. caozuo: "",
  257. zhutuo: "",
  258. radio: 1,
  259. pro: "",
  260. city: "",
  261. area: "",
  262. address: "",
  263. phone: "",
  264. doseType1: "",
  265. doseNum: ""
  266. },
  267. caozuoArr: [],
  268. typeList: [],
  269. acupointList: [] // 穴位列表
  270. };
  271. },
  272. created() {
  273. this.getSelectType();
  274. this.getXueweiList();
  275. this.getDataByKey();
  276. },
  277. watch: {
  278. getuserinfo: {
  279. deep: true,
  280. immediate: true,
  281. handler() {
  282. if (this.getuserinfo.organizationid) {
  283. this.getDataByKey("automaticReview");
  284. }
  285. }
  286. },
  287. tableData4: {
  288. handler: function() {
  289. this.listLeft = this.tableData4.filter(item => {
  290. return item.id % 2 != 0;
  291. });
  292. this.listRight = this.tableData4.filter(item => {
  293. return item.id % 2 == 0;
  294. });
  295. },
  296. deep: true,
  297. immediate: true
  298. }
  299. },
  300. methods: {
  301. doseType1C(e) {
  302. this.typeList.forEach(item => {
  303. if (item.key == e) {
  304. this.bottom_form.doseType = item.value[1];
  305. }
  306. });
  307. this.countPrice();
  308. },
  309. //清空处方
  310. clear() {
  311. if (!this.editable) {
  312. this.$message.warning("已支付处方不可以清空");
  313. return;
  314. }
  315. this.isMyMade = true;
  316. this.tableData4 = [
  317. {
  318. id: 1,
  319. name: "",
  320. acuname: "",
  321. acuid: ""
  322. }
  323. ];
  324. this.nowMoney = "";
  325. this.allMoney = "";
  326. this.bottom_form = {
  327. doseNum: "",
  328. doseType: "",
  329. usege: "",
  330. num: "",
  331. daijian: "",
  332. nongjian: "",
  333. time: "",
  334. caozuo: "",
  335. zhutuo: "",
  336. radio: 1,
  337. pro: "",
  338. city: "",
  339. area: "",
  340. address: "",
  341. phone: "",
  342. doseType1: "",
  343. doseNum: ""
  344. };
  345. this.caozuoArr = [];
  346. },
  347. find(scope) {
  348. this.$emit("find", scope);
  349. },
  350. filterMethod(e) {
  351. let pinyin = /^[A-Za-z]+$/g;
  352. if (pinyin.test(e)) {
  353. this.getXueweiList(e, "1");
  354. } else {
  355. this.getXueweiList(e, "");
  356. }
  357. },
  358. submit() {
  359. this.$emit("submit");
  360. },
  361. acunameC(e, scope) {
  362. let isRepeat = false;
  363. let index = scope.row.id - 1;
  364. this.tableData4.forEach(item => {
  365. if (item.acuid == e) {
  366. this.$message({
  367. message: "穴位不可重复选择",
  368. type: "error",
  369. showClose: false
  370. });
  371. isRepeat = true;
  372. }
  373. });
  374. if (isRepeat) {
  375. this.tableData4[index].name = "";
  376. return;
  377. }
  378. let _self = this;
  379. const tag = "\u2060:\u2060"
  380. const merge = !this.bottom_form.caozuo || this.bottom_form.caozuo.includes(tag)
  381. this.acupointList.forEach(item => {
  382. if (item.acuid == e) {
  383. _self.tableData4[index].acuname = item.acuname;
  384. _self.tableData4[index].name = item.acuname;
  385. _self.tableData4[index].acuid = item.acuid;
  386. if (merge && item.acuoperation) _self.bottom_form.caozuo +=
  387. item.acuname + tag + item.acuoperation + " ";
  388. }
  389. });
  390. this.addData(scope);
  391. // this.countPrice();
  392. },
  393. // 计算价格
  394. countPrice() {
  395. let arr = this.tableData4.filter(item => {
  396. return item.name != "";
  397. });
  398. let price = this.typeList.filter(item => {
  399. return item.key == this.bottom_form.doseType1;
  400. });
  401. console.log(price);
  402. if (!Array.isArray(price) || price[0] == null) return
  403. let num = this.bottom_form.doseNum1
  404. ? Number(this.bottom_form.doseNum1)
  405. : 0;
  406. this.nowMoney = price[0].value[1] * num;
  407. this.allMoney = price[0].value[1] * num;
  408. this.nowMoney = this.nowMoney.toFixed(2);
  409. this.allMoney = this.allMoney.toFixed(2);
  410. this.$emit("update:totalAllMoney", this.allMoney);
  411. },
  412. // 添加数据
  413. addData(scope) {
  414. // let index = scope.$index;
  415. let index = scope.row.id - 1;
  416. let tableData4 = this.tableData4;
  417. if (index == this.tableData4.length - 1) {
  418. this.tableData4.push({
  419. id: 1,
  420. name: "",
  421. acuname: "",
  422. acuid: ""
  423. });
  424. } else {
  425. let data = this.tableData4.splice(scope.row.id);
  426. tableData4.push({
  427. id: 1,
  428. name: "",
  429. acuname: "",
  430. acuid: ""
  431. });
  432. tableData4 = tableData4.concat(data);
  433. this.tableData4 = tableData4;
  434. }
  435. this.getXueweiList("", "");
  436. this.tableData4.filter((item, index) => {
  437. return (item.id = index + 1);
  438. });
  439. // document.getElementById('xuwei' + scope.row.id).focus()
  440. setTimeout(() => {
  441. console.log(
  442. document.querySelectorAll("#xuwei" + (scope.row.id + 1))[0],
  443. "lalal"
  444. );
  445. document.querySelectorAll("#xuwei" + (scope.row.id + 1))[0].focus();
  446. // document.querySelectorAll('#xuwei' + (scope.row.id + 1))[0].style.borderColor = 'red'
  447. }, 200);
  448. },
  449. // 删除一条数据
  450. deleteData(scope) {
  451. let index = scope.row.id - 1;
  452. if (index == 0 && this.tableData4.length == 1) return;
  453. this.tableData4.splice(index, 1);
  454. let arr = this.bottom_form.caozuo.split(" ");
  455. arr.forEach((item, index) => {
  456. if (item.indexOf(scope.row.name) !== -1) {
  457. arr.splice(index, 1);
  458. }
  459. });
  460. this.bottom_form.caozuo = arr.join(" ");
  461. this.tableData4.filter((item, index) => {
  462. return (item.id = index + 1);
  463. });
  464. this.countPrice();
  465. },
  466. // 获取剂型
  467. async getSelectType() {
  468. let res = await getSelectType("类型");
  469. if (res.ResultCode == 0) {
  470. res.Data.forEach(item => {
  471. item.value = item.value.split("-");
  472. });
  473. this.typeList = res.Data;
  474. }
  475. },
  476. // 获取穴位数据
  477. async getXueweiList(key = "", serchtype = "") {
  478. let params = {
  479. pageid: 1,
  480. pagesize: 999,
  481. serchtype: serchtype,
  482. keyword: key
  483. };
  484. let res = await getXueweiList(params);
  485. if (res.code == 0) {
  486. this.acupointList = res.data.acupoints;
  487. }
  488. },
  489. // 获取医共体计算方式配置
  490. async getDataByKey(key = "automaticReview") {
  491. /*
  492. countMenthod:计费方式
  493. automaticReview:是否开启自动审核
  494. */
  495. let res = await getDataByKey({
  496. key: key,
  497. organizationid: this.getuserinfo.organizationid
  498. });
  499. if (res.ResultCode == 0) {
  500. if (key == "countMenthod") {
  501. if (res.ResultInfo == "0") {
  502. this.countWay = "1";
  503. } else if (res.ResultInfo == "1") {
  504. this.countWay = "2";
  505. } else if (res.ResultInfo == "2") {
  506. this.countWay = "3";
  507. }
  508. }
  509. if (key == "automaticReview") {
  510. this.isAutoCheck = res.ResultInfo;
  511. }
  512. }
  513. }
  514. }
  515. };
  516. </script>
  517. <style lang="scss" scoped>
  518. @import "../style/common.scss";
  519. .chinese_medicine {
  520. padding: 5px 5px;
  521. .clearer {
  522. width: 84px;
  523. height: 28px;
  524. background: #ffae45;
  525. border-radius: 4px;
  526. font-size: 14px;
  527. font-family: PingFang SC;
  528. font-weight: bold;
  529. color: #ffffff;
  530. cursor: pointer;
  531. margin-bottom: 5px;
  532. // float: right;
  533. }
  534. }
  535. .center-table {
  536. border: 2px solid #dedede;
  537. padding: 7px 0 0;
  538. // min-height: 600px;
  539. // position: relative;
  540. .table-header {
  541. padding-bottom: 7px;
  542. border-bottom: 2px solid #dedede;
  543. .table-label {
  544. .label-item {
  545. cursor: pointer;
  546. width: 134px;
  547. border-right: 2px solid #eaeaea;
  548. div {
  549. color: #666;
  550. transform: rotate(45deg);
  551. font-size: 28px;
  552. margin-left: 12px;
  553. margin-top: 1px;
  554. }
  555. }
  556. span {
  557. font-size: 14px;
  558. font-family: PingFang SC;
  559. font-weight: 400;
  560. color: #666666;
  561. }
  562. .l_active {
  563. color: #5386f6;
  564. }
  565. }
  566. }
  567. .add-presc {
  568. width: 70px;
  569. height: 26px;
  570. background: #ffae45;
  571. border-radius: 4px;
  572. font-size: 12px;
  573. font-family: PingFang SC;
  574. font-weight: 400;
  575. color: #ffffff;
  576. cursor: pointer;
  577. margin-right: 20px;
  578. }
  579. .table-container {
  580. padding: 0px 0px;
  581. height: 340px;
  582. overflow: auto;
  583. }
  584. .table-show {
  585. width: 100%;
  586. min-height: 212px;
  587. overflow: auto;
  588. display: flex;
  589. align-items: flex-start;
  590. justify-content: space-between;
  591. // background: #5386F6;
  592. // overflow: hidden;
  593. .table-left-body {
  594. width: 49.9%;
  595. position: relative;
  596. perspective: 100px;
  597. padding-bottom: 10px;
  598. }
  599. .table-left {
  600. // width: 100%;
  601. flex: 0 0 49.9%;
  602. overflow-y: auto;
  603. border: 1px solid #dedede;
  604. box-sizing: border-box;
  605. .table-l-hader {
  606. white-space: nowrap;
  607. div {
  608. display: inline-block;
  609. // padding: 15px 10px;
  610. background: #f3fffb;
  611. text-align: center;
  612. height: 48px;
  613. line-height: 48px;
  614. border: 1px solid #dedede;
  615. border-bottom: 0 !important;
  616. // border-top: 0 !important;
  617. }
  618. .med-name {
  619. margin-left: 50px;
  620. }
  621. .kucun {
  622. padding-right: 120px;
  623. }
  624. .fixed-r {
  625. position: fixed;
  626. right: 0;
  627. }
  628. .fixed-left {
  629. position: fixed;
  630. left: 0;
  631. }
  632. }
  633. .table-l-item {
  634. white-space: nowrap;
  635. .bg-green {
  636. .div1 {
  637. background: #f3fffb;
  638. border: 1px solid #dedede;
  639. }
  640. }
  641. .div1 {
  642. display: inline-block;
  643. // padding: 15px 10px;
  644. background: #ffffff;
  645. text-align: center;
  646. height: 53px;
  647. line-height: 53px;
  648. border: 1px solid #dedede;
  649. z-index: 9999;
  650. border-top: 0 !important;
  651. }
  652. .med-name {
  653. margin-left: 50px;
  654. }
  655. .kucun {
  656. padding-right: 120px;
  657. border-right: 1px solid #dedede;
  658. }
  659. .fixed-r {
  660. position: fixed;
  661. right: 0;
  662. }
  663. .fixed-left {
  664. position: fixed;
  665. left: 0;
  666. // border-left: 1px solid #DEDEDE;
  667. }
  668. .no-data {
  669. width: 100%;
  670. box-sizing: border-box;
  671. // border-top: 1px solid #DEDEDE;
  672. position: relative;
  673. left: 0;
  674. right: 0;
  675. bottom: 0px;
  676. // float: left;
  677. }
  678. }
  679. }
  680. }
  681. .operate {
  682. width: 100%;
  683. height: 100%;
  684. display: flex;
  685. align-items: center;
  686. justify-content: space-around;
  687. img {
  688. width: 16px;
  689. }
  690. }
  691. .bottom-input {
  692. background: #fff;
  693. padding: 12.5px 30px 12.5px 52px;
  694. position: relative;
  695. // z-index: 999;
  696. // perspective: 100px;
  697. .div {
  698. width: 154px;
  699. }
  700. .table-choose {
  701. z-index: 9999;
  702. width: 332px;
  703. height: 221px;
  704. background: #ffffff;
  705. border: 2px solid #d8d8d8;
  706. position: relative;
  707. top: 2px;
  708. left: -48px;
  709. overflow: auto;
  710. .table-choose-h {
  711. background: #f3fffb;
  712. div {
  713. height: 36px;
  714. width: 73px;
  715. }
  716. div:first-child {
  717. width: 115px;
  718. }
  719. }
  720. .t-c-b {
  721. cursor: pointer;
  722. .td {
  723. background: #f3fffb;
  724. }
  725. p {
  726. border: 1px solid #ededed;
  727. height: 36px;
  728. width: 73px;
  729. // flex: 1;
  730. box-sizing: border-box;
  731. }
  732. p:first-child {
  733. width: 115px;
  734. }
  735. }
  736. }
  737. }
  738. .table-bottom {
  739. // position: absolute;
  740. // bottom: 0;
  741. // right: 0;
  742. // left: 0;\
  743. padding: 0 5px;
  744. // margin-top: 241px;
  745. margin-top: 5px;
  746. .header-about {
  747. .item {
  748. margin-right: 20px;
  749. margin-bottom: 10px;
  750. span {
  751. font-size: 16px;
  752. font-family: PingFang SC;
  753. font-weight: 400;
  754. color: #333333;
  755. }
  756. .div1 {
  757. width: 120px;
  758. }
  759. .div2 {
  760. width: 74px;
  761. }
  762. .city1 {
  763. width: 120px;
  764. }
  765. .div3 {
  766. width: 92px;
  767. }
  768. .div4 {
  769. width: 160px;
  770. }
  771. .input-suffix {
  772. line-height: 36px;
  773. }
  774. }
  775. .right {
  776. width: 70px;
  777. height: 26px;
  778. background: #ffae45;
  779. border-radius: 4px;
  780. font-size: 14px;
  781. font-family: PingFang SC;
  782. font-weight: 400;
  783. color: #ffffff;
  784. margin-bottom: 10px;
  785. cursor: pointer;
  786. }
  787. }
  788. }
  789. .table-b-bottom {
  790. padding: 5px 5px;
  791. border-top: 2px solid #dedede;
  792. margin-top: 5px;
  793. .t-b-l-item {
  794. font-size: 14px;
  795. font-family: PingFang SC;
  796. font-weight: 400;
  797. color: #333333;
  798. margin-right: 10px;
  799. span {
  800. color: #ff6245;
  801. }
  802. }
  803. .t-b-b-right {
  804. div {
  805. width: 130px;
  806. height: 28px;
  807. background: #ffae45;
  808. border-radius: 4px;
  809. font-size: 16px;
  810. font-family: PingFang SC;
  811. font-weight: 500;
  812. color: #ffffff;
  813. cursor: pointer;
  814. }
  815. .bg-green {
  816. background: #5386f6;
  817. margin-left: 20px;
  818. }
  819. }
  820. }
  821. // 中成药 和适宜技术配方
  822. }
  823. .operate {
  824. width: 100%;
  825. height: 100%;
  826. display: flex;
  827. align-items: center;
  828. justify-content: space-around;
  829. img {
  830. width: 16px;
  831. }
  832. }
  833. .bottom-input {
  834. background: #fff;
  835. padding: 12.5px 30px 12.5px 52px;
  836. position: relative;
  837. // z-index: 999;
  838. // perspective: 100px;
  839. .div {
  840. width: 154px;
  841. }
  842. .table-choose {
  843. z-index: 9999;
  844. width: 332px;
  845. height: 221px;
  846. background: #ffffff;
  847. border: 2px solid #d8d8d8;
  848. position: relative;
  849. top: 2px;
  850. left: -48px;
  851. overflow: auto;
  852. .table-choose-h {
  853. background: #f3fffb;
  854. div {
  855. height: 36px;
  856. width: 73px;
  857. }
  858. div:first-child {
  859. width: 115px;
  860. }
  861. }
  862. .t-c-b {
  863. cursor: pointer;
  864. .td {
  865. background: #f3fffb;
  866. }
  867. p {
  868. border: 1px solid #ededed;
  869. height: 36px;
  870. width: 73px;
  871. // flex: 1;
  872. box-sizing: border-box;
  873. }
  874. p:first-child {
  875. width: 115px;
  876. }
  877. }
  878. }
  879. }
  880. .collapse ::v-deep .el-collapse-item__content {
  881. padding-bottom: 5px;
  882. }
  883. .c-m-table::v-deep .el-table .cell {
  884. text-align: center;
  885. }
  886. .table-show::v-deep .el-table .cell {
  887. text-align: center;
  888. }
  889. .c-m-table::v-deep .el-select input {
  890. padding: 0 15px 0 5px;
  891. }
  892. .table-show ::v-deep .el-select input {
  893. padding: 0 15px 0 5px;
  894. }
  895. .t_dose::v-deep .el-input__inner {
  896. // text-align: left;
  897. padding: 0 5px !important;
  898. }
  899. .city::v-deep .el-select input {
  900. padding: 0 20px 0 10px;
  901. // height: 32px;
  902. }
  903. .xuewei::v-deep .el-select {
  904. width: 100%;
  905. }
  906. .header-about::v-deep .el-input.is-disabled .el-input__inner {
  907. color: #000000;
  908. }
  909. .table-show::v-deep .el-table {
  910. // z-index: 999;
  911. }
  912. .table-show::v-deep .el-table th {
  913. padding: 2px 0;
  914. }
  915. .table-show::v-deep .el-table td {
  916. padding: 2px 0;
  917. }
  918. .table-show .table-left::v-deep .el-table__empty-block {
  919. min-height: 33px !important;
  920. height: 33px !important;
  921. }
  922. </style>
  923. <style lang="scss" scoped>
  924. @media screen and (max-width: 768px) {
  925. .center-table .chinese_medicine .clearer {
  926. height: 24px;
  927. }
  928. .table-show ::v-deep .el-table th {
  929. font-size: 12px;
  930. }
  931. .table-show ::v-deep .el-table td {
  932. font-size: 12px;
  933. }
  934. .center-table .table-bottom .header-about .item span {
  935. font-size: 12px;
  936. }
  937. .center-table .table-b-bottom .t-b-l-item {
  938. font-size: 12px;
  939. }
  940. .center-table .table-container {
  941. height: 440px;
  942. }
  943. .center-table .table-show {
  944. min-height: 319px;
  945. }
  946. }
  947. </style>