🐛 Fixing a bug. 音频上传

This commit is contained in:
aeizzz 2023-03-10 17:43:03 +08:00
parent b00ce74393
commit 5c56e86022
4 changed files with 6 additions and 13 deletions

View File

@ -11,7 +11,7 @@ export default {
language: 'language',
country: 'country',
province: 'province',
isBlack: 'isBlack',
isBlack: 'black',
city: 'city',
tagIds: 'tagIds',
headimgUrl: 'headimgUrl',

View File

@ -11,7 +11,7 @@ export default {
language: '语言',
country: '国家',
province: '省份',
isBlack: '是否在黑名单',
isBlack: '黑名单',
city: '城市',
tagIds: '分组',
headimgUrl: ' headimgUrl',

View File

@ -33,14 +33,7 @@
></right-toolbar>
</div>
</el-row>
<el-table
v-loading="state.loading"
:data="state.dataList"
style="width: 100%"
@selection-change="handleSelectionChange"
@sort-change="sortChangeHandle"
>
<el-table-column align="center" type="selection" width="60" />
<el-table v-loading="state.loading" :data="state.dataList" style="width: 100%" @sort-change="sortChangeHandle">
<el-table-column :label="t('fans.index')" type="index" width="80" />
<el-table-column :label="t('fans.openid')" prop="openid" show-overflow-tooltip />
<el-table-column :label="t('fans.subscribeStatus')" prop="subscribeStatus" show-overflow-tooltip>
@ -56,7 +49,7 @@
<dict-tag :options="blackList" :value="scope.row.isBlack"></dict-tag>
</template>
</el-table-column>
<el-table-column :label="t('fans.tagIds')" prop="tagIds" show-overflow-tooltip width="200">
<el-table-column :label="t('fans.tagIds')" prop="tagIds" show-overflow-tooltip>
<template #default="scope">
<span v-for="(tag, index) in scope.row.tagList" :key="index">
<el-tag>{{ tag.tag }} </el-tag>&nbsp;&nbsp;
@ -65,7 +58,7 @@
</el-table-column>
<el-table-column :label="t('fans.remark')" prop="remark" show-overflow-tooltip />
<el-table-column :label="t('fans.wxAccountName')" prop="wxAccountName" show-overflow-tooltip />
<el-table-column :label="$t('common.action')" width="200">
<el-table-column :label="$t('common.action')" width="200" fixed="right">
<template #default="scope">
<el-button text type="primary" @click="formDialogRef.openDialog(scope.row, state.queryForm.wxAccountAppid)"
>{{ $t('common.editBtn') }}

View File

@ -37,7 +37,7 @@
<el-tab-pane name="voice" label="voice">
<template #label><i class="el-icon-microphone"></i> 语音</template>
<div class="add_but">
<wx-file-upload @success="getDataList" :uploadData="uploadData"></wx-file-upload>
<wx-file-upload @success="getDataList" :uploadData="uploadData" :type="['mp3', 'wma', 'wav', 'amr']"></wx-file-upload>
</div>
<el-table v-loading="state.loading" :data="state.dataList" stripe border max-height="600px">
<el-table-column prop="mediaId" label="media_id"> </el-table-column>