|
|
@@ -516,7 +516,7 @@ const handleExport = () => {
|
|
|
/** 加载客户标签列表 */
|
|
|
const loadCustomerTags = async () => {
|
|
|
try {
|
|
|
- const res = await listCustomerTag({ status: '0' }); // 只获取启用状态的标签
|
|
|
+ const res = await listCustomerTag({ status: '0' } as any); // 只获取启用状态的标签
|
|
|
customerTagList.value = res.rows;
|
|
|
} catch (error) {
|
|
|
console.error('加载客户标签失败:', error);
|
|
|
@@ -526,7 +526,7 @@ const loadCustomerTags = async () => {
|
|
|
/** 加载行业分类列表 */
|
|
|
const loadIndustryCategories = async () => {
|
|
|
try {
|
|
|
- const res = await listIndustryCategory({ status: '0' }); // 只获取启用状态的行业
|
|
|
+ const res = await listIndustryCategory({ status: '0' } as any); // 只获取启用状态的行业
|
|
|
industryCategoryList.value = res.rows;
|
|
|
} catch (error) {
|
|
|
console.error('加载行业分类失败:', error);
|
|
|
@@ -546,7 +546,7 @@ const loadCompanyList = async () => {
|
|
|
/** 加载员工列表 */
|
|
|
const loadComStaffList = async () => {
|
|
|
try {
|
|
|
- const query: ComStaffQuery = { status: '0' };
|
|
|
+ const query: ComStaffQuery = { status: '0' } as any;
|
|
|
const res = await listComStaff(query);
|
|
|
comStaffList.value = res.rows || [];
|
|
|
} catch (error) {
|