学习成绩增加上传限制内容

pull/1/head
qinzhenpen 1 year ago
parent 165dee0249
commit a7fc0d1bfd

Binary file not shown.

@ -77,7 +77,9 @@ const useUserStore = defineStore(
this.roles = []
this.permissions = []
User.removeToken()
User.removeUserId()
User.removeUserName()
User.removeSchoolId()
resolve()
})
},

@ -3,7 +3,7 @@ import Cookies from 'js-cookie'
const TokenKey = 'Admin-Token'
const userId = 'userid'
const userName = 'username'
const schoolId = 'schoolid'
const schoolId = 'schoolId'
// 存储学校id
export function getSchoolId() {
return Cookies.get(schoolId)

@ -15,9 +15,9 @@ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分
// baseURL: import.meta.env.VITE_APP_BASE_API,
// baseURL: 'http://118.31.7.2:8800/',
// baseURL: 'http://192.168.2.17:8800/',
// baseURL: 'http://120.79.54.255:8800/',
baseURL: 'http://qkljr.sztzjy.com:91/',
baseURL: 'http://192.168.2.17:8800/',
// baseURL: 'http://202.199.90.115:8800/',
// baseURL: 'http://qkljr.sztzjy.com:91/',
// 超时
timeout: 60000
})

@ -120,6 +120,7 @@ watch(
(newRoute) => {
// redirect.value = newRoute.query && newRoute.query.redirect;
if(newRoute.query.token){
loadpage.value=true
loginForm.value.TOKEN = newRoute.query.token
return handleLogin()
@ -154,9 +155,7 @@ function handleLogin() {
userStore
.login(params)
.then(() => {
if(params.token){
time.value=setTimeout(() => {
loadpage.value=false
return router.push({ path: redirect.value || "/enterprise/wallet" });

@ -51,7 +51,7 @@
</div>
<div class="sum_footer_unit right" style="flex-grow:3">{{ score }}</div>
</div>
</div>
</div>
</div>
<el-row>
<el-col :span="24">
@ -59,6 +59,14 @@
<span>实训报告</span>
</el-col>
</el-row>
<p style="color: #ffffff;font-size: 13px;margin-left: 8px;">
基于本模块的学习分析以下问题提交实训报告<br/>
1从国内环境和国际环境两个方面分析中国为什么要推出数字人民币<br/>
2数字人民币和传统的人民币有什么优缺点<br/>
3在数字人民币的运行机制中中央银行承担了什么作用商业银行承担了什么作用<br/>
4在国家宏观经济调控中数字人民币能发挥什么作用能够弥补传统的人民币在哪些方面的不足<br/>
5学习心得<br>
</p>
<el-row>
<el-col :span="24">
<!-- <el-button icon="el-icon-plus" type="warning" plain >资源文件</el-button> -->
@ -133,7 +141,7 @@ const tabaData = reactive([
unit: "次",
actual: "",
Standard: "次数8次得0分次数≥8次得60分每增加一次得5分满分100分",
weight: "0.2",
weight: "0.1",
score: "/",
},
{
@ -142,7 +150,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "个数4得0分个数≥4个得60分每增加一个得10分满分100分",
weight: "0.2",
weight: "0.05",
score: "/",
},
{
@ -151,7 +159,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "个数2得0分个数≥2个得60分每增加一个得10分满分100分",
weight: "0.2",
weight: "0.1",
score: "/",
},
{
@ -160,7 +168,7 @@ const tabaData = reactive([
unit: "e-CNY",
actual: "",
Standard: "金额5万得0分金额≥5万得60分每增加10万得10分满分100分",
weight: "0.2",
weight: "0.05",
score: "/",
},
{
@ -169,7 +177,7 @@ const tabaData = reactive([
unit: "e-CNY",
actual: "",
Standard: "次数2次得0分次数≥2次得60分每增加一次得10分满分100分",
weight: "0.2",
weight: "0.05",
score: "/",
},
{
@ -196,7 +204,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "个数2得0分个数≥2个得60分每增加一个得10分满分100分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -205,7 +213,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "个数2得0分个数≥2个得60分每增加一个得10分满分100分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -214,7 +222,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "开通1个得100分否则0分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -223,7 +231,7 @@ const tabaData = reactive([
unit: "次",
actual: "",
Standard: "次数2次得0分次数≥2次得60分每增加一次得10分满分100分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -232,7 +240,7 @@ const tabaData = reactive([
unit: "e-CNY",
actual: "",
Standard: "金额5万得0分金额≥5万得60分每增加10万得10分满分100分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -268,7 +276,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "个数2得0分个数≥2个得60分每增加一个得10分满分100分",
weight: "0.2",
weight: "0.05",
score: "/",
},
{
@ -277,7 +285,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "个数2得0分个数≥2个得60分每增加一个得10分满分100分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -286,7 +294,7 @@ const tabaData = reactive([
unit: "个",
actual: "",
Standard: "开通1个得100分否则0分",
weight: "",
weight: "0.05",
score: "/",
},
{
@ -295,7 +303,7 @@ const tabaData = reactive([
unit: "次",
actual: "",
Standard: "次数2次得0分次数≥2次得60分每增加一次得10分满分100分",
weight: "",
weight: "0.1",
score: "/",
},
{
@ -304,7 +312,7 @@ const tabaData = reactive([
unit: "e-CNY",
actual: "",
Standard: "次数2次得0分次数≥2次得60分每增加一次得10分满分100分",
weight: "0.2",
weight: "0.05",
score: "/",
},
{
@ -340,7 +348,7 @@ const tabaData = reactive([
unit: "e-CNY",
actual: "",
Standard: "教师评分",
weight: "",
weight: "0.1",
score: "/",
},
]);
@ -426,7 +434,7 @@ const getFilePDF=(e)=>{
const queryParasm = {
module: "数字货币",
userId: userStore.userId,
schoolId: "1"
schoolId: userStore.schoolid,
};
const formData = new FormData();
formData.append("file", file);
@ -689,7 +697,7 @@ line-height: 61px;
// padding: 20px;
:deep(.el-button--primary){
width: 172px;
height: 51px;
height: 36px;
border: 2px solid #25F4F9;
background: linear-gradient(0deg, #0654B5 0%, #003155 50%, #2CD1E4 100%);
box-shadow: 0px 5px 6px 0px rgba(0,48,255,0.77);

Loading…
Cancel
Save