style(flowable): 优化流程相关代码的import顺序和代码结构

This commit is contained in:
2025-12-30 15:11:32 +08:00
parent 54cde91aac
commit d1670b79a0
2528 changed files with 7710 additions and 10794 deletions

View File

@@ -1,4 +1,5 @@
import request from '@/utils/request';
// 申请单相关接口
/**

View File

@@ -106,11 +106,11 @@
</template>
<script setup>
import { getCurrentInstance, ref, watch, computed } from 'vue';
import { Refresh } from '@element-plus/icons-vue';
import { patientInfo } from '../../store/patient.js';
import { getBloodTransfusion } from './api';
import { getOrgList } from '@/views/doctorstation/components/api.js';
import {computed, getCurrentInstance, ref, watch} from 'vue';
import {Refresh} from '@element-plus/icons-vue';
import {patientInfo} from '../../store/patient.js';
import {getBloodTransfusion} from './api';
import {getOrgList} from '@/views/doctorstation/components/api.js';
const { proxy } = getCurrentInstance();

View File

@@ -106,11 +106,11 @@
</template>
<script setup>
import { getCurrentInstance, ref, watch, computed } from 'vue';
import { Refresh } from '@element-plus/icons-vue';
import { patientInfo } from '../../store/patient.js';
import { getCheck } from './api';
import { getOrgList } from '@/views/doctorstation/components/api.js';
import {computed, getCurrentInstance, ref, watch} from 'vue';
import {Refresh} from '@element-plus/icons-vue';
import {patientInfo} from '../../store/patient.js';
import {getCheck} from './api';
import {getOrgList} from '@/views/doctorstation/components/api.js';
const { proxy } = getCurrentInstance();

View File

@@ -151,11 +151,11 @@
</div>
</template>
<script setup>
import { getCurrentInstance, onMounted, ref, reactive, watch } from 'vue';
import { getNursingOrdersInfos, saveNursingOrders, getEncounterNursingOrders } from './api';
import { patientInfo } from '../../store/patient.js';
import {getCurrentInstance, onMounted, reactive, ref, watch} from 'vue';
import {getEncounterNursingOrders, getNursingOrdersInfos, saveNursingOrders} from './api';
import {patientInfo} from '../../store/patient.js';
// 导入获取诊断信息的API
import { getEncounterDiagnosis } from '@/views/doctorstation/components/api';
import {getEncounterDiagnosis} from '@/views/doctorstation/components/api';
const { proxy } = getCurrentInstance();
const loading = ref(false);

View File

@@ -84,10 +84,10 @@
</template>
<script setup>
import { getCurrentInstance, ref, watch } from 'vue';
import { Refresh } from '@element-plus/icons-vue';
import { patientInfo } from '../../store/patient.js';
import { getProofResult, getTestResult } from './api';
import {getCurrentInstance, ref, watch} from 'vue';
import {Refresh} from '@element-plus/icons-vue';
import {patientInfo} from '../../store/patient.js';
import {getProofResult, getTestResult} from './api';
const { proxy } = getCurrentInstance();

View File

@@ -106,11 +106,11 @@
</template>
<script setup>
import { getCurrentInstance, ref, watch, computed } from 'vue';
import { Refresh } from '@element-plus/icons-vue';
import { patientInfo } from '../../store/patient.js';
import { getSurgery } from './api';
import { getOrgList } from '@/views/doctorstation/components/api.js';
import {computed, getCurrentInstance, ref, watch} from 'vue';
import {Refresh} from '@element-plus/icons-vue';
import {patientInfo} from '../../store/patient.js';
import {getSurgery} from './api';
import {getOrgList} from '@/views/doctorstation/components/api.js';
const { proxy } = getCurrentInstance();

View File

@@ -106,11 +106,11 @@
</template>
<script setup>
import { getCurrentInstance, ref, watch, computed } from 'vue';
import { Refresh } from '@element-plus/icons-vue';
import { patientInfo } from '../../store/patient.js';
import { getInspection } from './api';
import { getOrgList } from '@/views/doctorstation/components/api.js';
import {computed, getCurrentInstance, ref, watch} from 'vue';
import {Refresh} from '@element-plus/icons-vue';
import {patientInfo} from '../../store/patient.js';
import {getInspection} from './api';
import {getOrgList} from '@/views/doctorstation/components/api.js';
const { proxy } = getCurrentInstance();