|
@@ -26,21 +26,17 @@
|
|
|
>
|
|
>
|
|
|
<el-table-column type="selection" width="55" fixed="left"/>
|
|
<el-table-column type="selection" width="55" fixed="left"/>
|
|
|
<el-table-column label="ID" prop="id" width="150"/>
|
|
<el-table-column label="ID" prop="id" width="150"/>
|
|
|
- <el-table-column label="名称" prop="name" min-width="200"/>
|
|
|
|
|
- <el-table-column label="缩略图" width="80">
|
|
|
|
|
|
|
+ <el-table-column label="名称" min-width="150">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.litpics.length }}张
|
|
|
|
|
|
|
+ <a :href="scope.row.url" target="_blank">{{ scope.row.title }}</a>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="地址" prop="address" min-width="350"/>
|
|
|
|
|
- <el-table-column label="分类" prop="category.name" width="100"/>
|
|
|
|
|
- <el-table-column label="联系人" prop="contacts" width="100"/>
|
|
|
|
|
- <el-table-column label="联系电话" prop="contactNumber" width="150"/>
|
|
|
|
|
- <el-table-column label="位置信息" width="200">
|
|
|
|
|
|
|
+ <el-table-column label="地址" min-width="100">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- [ {{ scope.row.lng }}, {{ scope.row.lat }} ]
|
|
|
|
|
|
|
+ <a :href="scope.row.url" target="_blank">{{ scope.row.url }}</a>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column label="联系电话" prop="remark" min-width="200"/>
|
|
|
<el-table-column label="操作" width="70" fixed="right">
|
|
<el-table-column label="操作" width="70" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button v-permission="['place.base.info.edit']" type="text" @click.native="$refs.dialogForm.open(scope.row)">编辑</el-button>
|
|
<el-button v-permission="['place.base.info.edit']" type="text" @click.native="$refs.dialogForm.open(scope.row)">编辑</el-button>
|
|
@@ -60,7 +56,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import { findPage } from '@/api/open_website'
|
|
|
|
|
|
|
+import { findPage, deleteByIds } from '@/api/open_website'
|
|
|
import { dateTimeFormatter } from '@/utils/formater'
|
|
import { dateTimeFormatter } from '@/utils/formater'
|
|
|
import DialogForm from './DialogForm'
|
|
import DialogForm from './DialogForm'
|
|
|
|
|
|