Lijy 1 год назад
Родитель
Сommit
2e3af50d56

+ 10 - 10
fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/contacts/index.vue

@@ -158,12 +158,12 @@ const selectData = reactive({ // 下拉数据
   Customer: [] as any[],
 })
 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: '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({
   list: [],
@@ -397,12 +397,12 @@ function closeVisible(type: keyof typeof allVisible) {
 function setFilterItems() {
   console.log(selectData)
   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: '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 },
   ]
 }
 

+ 1 - 1
fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/tasks/index.vue

@@ -227,7 +227,7 @@ function newExportTasks() {
     startDate: startDate && dayjs(startDate).format('YYYY-MM-DD 00:00:00'),
     endDate: endDate && dayjs(endDate).format('YYYY-MM-DD 23:59:59')
   }
-  post(EXPORT_DATA_BY_TASK_ID, {...getFromValue(params)}).then((res) => {
+  post(EXPORT_DATA, {...getFromValue(params)}).then((res) => {
     globalPopup?.showSuccess("导出成功")
     downloadFile(res.data, "任务列表.xlsx");
   }).finally(() => {