day01
parent
3b83eebbeb
commit
79e42a8f8c
|
@ -84,7 +84,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:config:export']"
|
v-hasPermi="['system:book:export']"
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:config:remove']"
|
v-hasPermi="['system:book:remove']"
|
||||||
icon="el-icon-refresh"
|
icon="el-icon-refresh"
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
|
@ -117,16 +117,20 @@
|
||||||
<dict-tag :options="dict.type.boot_type" :value="scope.row.type"/>
|
<dict-tag :options="dict.type.boot_type" :value="scope.row.type"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column :show-overflow-tooltip="true" align="center" label="图片" prop="images">
|
<el-table-column :show-overflow-tooltip="true" align="center" label="图片" prop="images">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<image-preview :height="50" :width="50" :src="scope.row.images"/>
|
<image-preview :height="50" :width="50" :src="scope.row.images"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
<el-table-column align="center" label="上架时间" prop="shelTime" width="180">
|
<el-table-column align="center" label="上架时间" prop="shelTime" width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.shelTime) }}</span>
|
<span>{{ parseTime(scope.row.shelTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column align="center" class-name="small-padding fixed-width" label="操作">
|
<el-table-column align="center" class-name="small-padding fixed-width" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -138,7 +142,7 @@
|
||||||
>修改
|
>修改
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-hasPermi="['system:config:remove']"
|
v-hasPermi="['system:book:remove']"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
|
@ -201,7 +205,7 @@
|
||||||
import {listBookInfo, addBookInfo, updateBookInfo, delBookInfo, getBookInfo} from "@/api/system/bookInfo";
|
import {listBookInfo, addBookInfo, updateBookInfo, delBookInfo, getBookInfo} from "@/api/system/bookInfo";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Config",
|
name: "book",
|
||||||
dicts: ['boot_type'],
|
dicts: ['boot_type'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -344,7 +348,7 @@ export default {
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download('system/boot-info/export', {
|
this.download('system/boot_info/export', {
|
||||||
...this.queryParams
|
...this.queryParams
|
||||||
}, `config_${new Date().getTime()}.xlsx`)
|
}, `config_${new Date().getTime()}.xlsx`)
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ module.exports = {
|
||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
target: `http://localhost:8080`,
|
target: `http://localhost:18080`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
|
Loading…
Reference in New Issue