RIceWqy 2 years ago
parent aea6bbfab6
commit 2a7a7f36e4

@ -8,4 +8,4 @@ VITE_APP_ENV = 'development'
VITE_APP_BASE_API = 'http://127.0.0.1:8085' VITE_APP_BASE_API = 'http://127.0.0.1:8085'
# 静态资源文件url # 静态资源文件url
VITE_APP_RESOURCES_URL = 'https://img.mall4j.com/' VITE_APP_RESOURCES_URL = 'https://img.ruixininfo.com/'

@ -5,7 +5,7 @@
VITE_APP_ENV = 'production' VITE_APP_ENV = 'production'
# api接口请求地址 # api接口请求地址
VITE_APP_BASE_API = 'http://127.0.0.1:8085' VITE_APP_BASE_API = 'https://admin.ruixininfo.com'
# 静态资源文件url # 静态资源文件url
VITE_APP_RESOURCES_URL = 'https://img.mall4j.com/' VITE_APP_RESOURCES_URL = 'https://img.mall4j.com/'

@ -5,7 +5,7 @@
VITE_APP_ENV = 'testing' VITE_APP_ENV = 'testing'
# api接口请求地址 # api接口请求地址
VITE_APP_BASE_API = 'http://127.0.0.1:8085' VITE_APP_BASE_API = 'https://admin.ruixininfo.com'
# 静态资源文件url # 静态资源文件url
VITE_APP_RESOURCES_URL = 'https://img.mall4j.com/' VITE_APP_RESOURCES_URL = 'https://img.mall4j.com/'

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

@ -55,5 +55,24 @@ export const tableOption = {
value: 1 value: 1
} }
] ]
}, {
width: 150,
label: '商品分区',
prop: 'productType',
search: true,
slot: true,
type: 'select',
dicData: [
{
label: '普通',
value: 0
}, {
label: '会员',
value: 1
}, {
label: '积分',
value: 2
}
]
}] }]
} }

@ -1,5 +1,7 @@
<template> <template>
<div class="mod-home" ><h1>欢迎</h1> </div> <div class="mod-home">
<h1>欢迎</h1>
</div>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>

@ -39,7 +39,26 @@
未上架 未上架
</el-tag> </el-tag>
</template> </template>
<template #productType="scope">
<el-tag
v-if="scope.row.productType === 0"
type="info"
>
普通
</el-tag>
<el-tag
v-if="scope.row.productType === 1"
type="warning"
>
会员
</el-tag>
<el-tag
v-if="scope.row.productType === 2"
type="success"
>
积分
</el-tag>
</template>
<template #menu="scope"> <template #menu="scope">
<el-button <el-button
v-if="isAuth('prod:prod:update')" v-if="isAuth('prod:prod:update')"
@ -57,6 +76,22 @@
> >
删除 删除
</el-button> </el-button>
<el-button
v-if="isAuth('pord:pord:upmember')"
type="danger"
icon="el-icon-delete"
@click="onDelete(scope.row.prodId)"
>
上架到会员专区
</el-button>
<el-button
v-if="isAuth('pord:pord:upscore')"
type="danger"
icon="el-icon-delete"
@click="onDelete(scope.row.prodId)"
>
上架到积分专区
</el-button>
</template> </template>
</avue-crud> </avue-crud>
</div> </div>

@ -11,7 +11,7 @@
@on-load="getDataList" @on-load="getDataList"
> >
<template #menu-left> <template #menu-left>
<!-- <el-button <!-- <el-button
v-if="isAuth('shop:pickAddr:save')" v-if="isAuth('shop:pickAddr:save')"
type="primary" type="primary"
icon="el-icon-plus" icon="el-icon-plus"
@ -45,7 +45,7 @@
> >
下架 下架
</el-button> </el-button>
<!-- <el-button <!-- <el-button
v-if="isAuth('shop:pickAddr:update')" v-if="isAuth('shop:pickAddr:update')"
type="primary" type="primary"
icon="el-icon-edit" icon="el-icon-edit"
@ -65,7 +65,6 @@
</template> </template>
</avue-crud> </avue-crud>
<!-- 弹窗, 新增 / 修改 --> <!-- 弹窗, 新增 / 修改 -->
</div> </div>
</template> </template>

@ -14,7 +14,7 @@
v-if="scope.row.pic" v-if="scope.row.pic"
class="avue-crud__img" class="avue-crud__img"
> >
<el-icon><Document/></el-icon> <el-icon><Document /></el-icon>
</span> </span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
@ -26,10 +26,16 @@
> >
待审核 待审核
</el-tag> </el-tag>
<el-tag v-if="scope.row.portfolioStatus === 1" type="success"> <el-tag
v-if="scope.row.portfolioStatus === 1"
type="success"
>
审核通过 审核通过
</el-tag> </el-tag>
<el-tag v-if="scope.row.portfolioStatus === -1" type="danger"> <el-tag
v-if="scope.row.portfolioStatus === -1"
type="danger"
>
审核未通过 审核未通过
</el-tag> </el-tag>
</template> </template>

Loading…
Cancel
Save