摘要: 销售单价的订阅事件 <script setup> const [listData, index, headerInfo, emits, props, BigNumber, form, callback] = arguments if (callback.triggerAllEvevt) { // 如 阅读全文
posted @ 2025-08-11 15:38 wjs0509 阅读(12) 评论(0) 推荐(0)
摘要: <template> <translateForm ref="translateFormRef" @clickRule="clickRule" /> </template> <script lang="ts" setup> // import { nextTick, ref, defineProps 阅读全文
posted @ 2025-08-11 15:37 wjs0509 阅读(14) 评论(0) 推荐(0)
摘要: <template> <translateForm ref="translateFormRef" @clickRule="clickRule" /> </template> <script lang="ts" setup> // import { nextTick, ref, defineProps 阅读全文
posted @ 2025-08-11 15:36 wjs0509 阅读(18) 评论(0) 推荐(0)
摘要: 合同详情页面,点击合同转订单按钮 <template> <translateForm ref="translateFormRef" @clickRule="clickRule" /> </template> <script lang="ts" setup> // import { nextTick, 阅读全文
posted @ 2025-08-11 15:36 wjs0509 阅读(5) 评论(0) 推荐(0)
摘要: 有复选框的 <template> <tenant-expansion-component ref="sdkComponent" code="tenant_sdk_CPT_xs1114sda" @confirm="handleModify" /> </template> <script setup> 阅读全文
posted @ 2025-08-11 15:35 wjs0509 阅读(13) 评论(0) 推荐(0)
摘要: 1.开始和结束时间的值校验事件 const [value, rule, ctx] = arguments const fields = Object.values(ctx.form.fields).filter(f => f.data) const field = fields.find(item 阅读全文
posted @ 2025-07-08 13:51 wjs0509 阅读(60) 评论(0) 推荐(0)
摘要: 在axios里面全局处理 if (error.request.responseType 'blob') { try { const text = await error.response.data.text(); const errorData = JSON.parse(text); errorIn 阅读全文
posted @ 2025-06-29 18:16 wjs0509 阅读(65) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-03-03 18:19 wjs0509 阅读(4) 评论(0) 推荐(0)
摘要: import { onUnmounted, ref } from 'vue' /** * onReachBottomFn :滚动加载函数 * reachBottomDistance : 距离底部多少距离时触发 */ function useScrollBottom(onReachBottomFn, 阅读全文
posted @ 2025-03-03 18:13 wjs0509 阅读(76) 评论(0) 推荐(0)
摘要: sse流式接口请求一般可以使用插件:@microsoft/fetch-event-source sendMessage(content, userChatId, voice = 1) { const obj = { text: "", showSuggestion: false, role: "ai 阅读全文
posted @ 2025-01-16 17:14 wjs0509 阅读(200) 评论(0) 推荐(0)