2 Commits 1f8fff0202 ... 85d50c655b

Author SHA1 Message Date
  danch 85d50c655b 知识管理】在文章少的分类之间切换,切换第2次(>=2)时,底部分割线内容应为:暂无更多内容 2 weeks ago
  danch d6d4ab3e8c 1. 【知识管理】标题样式未占满一行,建议占满整行,超出部分显示. 2 weeks ago

+ 3 - 2
src/views/kms/knowledge/article/ArticleList.vue

@@ -82,7 +82,7 @@
                               </template>
                               <div @click="handleTitleClick(item)" class="title">
                                 <span
-                                  v-html="highlightMatch(getFirstThirtyChars(item.title))"></span>
+                                  v-html="highlightMatch((item.title))"></span>
                               </div>
                             </a-popover>
                           </template>
@@ -353,11 +353,12 @@ async function loadArticleList() {
   await queryPageListByFilters(param).then(res => {
     articleList.value = res.records;
     scrollContainer.value.scrollTo(0, 1);
-    if (res.records < 10) {
+    if (res.records.length < 10) {
       loadingMoreType.value = false;
     }
     articleListSpinning.value = false;
   });
+
 }
 
 // 文章卡片作者、标签

+ 2 - 2
src/views/kms/knowledge/article/ArticleManage.data.ts

@@ -41,7 +41,7 @@ export const columns: BasicColumn[] = [
     dataIndex: 'sysOrgCode_dictText'
   },
   {
-    title: '日期',
+    title: '创建日期',
     align: "center",
     dataIndex: 'createTime'
   },
@@ -73,7 +73,7 @@ export const searchFormSchema: FormSchema[] = [
     component: 'JDictSelectTag',
     componentProps: {
       showSearch: true,
-      dictCode: 'sys_user,realname,username,status="1"',
+      dictCode: `sys_user,realname,username,status=${1}`,
     },
   },
 ];