This commit is contained in:
姚宇浩 2024-01-26 16:29:11 +08:00
parent e9cd11f8a2
commit b7e8dc58a1
6 changed files with 30 additions and 27 deletions

View File

@ -24,7 +24,7 @@
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="80"> </el-table-column> <el-table-column type="index" label="序号" width="80"> </el-table-column>
<el-table-column prop="name" label="标题"> </el-table-column> <el-table-column prop="name" label="标题" show-overflow-tooltip> </el-table-column>
<el-table-column prop="cover" label="封面图片" width="280"> <el-table-column prop="cover" label="封面图片" width="280">
<template #default="scope"> <template #default="scope">
<el-image :src="scope.row.cover"></el-image> <el-image :src="scope.row.cover"></el-image>

View File

@ -51,9 +51,9 @@
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="80"> <el-table-column type="index" label="序号" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="goodsName" label="商品"> </el-table-column> <el-table-column prop="goodsName" label="商品" show-overflow-tooltip> </el-table-column>
<el-table-column prop="introduce" label="简介"> </el-table-column> <!-- <el-table-column prop="introduce" label="简介"> </el-table-column> -->
<el-table-column prop="shopInfo.userName" label="者"> <el-table-column prop="shopInfo.userName" label="发布者">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="workTag" label="标签"> </el-table-column> --> <!-- <el-table-column prop="workTag" label="标签"> </el-table-column> -->
<el-table-column prop="typeName" label="类型"> <el-table-column prop="typeName" label="类型">
@ -179,12 +179,12 @@
<el-form-item label="商品名称"> <el-form-item label="商品名称">
<el-input v-model="detailForm.goodsName"></el-input> <el-input v-model="detailForm.goodsName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="者"> <el-form-item label="发布者">
<el-input v-model="detailForm.userName"></el-input> <el-input v-model="detailForm.userName"></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="简介"> <el-form-item label="简介">
<el-input type="textarea" v-model="detailForm.introduce"></el-input> <el-input type="textarea" v-model="detailForm.introduce"></el-input>
</el-form-item> --> </el-form-item>
<el-form-item label="网盘地址"> <el-form-item label="网盘地址">
<el-input v-model="detailForm.wpPath"></el-input> <el-input v-model="detailForm.wpPath"></el-input>
</el-form-item> </el-form-item>
@ -367,6 +367,7 @@ export default {
this.detailForm.userName = value.shopInfo.userName; this.detailForm.userName = value.shopInfo.userName;
this.detailForm.wpPath = value.domainInfo.wpPath; this.detailForm.wpPath = value.domainInfo.wpPath;
this.detailForm.code = value.domainInfo.code; this.detailForm.code = value.domainInfo.code;
this.detailForm.introduce = value.domainInfo.introduce;
let img1 = null; let img1 = null;
if (value.domainInfo.file) { if (value.domainInfo.file) {
img1 = value.domainInfo.file.split(","); img1 = value.domainInfo.file.split(",");

View File

@ -24,13 +24,13 @@
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="80"> </el-table-column> <el-table-column type="index" label="序号" width="80"> </el-table-column>
<el-table-column prop="title" label="标题"> </el-table-column> <el-table-column prop="title" label="标题" show-overflow-tooltip> </el-table-column>
<el-table-column prop="content" label="简介"> </el-table-column> <!-- <el-table-column prop="content" label="简介"> </el-table-column> -->
<el-table-column prop="cover" label="封面图片" width="280"> <!-- <el-table-column prop="cover" label="封面图片" width="280">
<template #default="scope"> <template #default="scope">
<el-image :src="scope.row.cover"></el-image> <el-image :src="scope.row.cover"></el-image>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column prop="examineState" label="审核状态"> <el-table-column prop="examineState" label="审核状态">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.examineState == '0'" style="color:#409EFF;">未审核</span> <span v-if="scope.row.examineState == '0'" style="color:#409EFF;">未审核</span>

View File

@ -51,10 +51,10 @@
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="80"> <el-table-column type="index" label="序号" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="goodsName" label="商品"> </el-table-column> <el-table-column prop="goodsName" label="商品" show-overflow-tooltip> </el-table-column>
<el-table-column prop="domainInfo.introduce" label="简介"> <!-- <el-table-column prop="domainInfo.introduce" label="简介">
</el-table-column> </el-table-column> -->
<el-table-column prop="shopInfo.userName" label="者"> <el-table-column prop="shopInfo.userName" label="发布者">
</el-table-column> </el-table-column>
<!-- <el-table-column prop="workTag" label="标签"> </el-table-column> --> <!-- <el-table-column prop="workTag" label="标签"> </el-table-column> -->
<el-table-column prop="typeName" label="类型"> <el-table-column prop="typeName" label="类型">
@ -180,12 +180,12 @@
<el-form-item label="商品名称"> <el-form-item label="商品名称">
<el-input v-model="detailForm.name"></el-input> <el-input v-model="detailForm.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="者"> <el-form-item label="发布者">
<el-input v-model="detailForm.userName"></el-input> <el-input v-model="detailForm.userName"></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="简介"> <el-form-item label="简介">
<el-input type="textarea" v-model="detailForm.introduce"></el-input> <el-input type="textarea" v-model="detailForm.introduce"></el-input>
</el-form-item> --> </el-form-item>
<el-form-item label="网盘地址"> <el-form-item label="网盘地址">
<el-input v-model="detailForm.wpPath"></el-input> <el-input v-model="detailForm.wpPath"></el-input>
</el-form-item> </el-form-item>
@ -365,6 +365,7 @@ export default {
this.detailForm.wpPath = value.domainInfo.wpPath; this.detailForm.wpPath = value.domainInfo.wpPath;
this.detailForm.code = value.domainInfo.code; this.detailForm.code = value.domainInfo.code;
this.detailForm.userName = value.shopInfo.userName; this.detailForm.userName = value.shopInfo.userName;
this.detailForm.introduce = value.domainInfo.introduce;
let img1 = null; let img1 = null;
if (value.domainInfo.file) { if (value.domainInfo.file) {
img1 = value.domainInfo.file.split(","); img1 = value.domainInfo.file.split(",");

View File

@ -24,10 +24,10 @@
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" label="序号" width="80"> </el-table-column> <el-table-column type="index" label="序号" width="80"> </el-table-column>
<el-table-column prop="name" label="标题"> </el-table-column> <el-table-column prop="name" label="标题" show-overflow-tooltip> </el-table-column>
<el-table-column prop="introduce" label="简介"> </el-table-column> <!-- <el-table-column prop="introduce" label="简介"> </el-table-column> -->
<el-table-column prop="userName" label="作者"> </el-table-column> <el-table-column prop="user.userName" label="发布者"> </el-table-column>
<el-table-column prop="workTag" label="标签"> </el-table-column> <!-- <el-table-column prop="workTag" label="标签"> </el-table-column> -->
<el-table-column prop="typeName" label="类型"> <el-table-column prop="typeName" label="类型">
<template #default="scope"> <template #default="scope">
<span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span> <span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span>
@ -99,12 +99,12 @@
<el-form-item label="作品名称"> <el-form-item label="作品名称">
<el-input v-model="detailForm.name"></el-input> <el-input v-model="detailForm.name"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="者"> <el-form-item label="发布者">
<el-input v-model="detailForm.userName"></el-input> <el-input v-model="detailForm.userName"></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="简介"> <el-form-item label="简介">
<el-input type="textarea" v-model="detailForm.introduce"></el-input> <el-input type="textarea" v-model="detailForm.introduce"></el-input>
</el-form-item> --> </el-form-item>
<el-form-item label="网盘地址"> <el-form-item label="网盘地址">
<el-input v-model="detailForm.wpPath"></el-input> <el-input v-model="detailForm.wpPath"></el-input>
</el-form-item> </el-form-item>
@ -266,6 +266,7 @@ export default {
this.title = title this.title = title
this.opens = true this.opens = true
this.detailForm = value this.detailForm = value
this.detailForm.userName = value.user.userName
let img1 = value.file.split(',') let img1 = value.file.split(',')
if (img1.length > 0) { if (img1.length > 0) {
img1.forEach(ele => { img1.forEach(ele => {

View File

@ -13,8 +13,8 @@ module.exports = {
port: 2800, //挂载端口 port: 2800, //挂载端口
proxy: { proxy: {
'/api': { '/api': {
target: 'https://yxx.ydool.net', // target: 'https://yxx.ydool.net',
// target: 'http://192.168.2.48:8080', target: 'http://192.168.2.48:8080',
//target: 'http://192.168.0.230:8090', //target: 'http://192.168.0.230:8090',
//target: 'http://192.168.0.57:8090', //target: 'http://192.168.0.57:8090',
//target: 'http://127.0.0.1:8090', //target: 'http://127.0.0.1:8090',