chutingting 1年前
父节点
当前提交
a9a5602285
共有 5 个文件被更改,包括 15 次插入12 次删除
  1. +1
    -0
      src/types/components.d.ts
  2. +1
    -1
      src/utils/request.js
  3. +10
    -8
      src/views/createVideo/index.vue
  4. +1
    -1
      src/views/my/coindeduc.vue
  5. +2
    -2
      src/views/my/recharge.vue

+ 1
- 0
src/types/components.d.ts 查看文件

@@ -46,6 +46,7 @@ declare module '@vue/runtime-core' {
IEpEdit: typeof import('~icons/ep/edit')['default']
IEpGoods: typeof import('~icons/ep/goods')['default']
IEpLoading: typeof import('~icons/ep/loading')['default']
IEpLock: typeof import('~icons/ep/lock')['default']
IEpMenu: typeof import('~icons/ep/menu')['default']
IEpPhone: typeof import('~icons/ep/phone')['default']
IEpSearch: typeof import('~icons/ep/search')['default']


+ 1
- 1
src/utils/request.js 查看文件

@@ -69,7 +69,7 @@ request.interceptors.response.use(
);
return
// 弹出错误
} else if (code != 200) {
} else if (code != 200 && code !== 64001) {
if (code == 500) {
// ElMessage.error("系统异常,请稍后再试");
// ElMessage.error($t('tips.systemException'));


+ 10
- 8
src/views/createVideo/index.vue 查看文件

@@ -500,19 +500,18 @@
:placeholder="$t('createVideo.select')"
style="width: 100%"
>
<el-option :value="0" label="定制声音"></el-option>
<el-option
v-for="item in soundOptions"
:key="item.value"
:label="
(lanChange == 'zh-cn'
:value="item.id"
> {{ (lanChange == 'zh-cn'
? item.displayName + `&nbsp; (${item.sex == 1 ? '男' : '女'})`
: item.localName +
`&nbsp; (${item.sex == 1 ? 'male' : 'female'})`) +
returnAge(item.ageType)
"
:value="item.id"
/>
}}
<span v-if="item.customized === 1" style="color:red">(私人订制)</span>
</el-option>
</el-select>
<p>{{ $t("createVideo.styles") }}</p>
<!-- 风格 -->
@@ -949,6 +948,9 @@ async function voiceTotal() {
const soundOptions = ref([]);
async function chooseType() {
const res = await chooseTypeApi(language.value);
res.data.sort(function(a, b){
return a.customized > b.customized ? 1 : -1
})
soundOptions.value = res.data;
sound.value = null;
}
@@ -1636,10 +1638,10 @@ async function createVideo() {
await saveOrUpdate("isCreate");
const res2 = await createVideoApi(workId.value);
// 去充值
if (res2.code === '64001') {
if (res2.code === 64001) {
// router.push("/myStore");
router.push({
path: "/businessCheck",
path: "/myStore",
query: {
tag: 'createVideo'
},


+ 1
- 1
src/views/my/coindeduc.vue 查看文件

@@ -85,7 +85,7 @@ const handleCurrentChange = (val) => {
const getListData = async (PageNum, PageSize) => {
try {
let data = {
projectType: 1,
projectType: 2,
pageNum: 1,
pageSize: 10
}


+ 2
- 2
src/views/my/recharge.vue 查看文件

@@ -4,7 +4,7 @@

<el-table :data="tableData" style="width: 100%; height: 90%" size="large" align="center" border>
<el-table-column
prop="title"
prop="productTitle"
label="名称"
align="center"
/>
@@ -85,7 +85,7 @@ const handleCurrentChange = (val) => {
const getListData = async (PageNum, PageSize) => {
try {
let data = {
projectType: 1,
projectType: 2,
pageNum: 1,
pageSize: 10
}


正在加载...
取消
保存