style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
</el-row>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue';
|
||||
import {ref, watch} from 'vue';
|
||||
import diagnosislist from '../../../../doctorstation/components/diagnosis/diagnosislist.vue';
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
</el-row>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue';
|
||||
import {ref, watch} from 'vue';
|
||||
import diagnosislist from '../../../../doctorstation/components/diagnosis/diagnosislist.vue';
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -63,9 +63,9 @@
|
||||
@cancelAct="cancelAct"
|
||||
/>
|
||||
</template>
|
||||
<script setup >
|
||||
<script setup>
|
||||
import PatientRegister from './patientRegister.vue';
|
||||
import { getAdmissionPage, getPatientBasicInfo, getInHospitalInfo } from './api';
|
||||
import {getAdmissionPage, getInHospitalInfo, getPatientBasicInfo} from './api';
|
||||
//const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits([]);
|
||||
// const props = defineProps({});
|
||||
|
||||
@@ -60,7 +60,8 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import PatientRegister from './patientRegister.vue';
|
||||
import { getAdmissionPage, getPatientBasicInfo, getInHospitalInfo } from './api';
|
||||
import {getAdmissionPage, getInHospitalInfo, getPatientBasicInfo} from './api';
|
||||
|
||||
const emits = defineEmits(['okList']);
|
||||
|
||||
const total = ref();
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup >
|
||||
import { getAdmissionPage } from './api';
|
||||
<script setup>
|
||||
import {getAdmissionPage} from './api';
|
||||
//const { proxy } = getCurrentInstance();
|
||||
const emits = defineEmits([]);
|
||||
// const props = defineProps({});
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import AwaitList from "./awaitList.vue";
|
||||
import AccomplishList from "./accomplishList.vue";
|
||||
import ExistList from "./existList.vue";
|
||||
import AwaitList from "./awaitList.vue";
|
||||
import AccomplishList from "./accomplishList.vue";
|
||||
import ExistList from "./existList.vue";
|
||||
|
||||
export {AwaitList,AccomplishList,ExistList}
|
||||
@@ -156,9 +156,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, watch } from 'vue';
|
||||
import {reactive, ref, watch} from 'vue';
|
||||
import PatientInfoForm from './patientInfoForm.vue';
|
||||
import { patientlLists, getOrgList } from './api';
|
||||
import {getOrgList, patientlLists} from './api';
|
||||
|
||||
const typeList = ref({});
|
||||
const patientInfoFormRef = ref();
|
||||
|
||||
@@ -217,9 +217,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { watch } from 'vue';
|
||||
import {watch} from 'vue';
|
||||
import pcas from 'china-division/dist/pcas-code.json';
|
||||
import { patientFormInit } from './api';
|
||||
import {patientFormInit} from './api';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const {
|
||||
|
||||
@@ -77,10 +77,11 @@
|
||||
</template>
|
||||
<script setup>
|
||||
const { proxy } = getCurrentInstance();
|
||||
import { ElMessageBox } from 'element-plus';
|
||||
import {ElMessage, ElMessageBox} from 'element-plus';
|
||||
import PatientInfoComp from './patientInfo.vue';
|
||||
import RegisterForm from './registerForm.vue';
|
||||
import { noFilesRegister, registerInHospital, getInit } from './api';
|
||||
import {getInit, noFilesRegister, registerInHospital} from './api';
|
||||
|
||||
const emits = defineEmits(['okAct', 'cancelAct']);
|
||||
|
||||
const props = defineProps({
|
||||
@@ -118,7 +119,6 @@ const dialogVisible = defineModel('dialogVisible', {
|
||||
default: false,
|
||||
});
|
||||
const code = defineModel('code');
|
||||
import { ElMessage } from 'element-plus';
|
||||
const width = '1128px';
|
||||
const patientApiInfo = ref({});
|
||||
const initOptions = ref({});
|
||||
|
||||
@@ -42,24 +42,25 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { computed, onMounted, reactive, ref, getCurrentInstance } from 'vue';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import {computed, getCurrentInstance, onMounted, reactive, ref} from 'vue';
|
||||
import {useRoute, useRouter} from 'vue-router';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import AdmissionDiagnosis from './AdmissionDiagnosis.vue';
|
||||
import DischargeDiagnosis from './DischargeDiagnosis.vue';
|
||||
import RegisterForm from './registerForm.vue';
|
||||
import {
|
||||
checkOutInpatient,
|
||||
gerPreInfo,
|
||||
getInHospitalInfo,
|
||||
getInpatientCheckInfo,
|
||||
getInpatientRegInfo,
|
||||
saveEmr,
|
||||
checkOutInpatient,
|
||||
updateInpatientRegInfo,
|
||||
gerPreInfo,
|
||||
} from './api';
|
||||
import { invokeYbPlugin5001 } from '@/api/public';
|
||||
import {invokeYbPlugin5001} from '@/api/public';
|
||||
import useTagsViewStore from '@/store/modules/tagsView';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
|
||||
@@ -301,7 +301,8 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { reactive, ref, watch } from 'vue';
|
||||
import {reactive, ref, watch} from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
registerForm: {
|
||||
type: Object,
|
||||
|
||||
@@ -91,18 +91,12 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import {
|
||||
getRegisteInfoPage,
|
||||
getInHospitalInfo,
|
||||
getInpatientCheckInfo,
|
||||
cancelInpatientRegister,
|
||||
cancelDischargeRegister,
|
||||
uploadEmr,
|
||||
} from './components/api';
|
||||
import { ElMessage, ElMessageBox, ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus';
|
||||
import { ArrowDown, Close, Upload } from '@element-plus/icons-vue';
|
||||
import {ref} from 'vue';
|
||||
import {useRouter} from 'vue-router';
|
||||
import {cancelDischargeRegister, cancelInpatientRegister, getRegisteInfoPage, uploadEmr,} from './components/api';
|
||||
import {ElDropdown, ElDropdownItem, ElDropdownMenu, ElMessage, ElMessageBox} from 'element-plus';
|
||||
import {ArrowDown, Upload} from '@element-plus/icons-vue';
|
||||
|
||||
const total = ref(0);
|
||||
const queryParams = ref({
|
||||
pageNo: 1,
|
||||
|
||||
Reference in New Issue
Block a user