提交 1ad77633 作者: 毛细亚

更新 6.8 版本

上级 61e8b99f
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
* @Author: maoxiya 937667504@qq.com * @Author: maoxiya 937667504@qq.com
* @Date: 2025-08-28 15:59:46 * @Date: 2025-08-28 15:59:46
* @LastEditors: maoxiya 937667504@qq.com * @LastEditors: maoxiya 937667504@qq.com
* @LastEditTime: 2025-09-01 18:07:32 * @LastEditTime: 2025-09-02 09:51:24
* @FilePath: /company_wx_frontend/src/views/works/component/chat/giftCodeDialog.vue * @FilePath: /company_wx_frontend/src/views/works/component/chat/giftCodeDialog.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
<template> <template>
<el-dialog title="请确认发放的角色" :visible="dialogVisible" class="giftCodeDialogForm" width="360px" @close="closeDialog"> <el-dialog title="请确认发放的角色" :visible="dialogVisible" class="giftCodeDialogForm" width="360px" @close="closeDialog">
<p class="font12 mb-[10px] mt-[-10px]">即将发送召回礼包(>=5000),发送后可在礼包记录中查看</p> <p class="font12 mb-[10px] mt-[-10px]">即将发送召回礼包<span v-if="gameName" style="color: #00BF8A;"> ({{ gameName
}})</span>,发送后可在礼包记录中查看</p>
<el-form :model="form" ref="giftCodeDialogForm" label-width="80px" :rules="rules"> <el-form :model="form" ref="giftCodeDialogForm" label-width="80px" :rules="rules">
<el-form-item label="账号ID:" prop="member_id"> <el-form-item label="账号ID:" prop="member_id">
<el-select style="width: 320px;" :clearable="false" @change="handleMemberIdChange" <el-select style="width: 320px;" :clearable="false" @change="handleMemberIdChange"
...@@ -38,6 +39,10 @@ export default { ...@@ -38,6 +39,10 @@ export default {
dialogVisible: { dialogVisible: {
type: Boolean, type: Boolean,
default: false default: false
},
gameName: {
type: String,
default: ''
} }
}, },
components: { components: {
......
...@@ -58,7 +58,8 @@ ...@@ -58,7 +58,8 @@
</el-collapse> </el-collapse>
</el-collapse-transition> </el-collapse-transition>
</div> </div>
<giftCodeDialog v-if="dialogVisible" :dialogVisible.sync="dialogVisible" @result="getGiftCodeSubmit" /> <giftCodeDialog v-if="dialogVisible" :game-name="game_name" :dialogVisible.sync="dialogVisible"
@result="getGiftCodeSubmit" />
</div> </div>
</template> </template>
<script> <script>
...@@ -74,6 +75,7 @@ export default { ...@@ -74,6 +75,7 @@ export default {
showGameCode: false, showGameCode: false,
giftCodeGame: [], giftCodeGame: [],
dialogVisible: false, dialogVisible: false,
game_name: '',
giftCodeForm: { giftCodeForm: {
member_id: '', member_id: '',
username: '', username: '',
...@@ -235,6 +237,7 @@ export default { ...@@ -235,6 +237,7 @@ export default {
this.sendGameCode() this.sendGameCode()
}, },
sendGameCodeCopyDialog(items) { sendGameCodeCopyDialog(items) {
this.game_name = items.name
this.initGiftCodeForm() this.initGiftCodeForm()
this.giftCodeForm.gift_package_id = items.id this.giftCodeForm.gift_package_id = items.id
if (items.package_type == 3) { if (items.package_type == 3) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论