Commit b88ce1dc authored by zhengke's avatar zhengke

修改

parent fb797971
......@@ -50,7 +50,7 @@
</div>
</template>
<script lang="ts">
import { defineComponent, ref, onMounted } from 'vue'
import { defineComponent , onMounted } from 'vue'
import customerService from '@/api/customer'
export default defineComponent({
......
<template>
<div class="q-pa-md">
<q-page padding style="background: #FFF;border-radius: 10px;">
<q-tabs v-model="tab" dense class="text-grey" align="left" active-color="primary" indicator-color="primary" narrow-indicator>
<q-tab name="yewumoshi" label="业务模式" />
<q-tab name="field" label="客户字段" />
<q-tab name="label" label="标签" />
</q-tabs>
<div v-if="tab=='field'" >
 <customer-Field></customer-Field>
</div>
<div class="q-pa-md">
<q-page padding style="background: #FFF;border-radius: 10px;">
</q-page>
<q-tabs v-model="tab" dense class="text-grey" align="left" active-color="primary" indicator-color="primary"
narrow-indicator>
<q-tab name="yewumoshi" label="业务模式" />
<q-tab name="field" label="客户字段" />
<q-tab name="label" label="标签" />
</q-tabs>
<div v-if="tab=='field'">
 <customer-Field></customer-Field>
</div>
</div>
</q-page>
</div>
</template>
<script lang="ts">
import customerField from './components/customerField.vue'
import { defineComponent, ref } from 'vue'
export default defineComponent({
components: { customerField },
setup() {
return{
tab:ref('field')
}
import customerField from './components/customerField.vue'
import {
defineComponent,
ref
} from 'vue'
export default defineComponent({
components: {
customerField
},
setup() {
return {
tab: ref('field')
}
}
})
}
})
</script>
......@@ -16,16 +16,19 @@ const routes: RouteRecordRaw[] = [
component: () => import('@/layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('@/pages/customer/customerSetup.vue') }]
},
{
path:'/auth/login',
path: '/customer',
component: () => import('@/layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('@/pages/customerManage/customer.vue') }]
},
{
path: '/auth/login',
component: () => import('@/pages/auth/login.vue')
},
{
path:'/auth/regist',
path: '/auth/regist',
component: () => import('@/pages/auth/regist.vue')
},
// Always leave this as last one,
// but you can also remove it
{
......
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