xiaochan 1 yıl önce
ebeveyn
işleme
964c49ee0f

+ 5 - 2
release/删除文件上线.bat

@@ -1,3 +1,6 @@
 net use \\172.16.32.160 "thyy@2018" /user:"administrator"
-RMDIR /S /Q "\\172.16.32.160\D$\a.snapshot\web-server\dist"
-robocopy ./dist \\172.16.32.160\D$\a.snapshot\web-server\dist /E /Z /R:1 /W:1
+
+set PrjPath=D$\a.snapshot\web-server\dist
+
+RMDIR /S /Q "\\172.16.32.160\%PrjPath%"
+robocopy ./dist "\\172.16.32.160\%PrjPath%" /E /Z /R:1 /W:1

+ 6 - 2
src/views/data-base/data-base-api/DataBase.vue

@@ -24,8 +24,11 @@ function user() {
   dialogRef.value!.openDialog()
 }
 
-const getMessage = (e: { data: { name: string} }) => {
-  const data = JSON.parse(e.data)
+const getMessage = (e: { data: string}) => {
+  const data : {
+    name: string
+  } = JSON.parse(e.data)
+  // @ts-ignore
   func[data.name] && func[data.name]()
 }
 
@@ -44,6 +47,7 @@ onMounted(async () => {
       token: userInfoStore.value.token,
       name: 'setToken'
     }
+    // @ts-ignore
     iframe.value.contentWindow.postMessage(JSON.stringify(data), '*')
   }
 })

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

@@ -702,7 +702,6 @@ const setEditorModel = (val: EditorMode = 'free') => {
     editor.setEditorMode(val)
     readonlyPattern()
   } catch {
-
   }
 }
 
@@ -836,6 +835,7 @@ const clickSaveData = async () => {
     emrDataElement: null,
     documentData: null
   }
+
   data.emrDataElement = editor.getDataElements('business', false, true)
 
   objectValuesCannotBeNull(data);

+ 1 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/Home.vue

@@ -54,7 +54,7 @@
                    ref="progressRef"/>
 </template>
 
-<script setup name='Home' lang="ts">
+<script setup lang="ts">
 import EmrMain from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/EmrMain.vue";
 import {getDisPatient, getPatientInfo} from "@/api/zhu-yuan-yi-sheng/emr-patient";
 import router from "@/router";

+ 1 - 1
src/views/system/login.vue

@@ -105,7 +105,7 @@ const route = useRoute()
 const nextInputTimes = ref(null)
 const showPwd = ref(false)
 const verification = ref({
-  dialog: true,
+  dialog: false,
   code: '',
   nextTime: 0,
   sendSuccess: false

+ 3 - 9
vite.config.js

@@ -34,9 +34,7 @@ export default defineConfig({
             compiler: "vue3",
         }),
         VueSetupExtend(),
-        vue({
-            refTransform: true
-        }),
+        vue(),
         AutoImport({
             dts: 'src/auto-imports.d.ts',
             imports: ['vue']
@@ -60,12 +58,8 @@ export default defineConfig({
                 changeOrigin: true, //支持跨域调用,这里配置为true
                 rewrite: path => path.replace(/^\/emr/, '')
             },
-            '/bdp/dataservice/api': {
-                // 这个地址是,创智和宇的查询电子病历下拉框的接口
-                target: 'http://172.16.32.183:8888',
-                secure: false,
-                changeOrigin: true
-            },
+
+
         }
     },
     build: {