fan 2 лет назад
Родитель
Сommit
65123b1a45

+ 1 - 0
src/views/biz/archives/vascularAccess/FormModal.vue

@@ -57,6 +57,7 @@
     if (unref(isUpdate)) {
       const resData = await archivesVascularAccessDetail(patientBasicId.value);
       rowId.value = resData.id;
+      patientBasicId.value = resData.patientBasicId;
       resData.accessType = resData.type;
       accessType.value = formatDictValue(bizDictOptions.accessType, resData.type);
       await setFieldsValue({

+ 3 - 0
src/views/biz/archives/vascularAccess/data.ts

@@ -188,6 +188,7 @@ export const dataFormSchemaVascularAccess: FormSchema[] = [
   {
     label: '手术部位 (动脉)',
     field: 'arteries',
+    required: true,
     component: 'ApiRadioGroup',
     componentProps: ({ formModel }) => {
       return {
@@ -209,6 +210,7 @@ export const dataFormSchemaVascularAccess: FormSchema[] = [
   {
     label: '手术部位 (静脉)',
     field: 'vein',
+    required: true,
     component: 'ApiRadioGroup',
     componentProps: ({ formModel }) => {
       return {
@@ -229,6 +231,7 @@ export const dataFormSchemaVascularAccess: FormSchema[] = [
   {
     label: '路径',
     field: 'path',
+    required: true,
     component: 'ApiRadioGroup',
     componentProps: ({ formModel }) => {
       return {

+ 12 - 0
src/views/biz/visit/ready/data.ts

@@ -144,6 +144,18 @@ export const dataFormSchema: FormSchema[] = [
     },
     defaultValue: '1',
   },
+  {
+    field: 'apiCheck',
+    label: '系统内置',
+    component: 'ApiCheckboxGroup',
+    componentProps: {
+      api: listDictModel,
+      params: {
+        dictCode: 'bm_pump',
+      },
+    },
+    // defaultValue: ['pump_single'],
+  },
   // {
   //   field: 'disable',
   //   label: '状态',

+ 1 - 0
src/views/biz/visit/ready/index.vue

@@ -268,6 +268,7 @@
         input: '测试',
         dictValue: 'DIC_BIZ',
       },
+      apiCheck: ['pump_single'],
     });
   });
   // const count = ref(0);