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