Browse Source

单点登录页面

liqk 3 năm trước cách đây
mục cha
commit
77969f1e62

+ 5 - 0
TEAMModelOS/ClientApp/src/router/routes.js

@@ -105,6 +105,11 @@ export const routes = [{
 		path: '/joinclass',
 		component: resolve => require(['@/view/joinclass/JoinClass.vue'], resolve)
 	},
+	//单点登录
+	{
+		path: '/sso',
+		component: resolve => require(['@/view/sso/Index.vue'], resolve)
+	},
 	// {
 	// 	path: '/MarkView',
 	// 	name:'FullMarkView',

+ 6 - 6
TEAMModelOS/ClientApp/src/view/notify/CreateNotify.vue

@@ -19,14 +19,14 @@
                 <FormItem :label="$t('notify.attr')" style="user-select: none">
                     <Checkbox v-model="notifyInfo.autoDelete" :true-value="true" :false-value="false">{{$t('notify.isAutoDel')}}</Checkbox>
                 </FormItem>
-                <!-- <FormItem prop="user" label="附件">
-                    <Upload multiple type="drag" action="//jsonplaceholder.typicode.com/posts/">
-                        <div style="padding: 20px 0">
-                            <Icon type="ios-cloud-upload" size="52" style="color: #eeeeee"></Icon>
-                            <p>上传附件</p>
+                <FormItem prop="user" label="附件">
+                    <Upload multiple type="drag" action="">
+                        <div style="padding: 20px 0; background:#eee">
+                            <Icon type="ios-cloud-upload" size="52" style="color: #fff"></Icon>
+                            <p>只能上传单个附件,如果多个附件请打包上传</p>
                         </div>
                     </Upload>
-                </FormItem> -->
+                </FormItem>
                 <FormItem style="margin-top:40px">
                     <Button type="primary" class="form-action-btn" @click="publish">
                         {{notifyInfo.id ? $t('notify.saveText') : $t('notify.publishText')}}

+ 31 - 0
TEAMModelOS/ClientApp/src/view/sso/Index.vue

@@ -0,0 +1,31 @@
+<template>
+    <div class="sso-container">
+        <img class="tmd-logo" src="@/assets/image/tmd_logo.png" alt="">
+        <h1 class="title">醍摩豆单点登录</h1>
+    </div>
+</template>
+<script>
+export default {
+    data() {
+
+    }
+}
+</script>
+<style scoped lang="less">
+.sso-container {
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    align-items: center;
+    width: 100%;
+    height: 100%;
+    background-image: url("../../assets/image/bak_light.jpg");
+    .title{
+        color: #f0f0f0;
+        margin-top: 30px;
+    }
+    .tmd-logo{
+        width: 120px;
+    }
+}
+</style>