|
@@ -924,7 +924,7 @@ import { getDialysisRecord } from '@/api/dialysis'
|
924
|
924
|
import { getDataConfig } from '@/utils/data'
|
925
|
925
|
import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
|
926
|
926
|
import LabelBox from '../printItem/LabelBox'
|
927
|
|
-
|
|
927
|
+import {Dialog} from 'vant'
|
928
|
928
|
// import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
|
929
|
929
|
// import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
|
930
|
930
|
import print from 'print-js'
|
|
@@ -1178,13 +1178,15 @@ export default {
|
1178
|
1178
|
) {
|
1179
|
1179
|
const obj30 = '首剂'
|
1180
|
1180
|
checkDate.push(obj30);
|
1181
|
|
- } if (
|
1182
|
|
- this.prescription.anticoagulant_weichi == "" &&
|
1183
|
|
- this.prescription.anticoagulant != 1
|
1184
|
|
- ) {
|
1185
|
|
- const obj31 = '维持'
|
1186
|
|
- checkDate.push(obj31);
|
1187
|
|
- } if (
|
|
1181
|
+ }
|
|
1182
|
+ // if (
|
|
1183
|
+ // this.prescription.anticoagulant_weichi == "" &&
|
|
1184
|
+ // this.prescription.anticoagulant != 1
|
|
1185
|
+ // ) {
|
|
1186
|
+ // const obj31 = '维持'
|
|
1187
|
+ // checkDate.push(obj31);
|
|
1188
|
+ // }
|
|
1189
|
+ if (
|
1188
|
1190
|
this.prescription.anticoagulant_zongliang == "" &&
|
1189
|
1191
|
this.prescription.anticoagulant != 1 &&
|
1190
|
1192
|
this.prescription.anticoagulant != 5
|
|
@@ -1854,10 +1856,17 @@ export default {
|
1854
|
1856
|
},
|
1855
|
1857
|
getcheckData(val){
|
1856
|
1858
|
if(val.length >0){
|
1857
|
|
- const a = val.join(',')
|
1858
|
|
- console.log('a',a);
|
1859
|
|
- this.$toast(a +" 未填");
|
1860
|
|
- return a
|
|
1859
|
+ let message = `记录单未填数据:\n${val.join("\n")}`;
|
|
1860
|
+ Dialog.confirm({
|
|
1861
|
+ allowHtml:true,
|
|
1862
|
+ message:message,
|
|
1863
|
+ }).then(() => {
|
|
1864
|
+
|
|
1865
|
+ })
|
|
1866
|
+ .catch(() => {
|
|
1867
|
+
|
|
1868
|
+ });
|
|
1869
|
+ return message
|
1861
|
1870
|
}else{
|
1862
|
1871
|
this.$toast('核对完成')
|
1863
|
1872
|
}
|