Explorar el Código

完成CA签名

xiaochan hace 9 meses
padre
commit
60519f456b

+ 0 - 15
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/EmrMain.vue

@@ -1652,21 +1652,6 @@ const initEdit = () => {
     emrStore.mutation.installPlugins(res, emrStore);
     if (isDev) {
       await sleep(500);
-      // @ts-ignore
-      loadDocument({
-        categoryCode: "c8aff620580111eda93f1fd7ab32baa6",
-        name: "授权委托书",
-        documentId: "924629067488102400",
-        emrPatientData: {},
-      });
-      // loadDocument({
-      //   categoryCode: "ruyuanjiluzhuanyong",
-      //   categoryId: "e6723e80ed6511ed85a9691047891ea7",
-      //   name: "入院记录",
-      //   parent: "4959e2c054fd11edb28ac955a5f5cad1",
-      //   emrPatientData: {},
-      //   courseJumpId: null,
-      // });
     }
   });
 };

+ 0 - 16
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/plugins/ca/EmrCAComp.vue

@@ -11,8 +11,6 @@ import XcElOption from "@/components/xiao-chan/xc-el-option/XcElOption.vue";
 import { useUserStore } from "@/pinia/user-store";
 import { patientInfo } from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/emr-init";
 import { stringIsBlank } from "@/utils/blank-utils";
-import { isDev } from "@/utils/public";
-import sleep from "@/utils/sleep";
 
 const { store } = inject(emrRootContextKey);
 const selectList = ref<SignComp[]>([]);
@@ -111,20 +109,6 @@ const sendSignature = async () => {
   }).then(() => {});
 };
 
-onMounted(async () => {
-  if (!isDev) return;
-  await nextTick();
-  await sleep(1000);
-  signTypeValue.value = 2;
-  selectList.value.forEach((item, index) => {
-    item.signType = index + 1;
-    item.idCard = "430922200002078519";
-    item.signName = "肖蟾";
-  });
-
-  // sendClick();
-});
-
 const sendCodeData = computed(() => {
   return [
     {