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

@@ -32,9 +32,9 @@
</template>
<script setup>
import { getPatientList, getWardList } from './api';
import { updatePatientInfoList } from '../store/patient';
import { nextTick, onMounted } from 'vue';
import {getPatientList, getWardList} from './api';
import {updatePatientInfoList} from '../store/patient';
import {nextTick} from 'vue';
const treeRef = ref(null);
const allNodesLoaded = ref(false);

View File

@@ -163,10 +163,10 @@
</template>
<script setup>
import { getPrescriptionList, adviceExecute, adviceCancel, medicineSummary } from './api';
import { patientInfoList } from '../../components/store/patient.js';
import { formatDate, formatDateStr } from '@/utils/index';
import { ref, getCurrentInstance } from 'vue';
import {getPrescriptionList, medicineSummary} from './api';
import {patientInfoList} from '../../components/store/patient.js';
import {formatDateStr} from '@/utils/index';
import {getCurrentInstance, ref} from 'vue';
import useUserStore from '@/store/modules/user';
const activeNames = ref([]);

View File

@@ -48,9 +48,9 @@
</template>
<script setup>
import { getMedicineSummary, getMedicineSummaryDetail } from './api';
import { patientInfoList } from '../../components/store/patient.js';
import { ref, getCurrentInstance } from 'vue';
import {getMedicineSummary, getMedicineSummaryDetail} from './api';
import {patientInfoList} from '../../components/store/patient.js';
import {getCurrentInstance, ref} from 'vue';
const medicineSummaryFormList = ref([]);
const medicineSummaryFormDetails = ref([]);

View File

@@ -130,8 +130,8 @@
</div>
</div>
</template>
<script setup >
import { ref } from 'vue';
<script setup>
import {ref} from 'vue';
const searchForm = ref({
drugType: '1',

View File

@@ -101,13 +101,12 @@
</template>
<script setup>
import { getCurrentInstance, ref } from 'vue';
import { useRouter } from 'vue-router';
import {getCurrentInstance, ref} from 'vue';
import {useRouter} from 'vue-router';
import PatientList from '../components/patientList.vue';
import NurseNavBar from '../components/NurseNavBar.vue';
import PrescriptionList from './components/prescriptionList.vue';
import SummaryMedicineList from './components/summaryMedicineList.vue';
import { inpatientNurseNavs } from '../constants/navigation';
import {inpatientNurseNavs} from '../constants/navigation';
const { proxy } = getCurrentInstance();
const router = useRouter();