Merge remote-tracking branch 'origin/master' into master-bpm-bug-fix
commit
2c4b6a65c8
|
|
@ -87,7 +87,7 @@ const open = async (selectedList?: DeptApi.DeptVO[]) => {
|
|||
}
|
||||
|
||||
/** 处理选中状态变化 */
|
||||
const handleCheck = (data: any, checked: any) => {
|
||||
const handleCheck = (_data: any, _checked: any) => {
|
||||
selectedDeptIds.value = treeRef.value.getCheckedKeys()
|
||||
if (!props.multiple && selectedDeptIds.value.length > 1) {
|
||||
// 单选模式下,只保留最后选择的节点
|
||||
|
|
|
|||
|
|
@ -201,7 +201,6 @@ import { propTypes } from '@/utils/propTypes'
|
|||
defineOptions({ name: 'DiyPageDetail' })
|
||||
|
||||
// 左侧组件库
|
||||
const componentLibrary = ref()
|
||||
// 页面设置组件
|
||||
const pageConfigComponent = ref<DiyComponent<any>>(cloneDeep(PAGE_CONFIG_COMPONENT))
|
||||
// 顶部导航栏
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ provide('startDeptIds', props.startDeptIds)
|
|||
provide('tasks', [])
|
||||
provide('processInstance', {})
|
||||
|
||||
const message = useMessage() // 国际化
|
||||
const processNodeTree = ref<SimpleFlowNode | undefined>()
|
||||
provide('processNodeTree', processNodeTree)
|
||||
const errorDialogVisible = ref(false)
|
||||
|
|
@ -230,7 +229,5 @@ onMounted(async () => {
|
|||
}
|
||||
})
|
||||
|
||||
const simpleProcessModelRef = ref()
|
||||
|
||||
defineExpose({})
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
import type { UploadInstance, UploadProps, UploadRawFile, UploadUserFile } from 'element-plus'
|
||||
import type { UploadProps, UploadRawFile, UploadUserFile } from 'element-plus'
|
||||
import { isString } from '@/utils/is'
|
||||
import { useUpload } from '@/components/UploadFile/src/useUpload'
|
||||
import { UploadFile } from 'element-plus/es/components/upload/src/upload'
|
||||
|
|
@ -91,7 +91,6 @@ const props = defineProps({
|
|||
})
|
||||
|
||||
// ========== 上传相关 ==========
|
||||
const uploadRef = ref<UploadInstance>()
|
||||
const uploadList = ref<UploadUserFile[]>([])
|
||||
const fileList = ref<UploadUserFile[]>([])
|
||||
const uploadNumber = ref<number>(0)
|
||||
|
|
|
|||
|
|
@ -238,7 +238,6 @@ import 'highlight.js/styles/github.css' // 导入代码高亮样式
|
|||
|
||||
defineOptions({ name: 'MyProcessDesigner' })
|
||||
|
||||
const bpmnCanvas = ref()
|
||||
const refFile = ref()
|
||||
const emit = defineEmits([
|
||||
'destroy',
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ import ElementProperties from './properties/ElementProperties.vue'
|
|||
import UserTaskListeners from './listeners/UserTaskListeners.vue'
|
||||
import { getTaskCollapseItemName, isTaskCollapseItemShow } from './task/data'
|
||||
import TimeEventConfig from './time-event-config/TimeEventConfig.vue'
|
||||
import { ref, watch, onMounted } from 'vue'
|
||||
import { ref, watch } from 'vue'
|
||||
|
||||
defineOptions({ name: 'MyPropertiesPanel' })
|
||||
|
||||
|
|
@ -129,8 +129,6 @@ const formVisible = ref(false) // 表单配置
|
|||
const bpmnElement = ref()
|
||||
const isReady = ref(false)
|
||||
|
||||
const type = ref('time')
|
||||
const condition = ref('')
|
||||
provide('prefix', props.prefix)
|
||||
provide('width', props.width)
|
||||
|
||||
|
|
@ -167,7 +165,7 @@ const initBpmnInstances = () => {
|
|||
const bpmnInstances = () => (window as any)?.bpmnInstances
|
||||
|
||||
// 监听 props.bpmnModeler 然后 initModels
|
||||
const unwatchBpmn = watch(
|
||||
watch(
|
||||
() => props.bpmnModeler,
|
||||
async () => {
|
||||
// 避免加载时 流程图 并未加载完成
|
||||
|
|
@ -265,48 +263,4 @@ watch(
|
|||
activeTab.value = 'base'
|
||||
}
|
||||
)
|
||||
|
||||
function updateNode() {
|
||||
const moddle = window.bpmnInstances?.moddle
|
||||
const modeling = window.bpmnInstances?.modeling
|
||||
const elementRegistry = window.bpmnInstances?.elementRegistry
|
||||
if (!moddle || !modeling || !elementRegistry) return
|
||||
|
||||
const element = elementRegistry.get(props.businessObject.id)
|
||||
if (!element) return
|
||||
|
||||
let timerDef = moddle.create('bpmn:TimerEventDefinition', {})
|
||||
if (type.value === 'time') {
|
||||
timerDef.timeDate = moddle.create('bpmn:FormalExpression', { body: condition.value })
|
||||
} else if (type.value === 'duration') {
|
||||
timerDef.timeDuration = moddle.create('bpmn:FormalExpression', { body: condition.value })
|
||||
} else if (type.value === 'cycle') {
|
||||
timerDef.timeCycle = moddle.create('bpmn:FormalExpression', { body: condition.value })
|
||||
}
|
||||
|
||||
modeling.updateModdleProperties(element, element.businessObject, {
|
||||
eventDefinitions: [timerDef]
|
||||
})
|
||||
}
|
||||
|
||||
// 初始化和监听
|
||||
function syncFromBusinessObject() {
|
||||
if (props.businessObject) {
|
||||
const timerDef = (props.businessObject.eventDefinitions || [])[0]
|
||||
if (timerDef) {
|
||||
if (timerDef.timeDate) {
|
||||
type.value = 'time'
|
||||
condition.value = timerDef.timeDate.body
|
||||
} else if (timerDef.timeDuration) {
|
||||
type.value = 'duration'
|
||||
condition.value = timerDef.timeDuration.body
|
||||
} else if (timerDef.timeCycle) {
|
||||
type.value = 'cycle'
|
||||
condition.value = timerDef.timeCycle.body
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
onMounted(syncFromBusinessObject)
|
||||
watch(() => props.businessObject, syncFromBusinessObject, { deep: true })
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ const props = defineProps({
|
|||
}
|
||||
})
|
||||
|
||||
const bpmnInstances = () => (window as any)?.bpmnInstances
|
||||
const customConfigComponent = ref<any>(null)
|
||||
|
||||
watch(
|
||||
|
|
|
|||
|
|
@ -235,30 +235,8 @@ const props = defineProps({
|
|||
type: String
|
||||
})
|
||||
const prefix = inject('prefix')
|
||||
const width = inject('width')
|
||||
|
||||
const formKey = ref(undefined)
|
||||
const businessKey = ref('')
|
||||
const optionModelTitle = ref('')
|
||||
const fieldList = ref<any[]>([])
|
||||
const formFieldForm = ref<any>({})
|
||||
const fieldType = ref({
|
||||
long: '长整型',
|
||||
string: '字符串',
|
||||
boolean: '布尔类',
|
||||
date: '日期类',
|
||||
enum: '枚举类',
|
||||
custom: '自定义类型'
|
||||
})
|
||||
const formFieldIndex = ref(-1) // 编辑中的字段, -1 为新增
|
||||
const formFieldOptionIndex = ref(-1) // 编辑中的字段配置项, -1 为新增
|
||||
const fieldModelVisible = ref(false)
|
||||
const fieldOptionModelVisible = ref(false)
|
||||
const fieldOptionForm = ref<any>({}) // 当前激活的字段配置项数据
|
||||
const fieldOptionType = ref('') // 当前激活的字段配置项弹窗 类型
|
||||
const fieldEnumList = ref<any[]>([]) // 枚举值列表
|
||||
const fieldConstraintsList = ref<any[]>([]) // 约束条件列表
|
||||
const fieldPropertiesList = ref<any[]>([]) // 绑定属性列表
|
||||
const bpmnELement = ref()
|
||||
const elExtensionElements = ref()
|
||||
const formData = ref()
|
||||
|
|
@ -280,17 +258,11 @@ const resetFormList = () => {
|
|||
elExtensionElements.value.values.filter((ex) => ex.$type === `${prefix}:FormData`)?.[0] ||
|
||||
bpmnInstances().moddle.create(`${prefix}:FormData`, { fields: [] })
|
||||
|
||||
// 业务标识 businessKey, 绑定在 formData 中
|
||||
businessKey.value = formData.value.businessKey
|
||||
|
||||
// 保留剩余扩展元素,便于后面更新该元素对应属性
|
||||
otherExtensions.value = elExtensionElements.value.values.filter(
|
||||
(ex) => ex.$type !== `${prefix}:FormData`
|
||||
)
|
||||
|
||||
// 复制原始值,填充表格
|
||||
fieldList.value = JSON.parse(JSON.stringify(formData.value.fields || []))
|
||||
|
||||
// 更新元素扩展属性,避免后续报错
|
||||
updateElementExtensions()
|
||||
}
|
||||
|
|
@ -299,155 +271,6 @@ const updateElementFormKey = () => {
|
|||
formKey: formKey.value
|
||||
})
|
||||
}
|
||||
const updateElementBusinessKey = () => {
|
||||
bpmnInstances().modeling.updateModdleProperties(toRaw(bpmnELement.value), formData.value, {
|
||||
businessKey: businessKey.value
|
||||
})
|
||||
}
|
||||
// 根据类型调整字段type
|
||||
const changeFieldTypeType = (type) => {
|
||||
// this.$set(this.formFieldForm, "type", type === "custom" ? "" : type);
|
||||
formFieldForm.value['type'] = type === 'custom' ? '' : type
|
||||
}
|
||||
|
||||
// 打开字段详情侧边栏
|
||||
const openFieldForm = (field, index) => {
|
||||
formFieldIndex.value = index
|
||||
if (index !== -1) {
|
||||
const FieldObject = formData.value.fields[index]
|
||||
formFieldForm.value = JSON.parse(JSON.stringify(field))
|
||||
// 设置自定义类型
|
||||
// this.$set(this.formFieldForm, "typeType", !this.fieldType[field.type] ? "custom" : field.type);
|
||||
formFieldForm.value['typeType'] = !fieldType.value[field.type] ? 'custom' : field.type
|
||||
// 初始化枚举值列表
|
||||
field.type === 'enum' &&
|
||||
(fieldEnumList.value = JSON.parse(JSON.stringify(FieldObject?.values || [])))
|
||||
// 初始化约束条件列表
|
||||
fieldConstraintsList.value = JSON.parse(
|
||||
JSON.stringify(FieldObject?.validation?.constraints || [])
|
||||
)
|
||||
// 初始化自定义属性列表
|
||||
fieldPropertiesList.value = JSON.parse(JSON.stringify(FieldObject?.properties?.values || []))
|
||||
} else {
|
||||
formFieldForm.value = {}
|
||||
// 初始化枚举值列表
|
||||
fieldEnumList.value = []
|
||||
// 初始化约束条件列表
|
||||
fieldConstraintsList.value = []
|
||||
// 初始化自定义属性列表
|
||||
fieldPropertiesList.value = []
|
||||
}
|
||||
fieldModelVisible.value = true
|
||||
}
|
||||
// 打开字段 某个 配置项 弹窗
|
||||
const openFieldOptionForm = (option, index, type) => {
|
||||
fieldOptionModelVisible.value = true
|
||||
fieldOptionType.value = type
|
||||
formFieldOptionIndex.value = index
|
||||
if (type === 'property') {
|
||||
fieldOptionForm.value = option ? JSON.parse(JSON.stringify(option)) : {}
|
||||
return (optionModelTitle.value = '属性配置')
|
||||
}
|
||||
if (type === 'enum') {
|
||||
fieldOptionForm.value = option ? JSON.parse(JSON.stringify(option)) : {}
|
||||
return (optionModelTitle.value = '枚举值配置')
|
||||
}
|
||||
fieldOptionForm.value = option ? JSON.parse(JSON.stringify(option)) : {}
|
||||
return (optionModelTitle.value = '约束条件配置')
|
||||
}
|
||||
|
||||
// 保存字段 某个 配置项
|
||||
const saveFieldOption = () => {
|
||||
if (formFieldOptionIndex.value === -1) {
|
||||
if (fieldOptionType.value === 'property') {
|
||||
fieldPropertiesList.value.push(fieldOptionForm.value)
|
||||
}
|
||||
if (fieldOptionType.value === 'constraint') {
|
||||
fieldConstraintsList.value.push(fieldOptionForm.value)
|
||||
}
|
||||
if (fieldOptionType.value === 'enum') {
|
||||
fieldEnumList.value.push(fieldOptionForm.value)
|
||||
}
|
||||
} else {
|
||||
fieldOptionType.value === 'property' &&
|
||||
fieldPropertiesList.value.splice(formFieldOptionIndex.value, 1, fieldOptionForm.value)
|
||||
fieldOptionType.value === 'constraint' &&
|
||||
fieldConstraintsList.value.splice(formFieldOptionIndex.value, 1, fieldOptionForm.value)
|
||||
fieldOptionType.value === 'enum' &&
|
||||
fieldEnumList.value.splice(formFieldOptionIndex.value, 1, fieldOptionForm.value)
|
||||
}
|
||||
fieldOptionModelVisible.value = false
|
||||
fieldOptionForm.value = {}
|
||||
}
|
||||
// 保存字段配置
|
||||
const saveField = () => {
|
||||
const { id, type, label, defaultValue, datePattern } = formFieldForm.value
|
||||
const Field = bpmnInstances().moddle.create(`${prefix}:FormField`, { id, type, label })
|
||||
defaultValue && (Field.defaultValue = defaultValue)
|
||||
datePattern && (Field.datePattern = datePattern)
|
||||
// 构建属性
|
||||
if (fieldPropertiesList.value && fieldPropertiesList.value.length) {
|
||||
const fieldPropertyList = fieldPropertiesList.value.map((fp) => {
|
||||
return bpmnInstances().moddle.create(`${prefix}:Property`, {
|
||||
id: fp.id,
|
||||
value: fp.value
|
||||
})
|
||||
})
|
||||
Field.properties = bpmnInstances().moddle.create(`${prefix}:Properties`, {
|
||||
values: fieldPropertyList
|
||||
})
|
||||
}
|
||||
// 构建校验规则
|
||||
if (fieldConstraintsList.value && fieldConstraintsList.value.length) {
|
||||
const fieldConstraintList = fieldConstraintsList.value.map((fc) => {
|
||||
return bpmnInstances().moddle.create(`${prefix}:Constraint`, {
|
||||
name: fc.name,
|
||||
config: fc.config
|
||||
})
|
||||
})
|
||||
Field.validation = bpmnInstances().moddle.create(`${prefix}:Validation`, {
|
||||
constraints: fieldConstraintList
|
||||
})
|
||||
}
|
||||
// 构建枚举值
|
||||
if (fieldEnumList.value && fieldEnumList.value.length) {
|
||||
Field.values = fieldEnumList.value.map((fe) => {
|
||||
return bpmnInstances().moddle.create(`${prefix}:Value`, { name: fe.name, id: fe.id })
|
||||
})
|
||||
}
|
||||
// 更新数组 与 表单配置实例
|
||||
if (formFieldIndex.value === -1) {
|
||||
fieldList.value.push(formFieldForm.value)
|
||||
formData.value.fields.push(Field)
|
||||
} else {
|
||||
fieldList.value.splice(formFieldIndex.value, 1, formFieldForm.value)
|
||||
formData.value.fields.splice(formFieldIndex.value, 1, Field)
|
||||
}
|
||||
updateElementExtensions()
|
||||
fieldModelVisible.value = false
|
||||
}
|
||||
|
||||
// 移除某个 字段的 配置项
|
||||
const removeFieldOptionItem = (option, index, type) => {
|
||||
// console.log(option, 'option')
|
||||
if (type === 'property') {
|
||||
fieldPropertiesList.value.splice(index, 1)
|
||||
return
|
||||
}
|
||||
if (type === 'enum') {
|
||||
fieldEnumList.value.splice(index, 1)
|
||||
return
|
||||
}
|
||||
fieldConstraintsList.value.splice(index, 1)
|
||||
}
|
||||
// 移除 字段
|
||||
const removeField = (field, index) => {
|
||||
console.log(field, 'field')
|
||||
fieldList.value.splice(index, 1)
|
||||
formData.value.fields.splice(index, 1)
|
||||
updateElementExtensions()
|
||||
}
|
||||
|
||||
const updateElementExtensions = () => {
|
||||
// 更新回扩展元素
|
||||
const newElExtensionElements = bpmnInstances().moddle.create(`bpmn:ExtensionElements`, {
|
||||
|
|
|
|||
|
|
@ -116,56 +116,11 @@ const props = defineProps({
|
|||
})
|
||||
const prefix = inject('prefix')
|
||||
const loopCharacteristics = ref('')
|
||||
//默认配置,用来覆盖原始不存在的选项,避免报错
|
||||
const defaultLoopInstanceForm = ref({
|
||||
completionCondition: '',
|
||||
loopCardinality: '',
|
||||
extensionElements: [],
|
||||
asyncAfter: false,
|
||||
asyncBefore: false,
|
||||
exclusive: false
|
||||
})
|
||||
const loopInstanceForm = ref<any>({})
|
||||
const bpmnElement = ref(null)
|
||||
const multiLoopInstance = ref(null)
|
||||
const bpmnInstances = () => (window as any)?.bpmnInstances
|
||||
|
||||
const getElementLoop = (businessObject) => {
|
||||
if (!businessObject.loopCharacteristics) {
|
||||
loopCharacteristics.value = 'Null'
|
||||
loopInstanceForm.value = {}
|
||||
return
|
||||
}
|
||||
if (businessObject.loopCharacteristics.$type === 'bpmn:StandardLoopCharacteristics') {
|
||||
loopCharacteristics.value = 'StandardLoop'
|
||||
loopInstanceForm.value = {}
|
||||
return
|
||||
}
|
||||
if (businessObject.loopCharacteristics.isSequential) {
|
||||
loopCharacteristics.value = 'SequentialMultiInstance'
|
||||
} else {
|
||||
loopCharacteristics.value = 'ParallelMultiInstance'
|
||||
}
|
||||
// 合并配置
|
||||
loopInstanceForm.value = {
|
||||
...defaultLoopInstanceForm.value,
|
||||
...businessObject.loopCharacteristics,
|
||||
completionCondition: businessObject.loopCharacteristics?.completionCondition?.body ?? '',
|
||||
loopCardinality: businessObject.loopCharacteristics?.loopCardinality?.body ?? ''
|
||||
}
|
||||
// 保留当前元素 businessObject 上的 loopCharacteristics 实例
|
||||
multiLoopInstance.value = bpmnInstances().bpmnElement.businessObject.loopCharacteristics
|
||||
// 更新表单
|
||||
if (
|
||||
businessObject.loopCharacteristics.extensionElements &&
|
||||
businessObject.loopCharacteristics.extensionElements.values &&
|
||||
businessObject.loopCharacteristics.extensionElements.values.length
|
||||
) {
|
||||
loopInstanceForm.value['timeCycle'] =
|
||||
businessObject.loopCharacteristics.extensionElements.values[0].body
|
||||
}
|
||||
}
|
||||
|
||||
const changeLoopCharacteristicsType = (type) => {
|
||||
// this.loopInstanceForm = { ...this.defaultLoopInstanceForm }; // 切换类型取消原表单配置
|
||||
// 取消多实例配置
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ const outVariableList = ref()
|
|||
const variableType = ref() // 参数类型
|
||||
const editingVariableIndex = ref(-1) // 编辑参数下标
|
||||
const variableDialogVisible = ref(false)
|
||||
const varialbeFormRef = ref()
|
||||
const varialbeFormData = ref({
|
||||
source: '',
|
||||
target: ''
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
<el-button
|
||||
v-for="val in unit.presets"
|
||||
:key="val"
|
||||
size="mini"
|
||||
size="small"
|
||||
@click="setUnit(unit.key, val)"
|
||||
>
|
||||
{{ val }}
|
||||
</el-button>
|
||||
<el-input
|
||||
v-model.number="custom[unit.key]"
|
||||
size="mini"
|
||||
size="small"
|
||||
style="width: 60px; margin-left: 8px"
|
||||
placeholder="自定义"
|
||||
@change="setUnit(unit.key, custom[unit.key])"
|
||||
|
|
|
|||
|
|
@ -3,17 +3,17 @@
|
|||
<div style="margin-top: 10px">
|
||||
<span>类型:</span>
|
||||
<el-button-group>
|
||||
<el-button size="mini" :type="type === 'time' ? 'primary' : ''" @click="setType('time')">
|
||||
<el-button size="small" :type="type === 'time' ? 'primary' : ''" @click="setType('time')">
|
||||
时间
|
||||
</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
size="small"
|
||||
:type="type === 'duration' ? 'primary' : ''"
|
||||
@click="setType('duration')"
|
||||
>
|
||||
持续
|
||||
</el-button>
|
||||
<el-button size="mini" :type="type === 'cycle' ? 'primary' : ''" @click="setType('cycle')">
|
||||
<el-button size="small" :type="type === 'cycle' ? 'primary' : ''" @click="setType('cycle')">
|
||||
循环
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
|
|
@ -128,7 +128,6 @@ import { ref, computed, watch, onMounted } from 'vue'
|
|||
import { CircleCheckFilled, WarningFilled, QuestionFilled } from '@element-plus/icons-vue'
|
||||
import DurationConfig from './DurationConfig.vue'
|
||||
import CycleConfig from './CycleConfig.vue'
|
||||
import { createListenerObject, updateElementExtensions } from '../../utils'
|
||||
const bpmnInstances = () => (window as any).bpmnInstances
|
||||
const props = defineProps({ businessObject: Object })
|
||||
const type = ref('time')
|
||||
|
|
@ -139,7 +138,6 @@ const showDurationDialog = ref(false)
|
|||
const showCycleDialog = ref(false)
|
||||
const showHelp = ref(false)
|
||||
const dateValue = ref(null)
|
||||
const bpmnElement = ref(null)
|
||||
|
||||
const placeholder = computed(() => {
|
||||
if (type.value === 'time') return '请输入时间'
|
||||
|
|
|
|||
|
|
@ -7,10 +7,6 @@ defineOptions({ name: 'AppView' })
|
|||
|
||||
const appStore = useAppStore()
|
||||
|
||||
const layout = computed(() => appStore.getLayout)
|
||||
|
||||
const fixedHeader = computed(() => appStore.getFixedHeader)
|
||||
|
||||
const footer = computed(() => appStore.getFooter)
|
||||
|
||||
const tagsViewStore = useTagsViewStore()
|
||||
|
|
@ -19,8 +15,6 @@ const getCaches = computed((): string[] => {
|
|||
return tagsViewStore.getCachedViews
|
||||
})
|
||||
|
||||
const tagsView = computed(() => appStore.getTagsView)
|
||||
|
||||
//region 无感刷新
|
||||
const routerAlive = ref(true)
|
||||
// 无感刷新,防止出现页面闪烁白屏
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
import { resetRouter } from '@/router'
|
||||
import { deleteUserCache } from '@/hooks/web/useCache'
|
||||
import { useLockStore } from '@/store/modules/lock'
|
||||
import { useNow } from '@/hooks/web/useNow'
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ export enum DICT_TYPE {
|
|||
PAY_REFUND_STATUS = 'pay_refund_status', // 退款订单状态
|
||||
PAY_NOTIFY_STATUS = 'pay_notify_status', // 商户支付回调状态
|
||||
PAY_NOTIFY_TYPE = 'pay_notify_type', // 商户支付回调状态
|
||||
PAY_TRANSFER_TYPE = 'pay_transfer_type', // 转账订单类型
|
||||
PAY_TRANSFER_STATUS = 'pay_transfer_status', // 转账订单状态
|
||||
|
||||
// ========== MP 模块 ==========
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ const emits = defineEmits([
|
|||
])
|
||||
|
||||
/** 搜索对话 */
|
||||
const searchConversation = async (e) => {
|
||||
const searchConversation = async (_e) => {
|
||||
// 恢复数据
|
||||
if (!searchName.value.trim().length) {
|
||||
conversationMap.value = await getConversationGroupByCreateTime(conversationList.value)
|
||||
|
|
@ -365,7 +365,7 @@ const handleRoleRepository = async () => {
|
|||
|
||||
/** 监听选中的对话 */
|
||||
const { activeId } = toRefs(props)
|
||||
watch(activeId, async (newValue, oldValue) => {
|
||||
watch(activeId, async (newValue, _oldValue) => {
|
||||
activeConversationId.value = newValue as string
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ const document = ref<{
|
|||
}[]
|
||||
} | null>(null) // 知识库文档列表
|
||||
const dialogVisible = ref(false) // 知识引用详情弹窗
|
||||
const documentRef = ref<HTMLElement>() // 知识引用详情弹窗 Ref
|
||||
|
||||
/** 按照 document 聚合 segments */
|
||||
const documentList = computed(() => {
|
||||
|
|
|
|||
|
|
@ -158,7 +158,6 @@ const selectedResult = ref<{
|
|||
summary: string
|
||||
} | null>(null) // 选中的搜索结果
|
||||
const dialogVisible = ref(false) // 详情弹窗
|
||||
const resultRef = ref<HTMLElement>() // 详情弹窗 Ref
|
||||
|
||||
/** 切换展开/收起状态 */
|
||||
const toggleExpanded = () => {
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ const handlerCardEdit = async (role) => {
|
|||
}
|
||||
|
||||
/** 添加角色成功 */
|
||||
const handlerAddRoleSuccess = async (e) => {
|
||||
const handlerAddRoleSuccess = async (_e) => {
|
||||
// 刷新数据
|
||||
await getActiveTabsRole()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ const emits = defineEmits(['onBtnClick', 'onMjBtnClick']) // emits
|
|||
|
||||
/** 监听详情 */
|
||||
const { detail } = toRefs(props)
|
||||
watch(detail, async (newVal, oldVal) => {
|
||||
watch(detail, async (newVal, _oldVal) => {
|
||||
await handleLoading(newVal.status as string)
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ const imageListRef = ref<any>() // image 列表 ref
|
|||
const dall3Ref = ref<any>() // dall3(openai) ref
|
||||
const midjourneyRef = ref<any>() // midjourney ref
|
||||
const stableDiffusionRef = ref<any>() // stable diffusion ref
|
||||
const commonRef = ref<any>() // stable diffusion ref
|
||||
|
||||
// 定义属性
|
||||
const selectPlatform = ref('common') // 选中的平台
|
||||
|
|
|
|||
|
|
@ -83,8 +83,6 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
|
||||
const formRef = ref() // 表单引用
|
||||
const uploadRef = ref() // 上传组件引用
|
||||
const parent = inject('parent', null) // 获取父组件实例
|
||||
const { uploadUrl, httpRequest } = useUpload() // 使用上传组件的钩子
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@ const queryParams = reactive({
|
|||
createTime: []
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -156,7 +156,6 @@
|
|||
<script setup lang="ts">
|
||||
import { DICT_TYPE, getIntDictOptions, getStrDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { WriteApi, AiWritePageReqVO, AiWriteRespVo } from '@/api/ai/write'
|
||||
import * as UserApi from '@/api/system/user'
|
||||
|
||||
|
|
@ -165,7 +164,6 @@ defineOptions({ name: 'AiWriteManager' })
|
|||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
const router = useRouter() // 路由
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const list = ref<AiWriteRespVo[]>([]) // 列表的数据
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@ const queryParams = reactive({
|
|||
createTime: []
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -536,7 +536,6 @@ const handleModelSortCancel = () => {
|
|||
}
|
||||
|
||||
/** 创建拖拽实例 */
|
||||
const tableRef = ref()
|
||||
const initSort = useDebounceFn(() => {
|
||||
const table = document.querySelector(`.${props.categoryInfo.name} .el-table__body-wrapper tbody`)
|
||||
if (!table) return
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ const xmlString = inject('processData') as Ref
|
|||
const modelData = inject('modelData') as Ref
|
||||
|
||||
const modeler = shallowRef() // BPMN Modeler
|
||||
const processDesigner = ref()
|
||||
const controlForm = ref({
|
||||
simulation: true,
|
||||
labelEditing: false,
|
||||
|
|
|
|||
|
|
@ -110,7 +110,6 @@ const isCategorySorting = ref(false) // 是否 category 正处于排序状态
|
|||
const queryParams = reactive({
|
||||
name: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const categoryGroup: any = ref([]) // 按照 category 分组的数据
|
||||
const originalData: any = ref([]) // 原始数据
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,6 @@ const queryParams = reactive({
|
|||
createTime: []
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -169,7 +169,6 @@ import { ElMessageBox } from 'element-plus'
|
|||
import * as ProcessInstanceApi from '@/api/bpm/processInstance'
|
||||
import { CategoryApi } from '@/api/bpm/category'
|
||||
import * as UserApi from '@/api/system/user'
|
||||
import { cancelProcessInstanceByAdmin } from '@/api/bpm/processInstance'
|
||||
|
||||
// 它和【我的流程】的差异是,该菜单可以看全部的流程实例
|
||||
defineOptions({ name: 'BpmProcessInstanceManager' })
|
||||
|
|
|
|||
|
|
@ -133,7 +133,6 @@ const queryParams = reactive({
|
|||
event: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ defineProps<{
|
|||
}>()
|
||||
|
||||
const emit = defineEmits(['success'])
|
||||
const designerRef = ref()
|
||||
|
||||
// 修改成功回调
|
||||
const handleSuccess = (data?: any) => {
|
||||
|
|
|
|||
|
|
@ -116,7 +116,6 @@ const queryParams = reactive({
|
|||
followUpStatus: false,
|
||||
transformStatus: false
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -187,7 +187,6 @@ const queryParams = reactive({
|
|||
sceneType: 1, // 我负责的
|
||||
auditStatus: 10
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -174,7 +174,6 @@
|
|||
<script setup lang="ts" name="EndContract">
|
||||
import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
|
||||
import * as ContractApi from '@/api/crm/contract'
|
||||
import { fenToYuanFormat } from '@/utils/formatter'
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { CONTRACT_EXPIRY_TYPE } from './common'
|
||||
import { erpPriceInputFormatter, erpPriceTableColumnFormatter } from '@/utils'
|
||||
|
|
@ -188,7 +187,6 @@ const queryParams = reactive({
|
|||
sceneType: '1', // 自己负责的
|
||||
expiryType: 1
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -133,7 +133,6 @@ const queryParams = ref({
|
|||
sceneType: 1,
|
||||
followUpStatus: false
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -129,7 +129,6 @@ const queryParams = ref({
|
|||
sceneType: 1, // 我负责的
|
||||
pool: true // 固定 公海参数为 true
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -146,7 +146,6 @@ const queryParams = ref({
|
|||
sceneType: 1,
|
||||
pool: null // 是否公海数据
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -148,7 +148,6 @@ const queryParams = reactive({
|
|||
pageSize: 10,
|
||||
auditStatus: 10
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -171,7 +171,6 @@ const queryParams = reactive({
|
|||
pageSize: 10,
|
||||
remindType: 1
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
import * as BusinessApi from '@/api/crm/business'
|
||||
import * as BusinessStatusApi from '@/api/crm/business/status'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
|
|
|
|||
|
|
@ -80,10 +80,8 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import * as BusinessStatusApi from '@/api/crm/business/status'
|
||||
import BusinessStatusForm from './BusinessStatusForm.vue'
|
||||
import { deleteBusinessStatus } from '@/api/crm/business/status'
|
||||
|
||||
defineOptions({ name: 'CrmBusinessStatus' })
|
||||
|
||||
|
|
@ -97,8 +95,6 @@ const queryParams = reactive({
|
|||
pageNo: 1,
|
||||
pageSize: 10
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
@ -112,18 +108,6 @@ const getList = async () => {
|
|||
}
|
||||
}
|
||||
|
||||
/** 搜索按钮操作 */
|
||||
const handleQuery = () => {
|
||||
queryParams.pageNo = 1
|
||||
getList()
|
||||
}
|
||||
|
||||
/** 重置按钮操作 */
|
||||
const resetQuery = () => {
|
||||
queryFormRef.value.resetFields()
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
/** 添加/修改操作 */
|
||||
const formRef = ref()
|
||||
const openForm = (type: string, id?: number) => {
|
||||
|
|
|
|||
|
|
@ -58,9 +58,7 @@ import * as CustomerLimitConfigApi from '@/api/crm/customer/limitConfig'
|
|||
import * as DeptApi from '@/api/system/dept'
|
||||
import { defaultProps, handleTree } from '@/utils/tree'
|
||||
import * as UserApi from '@/api/system/user'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import { LimitConfType } from '@/api/crm/customer/limitConfig'
|
||||
import { aw } from '../../../../../dist-prod/assets/index-9eac537b'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
|
|
|||
|
|
@ -27,9 +27,7 @@
|
|||
<script lang="ts" setup>
|
||||
import * as CustomerApi from '@/api/crm/customer'
|
||||
import * as UserApi from '@/api/system/user'
|
||||
import { distributeCustomer } from '@/api/crm/customer'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ const { t } = useI18n() // 国际化
|
|||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
const dialogTitle = ref('') // 弹窗的标题
|
||||
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
|
||||
const formData = ref({
|
||||
bizType: undefined,
|
||||
|
|
@ -154,7 +153,7 @@ const contactTableSelectRef = ref<InstanceType<typeof ContactListModal>>()
|
|||
const handleOpenContact = () => {
|
||||
contactTableSelectRef.value?.open()
|
||||
}
|
||||
const handleAddContact = (contactId: [], newContacts: ContactApi.ContactVO[]) => {
|
||||
const handleAddContact = (_contactId: [], newContacts: ContactApi.ContactVO[]) => {
|
||||
newContacts.forEach((contact) => {
|
||||
if (!formData.value.contacts.some((item) => item.id === contact.id)) {
|
||||
formData.value.contacts.push(contact)
|
||||
|
|
@ -167,7 +166,7 @@ const businessTableSelectRef = ref<InstanceType<typeof BusinessListModal>>()
|
|||
const handleOpenBusiness = () => {
|
||||
businessTableSelectRef.value?.open()
|
||||
}
|
||||
const handleAddBusiness = (businessId: [], newBusinesses: BusinessApi.BusinessVO[]) => {
|
||||
const handleAddBusiness = (_businessId: [], newBusinesses: BusinessApi.BusinessVO[]) => {
|
||||
newBusinesses.forEach((business) => {
|
||||
if (!formData.value.businesses.some((item) => item.id === business.id)) {
|
||||
formData.value.businesses.push(business)
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ const openForm = (type: string, id?: number) => {
|
|||
}
|
||||
|
||||
/** 打开详情 */
|
||||
const { currentRoute, push } = useRouter()
|
||||
const { push } = useRouter()
|
||||
const openDetail = (id: number) => {
|
||||
push({ name: 'CrmProductDetail', params: { id } })
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,6 @@ const close = () => {
|
|||
}
|
||||
|
||||
/** 初始化 */
|
||||
const { params } = useRoute()
|
||||
onMounted(async () => {
|
||||
const id = props.id || route.params.id
|
||||
if (!id) {
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@
|
|||
import { FinancePaymentApi, FinancePaymentVO } from '@/api/erp/finance/payment'
|
||||
import FinancePaymentItemForm from './components/FinancePaymentItemForm.vue'
|
||||
import { SupplierApi, SupplierVO } from '@/api/erp/purchase/supplier'
|
||||
import { erpPriceInputFormatter, erpPriceMultiply } from '@/utils'
|
||||
import { erpPriceInputFormatter } from '@/utils'
|
||||
import * as UserApi from '@/api/system/user'
|
||||
import { AccountApi, AccountVO } from '@/api/erp/finance/account'
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { EChartsOption } from 'echarts'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
import { CardTitle } from '@/components/Card'
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { SupplierApi, SupplierVO } from '@/api/erp/purchase/supplier'
|
||||
import SupplierForm from './SupplierForm.vue'
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { CustomerApi, CustomerVO } from '@/api/erp/sale/customer'
|
||||
import CustomerForm from './CustomerForm.vue'
|
||||
|
|
|
|||
|
|
@ -252,7 +252,6 @@ import { StockOutApi, StockOutVO } from '@/api/erp/stock/out'
|
|||
import StockOutForm from './StockOutForm.vue'
|
||||
import { ProductApi, ProductVO } from '@/api/erp/product/product'
|
||||
import { WarehouseApi, WarehouseVO } from '@/api/erp/stock/warehouse'
|
||||
import { SupplierApi, SupplierVO } from '@/api/erp/purchase/supplier'
|
||||
import { UserVO } from '@/api/system/user'
|
||||
import * as UserApi from '@/api/system/user'
|
||||
import { erpCountTableColumnFormatter, erpPriceTableColumnFormatter } from '@/utils'
|
||||
|
|
|
|||
|
|
@ -159,8 +159,6 @@ import { erpCountTableColumnFormatter } from '@/utils'
|
|||
defineOptions({ name: 'ErpStockRecord' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const list = ref<StockRecordVO[]>([]) // 列表的数据
|
||||
const total = ref(0) // 列表的总页数
|
||||
|
|
@ -208,19 +206,6 @@ const openForm = (type: string, id?: number) => {
|
|||
formRef.value.open(type, id)
|
||||
}
|
||||
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (id: number) => {
|
||||
try {
|
||||
// 删除的二次确认
|
||||
await message.delConfirm()
|
||||
// 发起删除
|
||||
await StockRecordApi.deleteStockRecord(id)
|
||||
message.success(t('common.delSuccess'))
|
||||
// 刷新列表
|
||||
await getList()
|
||||
} catch {}
|
||||
}
|
||||
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = async () => {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ import { erpCountTableColumnFormatter } from '@/utils'
|
|||
defineOptions({ name: 'ErpStock' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const list = ref<StockVO[]>([]) // 列表的数据
|
||||
const total = ref(0) // 列表的总页数
|
||||
|
|
@ -148,19 +146,6 @@ const openForm = (type: string, id?: number) => {
|
|||
formRef.value.open(type, id)
|
||||
}
|
||||
|
||||
/** 删除按钮操作 */
|
||||
const handleDelete = async (id: number) => {
|
||||
try {
|
||||
// 删除的二次确认
|
||||
await message.delConfirm()
|
||||
// 发起删除
|
||||
await StockApi.deleteStock(id)
|
||||
message.success(t('common.delSuccess'))
|
||||
// 刷新列表
|
||||
await getList()
|
||||
} catch {}
|
||||
}
|
||||
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = async () => {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<!-- 视频呼叫:自己摄像头预览铺底,对方头像悬浮顶部 -->
|
||||
<video
|
||||
v-if="isVideo && localStream"
|
||||
ref="localVideoRef"
|
||||
:ref="localVideoRef"
|
||||
class="absolute inset-0 object-cover w-full h-full scale-x-[-1]"
|
||||
autoplay
|
||||
muted
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<!-- 视频可用:渲染 video;否则渲染头像或默认占位 -->
|
||||
<video
|
||||
v-if="participant.videoStream"
|
||||
ref="videoRef"
|
||||
:ref="videoRef"
|
||||
class="object-cover w-full h-full"
|
||||
autoplay
|
||||
playsinline
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
<!-- 远端音频;通过 audio 元素播放,本端静音避免回声;扬声器关闭时整体静音 -->
|
||||
<audio
|
||||
v-if="participant.audioStream && !participant.isLocal"
|
||||
ref="audioRef"
|
||||
:ref="audioRef"
|
||||
autoplay
|
||||
:muted="!speakerEnabled"
|
||||
></audio>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<template v-else-if="isVideo">
|
||||
<div v-show="hasRemoteVideo" class="absolute inset-0">
|
||||
<video
|
||||
ref="remoteVideoRef"
|
||||
:ref="remoteVideoRef"
|
||||
class="object-cover w-full h-full"
|
||||
autoplay
|
||||
playsinline
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
class="absolute top-4 right-4 z-[2] overflow-hidden w-30 rounded-lg aspect-[9/16] bg-[#333]"
|
||||
>
|
||||
<video
|
||||
ref="localVideoRef"
|
||||
:ref="localVideoRef"
|
||||
class="object-cover w-full h-full scale-x-[-1]"
|
||||
autoplay
|
||||
muted
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
</template>
|
||||
<audio
|
||||
v-if="!isGroup && remoteAudioStream"
|
||||
ref="remoteAudioRef"
|
||||
:ref="remoteAudioRef"
|
||||
autoplay
|
||||
:muted="!speakerEnabled"
|
||||
></audio>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { ref, watch, type Ref } from 'vue'
|
||||
import { watch, type VNodeRef } from 'vue'
|
||||
|
||||
/**
|
||||
* 把响应式 MediaStream 挂到 `<video>` / `<audio>` 元素的 srcObject 上;
|
||||
|
|
@ -6,16 +6,34 @@ import { ref, watch, type Ref } from 'vue'
|
|||
*/
|
||||
export function useMediaStreamElement<T extends HTMLMediaElement>(
|
||||
streamSource: () => MediaStream | null | undefined
|
||||
): Ref<T | undefined> {
|
||||
const elRef = ref<T>()
|
||||
): VNodeRef {
|
||||
let el: T | null = null
|
||||
let currentStream: MediaStream | null | undefined
|
||||
|
||||
const syncStream = () => {
|
||||
if (el) {
|
||||
el.srcObject = currentStream || null
|
||||
}
|
||||
}
|
||||
|
||||
watch(
|
||||
streamSource,
|
||||
(stream) => {
|
||||
if (elRef.value) {
|
||||
elRef.value.srcObject = stream || null
|
||||
}
|
||||
currentStream = stream
|
||||
syncStream()
|
||||
},
|
||||
{ flush: 'post', immediate: true }
|
||||
)
|
||||
return elRef
|
||||
|
||||
return (value) => {
|
||||
if (value instanceof HTMLMediaElement) {
|
||||
el = value as T
|
||||
syncStream()
|
||||
return
|
||||
}
|
||||
if (el) {
|
||||
el.srcObject = null
|
||||
}
|
||||
el = null
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ const { delView } = useTagsViewStore() // 视图操作
|
|||
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
|
||||
const activeName = ref('colum') // Tag 激活的窗口
|
||||
const basicInfoRef = ref<ComponentRef<typeof BasicInfoForm>>()
|
||||
const columInfoRef = ref<ComponentRef<typeof ColumInfoForm>>()
|
||||
const generateInfoRef = ref<ComponentRef<typeof GenerateInfoForm>>()
|
||||
const formData = ref<CodegenApi.CodegenUpdateReqVO>({
|
||||
table: {},
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ const queryParams = reactive({
|
|||
comment: undefined,
|
||||
dataSourceConfigId: 0
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const dataSourceConfigList = ref<DataSourceConfigApi.DataSourceConfigVO[]>([]) // 数据源列表
|
||||
|
||||
/** 查询表数据 */
|
||||
|
|
|
|||
|
|
@ -302,7 +302,6 @@ import { PropType } from 'vue'
|
|||
|
||||
defineOptions({ name: 'InfraCodegenGenerateInfoForm' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const props = defineProps({
|
||||
table: {
|
||||
type: Object as PropType<Nullable<CodegenApi.CodegenTableVO>>,
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
<script setup lang="ts">
|
||||
import { DeviceApi, DeviceVO } from '@/api/iot/device/device'
|
||||
import { DeviceGroupApi } from '@/api/iot/device/group'
|
||||
import { DeviceTypeEnum, ProductApi, ProductVO } from '@/api/iot/product/product'
|
||||
import { ProductApi, ProductVO } from '@/api/iot/product/product'
|
||||
import { UploadImg } from '@/components/UploadFile'
|
||||
import { MapDialog } from '@/components/Map'
|
||||
import { ref } from 'vue'
|
||||
|
|
|
|||
|
|
@ -152,8 +152,6 @@ const selectedIds = ref<number[]>([]) // 选中的设备ID
|
|||
|
||||
const bindDialogVisible = ref(false) // 绑定弹窗可见性
|
||||
const bindFormLoading = ref(false) // 绑定弹窗加载状态
|
||||
const bindTableRef = ref()
|
||||
const bindQueryFormRef = ref()
|
||||
const bindableDevices = ref<DeviceVO[]>([]) // 可绑定设备列表
|
||||
const bindSelectedIds = ref<number[]>([]) // 绑定选中的设备ID
|
||||
const bindTotal = ref(0) // 可绑定设备总数
|
||||
|
|
|
|||
|
|
@ -167,8 +167,6 @@ const autoRefresh = ref(false) // 自动刷新开关
|
|||
let autoRefreshTimer: any = null // 定时器
|
||||
const viewMode = ref<'card' | 'list'>('card') // 视图模式状态
|
||||
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
loading.value = true
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ const queryParams = reactive({
|
|||
formatDate(endOfDay(new Date()))
|
||||
]
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
// 判断是否为复杂数据类型(struct 或 array)
|
||||
const isComplexDataType = computed(() => {
|
||||
|
|
|
|||
|
|
@ -129,7 +129,6 @@ const queryParams = reactive({
|
|||
name: '',
|
||||
firmwareId: props.firmwareId
|
||||
})
|
||||
const queryFormRef = ref() // 查询表单引用
|
||||
const taskFormRef = ref() // 任务表单引用
|
||||
const taskDetailRef = ref() // 任务详情引用
|
||||
|
||||
|
|
|
|||
|
|
@ -295,22 +295,6 @@ const emptyMessage = computed(() => {
|
|||
}
|
||||
})
|
||||
|
||||
// 计算属性:无配置消息
|
||||
const noConfigMessage = computed(() => {
|
||||
switch (props.type) {
|
||||
case JsonParamsInputTypeEnum.SERVICE:
|
||||
return JSON_PARAMS_INPUT_CONSTANTS.NO_CONFIG_MESSAGES.SERVICE
|
||||
case JsonParamsInputTypeEnum.EVENT:
|
||||
return JSON_PARAMS_INPUT_CONSTANTS.NO_CONFIG_MESSAGES.EVENT
|
||||
case JsonParamsInputTypeEnum.PROPERTY:
|
||||
return JSON_PARAMS_INPUT_CONSTANTS.NO_CONFIG_MESSAGES.PROPERTY
|
||||
case JsonParamsInputTypeEnum.CUSTOM:
|
||||
return JSON_PARAMS_INPUT_CONSTANTS.NO_CONFIG_MESSAGES.CUSTOM
|
||||
default:
|
||||
return JSON_PARAMS_INPUT_CONSTANTS.NO_CONFIG_MESSAGES.DEFAULT
|
||||
}
|
||||
})
|
||||
|
||||
/**
|
||||
* 处理参数变化事件
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -282,7 +282,6 @@ const loading = ref(true) // 列表的加载中
|
|||
const list = ref<IotSceneRule[]>([]) // 列表的数据
|
||||
const total = ref(0) // 列表的总页数
|
||||
const selectedRows = ref<IotSceneRule[]>([]) // 选中的行数据
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 表单状态 */
|
||||
const formVisible = ref(false) // 是否可见
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ const queryParams = reactive({
|
|||
productId: -1
|
||||
})
|
||||
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const product = inject<Ref<ProductVO>>(IOT_PROVIDE_KEY.PRODUCT) // 注入产品信息
|
||||
|
||||
/** 查询列表 */
|
||||
|
|
|
|||
|
|
@ -179,7 +179,6 @@ import ReplyForm from './ReplyForm.vue'
|
|||
defineOptions({ name: 'ProductComment' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ const props = defineProps({
|
|||
spuId: propTypes.number.def(null)
|
||||
})
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const list = ref<any[]>([]) // 列表的数据
|
||||
const loading = ref(false) // 列表的加载中
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
|
|
|
|||
|
|
@ -140,7 +140,6 @@ const queryParams = reactive({
|
|||
createTime: []
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 分类图预览 */
|
||||
const imagePreview = (imgUrl: string) => {
|
||||
|
|
|
|||
|
|
@ -167,7 +167,6 @@ const queryParams = reactive({
|
|||
status: null
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -43,8 +43,6 @@ import { fenToYuanFormat } from '@/utils/formatter'
|
|||
/** 助力列表 */
|
||||
defineOptions({ name: 'BargainRecordListDialog' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
|
|
|
|||
|
|
@ -145,9 +145,6 @@ import BargainRecordListDialog from './BargainRecordListDialog.vue'
|
|||
|
||||
defineOptions({ name: 'PromotionBargainRecord' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
|
|
|
|||
|
|
@ -142,8 +142,6 @@ import { dateFormatter } from '@/utils/formatTime'
|
|||
import * as DiscountActivity from '@/api/mall/promotion/discount/discountActivity'
|
||||
import DiscountActivityForm from './DiscountActivityForm.vue'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
import { fenToYuanFormat } from '@/utils/formatter'
|
||||
import { fenToYuan } from '@/utils'
|
||||
|
||||
defineOptions({ name: 'DiscountActivity' })
|
||||
|
||||
|
|
@ -161,7 +159,6 @@ const queryParams = reactive({
|
|||
status: null
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
@ -219,19 +216,6 @@ const handleDelete = async (id: number) => {
|
|||
} catch {}
|
||||
}
|
||||
|
||||
const configList = ref([]) // 时段配置精简列表
|
||||
// const formatConfigNames = (configId) => {
|
||||
// const config = configList.value.find((item) => item.id === configId)
|
||||
// return config != null ? `${config.name}[${config.startTime} ~ ${config.endTime}]` : ''
|
||||
// }
|
||||
|
||||
const formatSeckillPrice = (products) => {
|
||||
// const seckillPrice = Math.min(...products.map((item) => item.seckillPrice))
|
||||
console.log(products)
|
||||
const seckillPrice = 200
|
||||
return `¥${fenToYuan(seckillPrice)}`
|
||||
}
|
||||
|
||||
/** 初始化 **/
|
||||
onMounted(async () => {
|
||||
await getList()
|
||||
|
|
|
|||
|
|
@ -178,7 +178,6 @@ const queryParams = reactive({
|
|||
status: null
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -142,7 +142,6 @@ const queryParams = reactive({
|
|||
status: undefined
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@ const handleDateRangeChange = (times: any[]) => {
|
|||
getSpuList()
|
||||
}
|
||||
|
||||
const shortcutDateRangePicker = ref()
|
||||
// 查询参数
|
||||
const queryParams = reactive({
|
||||
pageNo: 1,
|
||||
|
|
|
|||
|
|
@ -88,8 +88,6 @@ import * as BrokerageUserApi from '@/api/mall/trade/brokerage/user'
|
|||
/** 推广人列表 */
|
||||
defineOptions({ name: 'BrokerageUserListDialog' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
|
|
|
|||
|
|
@ -88,8 +88,6 @@ import * as SignInRecordApi from '@/api/member/signin/record'
|
|||
|
||||
defineOptions({ name: 'SignInRecord' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
|
|
@ -101,7 +99,6 @@ const queryParams = reactive({
|
|||
createTime: []
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@
|
|||
|
||||
<script setup lang="ts" name="MemberTag">
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import * as TagApi from '@/api/member/tag'
|
||||
import TagForm from './TagForm.vue'
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ const { userId }: { userId: number } = defineProps({
|
|||
})
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
|
||||
/** 查询列表 */
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@ import { dateFormatter } from '@/utils/formatTime'
|
|||
import * as FavoriteApi from '@/api/mall/product/favorite'
|
||||
import { floatToFixed2 } from '@/utils'
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
const total = ref(0) // 列表的总页数
|
||||
const list = ref([]) // 列表的数据
|
||||
|
|
@ -55,7 +52,6 @@ const queryParams = reactive({
|
|||
createTime: [],
|
||||
userId: NaN
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
|
||||
/** 查询列表 */
|
||||
const getList = async () => {
|
||||
|
|
@ -69,18 +65,6 @@ const getList = async () => {
|
|||
}
|
||||
}
|
||||
|
||||
/** 搜索按钮操作 */
|
||||
const handleQuery = () => {
|
||||
queryParams.pageNo = 1
|
||||
getList()
|
||||
}
|
||||
|
||||
/** 重置按钮操作 */
|
||||
const resetQuery = () => {
|
||||
queryFormRef.value.resetFields()
|
||||
handleQuery()
|
||||
}
|
||||
|
||||
const { userId } = defineProps({
|
||||
userId: {
|
||||
type: Number,
|
||||
|
|
|
|||
|
|
@ -89,7 +89,6 @@ const props = defineProps<{
|
|||
|
||||
const isDetail = computed(() => props.formType === 'detail') // DONE @AI:【听我的】,参考别的模块,基于 formType 做判断;你参考下;
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
const loading = ref(false) // 列表的加载中
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ const props = defineProps<{
|
|||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const loading = ref(false) // 加载中
|
||||
const formRef = ref() // 表单 Ref
|
||||
const formData = ref<MdItemBatchConfigVO>({
|
||||
itemId: props.itemId,
|
||||
produceDateFlag: false,
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ const loading = ref(false) // 列表加载中
|
|||
const list = ref<MdProductBomVO[]>([]) // BOM 子物料列表
|
||||
|
||||
// ==================== 选中状态 ====================
|
||||
const tableRef = ref() // 表格 Ref
|
||||
const selectedRadioId = ref<number>() // 选中的 bomItemId
|
||||
const currentRow = ref<MdProductBomVO>() // 选中的行对象
|
||||
|
||||
|
|
|
|||
|
|
@ -191,7 +191,6 @@ const formLoading = ref(false) // 表单的加载中
|
|||
const formType = ref('') // 表单的类型:detail - 详情;schedule - 排产
|
||||
const isReadonly = computed(() => formType.value === 'detail') // 是否只读
|
||||
const formData = ref<any>({})
|
||||
const formRef = ref() // 表单 Ref
|
||||
|
||||
const routeProcessList = ref<ProRouteProcessVO[]>([]) // 工艺路线工序列表
|
||||
const activeProcessStep = ref(0) // 当前工序步骤索引
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ const list = ref<WmArrivalNoticeLineVO[]>([]) // 列表
|
|||
const total = ref(0) // 总条数
|
||||
|
||||
// ==================== 选中状态 ====================
|
||||
const tableRef = ref() // 表格 Ref
|
||||
const selectedRadioId = ref<number>() // 单选模式:选中 ID
|
||||
const currentRadioRow = ref<WmArrivalNoticeLineVO>() // 单选模式:选中行对象
|
||||
const preSelectedIds = ref<number[]>([]) // 打开弹窗时传入的已选 ID
|
||||
|
|
|
|||
|
|
@ -178,7 +178,6 @@ const isEditable = computed(() => ['create', 'update'].includes(formType.value))
|
|||
const isSubmit = computed(() => formType.value === 'submit') // 是否为提交模式
|
||||
const isExecute = computed(() => formType.value === 'execute') // 是否为执行盘点模式
|
||||
const isDetail = computed(() => ['detail', 'submit', 'execute'].includes(formType.value)) // 是否只读
|
||||
const isHeaderReadonly = computed(() => ['submit', 'execute', 'detail'].includes(formType.value)) // 头部是否只读
|
||||
const resultVisible = computed(
|
||||
() => formData.value.status && formData.value.status !== MesWmStockTakingTaskStatusEnum.PREPARE
|
||||
)
|
||||
|
|
@ -220,7 +219,6 @@ const formRules = reactive({
|
|||
})
|
||||
const formRef = ref() // 表单 Ref
|
||||
const activeTab = ref('lines') // 当前激活的 tab
|
||||
const resultListRef = ref() // 盘点结果列表 Ref
|
||||
const originalFormData = ref<string>('') // 原始表单数据快照,用于脏检查
|
||||
|
||||
/** 生成任务编码 */
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@ const list = ref<MsgTemplateVO[]>([]) // 列表的数据
|
|||
const queryParams = reactive({
|
||||
accountId: -1
|
||||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const syncLoading = ref(false) // 同步模板的加载中
|
||||
|
||||
/** 公众号选择变化 */
|
||||
|
|
|
|||
|
|
@ -116,7 +116,6 @@ import { ref } from 'vue'
|
|||
|
||||
defineOptions({ name: 'MpUser' })
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息
|
||||
|
||||
const isDialog = ref(false) // 是不是弹窗调用
|
||||
|
|
|
|||
|
|
@ -48,13 +48,13 @@
|
|||
</el-descriptions-item>
|
||||
<el-descriptions-item label="支付 IP">{{ detailData.userIp }}</el-descriptions-item>
|
||||
<el-descriptions-item label="渠道单号">
|
||||
<el-tag size="mini" type="success" v-if="detailData.channelOrderNo">
|
||||
<el-tag size="small" type="success" v-if="detailData.channelOrderNo">
|
||||
{{ detailData.channelOrderNo }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="渠道用户">{{ detailData.channelUserId }}</el-descriptions-item>
|
||||
<el-descriptions-item label="退款金额">
|
||||
<el-tag size="mini" type="danger">
|
||||
<el-tag size="small" type="danger">
|
||||
¥{{ ((detailData.refundPrice || 0) / 100.0).toFixed(2) }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="退款金额">
|
||||
<el-tag size="mini" type="danger">
|
||||
<el-tag size="small" type="danger">
|
||||
¥{{ (refundDetail.refundPrice / 100.0).toFixed(2) }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</el-descriptions-item>
|
||||
<el-descriptions-item label="支付 IP">{{ detailData.userIp }}</el-descriptions-item>
|
||||
<el-descriptions-item label="渠道单号">
|
||||
<el-tag size="mini" type="success" v-if="detailData.channelTransferNo">
|
||||
<el-tag size="small" type="success" v-if="detailData.channelTransferNo">
|
||||
{{ detailData.channelTransferNo }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
import WalletTransactionList from '../transaction/WalletTransactionList.vue'
|
||||
const dialogVisible = ref(false) // 弹窗的是否展示
|
||||
const dialogTitle = ref('') // 弹窗的标题
|
||||
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
|
||||
const walletId = ref(0)
|
||||
/** 打开弹窗 */
|
||||
const open = async (theWalletId: number) => {
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@
|
|||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter, formatDate } from '@/utils/formatTime'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import * as MailAccountApi from '@/api/system/mail/account'
|
||||
import * as MailLogApi from '@/api/system/mail/log'
|
||||
|
|
|
|||
|
|
@ -226,7 +226,6 @@ const queryParams = reactive({
|
|||
})
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const isExpandAll = ref(false) // 是否展开,默认全部折叠
|
||||
const refreshTable = ref(true) // 重新渲染表格状态
|
||||
|
||||
// 添加展开行控制
|
||||
const expandedRowKeys = ref<number[]>([])
|
||||
|
|
|
|||
|
|
@ -465,7 +465,6 @@ function getDefaultQueryParams() {
|
|||
}
|
||||
}
|
||||
const queryParams = reactive(getDefaultQueryParams())
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
const detailMap = reactive<Record<number, CheckOrderDetailVO[]>>({}) // 盘库单明细数据
|
||||
|
||||
|
|
|
|||
|
|
@ -438,7 +438,6 @@ function getDefaultQueryParams() {
|
|||
}
|
||||
}
|
||||
const queryParams = reactive(getDefaultQueryParams())
|
||||
const queryFormRef = ref() // 搜索的表单
|
||||
const exportLoading = ref(false) // 导出的加载中
|
||||
const detailMap = reactive<Record<number, MovementOrderDetailVO[]>>({}) // 移库单明细数据
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue