style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -110,11 +110,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { savePayment, wxPay, WxPayResult } from './outpatientregistration';
|
||||
import { computed, watch, reactive, ref, getCurrentInstance, nextTick } from 'vue';
|
||||
import { Delete } from '@element-plus/icons-vue';
|
||||
import { debounce } from 'lodash-es';
|
||||
import printUtils, { PRINT_TEMPLATE } from '@/utils/printUtils';
|
||||
import {savePayment, wxPay, WxPayResult} from './outpatientregistration';
|
||||
import {computed, getCurrentInstance, nextTick, reactive, ref, watch} from 'vue';
|
||||
import {Delete} from '@element-plus/icons-vue';
|
||||
import {debounce} from 'lodash-es';
|
||||
import printUtils, {PRINT_TEMPLATE} from '@/utils/printUtils';
|
||||
|
||||
// 获取费用性质文本
|
||||
const getFeeTypeText = computed(() => {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import request from '@/utils/request';
|
||||
import { parseStrEmpty } from '@/utils/openhis';
|
||||
|
||||
// 查询初期所需数据
|
||||
export function getInit() {
|
||||
|
||||
@@ -340,16 +340,10 @@
|
||||
</template>
|
||||
|
||||
<script setup name="PatientAddDialog">
|
||||
import { watch } from 'vue';
|
||||
import pcas from 'china-division/dist/pcas-code.json';
|
||||
import { addPatient, patientlLists, getOutpatientRegistrationList } from './outpatientregistration';
|
||||
import {
|
||||
isValidCNPhoneNumber,
|
||||
isValidCNidCardNumber,
|
||||
getGenderAndAge,
|
||||
} from '../../../../utils/validate';
|
||||
import { fromPairs } from 'lodash';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {addPatient, getOutpatientRegistrationList, patientlLists} from './outpatientregistration';
|
||||
import {getGenderAndAge, isValidCNidCardNumber, isValidCNPhoneNumber,} from '../../../../utils/validate';
|
||||
import {ElMessage} from 'element-plus';
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
@@ -74,9 +74,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="PatientInfoDialog">
|
||||
import {
|
||||
getOutpatientRegistrationList,
|
||||
} from "./outpatientregistration";
|
||||
import {getOutpatientRegistrationList,} from "./outpatientregistration";
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getOutpatientRegistrationList } from "./outpatientregistration";
|
||||
import {getOutpatientRegistrationList} from "./outpatientregistration";
|
||||
|
||||
const props = defineProps({
|
||||
searchkey: {
|
||||
type: String,
|
||||
|
||||
@@ -111,11 +111,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { cancelRegister, preCancelReg } from './outpatientregistration';
|
||||
import { computed, watch, reactive, ref, getCurrentInstance } from 'vue';
|
||||
import { Delete } from '@element-plus/icons-vue';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {cancelRegister, preCancelReg} from './outpatientregistration';
|
||||
import {computed, getCurrentInstance, reactive, ref, watch} from 'vue';
|
||||
|
||||
// 获取费用性质文本
|
||||
const getFeeTypeText = computed(() => {
|
||||
|
||||
@@ -132,10 +132,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, getCurrentInstance, watch } from 'vue';
|
||||
import { getOutpatientRegistrationCurrent, getOutpatientRegistrationList, reprintRegistration } from './outpatientregistration';
|
||||
import { parseTime } from '@/utils/his';
|
||||
import { formatDateStr } from '@/utils/index';
|
||||
import {getCurrentInstance, reactive, ref, watch} from 'vue';
|
||||
import {getOutpatientRegistrationCurrent, reprintRegistration} from './outpatientregistration';
|
||||
import {parseTime} from '@/utils/his';
|
||||
import {formatDateStr} from '@/utils/index';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user