引入优化

zth
lijingjia 2 weeks ago
parent 9ef4d100af
commit 1bb13e12dd

@ -37,7 +37,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, reactive, defineExpose } from 'vue' import { ref, reactive } from 'vue'
// //
import { feeColumns, feeApplyColumns } from './feeColumns' import { feeColumns, feeApplyColumns } from './feeColumns'
import { feeStatusList } from '../columns' import { feeStatusList } from '../columns'

@ -95,7 +95,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { BasicTable, useTable } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { ref, watch, defineExpose } from 'vue' import { ref, watch } from 'vue'
import emitter from '/@/utils/Bus' import emitter from '/@/utils/Bus'
import { FeeStatistics } from './api' import { FeeStatistics } from './api'
import { currencyColumns, costomerColumns } from './columns' import { currencyColumns, costomerColumns } from './columns'

@ -61,7 +61,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose } from 'vue' import { ref } from 'vue'
import FlowDesign from '/@/views/flowcenter/flowInstances/Lowflow/index.vue' import FlowDesign from '/@/views/flowcenter/flowInstances/Lowflow/index.vue'
import { GetFlowContent } from './api' import { GetFlowContent } from './api'
import { GetFlowInstanceHistoryList } from '/@/views/flowcenter/flowInstances/api' import { GetFlowInstanceHistoryList } from '/@/views/flowcenter/flowInstances/api'

