Commit c2e74e03 authored by 罗超's avatar 罗超

1

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