style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getPrescriptionPageInfo(queryParams) {
|
||||
return request({
|
||||
url: '/doctor-station/main/prescription-page-info',
|
||||
|
||||
@@ -195,9 +195,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="historicalPrescriptionDetail">
|
||||
import {
|
||||
getPrescriptionDetail
|
||||
} from "./api";
|
||||
import {getPrescriptionDetail} from "./api";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
</template>
|
||||
|
||||
<script setup name="historicalPrescriptionDetail">
|
||||
import { getPrescriptionDetail } from './api';
|
||||
import {getPrescriptionDetail} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
@@ -106,10 +106,10 @@
|
||||
</template>
|
||||
|
||||
<script setup name="historicalPrescription">
|
||||
import { ref } from 'vue';
|
||||
import { getPrescriptionPageInfo } from './component/api';
|
||||
import historicalPrescriptionDetail from './component/details.vue';
|
||||
import {ref} from 'vue';
|
||||
import {getPrescriptionPageInfo} from './component/api';
|
||||
import Prescription from './component/prescription.vue';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
const { item_category_code } = proxy.useDict('item_category_code');
|
||||
|
||||
Reference in New Issue
Block a user