style(flowable): 优化流程相关代码的import顺序和代码结构
This commit is contained in:
@@ -628,8 +628,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive } from 'vue';
|
||||
import { previewPrint } from '../../../utils/printUtils';
|
||||
import {reactive, ref} from 'vue';
|
||||
|
||||
const bodyRef = ref();
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive } from 'vue'; // 补充缺失的reactive导入
|
||||
import {reactive, ref} from 'vue'; // 补充缺失的reactive导入
|
||||
|
||||
const bodyRef = ref(null);
|
||||
const showPrintPreview = ref(false); // 控制弹窗显隐
|
||||
|
||||
@@ -1346,7 +1346,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive } from 'vue';
|
||||
import {reactive, ref} from 'vue';
|
||||
|
||||
const bodyRef = ref();
|
||||
const printContentRef = ref(); // 新增打印内容的ref
|
||||
const showPrintPreview = ref(false); // 控制打印预览弹窗显示
|
||||
|
||||
@@ -822,7 +822,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, defineExpose } from 'vue';
|
||||
import {defineExpose, reactive, ref} from 'vue';
|
||||
|
||||
const bodyRef = ref();
|
||||
// 响应式表单数据
|
||||
const formData = reactive({
|
||||
|
||||
@@ -497,12 +497,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, watch, ref } from 'vue';
|
||||
import {reactive, ref, watch} from 'vue';
|
||||
import formDataJs from '@/views/doctorstation/components/store/medicalpage';
|
||||
import { patientInfo } from '@/views/inpatientDoctor/home/store/patient';
|
||||
import {patientInfo} from '@/views/inpatientDoctor/home/store/patient';
|
||||
import diagnosislist from '@/views/inpatientDoctor/home/components/diagnosis/diagnosislist.vue';
|
||||
import { diagnosisInit } from '@/views/doctorstation/components/api';
|
||||
import {diagnosisInit} from '@/views/doctorstation/components/api';
|
||||
import useUserStore from '@/store/modules/user';
|
||||
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { med_type } = proxy.useDict('med_type');
|
||||
const {
|
||||
|
||||
@@ -1754,10 +1754,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { previewPrint } from '../../../utils/printUtils';
|
||||
import {ref} from 'vue';
|
||||
import formDataJs from '../../doctorstation/components/store/medicalpage';
|
||||
import { patientInfo } from '../../inpatientDoctor/home/store/patient';
|
||||
import {patientInfo} from '../../inpatientDoctor/home/store/patient';
|
||||
|
||||
const formData = reactive(formDataJs);
|
||||
const bodyRef = ref();
|
||||
const tableData = ref([{}, {}, {}]);
|
||||
|
||||
@@ -345,10 +345,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, watch } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { cloneDeep, forEach } from 'lodash';
|
||||
import {reactive, ref, watch} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import formDataJs from '../../doctorstation/components/store/medicalpage';
|
||||
|
||||
let chooseData = reactive([]); //表格中选中的数据 TODO
|
||||
let surgery_tableData = reactive([]);
|
||||
const tableData_sub = ref([{}, {}]);
|
||||
|
||||
@@ -461,10 +461,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, watch, watchEffect } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { cloneDeep } from 'lodash';
|
||||
import {reactive, ref, watch} from 'vue';
|
||||
import {ElMessage} from 'element-plus';
|
||||
import formDataJs from '../../doctorstation/components/store/medicalpage';
|
||||
|
||||
const props = defineProps(['formData']);
|
||||
const formData = reactive(formDataJs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user