Commit 37ff948c by linjinhong

添加router name

parent 4265be38
...@@ -76,7 +76,7 @@ const routes = [ ...@@ -76,7 +76,7 @@ const routes = [
path: '/saas/services', path: '/saas/services',
component: () => import('@/views/system/services.vue'), component: () => import('@/views/system/services.vue'),
name: 'system_services', name: 'system_services',
meta: { title: '服务管理', keepAlive: false } meta: { title: '服务管理' }
}, },
{ {
path: '/saas/erpManagementList', path: '/saas/erpManagementList',
......
<template> <template>
<div class="wraper"> <div class="wraper">
<CustomForm
:formConfig="queryformConfig"
v-model="queryFormData"
form-label-width="70px"
:is-custom-button="false"
:isFlex="false">
<template slot="btn">
<el-button type="primary" icon="el-icon-search" @click="search">
查询
</el-button>
</template>
</CustomForm>
<div class="table_wrap" v-loading="loading"> <div class="table_wrap" v-loading="loading">
<table-vue <table-vue
:sourceData="sourceData" :sourceData="sourceData"
...@@ -22,14 +34,15 @@ ...@@ -22,14 +34,15 @@
</template> </template>
<script> <script>
import axios from '../../common/api/axios' import axios from '../../common/api/axios'
// import CustomForm from '@/common/components/base/CustomForm.vue' import CustomForm from '@/common/components/base/CustomForm.vue'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import tableVue from '@/common/components/base/tableView.vue' import tableVue from '@/common/components/base/tableView.vue'
export default { export default {
name: 'erpManagementList', name: 'erpManagementList',
components: { components: {
tableVue tableVue,
CustomForm
}, },
data() { data() {
return { return {
...@@ -46,24 +59,6 @@ export default { ...@@ -46,24 +59,6 @@ export default {
type: 'select', type: 'select',
name: '名称', name: '名称',
options: [] options: []
},
{
prop: 'type',
type: 'select',
name: '服务类型',
options: [
{ label: '基础', value: 'basics' },
{ label: '增值', value: 'appreciation' }
]
},
{
prop: 'enable',
type: 'select',
name: '状态',
options: [
{ label: '启用', value: true },
{ label: '停用', value: false }
]
} }
], ],
...@@ -338,6 +333,7 @@ export default { ...@@ -338,6 +333,7 @@ export default {
{ label: item.label, type: item.type, value: item.value } { label: item.label, type: item.type, value: item.value }
]) ])
) )
this.queryformConfig[0].options = [...newData]
console.log(509, this.serviceNameList) console.log(509, this.serviceNameList)
} catch (error) { } catch (error) {
console.log(error) console.log(error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment