refactor(订单模块): 1.统一订单状态和地址相关术语;2.增加心理论坛内容管理

将"发货"相关术语统一改为"发出",包括订单状态、按钮文字、提示信息等
将"收货"相关术语统一改为"收件",包括地址信息、表单标签、提示信息等
新增心理论坛模块,包含列表和新增/修改功能

调整订单状态显示为"待发出"和"已发出"
修改地址相关字段为"收件人"和"收件地址"
添加psychologicalForum.vue和psychologicalForum-add-or-update.vue文件
This commit is contained in:
2026-02-27 16:54:21 +08:00
parent bc39a62001
commit 537d5993bd
15 changed files with 623 additions and 179 deletions

View File

@@ -1,13 +1,13 @@
<template>
<div>
<el-dialog title="发配置" :close-on-click-modal="false" :visible.sync="visible" width='500px'
<el-dialog title="发配置" :close-on-click-modal="false" :visible.sync="visible" width='500px'
:before-close="beforeCloseDialog" append-to-body>
<!-- <el-steps :active="stepsActive" simple style="margin-bottom: 20px;;">
<el-step title="获取电子面单" icon="el-icon-tickets"></el-step>
<el-step title="打印电子面单" icon="el-icon-printer"></el-step>
</el-steps> -->
<!-- <el-alert style="margin-bottom: 15px;" v-if="selectData.length > 0"
:title="`您正在对 ${selectData.length} 条数据进行发操作。`" :closable="false" type="success">
:title="`您正在对 ${selectData.length} 条数据进行发操作。`" :closable="false" type="success">
</el-alert> -->
<el-form v-if="ruleForm" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"
class="demo-ruleForm">
@@ -19,7 +19,7 @@
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer" style="text-align: center;">
<el-button type="primary" @click="setDevliverHandle">立即发</el-button>
<el-button type="primary" @click="setDevliverHandle">立即发</el-button>
</div>
</el-dialog>
<!-- <ul class="print-ul" style="display: block;">
@@ -102,7 +102,7 @@ export default {
/// this.selectData = []
},
// 发操作
// 发操作
setDevliverHandle() {
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
@@ -127,10 +127,10 @@ export default {
if (data && data.code === 0) {
console.log(data)
this.beforeCloseDialog() // 关闭弹窗
return this.$message.success('发成功')
return this.$message.success('发成功')
} else {
this.beforeCloseDialog() // 关闭弹窗
return this.$message.error('发失败')
return this.$message.error('发失败')
}
}).catch((err) => {