Merge branch 'main' of http://47.109.205.240:3000/Web/operation-system
This commit is contained in:
commit
4c89454c3f
@ -5,7 +5,7 @@ VITE_APP_TITLE = 运营云后台管理系统
|
|||||||
VITE_APP_ENV = 'production'
|
VITE_APP_ENV = 'production'
|
||||||
|
|
||||||
# 测试环境
|
# 测试环境
|
||||||
VITE_APP_BASE_API = 'http://192.168.18.99:8080/'
|
VITE_APP_BASE_API = 'http://192.168.18.99:8080'
|
||||||
VITE_APP_PLATFORM = 'http://192.168.18.99/platform'
|
VITE_APP_PLATFORM = 'http://192.168.18.99/platform'
|
||||||
|
|
||||||
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||||
|
@ -309,3 +309,6 @@
|
|||||||
background-color: #25bf82;
|
background-color: #25bf82;
|
||||||
border:none
|
border:none
|
||||||
}
|
}
|
||||||
|
.el-button-gry:hover{
|
||||||
|
background-color: #50e2a8 !important;
|
||||||
|
}
|
||||||
|
@ -94,6 +94,12 @@ export const constantRoutes = [
|
|||||||
name: 'editGoods',
|
name: 'editGoods',
|
||||||
meta: { title: '编辑商品', icon: '' }
|
meta: { title: '编辑商品', icon: '' }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'goodsManage/seeDetails/:activeTab?',
|
||||||
|
component: () => import('@/views/goods/goodsManage/seeDetails'),
|
||||||
|
name: 'seeDetails',
|
||||||
|
meta: { title: '商品详情', icon: '' }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'goodsReview/auditGoods/:activeTab?',
|
path: 'goodsReview/auditGoods/:activeTab?',
|
||||||
component: () => import('@/views/goods/goodsReview/auditGoods'),
|
component: () => import('@/views/goods/goodsReview/auditGoods'),
|
||||||
|
@ -286,7 +286,6 @@ const addItem = () => {
|
|||||||
dialogFormVisible.value = true;
|
dialogFormVisible.value = true;
|
||||||
};
|
};
|
||||||
const cancelDialog = () => {
|
const cancelDialog = () => {
|
||||||
dialogRef.value.resetFields();
|
|
||||||
Object.assign(dialogForm, { // 保持响应性,手动清空字段
|
Object.assign(dialogForm, { // 保持响应性,手动清空字段
|
||||||
id: "",
|
id: "",
|
||||||
violateGoodName: "",
|
violateGoodName: "",
|
||||||
|
@ -372,6 +372,7 @@ const onSaveCategory = () => {
|
|||||||
proxy.$modal.loading("正在保存...");
|
proxy.$modal.loading("正在保存...");
|
||||||
let param = { ...dialogForm };
|
let param = { ...dialogForm };
|
||||||
param.level = dialogForm.selectedNode.level;
|
param.level = dialogForm.selectedNode.level;
|
||||||
|
param.type = dialogForm.selectedNode.type;
|
||||||
let response;
|
let response;
|
||||||
if (dialogTitle.value == "编辑分类") {
|
if (dialogTitle.value == "编辑分类") {
|
||||||
response = await categoryEdit(param);
|
response = await categoryEdit(param);
|
||||||
@ -400,10 +401,9 @@ const onSaveCategory = () => {
|
|||||||
const addCategory = () => {
|
const addCategory = () => {
|
||||||
dialogTitle.value = "添加分类";
|
dialogTitle.value = "添加分类";
|
||||||
getGoodTypeList();
|
getGoodTypeList();
|
||||||
dialogRef.value.resetFields();
|
|
||||||
Object.assign(dialogForm, { // 保持响应性,手动清空字段
|
Object.assign(dialogForm, { // 保持响应性,手动清空字段
|
||||||
id: "",
|
id: "",
|
||||||
type: null,
|
type: 1,
|
||||||
name: "",
|
name: "",
|
||||||
level: "",
|
level: "",
|
||||||
parentId: "",
|
parentId: "",
|
||||||
@ -412,7 +412,6 @@ const addCategory = () => {
|
|||||||
dialogFormVisible.value = true;
|
dialogFormVisible.value = true;
|
||||||
};
|
};
|
||||||
const cancelDialog = () => {
|
const cancelDialog = () => {
|
||||||
dialogRef.value.resetFields();
|
|
||||||
Object.assign(dialogForm, { // 保持响应性,手动清空字段
|
Object.assign(dialogForm, { // 保持响应性,手动清空字段
|
||||||
id: "",
|
id: "",
|
||||||
type: null,
|
type: null,
|
||||||
|
@ -135,9 +135,9 @@
|
|||||||
<el-form-item label="商品属性" prop="attribute" required>
|
<el-form-item label="商品属性" prop="attribute" required>
|
||||||
<div v-for="(item, index) in formInline.attribute" :key="index" class="attr-item">
|
<div v-for="(item, index) in formInline.attribute" :key="index" class="attr-item">
|
||||||
<el-input v-model="item.name" :value="item.name" class="attr-input" placeholder="请输入属性名称" />
|
<el-input v-model="item.name" :value="item.name" class="attr-input" placeholder="请输入属性名称" />
|
||||||
<el-icon size="20px" v-if="index !== 0" @click="deleteAttr(index)" style="cursor: pointer;">
|
<!-- <el-icon size="20px" v-if="index !== 0" @click="deleteAttr(index)" style="cursor: pointer;">
|
||||||
<Delete />
|
<Delete />
|
||||||
</el-icon>
|
</el-icon> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- <el-button icon="plus" type="primary" plain style="margin: 0" @click="addAttr">添加属性</el-button> -->
|
<!-- <el-button icon="plus" type="primary" plain style="margin: 0" @click="addAttr">添加属性</el-button> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -33,9 +33,9 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
chunkSizeWarningLimit: 2000,
|
chunkSizeWarningLimit: 2000,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
chunkFileNames: "static/js/[name]-[hash].js",
|
chunkFileNames: `static/js/[name]-${Date.now()}-[hash].js`,
|
||||||
entryFileNames: "static/js/[name]-[hash].js",
|
entryFileNames: `static/js/[name]-${Date.now()}-[hash].js`,
|
||||||
assetFileNames: "static/[ext]/[name]-[hash].[ext]",
|
assetFileNames: `static/[ext]/[name]-${Date.now()}-[hash].[ext]`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user