diff --git a/package.json b/package.json index d987b98e..563dab18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yudao-ui-admin-vue3", - "version": "2.2.0-snapshot", + "version": "2.3.0-snapshot", "description": "基于vue3、vite4、element-plus、typesScript", "author": "xingyu", "private": false, @@ -9,11 +9,11 @@ "dev": "vite --mode env.local", "dev-server": "vite --mode dev", "ts:check": "vue-tsc --noEmit", - "build:local": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build", - "build:dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode dev", - "build:test": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test", - "build:stage": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage", - "build:prod": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod", + "build:local": "node ./node_modules/vite/bin/vite.js build", + "build:dev": "node ./node_modules/vite/bin/vite.js build --mode dev", + "build:test": "node ./node_modules/vite/bin/vite.js build --mode test", + "build:stage": "node ./node_modules/vite/bin/vite.js build --mode stage", + "build:prod": "node ./node_modules/vite/bin/vite.js build --mode prod", "serve:dev": "vite preview --mode dev", "serve:prod": "vite preview --mode prod", "preview": "pnpm build:local && vite preview", @@ -26,8 +26,8 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.1.0", - "@form-create/designer": "^3.1.3", - "@form-create/element-ui": "^3.1.24", + "@form-create/designer": "^3.2.6", + "@form-create/element-ui": "^3.2.11", "@iconify/iconify": "^3.1.1", "@microsoft/fetch-event-source": "^2.0.1", "@videojs-player/vue": "^1.0.0", @@ -47,7 +47,7 @@ "driver.js": "^1.3.1", "echarts": "^5.5.0", "echarts-wordcloud": "^2.1.0", - "element-plus": "2.8.0", + "element-plus": "2.8.4", "fast-xml-parser": "^4.3.2", "highlight.js": "^11.9.0", "jsencrypt": "^3.3.2", @@ -67,7 +67,7 @@ "steady-xml": "^0.1.0", "url": "^0.11.3", "video.js": "^7.21.5", - "vue": "3.4.21", + "vue": "3.5.12", "vue-dompurify-html": "^4.1.4", "vue-i18n": "9.10.2", "vue-router": "^4.3.0", diff --git a/src/api/mall/trade/delivery/pickUpStore/index.ts b/src/api/mall/trade/delivery/pickUpStore/index.ts index c3175021..ea6c852b 100644 --- a/src/api/mall/trade/delivery/pickUpStore/index.ts +++ b/src/api/mall/trade/delivery/pickUpStore/index.ts @@ -13,10 +13,11 @@ export interface DeliveryPickUpStoreVO { latitude: number longitude: number status: number + verifyUserIds: number[] // 绑定用户编号组数 } // 查询自提门店列表 -export const getDeliveryPickUpStorePage = async (params) => { +export const getDeliveryPickUpStorePage = async (params: any) => { return await request.get({ url: '/trade/delivery/pick-up-store/page', params }) } @@ -26,8 +27,8 @@ export const getDeliveryPickUpStore = async (id: number) => { } // 查询自提门店精简列表 -export const getListAllSimple = async (): Promise => { - return await request.get({ url: '/trade/delivery/pick-up-store/list-all-simple' }) +export const getSimpleDeliveryPickUpStoreList = async (): Promise => { + return await request.get({ url: '/trade/delivery/pick-up-store/simple-list' }) } // 新增自提门店 @@ -44,3 +45,8 @@ export const updateDeliveryPickUpStore = async (data: DeliveryPickUpStoreVO) => export const deleteDeliveryPickUpStore = async (id: number) => { return await request.delete({ url: '/trade/delivery/pick-up-store/delete?id=' + id }) } + +// 绑定自提店员 +export const bindStoreStaffId = async (data: any) => { + return await request.post({ url: '/trade/delivery/pick-up-store/bind', data }) +} diff --git a/src/api/pay/app/index.ts b/src/api/pay/app/index.ts index b1a2d0dd..d6fa83cf 100644 --- a/src/api/pay/app/index.ts +++ b/src/api/pay/app/index.ts @@ -8,6 +8,7 @@ export interface AppVO { remark: string payNotifyUrl: string refundNotifyUrl: string + transferNotifyUrl: string merchantId: number merchantName: string createTime: Date @@ -19,6 +20,7 @@ export interface AppPageReqVO extends PageParam { remark?: string payNotifyUrl?: string refundNotifyUrl?: string + transferNotifyUrl?: string merchantName?: string createTime?: Date[] } diff --git a/src/components/RouterSearch/index.vue b/src/components/RouterSearch/index.vue index c0352422..3fa35f6e 100644 --- a/src/components/RouterSearch/index.vue +++ b/src/components/RouterSearch/index.vue @@ -20,6 +20,7 @@
- + - - - +
+ + + +
@@ -55,6 +59,31 @@ const { push, currentRoute } = useRouter() // 路由 const { query } = useRoute() // 路由信息 const { delView } = useTagsViewStore() // 视图操作 +// 表单设计器配置 +const designerConfig = ref({ + switchType: [], // 是否可以切换组件类型,或者可以相互切换的字段 + autoActive: true, // 是否自动选中拖入的组件 + useTemplate: false, // 是否生成vue2语法的模板组件 + formOptions: {}, // 定义表单配置默认值 + fieldReadonly: false, // 配置field是否可以编辑 + hiddenDragMenu: false, // 隐藏拖拽操作按钮 + hiddenDragBtn: false, // 隐藏拖拽按钮 + hiddenMenu: [], // 隐藏部分菜单 + hiddenItem: [], // 隐藏部分组件 + hiddenItemConfig: {}, // 隐藏组件的部分配置项 + disabledItemConfig: {}, // 禁用组件的部分配置项 + showSaveBtn: false, // 是否显示保存按钮 + showConfig: true, // 是否显示右侧的配置界面 + showBaseForm: true, // 是否显示组件的基础配置表单 + showControl: true, // 是否显示组件联动 + showPropsForm: true, // 是否显示组件的属性配置表单 + showEventForm: true, // 是否显示组件的事件配置表单 + showValidateForm: true, // 是否显示组件的验证配置表单 + showFormConfig: true, // 是否显示表单配置 + showInputData: true, // 是否显示录入按钮 + showDevice: true, // 是否显示多端适配选项 + appendConfigData: [] // 定义渲染规则所需的formData +}) const designer = ref() // 表单设计器 useFormCreateDesigner(designer) // 表单设计器增强 const dialogVisible = ref(false) // 弹窗是否展示 @@ -119,3 +148,13 @@ onMounted(async () => { setConfAndFields(designer, data.conf, data.fields) }) + + diff --git a/src/views/bpm/model/index_new.vue b/src/views/bpm/model/index_new.vue new file mode 100644 index 00000000..4f2ba3c3 --- /dev/null +++ b/src/views/bpm/model/index_new.vue @@ -0,0 +1,456 @@ + + + + + diff --git a/src/views/bpm/processInstance/detail/index.vue b/src/views/bpm/processInstance/detail/index.vue index 0ec11684..ae75b32f 100644 --- a/src/views/bpm/processInstance/detail/index.vue +++ b/src/views/bpm/processInstance/detail/index.vue @@ -244,10 +244,12 @@ const handleAudit = async (task, pass) => { if (!elForm) return let valid = await elForm.validate() if (!valid) return - // 校验申请表单 - if (!fApi.value) return - valid = await fApi.value.validate() - if (!valid) return + // 校验申请表单(可编辑字段) + // TODO @jason:之前这里是 if (!fApi.value) return;针对业务表单的情况下,会导致没办法审核,可能要看下。我这里改了点,看看是不是还有别的地方兼容性 + if (fApi.value) { + valid = await fApi.value.validate() + if (!valid) return + } // 2.1 提交审批 const data = { @@ -263,7 +265,9 @@ const handleAudit = async (task, pass) => { data.variables = approveForms.value[index].value } // 获取表单可编辑字段的值 - data.variables = getWritableValueOfForm(task.fieldsPermission) + if (fApi.value) { + data.variables = getWritableValueOfForm(task.fieldsPermission) + } await TaskApi.approveTask(data) message.success('审批通过成功') diff --git a/src/views/bpm/processInstance/manager/index.vue b/src/views/bpm/processInstance/manager/index.vue index bce479d1..21e3a9ea 100644 --- a/src/views/bpm/processInstance/manager/index.vue +++ b/src/views/bpm/processInstance/manager/index.vue @@ -79,6 +79,10 @@ class="!w-240px" /> + + 搜索 + 重置 +
diff --git a/src/views/infra/build/index.vue b/src/views/infra/build/index.vue index 571acffe..05ea7334 100644 --- a/src/views/infra/build/index.vue +++ b/src/views/infra/build/index.vue @@ -1,16 +1,17 @@