123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473 |
- <template>
- <!-- 打印 -->
- <div>
- <template>
- <el-button
- style="position: fixed; right: 25px; z-index: 999"
- :loading="loading"
- size="small"
- icon="el-icon-printer"
- @click="printThisPage"
- type="primary"
- >打印
- </el-button
- >
- </template>
-
-
-
- <div class="dialysisPage" style="padding-top: 40px">
- <div
- v-if="
- org_id == 9990 ||
- org_id == 10138 ||
- org_id == 9504 ||
- org_id == 10028 ||
- org_id == 4 ||
- org_id == 10278
- "
- >
- <printTwo :info="info" v-if="org_id == 9990"></printTwo>
- <printThree
- :info="info"
- :paramsObj="paramsObj"
- :balanceAccounts="balanceAccounts"
- v-if="org_id == 10138 || org_id == 4 || org_id == 10278"
- ></printThree>
- <printFour
- v-if="org_id == 9504 || org_id == 10028 || org_id == 10088"
- :info="info"
- :paramsObj="paramsObj"
- :balanceAccounts="balanceAccounts"
- ></printFour>
- <!-- <privateChargePrint :info="info" v-if="org_id == 10215 && this.paramsObj.balance_accounts_type == 2"></privateChargePrint>-->
- </div>
- <!-- <print-other :info="info" v-if="org_id == 9919"></print-other>-->
- <!-- <printOne :info=" info" v-if="org_id == 10215 && this.paramsObj.balance_accounts_type == 2"></printOne>-->
- <!-- <printFive-->
- <!-- v-if="org_id == 10191"-->
- <!-- :info="info"-->
- <!-- :paramsObj="paramsObj"-->
- <!-- :balanceAccounts="balanceAccounts"-->
- <!-- ></printFive>-->
-
- <printSeven
- v-if="org_id == 10387"
- :info="info"
- :paramsObj="paramsObj"
- :balanceAccounts="balanceAccounts"
- >
- </printSeven>
- <print10191 :info="info" v-if="org_id == 10191"></print10191>
- <printTen :info="info" v-if="org_id == 10210"></printTen>
- <printOne :info="info" v-if=" org_id != 9990 &&
- org_id != 10138 &&
- org_id != 9504 &&
- org_id != 10028 &&
- org_id != 4 &&
- org_id != 10278 && org_id != 10387 && org_id != 0 && org_id != 10191 &&org_id != 10210"></printOne>
-
- </div>
- </div>
- </template>
-
- <script>
- import {uParseTime} from "@/utils/tools";
- import axios from "axios";
- import print from "print-js";
-
- import BreadCrumb from "@/xt_pages/components/bread-crumb";
- import printOne from "./statementTemplate/printOne";
- import privateChargePrint from "./statementTemplate/privateChargePrint";
-
- import printTwo from "./statementTemplate/printTwo";
- import printThree from "./statementTemplate/printThree";
- import printFour from "./statementTemplate/printFour";
- import printFive from "./statementTemplate/printFive";
- import testVue from "./statementTemplate/test";
- import {getAllDoctorList, getAllHisPatientList,} from "@/api/project/project";
- import {getPrivateExpenses, getPrivateExpensesOrder,getPrivateExpensesTwo} from "@/api/his/his";
- import printSeven from "./statementTemplate/printSeven";
- import Print10191 from "./statementTemplate/print10191";
- import printTen from "./statementTemplate/printTen";
-
- // import PrintOther from '../hospitalStation/statementTemplate/printOther'
- export default {
- name: "dialysisPrintOrder",
- components: {
- Print10191,
- printSeven,
- BreadCrumb,
- printOne,
- privateChargePrint,
- printTwo,
- printThree,
- printFour,
- testVue,
- printFive,
- printTen
- },
- props: {
- paramsObj: Object,
- },
- data() {
- return {
- crumbs: [
- {path: false, name: "门诊医生站"},
- {path: false, name: "打印"},
- ],
- record_date: "",
- patientTableData: [],
- advicePrint: [],
- hisPatient: {},
- patient: {},
- search_input: "",
- loading: false,
- patient_id: 0,
- prescription_id: 0,
- ids: "",
- info: null,
- org_id: "",
- balanceAccounts: {},
- };
- },
- methods: {
- printThisPage() {
- var ptime = Math.round(new Date().getTime() / 1000);
- this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
-
- if (
- this.$store.getters.xt_user.org_id == 10138 ||
- this.$store.getters.xt_user.org_id == 4 ||
- this.$store.getters.xt_user.org_id == 10278
- ) {
- setTimeout(() => {
- const style =
- "@media print {#statement-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}";
- const style2 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 50%;}}}";
- const style3 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 55%;}}}";
- const style4 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 58%;}}}";
- const style5 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 61%;}}}";
- const style6 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 66%;}}}";
- const style7 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 71%;}}}";
- const style8 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 75%;}}}";
- const style9 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 80%;}}}";
- const style10 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 85%;}}}";
- const style11 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 87%;}}}";
- const style12 =
- "@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 89%;}}}";
- if (this.num >= 13) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (this.num == 12) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style2,
- scanStyles: false,
- });
- } else if (this.num == 11) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style3,
- scanStyles: false,
- });
- } else if (this.num == 10) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style4,
- scanStyles: false,
- });
- } else if (this.num == 9) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style5,
- scanStyles: false,
- });
- } else if (this.num == 8) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style6,
- scanStyles: false,
- });
- } else if (this.num == 7) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style7,
- scanStyles: false,
- });
- } else if (this.num == 6) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style8,
- scanStyles: false,
- });
- } else if (this.num == 5) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style9,
- scanStyles: false,
- });
- } else if (this.num == 4) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style10,
- scanStyles: false,
- });
- } else if (this.num == 3) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style11,
- scanStyles: false,
- });
- } else if (this.num <= 2) {
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style12,
- scanStyles: false,
- });
- }
- }, 500);
- } else if (
- this.$store.getters.xt_user.org_id == 9504 ||
- this.$store.getters.xt_user.org_id == 10028
- ) {
- const style =
- "@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}";
- printJS({
- printable: "prescription-print",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else {
- // 医保环境打印格式
- if (
- this.$store.getters.xt_user.org_id == 9919 ||
- this.$store.getters.xt_user.org_id == 10106
- ) {
- const style =
- "@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}";
- printJS({
- printable: "statement-print",
- type: "html",
- style: style,
- scanStyles: false,
- });
- } else if (
- this.$store.getters.xt_user.org_id == 0 ||
- this.$store.getters.xt_user.org_id == 10191
- ) {
- const style =
- "@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}";
- printJS({
- printable: "statement-print",
- type: "html",
- style: style,
- scanStyles: false,
- });
- // const style =
- // "@media print {.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;} .statementTable thead{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;} .statementTable tbody{text-align:left;} .statementTable tbody .view_tr{text-align:center;border: 1px solid;} tbody .dashed_tr{border: 1px dashed;text-align:center} .list_table{width: 100%;margin-bottom: 100px;} tbody tr td div{height:25px;}}";
- // printJS({
- // printable: "statement-print",
- // type: "html",
- // style: style,
- // scanStyles: false,
- // });
- } else {
- const style =
- "@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}";
- printJS({
- printable: "statement-print",
- type: "html",
- style: style,
- scanStyles: false,
- });
- }
- }
-
- // if (this.org_template_info.template_id == 1) {
- // printJS({
- // printable: "dialysis-print-box",
- // type: "html",
- // style: style,
- // scanStyles: false
- // });
- // }
- },
- getAllDoctorList() {
- getAllDoctorList().then((response) => {
- if (response.data.state == 1) {
- var doctor = response.data.data.doctor;
-
- this.doctorList = doctor;
- }
- });
- },
- getAllHisPatientList() {
- const params = {
- record_date: this.record_date,
- };
- getAllHisPatientList(params).then((response) => {
- if (response.data.state == 1) {
- this.patientTableData = response.data.data.list;
- this.patientTableDataTwo = response.data.data.list;
-
- console.log("222", this.patientTableData);
- let cal_one = 0;
- let cal_two = 0;
- for (let i = 0; i < response.data.data.list.length; i++) {
- if (
- response.data.data.list[i].prescription == null ||
- response.data.data.list[i].prescription.length == 0
- ) {
- cal_one = cal_one + 1;
- }
- if (
- response.data.data.list[i].prescription != null &&
- response.data.data.list[i].prescription.length > 0
- ) {
- cal_two = cal_two + 1;
- }
- }
- // this.$refs.tab.setCurrentRow(this.patientTableData[0])
- // console.log(this.patientTableData[0])
- // this.choosePatient(this.patientTableData[0])
- this.cal_one = cal_one;
- this.cal_two = cal_two;
- }
- });
- },
-
- changePatient(row) {
- console.log("row", row);
- this.patient_id = row.patient_id;
- this.record_date = this.record_date;
- this.prescription_id = this.prescription_id;
- // var params = {
- // patient_id:row.patient_id,
- // record_date:this.record_date,
- // prescription_id:this.prescription_id,
- // }
- // getPrescriptionPrint(params).then(response=>{
- // if(response.data.state == 1){
- // var advicePrint = response.data.data.advicePrint
- // console.log("adviceprint",advicePrint)
- // this.advicePrint = advicePrint
- // // var hisPatient = response.data.data.hisPatient
- // // console.log("hispatient",hisPatient)
- // // this.hisPatient = hisPatient
- // var patient = response.data.data.patient
- // console.log("patient",patient)
- // this.patient = patient
- // var doctorPorject = response.data.data.doctorPorject
- // console.log("doctorporject",doctorPorject)
- // }
- // })
- },
- getTimes(time) {
- return uParseTime(time, "{y}-{m}-{d}");
- },
- searchAction() {
- },
- getInfo(order_id, obj) {
-
- if (obj.balance_accounts_type == 2 ) {
- let params = {
- his_patient_id: obj.his_patient_id,
- id: obj.order_id,
- order_id: obj.order_id,
- admin_user_id: this.$store.getters.xt_user.user.id,
- };
- if (
- this.org_id == 10138 ||
- this.$store.getters.xt_user.org_id == 4 ||
- this.org_id == 10278
- ) {
- getPrivateExpenses(params).then((response) => {
- if (response.data.state == 0) {
- // this.$message.error(response.data.msg)
-
- return false;
- } else {
- this.balanceAccounts = response.data.data;
- let arr = [];
- let obj = {
- type: 1,
- details: [],
- total: 0,
- };
- let obj2 = {
- type: 2,
- details: [],
- total: 0,
- };
- let obj3 = {
- type: 3,
- details: [],
- total: 0,
- };
- let num = 0;
-
- let obj4 = {
- type: 4,
- details: [],
- total: 0,
- };
- this.balanceAccounts.order_info.map((item) => {
- if (item.advice_id > 0) {
- obj.details.push(item);
- obj.total += item.pric.toFixed(2) * item.advice.prescribing_number
- num++;
- } else {
- if (item.project.type == 2) {
- obj2.details.push(item);
- obj2.total += item.pric * item.project.count;
- num++;
- } else {
- obj3.details.push(item);
- obj3.total += item.pric * item.project.count;
- num++;
- }
- }
- });
- if (this.balanceAccounts.new_order_info != null) {
- this.balanceAccounts.new_order_info.map((item) => {
- obj2.total = obj2.total + item.Total;
- var newObj = {
- pric: parseFloat(item.Total),
- project: {
- count: 1,
- project: {
- project_name: item.Name,
- unit: "",
- },
- },
- };
- obj2.details.push(newObj);
- num++;
- });
- }
-
- this.balanceAccounts.new_detail_list = [];
- this.balanceAccounts.new_detail_list.push(obj);
- this.balanceAccounts.new_detail_list.push(obj2);
- this.balanceAccounts.new_detail_list.push(obj3);
- // this.balanceAccounts.new_detail_list.push(obj4)
-
- console.log(111, this.balanceAccounts);
- this.num = num;
- console.log("this.num", this.num);
- }
- });
- } else if (this.org_id == 10028) {
- getPrivateExpenses(params).then((response) => {
- if (response.data.state == 0) {
- // this.$message.error(response.data.msg)
-
- return false;
- } else {
- this.balanceAccounts = response.data.data;
- let obj = {
- type: 1,
- details: [],
- total: 0,
- };
- let obj2 = {
- type: 2,
- details: [],
- total: 0,
- };
- let obj3 = {
- type: 3,
- details: [],
- total: 0,
- };
- this.balanceAccounts.order_info.map((item) => {
- if (item.advice_id > 0) {
- obj.details.push(item);
- obj.total += item.pric * item.advice.prescribing_number;
- } else {
- if (item.project.type == 2) {
- obj2.details.push(item);
- obj2.total += item.pric * item.project.count;
- } else {
- obj3.details.push(item);
- obj3.total += item.pric * item.project.count;
- }
- }
- });
- this.balanceAccounts.new_detail_list = [];
- this.balanceAccounts.new_detail_list.push(obj);
- this.balanceAccounts.new_detail_list.push(obj2);
- this.balanceAccounts.new_detail_list.push(obj3);
- console.log(111, this.balanceAccounts);
- }
- });
- } else if (this.org_id == 10215 ) {
- getPrivateExpensesOrder(params).then((response) => {
- if (response.data.state == 0) {
- // this.$message.error(response.data.msg)
-
- return false;
- } else {
- var that = this;
- that.info = response.data.data.info;
- that.p_admin = response.data.data.printor_admin;
- that.charge_admin = response.data.data.charge_admin;
-
- that.info["p_admin"] = that.p_admin;
- that.info["charge_admin"] = that.charge_admin;
- that.info["order_number"] = response.data.data.order_number;
- that.info["patient"] = response.data.data.patient;
- that.info["date"] = response.data.data.date;
- that.info["number"] = response.data.data.number;
- that.info["order_infos"] = response.data.data.order_infos;
- that.info["diagnosis"] = response.data.data.diagnosis;
- that.info["fixmedins_name"] = response.data.data.org_name;
- that.info["fixmedins_code"] = response.data.data.org_code;
- // that.info["doctor_code"] = response.data.data.doctor_code;
- // that.info["department"] = response.data.data.department;
- // that.info["health_card_no"] = response.data.data.health_card_no;
-
- that.info["bed_cost_total"] = response.data.data.bedCostTotal;
- that.info["bed_cost_self_total"] =
- response.data.data.bedCostSelfTotal;
- that.info["bed_cost_part_self_total"] =
- response.data.data.bedCostPartSelfTotal;
-
- that.info["operation_cost_total"] =
- response.data.data.operationCostTotal;
- that.info["operation_cost_self_total"] =
- response.data.data.operationCostSelfTotal;
- that.info["operation_cost_part_self_total"] =
- response.data.data.operationCostPartSelfTotal;
-
- that.info["other_cost_total"] = response.data.data.otherCostTotal;
- that.info["other_cost_self_total"] =
- response.data.data.otherCostSelfTotal;
- that.info["other_cost_part_self_total"] =
- response.data.data.otherCostPartSelfTotal;
-
- that.info["material_cost_total"] =
- response.data.data.materialCostTotal;
- that.info["material_cost_self_total"] =
- response.data.data.materialCostSelfTotal;
- that.info["material_cost_part_self_total"] =
- response.data.data.materialCostPartSelfTotal;
-
- that.info["western_medicine_cost_total"] =
- response.data.data.westernMedicineCostTotal;
- that.info["western_medicine_cost_self_total"] =
- response.data.data.westernMedicineCostSelfTotal;
- that.info["western_medicine_cost_part_self_total"] =
- response.data.data.westernMedicineCostPartSelfTotal;
-
- that.info["chinese_traditional_medicine_cost_total"] =
- response.data.data.chineseTraditionalMedicineCostTotal;
- that.info["chinese_traditional_medicine_cost_self_total"] =
- response.data.data.chineseTraditionalMedicineCostSelfTotal;
- that.info["chinese_traditional_medicine_cost_part_self_total"] =
- response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
-
- that.info["check_cost_total"] = response.data.data.checkCostTotal;
- that.info["check_cost_self_total"] =
- response.data.data.checkCostSelfTotal;
- that.info["check_cost_part_self_total"] =
- response.data.data.checkCostPartSelfTotal;
-
- that.info["laboratory_cost_total"] =
- response.data.data.laboratoryCostTotal;
- that.info["laboratory_cost_self_total"] =
- response.data.data.laboratoryCostSelfTotal;
- that.info["laboratory_cost_part_self_total"] =
- response.data.data.laboratoryCostPartSelfTotal;
-
- that.info["treat_cost_total"] = response.data.data.treatCostTotal;
- that.info["treat_cost_self_total"] =
- response.data.data.treatCostSelfTotal;
- that.info["treat_cost_part_self_total"] =
- response.data.data.treatCostPartSelfTotal;
- that.info["date"] = response.data.data.date;
- // that.info["number"] = response.data.data.number;
- that.info["order_infos"] = response.data.data.order_infos;
- that.info["diagnosis"] = response.data.data.diagnosis;
-
- let obj = {
- type: 1,
- details: [],
- total: 0,
- };
- let obj2 = {
- type: 2,
- details: [],
- total: 0,
- };
- let obj3 = {
- type: 3,
- details: [],
- total: 0,
- };
-
- let obj4 = {
- type: 4,
- details: [],
- total: 0,
- };
- let num = 0;
- that.info.order_infos.map((item) => {
- if (item.advice_id > 0) {
- obj.details.push(item);
- obj.total += item.pric * item.advice.prescribing_number;
- num++;
- } else {
- if (item.project.type == 2) {
- obj2.details.push(item);
- obj2.total += item.pric * item.project.count;
- num++;
- } else {
- obj3.details.push(item);
- obj3.total += item.pric * item.project.count;
- num++;
- }
- }
- });
-
- // this.info.order_infos.map(item => {
- // obj4.total = item.Total
- // obj4.details.push(item)
- // num++
- //
- // })
-
- that.info.new_detail_list = [];
- that.info.new_detail_list.push(obj);
- that.info.new_detail_list.push(obj2);
- that.info.new_detail_list.push(obj3);
- // that.info.new_detail_list.push(obj4)
-
- that.num = num;
-
- if (that.paramsObj.settle_type != 1) {
- that.info.begndate = that.getTimes(that.paramsObj.start_time);
- that.info.enddate = that.getTimes(that.paramsObj.end_time);
- }
-
- that.info.order_infos.map((item) => {
-
- });
-
- }
- });
- }
- // else if (this.org_id == 0) {
- //
- // getPrivateExpensesOrder(params).then((response) => {
- // if (response.data.state == 0) {
- // // this.$message.error(response.data.msg)
- //
- // return false;
- // } else {
- // var that = this;
- // that.info = response.data.data.info;
- // that.p_admin = response.data.data.printor_admin;
- // that.charge_admin = response.data.data.charge_admin;
- //
- // that.info["p_admin"] = that.p_admin;
- // that.info["charge_admin"] = that.charge_admin;
- // that.info["order_number"] = response.data.data.order_number;
- // that.info["patient"] = response.data.data.patient;
- // that.info["date"] = response.data.data.date;
- // that.info["number"] = response.data.data.number;
- // that.info["order_infos"] = response.data.data.order_infos;
- // that.info["diagnosis"] = response.data.data.diagnosis;
- // that.info["fixmedins_name"] = response.data.data.org_name;
- // that.info["fixmedins_code"] = response.data.data.org_code;
- // // that.info["doctor_code"] = response.data.data.doctor_code;
- // // that.info["department"] = response.data.data.department;
- // // that.info["health_card_no"] = response.data.data.health_card_no;
- //
- // that.info["bed_cost_total"] = response.data.data.bedCostTotal;
- // that.info["bed_cost_self_total"] =
- // response.data.data.bedCostSelfTotal;
- // that.info["bed_cost_part_self_total"] =
- // response.data.data.bedCostPartSelfTotal;
- //
- // that.info["operation_cost_total"] =
- // response.data.data.operationCostTotal;
- // that.info["operation_cost_self_total"] =
- // response.data.data.operationCostSelfTotal;
- // that.info["operation_cost_part_self_total"] =
- // response.data.data.operationCostPartSelfTotal;
- //
- // that.info["other_cost_total"] = response.data.data.otherCostTotal;
- // that.info["other_cost_self_total"] =
- // response.data.data.otherCostSelfTotal;
- // that.info["other_cost_part_self_total"] =
- // response.data.data.otherCostPartSelfTotal;
- //
- // that.info["material_cost_total"] =
- // response.data.data.materialCostTotal;
- // that.info["material_cost_self_total"] =
- // response.data.data.materialCostSelfTotal;
- // that.info["material_cost_part_self_total"] =
- // response.data.data.materialCostPartSelfTotal;
- //
- // that.info["western_medicine_cost_total"] =
- // response.data.data.westernMedicineCostTotal;
- // that.info["western_medicine_cost_self_total"] =
- // response.data.data.westernMedicineCostSelfTotal;
- // that.info["western_medicine_cost_part_self_total"] =
- // response.data.data.westernMedicineCostPartSelfTotal;
- //
- // that.info["chinese_traditional_medicine_cost_total"] =
- // response.data.data.chineseTraditionalMedicineCostTotal;
- // that.info["chinese_traditional_medicine_cost_self_total"] =
- // response.data.data.chineseTraditionalMedicineCostSelfTotal;
- // that.info["chinese_traditional_medicine_cost_part_self_total"] =
- // response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
- //
- // that.info["check_cost_total"] = response.data.data.checkCostTotal;
- // that.info["check_cost_self_total"] =
- // response.data.data.checkCostSelfTotal;
- // that.info["check_cost_part_self_total"] =
- // response.data.data.checkCostPartSelfTotal;
- //
- // that.info["laboratory_cost_total"] =
- // response.data.data.laboratoryCostTotal;
- // that.info["laboratory_cost_self_total"] =
- // response.data.data.laboratoryCostSelfTotal;
- // that.info["laboratory_cost_part_self_total"] =
- // response.data.data.laboratoryCostPartSelfTotal;
- //
- // that.info["treat_cost_total"] = response.data.data.treatCostTotal;
- // that.info["treat_cost_self_total"] =
- // response.data.data.treatCostSelfTotal;
- // that.info["treat_cost_part_self_total"] =
- // response.data.data.treatCostPartSelfTotal;
- // that.info["date"] = response.data.data.date;
- // // that.info["number"] = response.data.data.number;
- // that.info["order_infos"] = response.data.data.order_infos;
- // that.info["diagnosis"] = response.data.data.diagnosis;
- //
- //
- // let list = []
- // for (let i = 0; i < response.data.data.order_infos.length; i++) {
- // let order = response.data.data.order_infos[i]
- // let obj = {
- // code:"",
- // name: "",
- // spec: "",
- // cnt: "",
- // det_item_fee_sumamt: "",
- // }
- //
- // if (order.advice_id > 0 && order.project_id == 0) {
- // obj.name = order.advice.advice_name
- // let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
- // obj.spec = spec
- // obj.cnt = order.cnt
- // obj.det_item_fee_sumamt =order.det_item_fee_sumamt
- // obj.code = order.advice.drug.medical_insurance_number
- // list.push(obj)
- // }else if (order.advice_id == 0 && order.project_id > 0) {
- // if(order.project.type == 2){
- // obj.name = order.project.project.project_name
- // obj.spec = ""
- // obj.cnt = order.cnt
- // obj.det_item_fee_sumamt =order.det_item_fee_sumamt
- // obj.code = order.project.project.medical_code
- // }else{
- // obj.name = order.project.good_info.good_name
- // obj.spec = order.project.good_info.specification_name
- // obj.cnt = order.cnt
- // obj.det_item_fee_sumamt =order.det_item_fee_sumamt
- // obj.code = order.project.good_info.medical_insurance_number
- // }
- // list.push(obj)
- // }
- //
- // }
- // console.log(list)
- // let len = list.length / 2
- // let L_list = []
- // let R_list = []
- // len = Math.trunc(len)
- // for(let i = 0; i < len; i++){
- // L_list.push(list[i])
- // }
- // console.log(len)
- // for(let i = len; i < list.length; i++){
- // console.log(list[i])
- // R_list.push(list[i])
- // }
- // console.log(L_list)
- // console.log(R_list)
- //
- // that.info["L_list"] = L_list
- // that.info["R_list"] = R_list
- //
- //
- //
- //
- //
- //
- // }
- // });
- // }
-
- } else {
- console.log(this.org_id)
- if (this.org_id == 0) {
- let params = {
- order_id: obj.order_id,
- admin_user_id: this.$store.getters.xt_user.user.id,
- };
- getPrivateExpensesTwo(params).then((response) => {
- if (response.data.state == 0) {
- // this.$message.error(response.data.msg)
-
- return false;
- } else {
- var that = this;
- that.info = response.data.data.info;
- that.p_admin = response.data.data.printor_admin;
- that.charge_admin = response.data.data.charge_admin;
-
- that.info["p_admin"] = that.p_admin;
- that.info["charge_admin"] = that.charge_admin;
- that.info["order_number"] = response.data.data.order_number;
- that.info["patient"] = response.data.data.patient;
- that.info["date"] = response.data.data.date;
- that.info["number"] = response.data.data.number;
- that.info["order_infos"] = response.data.data.order_infos;
- that.info["diagnosis"] = response.data.data.diagnosis;
- that.info["fixmedins_name"] = response.data.data.org_name;
- that.info["fixmedins_code"] = response.data.data.org_code;
- // that.info["doctor_code"] = response.data.data.doctor_code;
- // that.info["department"] = response.data.data.department;
- // that.info["health_card_no"] = response.data.data.health_card_no;
-
- that.info["bed_cost_total"] = response.data.data.bedCostTotal;
- that.info["bed_cost_self_total"] =
- response.data.data.bedCostSelfTotal;
- that.info["bed_cost_part_self_total"] =
- response.data.data.bedCostPartSelfTotal;
-
- that.info["operation_cost_total"] =
- response.data.data.operationCostTotal;
- that.info["operation_cost_self_total"] =
- response.data.data.operationCostSelfTotal;
- that.info["operation_cost_part_self_total"] =
- response.data.data.operationCostPartSelfTotal;
-
- that.info["other_cost_total"] = response.data.data.otherCostTotal;
- that.info["other_cost_self_total"] =
- response.data.data.otherCostSelfTotal;
- that.info["other_cost_part_self_total"] =
- response.data.data.otherCostPartSelfTotal;
-
- that.info["material_cost_total"] =
- response.data.data.materialCostTotal;
- that.info["material_cost_self_total"] =
- response.data.data.materialCostSelfTotal;
- that.info["material_cost_part_self_total"] =
- response.data.data.materialCostPartSelfTotal;
-
- that.info["western_medicine_cost_total"] =
- response.data.data.westernMedicineCostTotal;
- that.info["western_medicine_cost_self_total"] =
- response.data.data.westernMedicineCostSelfTotal;
- that.info["western_medicine_cost_part_self_total"] =
- response.data.data.westernMedicineCostPartSelfTotal;
-
- that.info["chinese_traditional_medicine_cost_total"] =
- response.data.data.chineseTraditionalMedicineCostTotal;
- that.info["chinese_traditional_medicine_cost_self_total"] =
- response.data.data.chineseTraditionalMedicineCostSelfTotal;
- that.info["chinese_traditional_medicine_cost_part_self_total"] =
- response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
-
- that.info["check_cost_total"] = response.data.data.checkCostTotal;
- that.info["check_cost_self_total"] =
- response.data.data.checkCostSelfTotal;
- that.info["check_cost_part_self_total"] =
- response.data.data.checkCostPartSelfTotal;
-
- that.info["laboratory_cost_total"] =
- response.data.data.laboratoryCostTotal;
- that.info["laboratory_cost_self_total"] =
- response.data.data.laboratoryCostSelfTotal;
- that.info["laboratory_cost_part_self_total"] =
- response.data.data.laboratoryCostPartSelfTotal;
-
- that.info["treat_cost_total"] = response.data.data.treatCostTotal;
- that.info["treat_cost_self_total"] =
- response.data.data.treatCostSelfTotal;
- that.info["treat_cost_part_self_total"] =
- response.data.data.treatCostPartSelfTotal;
- that.info["date"] = response.data.data.date;
- // that.info["number"] = response.data.data.number;
- that.info["order_infos"] = response.data.data.order_infos;
- that.info["diagnosis"] = response.data.data.diagnosis;
-
- let list = []
- for (let i = 0; i < response.data.data.order_infos.length; i++) {
- let order = response.data.data.order_infos[i]
- let obj = {
- name: "",
- spec: "",
- cnt: "",
- det_item_fee_sumamt: "",
- }
-
- if (order.advice_id > 0 && order.project_id == 0) {
- obj.name = order.advice.advice_name
- let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
- obj.spec = spec
- obj.cnt = order.cnt
- obj.det_item_fee_sumamt = order.det_item_fee_sumamt
- list.push(obj)
-
- } else if (order.advice_id == 0 && order.project_id > 0) {
- if (order.project.type == 2) {
- obj.name = order.project.project.project_name
- obj.spec = ""
- obj.cnt = order.cnt
- obj.det_item_fee_sumamt = order.det_item_fee_sumamt
-
- } else {
- obj.name = order.project.good_info.good_name
- obj.spec = order.project.good_info.specification_name
- obj.cnt = order.cnt
- obj.det_item_fee_sumamt = order.det_item_fee_sumamt
- }
- list.push(obj)
- }
-
- }
-
- console.log(list)
- let len = list.length / 2
- let L_list = []
- let R_list = []
- len = Math.trunc(len)
- for (let i = 0; i < len; i++) {
- L_list.push(list[i])
- }
- console.log(len)
- for (let i = len; i < list.length; i++) {
- console.log(list[i])
- R_list.push(list[i])
- }
- console.log(L_list)
- console.log(R_list)
-
- that.info["L_list"] = L_list
- that.info["R_list"] = R_list
-
- }
- });
- } else {
- var that = this;
- axios
- .get("http://127.0.0.1:9532/api/settle/query", {
- params: {
- order_id: order_id,
- admin_user_id: this.$store.getters.xt_user.user.id,
- },
- })
- .then(function (response) {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg);
- return false;
- } else {
- console.log(response.data.data.info);
- that.info = response.data.data.info;
- that.p_admin = response.data.data.printor_admin;
- that.charge_admin = response.data.data.charge_admin;
-
- that.info["p_admin"] = that.p_admin;
- that.info["charge_admin"] = that.charge_admin;
-
- that.info["order_number"] = response.data.data.order_number;
- that.info["patient"] = response.data.data.patient;
- that.info["date"] = response.data.data.date;
- that.info["number"] = response.data.data.number;
- that.info["order_infos"] = response.data.data.order_infos;
- that.info["diagnosis"] = response.data.data.diagnosis;
- that.info["org_code"] = response.data.data.org_code;
- that.info["org_name"] = response.data.data.org_name;
- that.info["doctor_code"] = response.data.data.doctor_code;
- that.info["department"] = response.data.data.department;
- that.info["health_card_no"] = response.data.data.health_card_no;
-
- that.info["bed_cost_total"] = response.data.data.bedCostTotal;
- that.info["bed_cost_self_total"] =
- response.data.data.bedCostSelfTotal;
- that.info["bed_cost_part_self_total"] =
- response.data.data.bedCostPartSelfTotal;
-
- that.info["operation_cost_total"] =
- response.data.data.operationCostTotal;
- that.info["operation_cost_self_total"] =
- response.data.data.operationCostSelfTotal;
- that.info["operation_cost_part_self_total"] =
- response.data.data.operationCostPartSelfTotal;
-
- that.info["other_cost_total"] = response.data.data.otherCostTotal;
- that.info["other_cost_self_total"] =
- response.data.data.otherCostSelfTotal;
- that.info["other_cost_part_self_total"] =
- response.data.data.otherCostPartSelfTotal;
-
- that.info["material_cost_total"] =
- response.data.data.materialCostTotal;
- that.info["material_cost_self_total"] =
- response.data.data.materialCostSelfTotal;
- that.info["material_cost_part_self_total"] =
- response.data.data.materialCostPartSelfTotal;
-
- that.info["western_medicine_cost_total"] =
- response.data.data.westernMedicineCostTotal;
- that.info["western_medicine_cost_self_total"] =
- response.data.data.westernMedicineCostSelfTotal;
- that.info["western_medicine_cost_part_self_total"] =
- response.data.data.westernMedicineCostPartSelfTotal;
-
- that.info["chinese_traditional_medicine_cost_total"] =
- response.data.data.chineseTraditionalMedicineCostTotal;
- that.info["chinese_traditional_medicine_cost_self_total"] =
- response.data.data.chineseTraditionalMedicineCostSelfTotal;
- that.info["chinese_traditional_medicine_cost_part_self_total"] =
- response.data.data.chineseTraditionalMedicineCostPartSelfTotal;
-
- that.info["check_cost_total"] = response.data.data.checkCostTotal;
- that.info["check_cost_self_total"] =
- response.data.data.checkCostSelfTotal;
- that.info["check_cost_part_self_total"] =
- response.data.data.checkCostPartSelfTotal;
-
- that.info["laboratory_cost_total"] =
- response.data.data.laboratoryCostTotal;
- that.info["laboratory_cost_self_total"] =
- response.data.data.laboratoryCostSelfTotal;
- that.info["laboratory_cost_part_self_total"] =
- response.data.data.laboratoryCostPartSelfTotal;
-
- that.info["treat_cost_total"] = response.data.data.treatCostTotal;
- that.info["treat_cost_self_total"] =
- response.data.data.treatCostSelfTotal;
- that.info["treat_cost_part_self_total"] =
- response.data.data.treatCostPartSelfTotal;
- that.info["date"] = response.data.data.date;
- that.info["number"] = response.data.data.number;
- that.info["order_infos"] = response.data.data.order_infos;
- that.info["diagnosis"] = response.data.data.diagnosis;
-
- that.info["bedInscpTotal"] =
- response.data.data.bedInscpTotal;
- that.info["bedSelfTotal"] =
- response.data.data.bedSelfTotal;
-
-
- that.info["operationInscpTotal"] =
- response.data.data.operationInscpTotal;
- that.info["operationSelfTotal"] =
- response.data.data.operationSelfTotal;
-
- that.info["checkInscpTotal"] =
- response.data.data.checkInscpTotal;
- that.info["checkSelfTotal"] =
- response.data.data.checkSelfTotal;
-
- that.info["treatInscpTotal"] =
- response.data.data.treatInscpTotal;
- that.info["treatSelfTotal"] =
- response.data.data.treatSelfTotal;
-
-
- that.info["laboratoryInscpTotal"] =
- response.data.data.laboratoryInscpTotal;
- that.info["laboratorySelfTotal"] =
- response.data.data.laboratorySelfTotal;
-
-
- that.info["westernMedicineInscpTotal"] =
- response.data.data.westernMedicineInscpTotal;
- that.info["westernMedicineSelfTotal"] =
- response.data.data.westernMedicineSelfTotal;
-
- that.info["materialInscpTotal"] =
- response.data.data.materialInscpTotal;
- that.info["materialSelfTotal"] =
- response.data.data.materialSelfTotal;
-
- that.info["chineseTraditionalInscpTotal"] =
- response.data.data.chineseTraditionalInscpTotal;
- that.info["chineseTraditionalSelfTotal"] =
- response.data.data.chineseTraditionalSelfTotal;
-
- that.info["otherInscpTotal"] =
- response.data.data.otherInscpTotal;
- that.info["otherSelfTotal"] =
- response.data.data.otherSelfTotal;
-
-
- let obj = {
- type: 1,
- details: [],
- total: 0,
- };
- let obj2 = {
- type: 2,
- details: [],
- total: 0,
- };
- let obj3 = {
- type: 3,
- details: [],
- total: 0,
- };
-
- let obj4 = {
- type: 4,
- details: [],
- total: 0,
- };
- let num = 0;
- that.info.order_infos.map((item) => {
- if (item.advice_id > 0) {
- obj.details.push(item);
- obj.total += item.pric * item.advice.prescribing_number;
- num++;
- } else {
- if (item.project.type == 2) {
- obj2.details.push(item);
- obj2.total += item.pric * item.project.count;
- num++;
- } else {
- obj3.details.push(item);
- obj3.total += item.pric * item.project.count;
- num++;
- }
- }
- });
-
- // this.info.order_infos.map(item => {
- // obj4.total = item.Total
- // obj4.details.push(item)
- // num++
- //
- // })
-
- that.info.new_detail_list = [];
- that.info.new_detail_list.push(obj);
- that.info.new_detail_list.push(obj2);
- that.info.new_detail_list.push(obj3);
- // that.info.new_detail_list.push(obj4)
-
- that.num = num;
-
- if (that.paramsObj.settle_type != 1) {
- that.info.begndate = that.getTimes(that.paramsObj.start_time);
- that.info.enddate = that.getTimes(that.paramsObj.end_time);
- }
-
- let list = []
- for (let i = 0; i < response.data.data.order_infos.length; i++) {
- let order = response.data.data.order_infos[i]
- let obj = {
- name: "",
- spec: "",
- cnt: "",
- det_item_fee_sumamt: "",
- }
-
- if (order.advice_id > 0 && order.project_id == 0) {
- obj.name = order.advice.advice_name
- let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
- obj.spec = spec
- obj.cnt = order.cnt
- obj.det_item_fee_sumamt = order.det_item_fee_sumamt
- list.push(obj)
-
- } else if (order.advice_id == 0 && order.project_id > 0) {
- if (order.project.type == 2) {
- obj.name = order.project.project.project_name
- obj.spec = ""
- obj.cnt = order.cnt
- obj.det_item_fee_sumamt = order.det_item_fee_sumamt
- list.push(obj)
-
- } else {
- obj.name = order.project.good_info.good_name
- obj.spec = order.project.good_info.specification_name
- obj.cnt = order.cnt
- obj.det_item_fee_sumamt = order.det_item_fee_sumamt
- list.push(obj)
- }
- }
- }
-
- let len = list.length / 2
- let L_list = []
- let R_list = []
- len = Math.trunc(len)
-
- for (let i = 0; i < len; i++) {
- L_list.push(list[i])
- }
- for (let i = len; i < list.length; i++) {
- R_list.push(list[i])
- }
- that.info["L_list"] = L_list
- that.info["R_list"] = R_list
-
- }
- })
- .catch(function (error) {
- });
- }
- }
-
-
-
- },
- },
-
- created() {
- console.log(this.paramsObj);
- this.getInfo(this.paramsObj.order_id, this.paramsObj);
- this.org_id = this.$store.getters.xt_user.org_id;
- console.log("this.org_id", this.org_id);
- },
- watch: {
- paramsObj: {
- //深度监听,可监听到对象、数组的变化
- handler(val, oldVal) {
- this.paramsObj = val;
- console.log(this.paramsObj);
-
- this.getInfo(this.paramsObj.order_id, this.paramsObj);
- },
- deep: true,
- immediate: true,
- },
- },
- };
- </script>
-
- <style>
- .dialysis-print-order {
- width: 960px;
- margin: 0 auto;
- }
-
- .dialysis-print-order .order-yy-name {
- margin: auto;
- text-align: center;
- font-size: 20px;
- letter-spacing: 5px;
- }
-
- .dialysis-print-order .order-title {
- margin: auto;
- font-weight: 600;
- text-align: center;
- font-size: 22px;
- padding: 10px;
- }
-
- .dialysis-print-order .table-box {
- width: 100%;
- line-height: 23px;
- font-size: 14px;
- }
-
- .dialysis-print-order .print-table {
- width: 100%;
- text-align: center;
- border-collapse: collapse;
- line-height: 40px;
- font-size: 14px;
- border-color: #000;
- }
-
- .dialysis-print-order .print-table-no {
- width: 100%;
- text-align: center;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .dialysis-print-order .under-line {
- border-bottom: 1px solid #999;
- width: 95%;
- text-align: center;
- margin-left: 2px;
- }
-
- .dialysis-print-order .title-box {
- text-align: center;
- font-size: 16px;
- }
-
- .dialysis-print-order .radio-lebel-box {
- font-weight: 400;
- cursor: pointer;
- }
-
- .dialysis-print-order .radio-no {
- opacity: 0;
- outline: none;
- position: absolute;
- margin: 0;
- width: 0;
- height: 0;
- z-index: -1;
- }
-
- .dialysis-print-order .radio-inner {
- white-space: nowrap;
- cursor: pointer;
- outline: none;
- display: inline-block;
- line-height: 1;
- position: relative;
- vertical-align: middle;
- }
-
- .dialysis-print-order .radio-fang {
- display: inline-block;
- position: relative;
- border: 1px solid #000;
- box-sizing: border-box;
- width: 14px;
- height: 14px;
- background-color: #fff;
- z-index: 1;
- transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
- background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
- }
-
- .dialysis-print-order .is-checked-radio::after {
- content: "√";
- font-size: 15px;
- }
-
- .dialysis-print-order .print-table-no tr td {
- padding: 8px 5px;
- line-height: 25px;
- }
-
- .dialysis-print-order .print-table tr td {
- padding: 1px 1px;
- /*line-height: 25px;*/
- }
-
- .es-img {
- height: 30px;
- }
-
- .advice-name {
- text-align: left;
- }
-
- .advice-children {
- display: flex;
- }
-
- .title-box-pro {
- border: 0 #fff;
- line-height: 25px;
- height: 25px;
- text-align: left;
- padding-left: 10px !important;
- }
-
- .title-box-pro-tr {
- border: 0 #fff;
- }
-
- .text-align-left {
- text-align: left !important;
- padding-left: 10px !important;
- font-size: 14px !important;
- line-height: 25px;
- }
-
- .print-table-tr-new td {
- line-height: 20px !important;
- }
-
- .border-top-solid {
- border: solid 1px #000;
- }
-
- .print-template-two tr {
- line-height: 30px;
- }
-
- .table-box1 {
- border: 1px solid #000;
- width: 100%;
- line-height: 30px;
- font-size: 14px;
- border-collapse: collapse;
- }
-
- .table-box1 tr {
- border-bottom: 1px solid #000;
- }
- </style>
-
- <style lang="scss">
- .newContainer {
-
- .dialysisPage::-webkit-scrollbar {
- height: 15px;
- }
-
- .el-date-editor {
-
- .el-input__inner {
- padding-right: 0px;
- }
-
- }
- .el-table td,
- .el-table th {
- text-align: center;
- }
-
- }
- .newContainer::-webkit-scrollbar {
- height: 15px !important;
- }
- </style>
|