Browse Source

添加教师汇入模板

liqk 4 years ago
parent
commit
807b852b22

+ 2 - 2
TEAMModelOS/ClientApp/src/components/public/frontEndMain/Index.vue

@@ -65,7 +65,7 @@
         <div calss="login-schoolName">
             {{ schoolName }}
         </div>
-        <div class="login-server">
+        <!-- <div class="login-server">
             <h5>{{ $t('login.title.ser') }}</h5>
             <Dropdown trigger="click" @on-click="chgSerType">
                 <a href="javascript:void(0)">
@@ -83,7 +83,7 @@
                     <DropdownItem name="Global">{{ $t('login.serAdress.Global') }}</DropdownItem>
                 </DropdownMenu>
             </Dropdown>
-        </div>
+        </div> -->
 
         <div class="login-body">
             <router-view />

+ 8 - 0
TEAMModelOS/ClientApp/src/view/login/page/Teacher.less

@@ -149,4 +149,12 @@
             color: white;
         }
     }
+}
+.errlable{
+    text-align: right;
+    color: #f22613;
+    font-size: 12px;
+    margin-top: -4px;
+    margin-bottom: 6px;
+    height: 12px;
 }

+ 3 - 3
TEAMModelOS/ClientApp/src/view/teachermgmt/components/personnel/Index.vue

@@ -612,13 +612,13 @@ export default {
             // 暫時寫死 日後需要變動再更改
             switch (this.srvAdr) {
                 case 'China':
-                    window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/example/teachermgmt_example.xlsx'
+                    window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E6%95%99%E5%B8%AB%E6%89%B9%E6%AC%A1%E5%8C%AF%E5%85%A5.xlsx'
                     break;
                 case 'Global':
-                    window.location.href = 'https://teammodelstorage.blob.core.windows.net/example/teachermgmt_example.xlsx'
+                    window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E6%95%99%E5%B8%AB%E6%89%B9%E6%AC%A1%E5%8C%AF%E5%85%A5.xlsx'
                     break;
                 default:
-                    window.location.href = 'https://teammodelstorage.blob.core.windows.net/example/teachermgmt_example.xlsx'
+                    window.location.href = 'https://teammodelstorage.blob.core.chinacloudapi.cn/download/%E6%95%99%E5%B8%AB%E6%89%B9%E6%AC%A1%E5%8C%AF%E5%85%A5.xlsx'
                     break;
             }
         },