@ -62,7 +62,7 @@
</template> </template>
<script lang="ts" setup name="DsPrint"> <script lang="ts" setup name="DsPrint">
import { ref, defineExpose, defineProps } from 'vue' import { ref } from 'vue'
import { useUserStore } from '/@/store/modules/user' import { useUserStore } from '/@/store/modules/user'
import printModal from './printModal.vue' import printModal from './printModal.vue'
import { import {

@ -30,7 +30,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose, defineProps } from 'vue' import { ref } from 'vue'
const props = defineProps({ const props = defineProps({
// //
bookingData: { bookingData: {

@ -67,7 +67,7 @@
:filters="item.filters" :filters="item.filters"
> >
<template #default="{ row }"> <template #default="{ row }">
<slot name="bodyCell" :column="item" :record="row">{{ row[item.dataIndex] }}</slot> <slot name="bodyCell" :column="item" :record="row">{{ row[item.dataIndex] || '-' }}</slot>
</template> </template>
</vxe-column> </vxe-column>
</template> </template>

@ -338,7 +338,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, emit, watch, defineExpose } from 'vue' import { ref } from 'vue'
import { import {
GetDraftCompareResultInfo, GetShippingOrderCompareResult, GetDraftCompareResultInfo, GetShippingOrderCompareResult,
TaskDraftCompareDownloadFile, SaveDraftComparellanual, ExcuteShippingOrderCompareBatch TaskDraftCompareDownloadFile, SaveDraftComparellanual, ExcuteShippingOrderCompareBatch

@ -10,7 +10,7 @@
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, unref, defineExpose } from 'vue' import { ref } from 'vue'
// import { rules } from '/@/utils/helper/validator'; // import { rules } from '/@/utils/helper/validator';
// import { defHttp } from '/@/utils/http/axios'; // import { defHttp } from '/@/utils/http/axios';
import { BasicModal, useModalInner } from '/@/components/Modal' import { BasicModal, useModalInner } from '/@/components/Modal'

@ -21,7 +21,7 @@
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose } from 'vue' import { ref } from 'vue'
import { BasicModal, useModalInner } from '/@/components/Modal' import { BasicModal, useModalInner } from '/@/components/Modal'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { ChangeOrg, getUserInfo } from '/@/api/common/index' import { ChangeOrg, getUserInfo } from '/@/api/common/index'

@ -159,7 +159,7 @@
</a-spin> </a-spin>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose } from 'vue' import { ref } from 'vue'
import { BasicTable, useTable } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { GetFees, Audit, SetInvoiceEnabled, AuditByBiz } from '../api' import { GetFees, Audit, SetInvoiceEnabled, AuditByBiz } from '../api'

@ -83,7 +83,7 @@
</a-spin> </a-spin>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { onMounted, ref, reactive, watch, defineExpose } from 'vue' import { onMounted, ref, reactive, watch } from 'vue'
import { BasicTable, useTable } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { formatParams } from '/@/hooks/web/common' import { formatParams } from '/@/hooks/web/common'
import { GetList, GetApplicationStat } from './api' import { GetList, GetApplicationStat } from './api'

@ -40,7 +40,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineProps } from 'vue' import { ref } from 'vue'
import { BasicTable, useTable, TableAction } from '/@/components/Table' import { BasicTable, useTable, TableAction } from '/@/components/Table'
import { ApiList, ApiDel } from './api' import { ApiList, ApiDel } from './api'

@ -69,7 +69,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { reactive, ref, onMounted, defineExpose } from 'vue' import { reactive, ref, onMounted } from 'vue'
import emitter from '/@/utils/Bus' import emitter from '/@/utils/Bus'
const formDisable = ref(true) const formDisable = ref(true)
const form = ref() const form = ref()

@ -20,7 +20,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose } from 'vue' import { ref } from 'vue'
// //
import TableColSet from './tableColSet.vue' import TableColSet from './tableColSet.vue'
// //

@ -51,7 +51,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineProps } from 'vue' import { ref } from 'vue'
import { Divider } from 'ant-design-vue' import { Divider } from 'ant-design-vue'
import { checkPermissions } from '/@/hooks/Permissions/index' import { checkPermissions } from '/@/hooks/Permissions/index'
import { BasicTable, useTable, TableAction } from '/@/components/Table' import { BasicTable, useTable, TableAction } from '/@/components/Table'

@ -37,7 +37,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { onMounted, defineProps } from 'vue' import { onMounted } from 'vue'
import { BasicTable, useTable, TableAction } from '/@/components/Table' import { BasicTable, useTable, TableAction } from '/@/components/Table'
import { formatParams } from '/@/hooks/web/common' import { formatParams } from '/@/hooks/web/common'
import { GetClientParamList, BatchDelClientParam } from './api' import { GetClientParamList, BatchDelClientParam } from './api'

@ -15,7 +15,7 @@
</a-spin> </a-spin>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose } from 'vue' import { ref } from 'vue'
// //
import { feeColumns } from '../columns' import { feeColumns } from '../columns'
// id // id

@ -19,7 +19,7 @@
</a-modal> </a-modal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { defineExpose, ref, defineProps } from 'vue' import { ref } from 'vue'
import { BasicTable, useTable } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { GetBillManageHistoryList, ImportBillManageHistory } from '../../api/BookingLedger.js' import { GetBillManageHistoryList, ImportBillManageHistory } from '../../api/BookingLedger.js'
import { columns, searchFormSchema } from './ladingInfo' import { columns, searchFormSchema } from './ladingInfo'

@ -20,7 +20,7 @@
</BasicModal> </BasicModal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineProps } from 'vue' import { ref } from 'vue'
import { BasicModal, useModalInner } from '/@/components/Modal' import { BasicModal, useModalInner } from '/@/components/Modal'
import OpBusinessYardEdit from './OpBusinessYardEdit.vue' import OpBusinessYardEdit from './OpBusinessYardEdit.vue'
// Emits // Emits

@ -34,7 +34,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { onMounted, defineProps } from 'vue' import { onMounted } from 'vue'
import { checkPermissions } from '/@/hooks/Permissions/index' import { checkPermissions } from '/@/hooks/Permissions/index'
import { formatParams } from '/@/hooks/web/common' import { formatParams } from '/@/hooks/web/common'
import { BasicTable, useTable, TableAction } from '/@/components/Table' import { BasicTable, useTable, TableAction } from '/@/components/Table'

@ -16,7 +16,7 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, defineExpose } from 'vue' import { ref } from 'vue'
import { DownloadFileByBC } from '../api' import { DownloadFileByBC } from '../api'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
const { createMessage } = useMessage() const { createMessage } = useMessage()

@ -49,7 +49,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { number } from 'echarts'; import { number } from 'echarts';
import { ref, onMounted, defineProps } from 'vue' import { ref, onMounted } from 'vue'
import { GetUserListAll, SetTaskOwner, CompleteTask, CancelTask } from '../api' import { GetUserListAll, SetTaskOwner, CompleteTask, CancelTask } from '../api'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { useModal } from '/@/components/Modal' import { useModal } from '/@/components/Modal'

Loading…
Cancel
Save