Commit 37ff948c by linjinhong

添加router name

parent 4265be38
......@@ -76,7 +76,7 @@ const routes = [
path: '/saas/services',
component: () => import('@/views/system/services.vue'),
name: 'system_services',
meta: { title: '服务管理', keepAlive: false }
meta: { title: '服务管理' }
},
{
path: '/saas/erpManagementList',
......
<template>
<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">
<table-vue
:sourceData="sourceData"
......@@ -22,14 +34,15 @@
</template>
<script>
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 tableVue from '@/common/components/base/tableView.vue'
export default {
name: 'erpManagementList',
components: {
tableVue
tableVue,
CustomForm
},
data() {
return {
......@@ -46,24 +59,6 @@ export default {
type: 'select',
name: '名称',
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 {
{ label: item.label, type: item.type, value: item.value }
])
)
this.queryformConfig[0].options = [...newData]
console.log(509, this.serviceNameList)
} catch (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