Commit c2e74e03 authored by 罗超's avatar 罗超

1

parent 38089aef
...@@ -30,7 +30,14 @@ ...@@ -30,7 +30,14 @@
data data
}) })
} }
// 获取客户线索规则列表
static async getCustomerClueRuleList(data:any): Promise<HttpResponse> {
return Axios('QYCustomer/GetCustomerClueRuleList', {
method: 'post',
responseType: 'json',
data
})
}
} }
export default customerService export default customerService
...@@ -122,7 +122,7 @@ const CustomerModule = () => { ...@@ -122,7 +122,7 @@ const CustomerModule = () => {
} }
} }
const changePage = (val:any) => { const changePage = (val:any) => {
console.log(val); console.log(125,val)
} }
return { getCustomerList,data,msg,title,TypeList,SeletObj,getSelectWay,TimeObj,TimeList,changePage,pagination} return { getCustomerList,data,msg,title,TypeList,SeletObj,getSelectWay,TimeObj,TimeList,changePage,pagination}
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<tr v-if="data && data.length==0"> <tr v-if="data && data.length==0">
<td :colspan="8" align="center">暂无数据</td> <td :colspan="8" align="center">暂无数据</td>
</tr> </tr>
<draggable v-model="data" tag="tbody" item-key="Id" @update="datadragEnd" :clone="cloneFun"> <draggable v-model="data" tag="tbody" item-key="Id" @update="datadragEnd">
<template #item="{ element }"> <template #item="{ element }">
<tr> <tr>
<td><span>{{element.Name}}</span></td> <td><span>{{element.Name}}</span></td>
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
const data =ref([]); const data =ref([]);
const changePage = () => { const changePage = () => {
customerService.getCustomerFiledList({ Enable: -1 }).then((res) => { customerService.getCustomerFiledList({ Enable: -1 }).then((res) => {
console.log(132,res)
data.value=res.data.Data data.value=res.data.Data
}) })
} }
......
...@@ -13,9 +13,11 @@ ...@@ -13,9 +13,11 @@
<q-tab name="yewumoshi" label="业务模式" /> <q-tab name="yewumoshi" label="业务模式" />
<q-tab name="field" label="客户字段" /> <q-tab name="field" label="客户字段" />
<q-tab name="label" label="标签" /> <q-tab name="label" label="标签" />
<q-tab name="clue" label="线索分配规则" />
</q-tabs> </q-tabs>
<div v-if="tab == 'field'"> <div>
<customer-Field></customer-Field> <customer-Field v-if="tab == 'field'"></customer-Field>
<clue-rule v-if="tab == 'clue'"></clue-rule>
</div> </div>
</q-page> </q-page>
</div> </div>
...@@ -23,13 +25,15 @@ ...@@ -23,13 +25,15 @@
<script lang="ts"> <script lang="ts">
import customerField from './components/customerField.vue' import customerField from './components/customerField.vue'
import clueRule from './components/clueRule.vue'
import { import {
defineComponent, defineComponent,
ref ref
} from 'vue' } from 'vue'
export default defineComponent({ export default defineComponent({
components: { components: {
customerField customerField,
clueRule
}, },
setup() { setup() {
return { return {
......
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