style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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([]);
|
||||
|
||||
@@ -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([]);
|
||||
|
||||
@@ -130,8 +130,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { ref } from 'vue';
|
||||
<script setup>
|
||||
import {ref} from 'vue';
|
||||
|
||||
const searchForm = ref({
|
||||
drugType: '1',
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user