fan 2 лет назад
Родитель
Сommit
3c8d8de1d7

+ 1 - 1
src/design/theme.less

@@ -53,7 +53,7 @@ html[data-theme='light'] {
 
 .ant-table-thead > tr > th {
   font-weight: 700 !important;
-  background-color: #f5f5f7 !important;
+  background-color: #f0f2f5 !important;
 }
 .ant-table-tbody > tr > td {
   border-bottom: 1px solid #ebedf0 !important;

+ 1 - 1
src/views/biz/archives/diagnosisHistory/FormModal.vue

@@ -170,7 +170,7 @@
   const emit = defineEmits(['success', 'register']);
 
   const getTitle = ref('编辑');
-  const width = '45%';
+  const width = '850px';
   const isSingle = ref(true);
   const type = ref('');
   const typeOptions = ref([]);

+ 2 - 2
src/views/biz/archives/diagnosisHistory/data.ts

@@ -286,7 +286,7 @@ export const columnsMulti: BasicColumn[] = [
   {
     title: '诊断类型',
     dataIndex: 'contentType',
-    width: 100,
+    width: 80,
     edit: true,
     editable: true,
     editComponent: 'Select',
@@ -313,7 +313,7 @@ export const columnsMulti: BasicColumn[] = [
   {
     title: '名称',
     dataIndex: 'name',
-    width: 200,
+    width: 180,
     edit: true,
     editable: true,
     editComponent: 'Select',

+ 2 - 2
src/views/biz/archives/medicalDocuments/data.ts

@@ -51,8 +51,8 @@ export const dataFormSchema: FormSchema[] = [
       api: uploadApi,
       maxSize: 20,
       maxNumber: 10,
-      helpText: '仅支持上传jpg/png/pdf文件,文件大小不超过5M',
-      accept: ['image/*', '.pdf', '.doc', '.docx', '.ppt', '.pptx', '.wps', '.xls', '.xlsx'],
+      helpText: '支持上传图片/pdf/docx/ppt/xlsx文件,文件大小不超过20M',
+      accept: ['image/*', '.pdf', '.doc', '.docx', '.ppt', '.pptx', '.xls', '.xlsx'],
     },
     colProps: {
       span: 24,

+ 2 - 0
src/views/biz/archives/patrolward/data.ts

@@ -7,6 +7,7 @@ export const columns: BasicColumn[] = [
     title: '查房时间',
     dataIndex: 'patrolTime',
     width: 200,
+    align: 'left',
   },
   {
     title: '查房内容',
@@ -17,6 +18,7 @@ export const columns: BasicColumn[] = [
     title: '记录人',
     dataIndex: 'updatorName',
     width: 120,
+    align: 'left',
   },
 ];
 

+ 6 - 4
src/views/biz/archives/vascularAccess/ViewDrawerComplication.vue

@@ -72,10 +72,10 @@
 
   const [registerDrawer, { setDrawerProps, closeDrawer }] = useDrawerInner(async data => {
     setDrawerProps({ confirmLoading: false });
+    getTitle.value = `通路并发症 ( ${data.record.name} | ${data.record.gender} | ${data.record.age}岁 )`;
+    isUpdate.value = !!data?.isUpdate;
     bizDictOptions.accessType = await listDictModel({ dictCode: 'va_type' });
     bizDictOptions.vaComp = await listDictModel({ dictCode: 'va_comp' });
-    isUpdate.value = !!data?.isUpdate;
-    getTitle.value = `通路并发症 ( ${data.record.name} | ${data.record.gender} | ${data.record.age}岁 )`;
     vascularAccessId.value = data.accessId;
     await getData();
   });
@@ -208,8 +208,10 @@
     await getData();
   }
   async function handleCancel(record: EditRecordRow) {
-    // console.log('🚀 ~ file: ViewDrawerComplication.vue:179 ~ handleCancel ~ record:', record);
-    tableData.value.shift();
+    console.log('🚀 ~ file: ViewDrawerComplication.vue:179 ~ handleCancel ~ record:', record);
+    if (!record.id) {
+      tableData.value.shift();
+    }
     await nextTick();
     setTableData(tableData.value);
     record.onEdit?.(false);