浏览代码

其他佐证材料说明

cehn 6 月之前
父节点
当前提交
4b87ef1a71

+ 1 - 1
projects/textbook/src/modules/nav-author/components/attachment/attachment.component.html

@@ -354,7 +354,7 @@
   </div>
   <div class="author-content">
     <div class="title">6.其他材料(可选提供)</div>
-    <div class="text">其他佐证材料。</div>
+    <div class="text">其他佐证材料,限两份以内。</div>
     <!-- @if (moreMaterial.length>0) { @for (url of moreMaterial; track $index) {
     <p>
       <a style="color: #3e49b3; font-size: 14px" (click)="openFile(url?.url)">

+ 3 - 3
projects/textbook/src/services/textbook.ts

@@ -60,14 +60,14 @@ export class textbookServer {
   async formatNode(id: string): Promise<Array<any>> {
     if (!id) return [];
     let query = new Parse.Query('Department');
-    query.select('name', 'parent', 'hasChildren', 'type', 'branch');
+    query.select('name', 'parent.name', 'branch');
     let r = await query.get(id);
     let arr = [
       {
         title: r.get('name'),
         key: r.id,
-        hasChildren: r.get('hasChildren'), //是否是最下级
-        type: r.get('type'),
+        // hasChildren: r.get('hasChildren'), //是否是最下级
+        // type: r.get('type'),
         branch: r?.get('branch'),
         parent: r?.get('parent')?.id, //上级
       },