소스 검색

feature:(温岭)调整登录和待办附件展示

liuzhenlin 1 개월 전
부모
커밋
9b3ed84638
5개의 변경된 파일16개의 추가작업 그리고 10개의 파일을 삭제
  1. 1 1
      manifest.json
  2. 6 0
      pages.json
  3. 1 1
      pages/my/index.vue
  4. 4 4
      pages/todo/components/document/SciAchievementOther.vue
  5. 4 4
      pages/todo/components/document/SciAchievementSoftware.vue

+ 1 - 1
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "research_dingding",
+    "name" : "科研管理助手",
     "appid" : "__UNI__F1864FA",
     "description" : "",
     "versionName" : "1.0.0",

+ 6 - 0
pages.json

@@ -11,6 +11,12 @@
       "style": {
         "navigationBarTitleText": "登录"
       }
+    },
+      {
+      "path": "pages/login/index_his",
+      "style": {
+        "navigationBarTitleText": "登录"
+      }
     },
     {
       "path": "pages/login/register",

+ 1 - 1
pages/my/index.vue

@@ -26,7 +26,7 @@
     <view class="footer">
       <!-- <uv-button customStyle="margin-bottom: 20rpx;" color="#1cb4fd" plain text="修改密码"
         @click="onRouterPush('/pages/user/password')"></uv-button> -->
-      <!-- <uv-button type="primary" text="退出登录" @click="signOut"></uv-button> -->
+      <uv-button type="primary" text="退出登录" @click="signOut"></uv-button>
     </view>
   </view>
 </template>

+ 4 - 4
pages/todo/components/document/SciAchievementOther.vue

@@ -48,10 +48,10 @@ const loading = ref(false);
 
 const attachment = computed(() => {
   if (form.value?.fileUrl) {
-    return [{
-       name: form.value.fileName || '佐证附件',
-       url: form.value.fileUrl
-    }];
+    return {
+       fileName: form.value.fileName || '佐证附件',
+       fileUrl: form.value.fileUrl
+    };
   }
   return null;
 });

+ 4 - 4
pages/todo/components/document/SciAchievementSoftware.vue

@@ -58,10 +58,10 @@ const loading = ref(false);
 
 const attachment = computed(() => {
   if (form.value?.fileUrl) {
-    return [{
-       name: form.value.fileName || '佐证附件',
-       url: form.value.fileUrl
-    }];
+    return {
+       fileName: form.value.fileName || '佐证附件',
+       fileUrl: form.value.fileUrl
+    };
   }
   return null;
 });