|
@@ -158,12 +158,12 @@ const selectData = reactive({ // 下拉数据
|
|
Customer: [] as any[],
|
|
Customer: [] as any[],
|
|
})
|
|
})
|
|
const filterItems = ref<FilterItem[]>([
|
|
const filterItems = ref<FilterItem[]>([
|
|
- { label: '联系人', key: 'contactPerson', type: 'input' },
|
|
|
|
- { label: '客户名称', key: 'customerId', type: 'select', options: selectData.Customer },
|
|
|
|
- { label: '电话号码', key: 'phoneNumber', type: 'input' },
|
|
|
|
|
|
+ { label: '联系人', key: 'name', type: 'input' },
|
|
|
|
+ { label: '客户名称', key: 'customId', type: 'select', options: selectData.Customer },
|
|
|
|
+ { label: '电话号码', key: 'phone', type: 'input' },
|
|
{ label: '邮箱', key: 'email', type: 'input' },
|
|
{ label: '邮箱', key: 'email', type: 'input' },
|
|
- { label: '负责人', key: 'responsibleId', type: 'select', options: selectData.Personnel },
|
|
|
|
- { label: '创建人', key: 'createId', type: 'select', options: selectData.Personnel },
|
|
|
|
|
|
+ { label: '负责人', key: 'ownerId', type: 'select', options: selectData.Personnel },
|
|
|
|
+ { label: '创建人', key: 'creatorId', type: 'select', options: selectData.Personnel },
|
|
])
|
|
])
|
|
const contactsTemplate = ref({
|
|
const contactsTemplate = ref({
|
|
list: [],
|
|
list: [],
|
|
@@ -397,12 +397,12 @@ function closeVisible(type: keyof typeof allVisible) {
|
|
function setFilterItems() {
|
|
function setFilterItems() {
|
|
console.log(selectData)
|
|
console.log(selectData)
|
|
filterItems.value = [
|
|
filterItems.value = [
|
|
- { label: '联系人', key: 'contactPerson', type: 'input' },
|
|
|
|
- { label: '客户名称', key: 'customerId', type: 'select', options: selectData.Customer },
|
|
|
|
- { label: '电话号码', key: 'phoneNumber', type: 'input' },
|
|
|
|
|
|
+ { label: '联系人', key: 'name', type: 'input' },
|
|
|
|
+ { label: '客户名称', key: 'customId', type: 'select', options: selectData.Customer },
|
|
|
|
+ { label: '电话号码', key: 'phone', type: 'input' },
|
|
{ label: '邮箱', key: 'email', type: 'input' },
|
|
{ label: '邮箱', key: 'email', type: 'input' },
|
|
- { label: '负责人', key: 'responsibleId', type: 'select', options: selectData.Personnel },
|
|
|
|
- { label: '创建人', key: 'createId', type: 'select', options: selectData.Personnel },
|
|
|
|
|
|
+ { label: '负责人', key: 'ownerId', type: 'select', options: selectData.Personnel },
|
|
|
|
+ { label: '创建人', key: 'creatorId', type: 'select', options: selectData.Personnel },
|
|
]
|
|
]
|
|
}
|
|
}
|
|
|
|
|