Browse Source

fix: 服务跟进查询与显示FIX

zhangying 8 months ago
parent
commit
1f15470349

+ 9 - 1
src/main/resources/mapping/cquery/JobUserServiceCQuery.xml

@@ -30,7 +30,15 @@
                     SELECT
                     SELECT
                         '' AS ServiceID,
                         '' AS ServiceID,
                         jobUser.JobUserID,
                         jobUser.JobUserID,
-                        CONCAT( '已入职', company.CompanyName, '的', prof.ProfessionName, '岗位' ) AS ServiceContent,
+                        CONCAT(
+                        '已入职推荐的',
+                        company.CompanyName,
+                        '的',
+                        prof.ProfessionName,
+                        '岗位',
+                        IF
+                        ( mgt.remark IS NOT NULL AND mgt.remark != '', CONCAT( '(', mgt.remark, ')' ), '' )
+                        ) AS ServiceContent,
                         mgt.ModifyTime AS ServiceTime,
                         mgt.ModifyTime AS ServiceTime,
                         mgt.ModifyUserID AS ServiceUserID,
                         mgt.ModifyUserID AS ServiceUserID,
                         2 AS ServiceType
                         2 AS ServiceType

+ 1 - 1
vue/src/views/jobUserManager/jobuser/ServiceTableCom.vue

@@ -131,7 +131,7 @@ const tableColumns = [
 ];
 ];
 // 表格分页数据
 // 表格分页数据
 const tablePagination = computed(() => ({
 const tablePagination = computed(() => ({
-  total: serviceRecordsTotal,
+  total: serviceRecordsTotal.value,
   current: searchParams.pageIndex,
   current: searchParams.pageIndex,
   pageSize: searchParams.pageSize,
   pageSize: searchParams.pageSize,
   showSizeChanger: true,
   showSizeChanger: true,