|
@@ -19,7 +19,7 @@
|
|
|
<script>
|
|
|
import toolbar from './toolbar';
|
|
|
import mxFilterList from '@/mixins/filterList';
|
|
|
-import { getList, delItem } from '@/api/scene';
|
|
|
+import { getPage, delItem } from '@/api/scene';
|
|
|
|
|
|
export default {
|
|
|
name: 'SceneList',
|
|
@@ -28,7 +28,7 @@ export default {
|
|
|
|
|
|
mixins: [
|
|
|
mxFilterList({
|
|
|
- fetchList: getList, // 在下方data再声明一个 fetchList: iGetList 同等效果
|
|
|
+ fetchList: getPage, // 在下方data再声明一个 fetchList: iGetList 同等效果
|
|
|
internalFilterObj: {
|
|
|
isDel: false,
|
|
|
auditStatus: 1
|
|
@@ -42,12 +42,12 @@ export default {
|
|
|
{
|
|
|
key: 'name',
|
|
|
name: '机构名称',
|
|
|
- width: '180'
|
|
|
+ width: this.$col.b
|
|
|
},
|
|
|
{
|
|
|
key: 'logo',
|
|
|
name: 'Logo',
|
|
|
- width: '120',
|
|
|
+ width: this.$col.b,
|
|
|
render: (h, { row }) =>
|
|
|
h('img', {
|
|
|
style: {
|
|
@@ -68,29 +68,29 @@ export default {
|
|
|
{
|
|
|
key: 'region',
|
|
|
name: '所在地区',
|
|
|
- minWidth: '180',
|
|
|
+ minWidth: this.$col.auto(200),
|
|
|
render: (h, { row }) =>
|
|
|
h('span', `${row.province}/${row.city}/${row.area}`)
|
|
|
},
|
|
|
{
|
|
|
key: 'type',
|
|
|
name: '机构类型',
|
|
|
- width: '180'
|
|
|
+ width: this.$col.b
|
|
|
},
|
|
|
{
|
|
|
key: 'realName',
|
|
|
name: '申请人',
|
|
|
- width: '180'
|
|
|
+ width: this.$col.m
|
|
|
},
|
|
|
{
|
|
|
key: 'phonenumber',
|
|
|
name: '办公号码',
|
|
|
- width: '180'
|
|
|
+ width: this.$col.b
|
|
|
},
|
|
|
{
|
|
|
key: 'isShow',
|
|
|
name: '状态',
|
|
|
- width: '80',
|
|
|
+ width: this.$col.s,
|
|
|
type: 'tag',
|
|
|
fetchTagType: val => (val ? 'success' : 'info'),
|
|
|
tagName: row => (row.isShow ? '显示' : '隐藏')
|