提交 c8e33365 编写于 作者: 刘英杰's avatar 刘英杰

- 20240517

    - 系统角色切换;
    - 教师奖励和学生奖励合并成”师生奖励“
    - 学生补助和教师工作量和成绩申报合并成  “成绩申报“
    - ”师生奖励“和“成绩申报“ 表单界面优化
上级 1bf0b17e
流水线 #26131 已失败 ,包含阶段
in 12 second
# iView Admin Pro Template # 竞赛管理系统
- 更新日志
- 20240517
- 系统角色切换;
- 教师奖励和学生奖励合并成”师生奖励“
- 学生补助和教师工作量和成绩申报合并成 “成绩申报“
- ”师生奖励“和“成绩申报“ 表单界面优化
/*统一登录*/ /*统一登录*/
(function () { (function () {
var Identify = function () { var Identify = function () {
var serverpage = 'asc.hnasct.cn';//服务器地址 var serverpage = 'asc.hnasct.cn';//服务器地址
...@@ -59,9 +59,9 @@ ...@@ -59,9 +59,9 @@
pathname = DelParamFromUrl(pathname, 'extlgt'); pathname = DelParamFromUrl(pathname, 'extlgt');
pathname = DelParamFromUrl(pathname, 'extsign'); pathname = DelParamFromUrl(pathname, 'extsign');
if (extkey) {//第三方调用 if (extkey) {//第三方调用
extsys = { extjump: extjump, extkey: extkey, extlgt: extlgt, extsign: extsign }; extsys = {extjump: extjump, extkey: extkey, extlgt: extlgt, extsign: extsign};
} else {//内部对接 } else {//内部对接
extsys = { extjump: extjump }; extsys = {extjump: extjump};
} }
} else { } else {
pathname = DelParamFromUrl(pathname, 'token'); pathname = DelParamFromUrl(pathname, 'token');
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
s = s.replace(/([\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}])/g, '\\\$1'); s = s.replace(/([\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}])/g, '\\\$1');
return s; return s;
} }
//从引入的js链接获取options的参数 //从引入的js链接获取options的参数
function SetOptions(pathname) { function SetOptions(pathname) {
var k = Object.keys(options); var k = Object.keys(options);
...@@ -109,6 +110,7 @@ ...@@ -109,6 +110,7 @@
} }
} }
} }
//对象赋值 //对象赋值
function ObjectExtend(target, source) { function ObjectExtend(target, source) {
if (source) { if (source) {
...@@ -118,6 +120,7 @@ ...@@ -118,6 +120,7 @@
} }
} }
} }
//跳转(锚点跳转也会强行刷新页面) //跳转(锚点跳转也会强行刷新页面)
function Jump(url) { function Jump(url) {
var jurl = url; var jurl = url;
...@@ -135,25 +138,33 @@ ...@@ -135,25 +138,33 @@
if (options.jumplevel == '1') { if (options.jumplevel == '1') {
top.location.href = url; top.location.href = url;
if (jurl == curl) setTimeout(function () { top.location.reload(); }, 500); if (jurl == curl) setTimeout(function () {
top.location.reload();
}, 500);
} else { } else {
self.location.href = url; self.location.href = url;
if (jurl == curl) setTimeout(function () { self.location.reload(); }, 500); if (jurl == curl) setTimeout(function () {
self.location.reload();
}, 500);
} }
} }
//获取当前页面url //获取当前页面url
function GetUrl() { function GetUrl() {
return self.location.href; return self.location.href;
} }
//判断是否是登录主页 //判断是否是登录主页
function IsMainPage(pathname) { function IsMainPage(pathname) {
pathname = pathname.replace(/[^:](\/)\1+/g, '/');//将多个'/'符号合并成1个,如果前面为':'符号则合并成2个 pathname = pathname.replace(/[^:](\/)\1+/g, '/');//将多个'/'符号合并成1个,如果前面为':'符号则合并成2个
return eval(options.mainpagepatten).test(pathname); return eval(options.mainpagepatten).test(pathname);
} }
//判断是否是app登录 //判断是否是app登录
function IsAppOS(os) { function IsAppOS(os) {
return options.os.indexOf(os) != -1; return options.os.indexOf(os) != -1;
} }
//判断是否是app主页 //判断是否是app主页
function IsAppPage(pathname) { function IsAppPage(pathname) {
return pathname.search(/([\/]|^)apppage.html[\?\#\&]?/i) != -1; return pathname.search(/([\/]|^)apppage.html[\?\#\&]?/i) != -1;
...@@ -172,7 +183,7 @@ ...@@ -172,7 +183,7 @@
SetOptions(filepath); SetOptions(filepath);
var scriptparentnode = obj[i].parentNode; var scriptparentnode = obj[i].parentNode;
filepath = filepath.substring(0, pl).toLowerCase(); filepath = filepath.substring(0, pl).toLowerCase();
res = { scriptparentnode: scriptparentnode, filepath: filepath }; res = {scriptparentnode: scriptparentnode, filepath: filepath};
break; break;
} }
} }
...@@ -192,6 +203,7 @@ ...@@ -192,6 +203,7 @@
} }
return res; return res;
} }
//动态加载css代码 //动态加载css代码
function LoadStyle(obj, src, callback) { function LoadStyle(obj, src, callback) {
var link = jsinfo['document'].createElement('link'); var link = jsinfo['document'].createElement('link');
...@@ -204,6 +216,7 @@ ...@@ -204,6 +216,7 @@
}, false); }, false);
obj.appendChild(link); obj.appendChild(link);
} }
//动态加载指定css文件 //动态加载指定css文件
function LoadStyleFile(cssfile, callback) { function LoadStyleFile(cssfile, callback) {
var loadcount = 0; var loadcount = 0;
...@@ -217,6 +230,7 @@ ...@@ -217,6 +230,7 @@
}); });
} }
} }
//动态加载js代码 //动态加载js代码
function LoadScript(obj, src, callback) { function LoadScript(obj, src, callback) {
var script = document.createElement('script'); var script = document.createElement('script');
...@@ -227,6 +241,7 @@ ...@@ -227,6 +241,7 @@
}, false); }, false);
obj.appendChild(script); obj.appendChild(script);
} }
//动态加载指定js文件 //动态加载指定js文件
function LoadScriptFile(jsfile, callback) { function LoadScriptFile(jsfile, callback) {
var loadcount = 0; var loadcount = 0;
...@@ -239,6 +254,7 @@ ...@@ -239,6 +254,7 @@
}); });
} }
} }
//url添加参数 //url添加参数
function AddParamToUrl(url, param, value) { function AddParamToUrl(url, param, value) {
var q = url.indexOf('?' + param + '='); var q = url.indexOf('?' + param + '=');
...@@ -283,6 +299,7 @@ ...@@ -283,6 +299,7 @@
} }
} }
} }
//url删除参数 //url删除参数
function DelParamFromUrl(url, param) { function DelParamFromUrl(url, param) {
while (true) { while (true) {
...@@ -307,6 +324,7 @@ ...@@ -307,6 +324,7 @@
} }
return url; return url;
} }
//获取GET参数(获取query或hash的第一个token) //获取GET参数(获取query或hash的第一个token)
function GetQueryString(name, url) { function GetQueryString(name, url) {
if (!url) url = GetUrl(); if (!url) url = GetUrl();
...@@ -514,6 +532,7 @@ ...@@ -514,6 +532,7 @@
} }
} }
} }
//非APP页面自动跳转 //非APP页面自动跳转
function PCAutoJump() { function PCAutoJump() {
var refreshtime = parseInt(options.autojump); var refreshtime = parseInt(options.autojump);
...@@ -523,7 +542,9 @@ ...@@ -523,7 +542,9 @@
var div = jsinfo['document'].createElement('div'); var div = jsinfo['document'].createElement('div');
div.setAttribute('id', mask); div.setAttribute('id', mask);
div.style.cssText = 'width:100%;height:1200px;position:fixed;top:0;left:0;z-index:99999;text-align:center;background:rgba(255,255,255,1);opacity:1;'; div.style.cssText = 'width:100%;height:1200px;position:fixed;top:0;left:0;z-index:99999;text-align:center;background:rgba(255,255,255,1);opacity:1;';
if (!jsinfo['document'].body) { jsinfo['document'].body = body; } if (!jsinfo['document'].body) {
jsinfo['document'].body = body;
}
jsinfo['document'].body.appendChild(div); jsinfo['document'].body.appendChild(div);
jsinfo['document'].body.parentNode.style.overflow = 'hidden'; jsinfo['document'].body.parentNode.style.overflow = 'hidden';
div.innerHTML = '<br/>登录超时,页面将在<font style="color:red;font-weight:bold;font-size:20px;">' + refreshtime + '</font>秒内跳转到登录界面'; div.innerHTML = '<br/>登录超时,页面将在<font style="color:red;font-weight:bold;font-size:20px;">' + refreshtime + '</font>秒内跳转到登录界面';
...@@ -545,6 +566,7 @@ ...@@ -545,6 +566,7 @@
} }
} }
} }
//alert //alert
function Alert(message, ok, title) { function Alert(message, ok, title) {
if (!title && isapp) title = '错误提示'; if (!title && isapp) title = '错误提示';
...@@ -564,7 +586,9 @@ ...@@ -564,7 +586,9 @@
var maskdiv = jsinfo['document'].createElement('div'); var maskdiv = jsinfo['document'].createElement('div');
maskdiv.setAttribute('id', mask); maskdiv.setAttribute('id', mask);
maskdiv.classList.add('alert-mask'); maskdiv.classList.add('alert-mask');
if (!jsinfo['document'].body) { jsinfo['document'].body = body; } if (!jsinfo['document'].body) {
jsinfo['document'].body = body;
}
jsinfo['document'].body.appendChild(maskdiv); jsinfo['document'].body.appendChild(maskdiv);
maskdiv.innerHTML = '<div class="alert-box">' maskdiv.innerHTML = '<div class="alert-box">'
+ '<div class="alert-box__header"><div class="alert-box__title"><span>' + title + '</span></div></div>' + '<div class="alert-box__header"><div class="alert-box__title"><span>' + title + '</span></div></div>'
...@@ -583,9 +607,10 @@ ...@@ -583,9 +607,10 @@
}); });
} }
//判断密码是否有强密码 //判断密码是否有强密码
function IsPasswordOK(pwd) { function IsPasswordOK(pwd) {
var obj = { code: 1000, token: GetParams(options.tokenname), message: '', status: 'fail' }; var obj = {code: 1000, token: GetParams(options.tokenname), message: '', status: 'fail'};
if (!pwd || pwd.length < parseInt(options.pwdlength)) { if (!pwd || pwd.length < parseInt(options.pwdlength)) {
obj.message = '密码长度不足' + options.pwdlength + '位'; obj.message = '密码长度不足' + options.pwdlength + '位';
return obj; return obj;
...@@ -605,6 +630,7 @@ ...@@ -605,6 +630,7 @@
obj.code = 0; obj.code = 0;
return obj; return obj;
} }
//判断token是否超时 //判断token是否超时
function IsTokenOvertime(token) { function IsTokenOvertime(token) {
try { try {
...@@ -639,6 +665,7 @@ ...@@ -639,6 +665,7 @@
return -1; return -1;
} }
} }
//判断token是否有某个编号的权限 //判断token是否有某个编号的权限
function IsTokenHavePermission(module, per, pertype) { function IsTokenHavePermission(module, per, pertype) {
try { try {
...@@ -654,6 +681,7 @@ ...@@ -654,6 +681,7 @@
return false; return false;
} }
} }
//获取token的信息 //获取token的信息
function GetTokenInfo(token) { function GetTokenInfo(token) {
try { try {
...@@ -693,6 +721,7 @@ ...@@ -693,6 +721,7 @@
document.cookie = name + '=' + escape(value) + ';path=/;expires=' + exp.toGMTString + ';'; document.cookie = name + '=' + escape(value) + ';path=/;expires=' + exp.toGMTString + ';';
} }
} }
//获取参数 //获取参数
function GetParams(name) { function GetParams(name) {
if (options.savetype == '1') { if (options.savetype == '1') {
...@@ -709,6 +738,7 @@ ...@@ -709,6 +738,7 @@
return ''; return '';
} }
} }
//清除参数 //清除参数
function ClearParams(name) { function ClearParams(name) {
if (options.savetype == '1') { if (options.savetype == '1') {
...@@ -719,6 +749,7 @@ ...@@ -719,6 +749,7 @@
document.cookie = name + '=' + ';path=/;expires=' + exp.toGMTString + ';'; document.cookie = name + '=' + ';path=/;expires=' + exp.toGMTString + ';';
} }
} }
//获取模块的权限 //获取模块的权限
function GetPermission(moduleid, async) { function GetPermission(moduleid, async) {
module_id = moduleid; module_id = moduleid;
...@@ -729,7 +760,7 @@ ...@@ -729,7 +760,7 @@
if (xhr.readyState == 4) { if (xhr.readyState == 4) {
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304) { if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304) {
s = JSON.parse(xhr.responseText); s = JSON.parse(xhr.responseText);
permission[s.module_id] = { role: s.role, api: s.api }; permission[s.module_id] = {role: s.role, api: s.api};
if (_this.onChangeToken) _this.onChangeToken(s); if (_this.onChangeToken) _this.onChangeToken(s);
} }
} }
...@@ -748,6 +779,7 @@ ...@@ -748,6 +779,7 @@
return null; return null;
} }
} }
//续签token //续签token
function RefreshToken(async) { function RefreshToken(async) {
var s; var s;
...@@ -777,6 +809,7 @@ ...@@ -777,6 +809,7 @@
} }
} }
//更换用户 //更换用户
function ChangeUser(userid, async) { function ChangeUser(userid, async) {
permission = {}; permission = {};
...@@ -857,6 +890,7 @@ ...@@ -857,6 +890,7 @@
} }
} }
} }
//注销后操作 //注销后操作
function LogoutOP(res) { function LogoutOP(res) {
ClearParams(options.tokenname); ClearParams(options.tokenname);
...@@ -1000,7 +1034,12 @@ ...@@ -1000,7 +1034,12 @@
this.ChangePassword = function (oldpwd, newpwd, checkpwd, userid) { this.ChangePassword = function (oldpwd, newpwd, checkpwd, userid) {
var token = GetParams(options.tokenname); var token = GetParams(options.tokenname);
if (newpwd != checkpwd) { if (newpwd != checkpwd) {
if (_this.onChangePassword) _this.onChangePassword({ code: 1000, token: token, message: '输入的新密码不一致', status: 'fail' }); if (_this.onChangePassword) _this.onChangePassword({
code: 1000,
token: token,
message: '输入的新密码不一致',
status: 'fail'
});
return; return;
} }
var obj = IsPasswordOK(newpwd); var obj = IsPasswordOK(newpwd);
......
.carClass[data-v-48d0466b]{border-radius:0!important;margin-bottom:20px}.carClass[data-v-48d0466b] .ivu-card{display:block;background:#fff;border-radius:0!important;font-size:14px;position:relative;transition:all .2s ease-in-out}[data-v-48d0466b] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-48d0466b]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-48d0466b]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-48d0466b]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-48d0466b]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-48d0466b]:hover{transform:scale(1.2)}.container[data-v-48d0466b]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-48d0466b],.tableList[data-v-0e7d38f4]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-0e7d38f4]{border-collapse:collapse}.tableList .container1 .row[data-v-0e7d38f4]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-0e7d38f4]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-0e7d38f4]{width:500px;height:50px;text-align:center}.Atext[data-v-0e7d38f4]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-0e7d38f4]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file
.carClass[data-v-2884a824]{border-radius:0!important;margin-bottom:20px}.carClass[data-v-2884a824] .ivu-card{display:block;background:#fff;border-radius:0!important;font-size:14px;position:relative;transition:all .2s ease-in-out}[data-v-2884a824] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-2884a824]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-2884a824]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-2884a824]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-2884a824]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-2884a824]:hover{transform:scale(1.2)}.container[data-v-2884a824]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-2884a824],.tableList[data-v-03d0f3be]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-03d0f3be]{border-collapse:collapse}.tableList .container1 .row[data-v-03d0f3be]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-03d0f3be]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-03d0f3be]{width:500px;height:50px;text-align:center}.Atext[data-v-03d0f3be]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-03d0f3be]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file
[data-v-2c5f0c6c] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-2c5f0c6c]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-2c5f0c6c]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-2c5f0c6c]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-2c5f0c6c]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-2c5f0c6c]:hover{transform:scale(1.2)}.container[data-v-2c5f0c6c]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-2c5f0c6c],.tableList[data-v-e2b16e80]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-e2b16e80]{border-collapse:collapse}.tableList .container1 .row[data-v-e2b16e80]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-e2b16e80]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-e2b16e80]{width:500px;height:50px;text-align:center}.Atext[data-v-e2b16e80]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-e2b16e80]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file
[data-v-506a242a] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-506a242a]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-506a242a]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-506a242a]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-506a242a]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-506a242a]:hover{transform:scale(1.2)}.container[data-v-506a242a]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-506a242a],.tableList[data-v-229c7144]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-229c7144]{border-collapse:collapse}.tableList .container1 .row[data-v-229c7144]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-229c7144]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-229c7144]{width:500px;height:50px;text-align:center}.Atext[data-v-229c7144]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-229c7144]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff} [data-v-506a242a] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-506a242a]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-506a242a]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-506a242a]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-506a242a]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-506a242a]:hover{transform:scale(1.2)}.container[data-v-506a242a]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-506a242a],.tableList[data-v-85215382]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-85215382]{border-collapse:collapse}.tableList .container1 .row[data-v-85215382]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-85215382]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-85215382]{width:500px;height:50px;text-align:center}.Atext[data-v-85215382]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-85215382]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file \ No newline at end of file
[data-v-8c28ee8c] .ivu-menu{display:block;margin:0;padding:0;outline:none;list-style:none;color:#515a6e;font-size:14px;position:relative;z-index:1}
\ No newline at end of file
[data-v-4fe87995] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-4fe87995] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-4fe87995]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-4fe87995]:hover{color:red;transform:scale(1.5)}.competitionClassIcon{display:flex;align-items:center;cursor:pointer}.competitionClassIcon:hover{transform:scale(1.5);color:red}.container{overflow-y:auto;width:100%;//min-height:987px;display:flex;align-content:center;justify-content:center;flex-wrap:wrap}.Atext{margin-left:auto;margin-bottom:.7vw;margin-top:.7vw;font-size:16px} [data-v-637492aa] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-637492aa] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-637492aa]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-637492aa]:hover{color:red;transform:scale(1.5)}.competitionClassIcon{display:flex;align-items:center;cursor:pointer}.competitionClassIcon:hover{transform:scale(1.5);color:red}.container{overflow-y:auto;width:100%;//min-height:987px;display:flex;align-content:center;justify-content:center;flex-wrap:wrap}.Atext{margin-left:auto;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}
\ No newline at end of file \ No newline at end of file
[data-v-e2eec3de] .ivu-menu{display:block;margin:0;padding:0;outline:none;list-style:none;color:#515a6e;font-size:14px;position:relative;z-index:1}
\ No newline at end of file
[data-v-5f6d4b39] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-5f6d4b39]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-5f6d4b39]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-5f6d4b39]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-5f6d4b39]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-5f6d4b39]:hover{transform:scale(1.2)}.container[data-v-5f6d4b39]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-5f6d4b39],.tableList[data-v-68d25557]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-68d25557]{border-collapse:collapse}.tableList .container1 .row[data-v-68d25557]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-68d25557]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-68d25557]{width:500px;height:50px;text-align:center}.Atext[data-v-68d25557]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-68d25557]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff} [data-v-5f6d4b39] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-5f6d4b39]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-5f6d4b39]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-5f6d4b39]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-5f6d4b39]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-5f6d4b39]:hover{transform:scale(1.2)}.container[data-v-5f6d4b39]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-5f6d4b39],.tableList[data-v-543e557c]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-543e557c]{border-collapse:collapse}.tableList .container1 .row[data-v-543e557c]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-543e557c]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-543e557c]{width:500px;height:50px;text-align:center}.Atext[data-v-543e557c]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-543e557c]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file \ No newline at end of file
[data-v-1a0a328d] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-1a0a328d]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-1a0a328d]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-1a0a328d]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-1a0a328d]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-1a0a328d]:hover{transform:scale(1.2)}.container[data-v-1a0a328d]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-1a0a328d],.tableList[data-v-1e276681]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-1e276681]{border-collapse:collapse}.tableList .container1 .row[data-v-1e276681]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-1e276681]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-1e276681]{width:500px;height:50px;text-align:center}.Atext[data-v-1e276681]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-1e276681]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file
[data-v-42cb7f86] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-42cb7f86]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-42cb7f86]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-42cb7f86]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-42cb7f86]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-42cb7f86]:hover{transform:scale(1.2)}.container[data-v-42cb7f86]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-42cb7f86],.tableList[data-v-13e8b1df]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-13e8b1df]{border-collapse:collapse}.tableList .container1 .row[data-v-13e8b1df]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-13e8b1df]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-13e8b1df]{width:500px;height:50px;text-align:center}.Atext[data-v-13e8b1df]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-13e8b1df]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff} [data-v-42cb7f86] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-42cb7f86]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-42cb7f86]:hover{color:red;transform:scale(1.5)}.teamCardExtraText[data-v-42cb7f86]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}.Atext[data-v-42cb7f86]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px;position:absolute}.Atext[data-v-42cb7f86]:hover{transform:scale(1.2)}.container[data-v-42cb7f86]{width:100%;min-height:687px;height:auto;align-content:center;overflow-y:auto}.container[data-v-42cb7f86],.tableList[data-v-3954a578]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-3954a578]{border-collapse:collapse}.tableList .container1 .row[data-v-3954a578]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-3954a578]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-3954a578]{width:500px;height:50px;text-align:center}.Atext[data-v-3954a578]{margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.teamCardExtraText[data-v-3954a578]{font-size:18px;font-weight:600;font-family:宋体;color:#1e93ff}
\ No newline at end of file \ No newline at end of file
[data-v-91d0b704] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-91d0b704] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-91d0b704]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-91d0b704]:hover{color:red;transform:scale(1.5)}.competitionClassIcon{display:flex;align-items:center;cursor:pointer}.competitionClassIcon:hover{transform:scale(1.5);color:red}.container{overflow-y:auto;width:100%;//min-height:987px;display:flex;align-content:center;justify-content:center;flex-wrap:wrap}.Atext{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.Atext:hover{transform:scale(1.2)}.tableList[data-v-d6d2adac]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-d6d2adac]{border-collapse:collapse}.tableList .container1 .row[data-v-d6d2adac]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-d6d2adac]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-d6d2adac]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-d6d2adac]:hover{transform:scale(1.2)}.tableList .container1 .Atext[data-v-d6d2adac]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.tableList .container1 .Atext[data-v-d6d2adac]:hover{transform:scale(1.2)} [data-v-91d0b704] .ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#515a6e}[data-v-91d0b704] .ivu-select-dropdown{width:inherit;max-height:600px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.filelist[data-v-91d0b704]:hover{color:#1e93ff;background-color:#f7f7f7}.fileddelete[data-v-91d0b704]:hover{color:red;transform:scale(1.5)}.competitionClassIcon{display:flex;align-items:center;cursor:pointer}.competitionClassIcon:hover{transform:scale(1.5);color:red}.container{overflow-y:auto;width:100%;//min-height:987px;display:flex;align-content:center;justify-content:center;flex-wrap:wrap}.Atext{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.Atext:hover{transform:scale(1.2)}.tableList[data-v-1fc2f394]{display:flex;justify-content:center;flex-wrap:wrap}.tableList .container1[data-v-1fc2f394]{border-collapse:collapse}.tableList .container1 .row[data-v-1fc2f394]{width:100%;height:100%}.tableList .container1 .colTitle[data-v-1fc2f394]{text-align:center;width:200px;height:50px}.tableList .container1 .colContent[data-v-1fc2f394]{width:500px;height:50px;text-align:center}.tableList .container1 .aText[data-v-1fc2f394]:hover{transform:scale(1.2)}.tableList .container1 .Atext[data-v-1fc2f394]{float:right;margin-bottom:.7vw;margin-top:.7vw;font-size:16px}.tableList .container1 .Atext[data-v-1fc2f394]:hover{transform:scale(1.2)}
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>竞赛管理</title><link href=css/chunk-vendors.064c214c.css rel=stylesheet><link href=css/app.8be0473e.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 竞赛管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.f1892201.js></script><script src=js/app.3aa31b3a.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>竞赛管理</title><link href=css/chunk-vendors.064c214c.css rel=stylesheet><link href=css/app.8edd3c9e.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 竞赛管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.fc2d85c7.js></script><script src=js/app.9c1f950b.js></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c4894"],{"3af6":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",[n("Menu",{attrs:{mode:"horizontal",theme:"light","active-name":"1"},on:{"on-select":e.aaa}},[n("MenuItem",{attrs:{name:"1"}},[n("Icon",{attrs:{type:"ios-people"}}),e._v("\n 赛事目录维护\n ")],1),e.getUserRole()?n("MenuItem",{attrs:{name:"2"}},[n("Icon",{attrs:{type:"ios-paper"}}),e._v("\n 批次管理\n ")],1):e._e()],1),n("br"),1===e.componentState?n("eventMatalogMaintenance",{attrs:{studentOrTeacher:"student"}}):e._e(),2===e.componentState?n("batchManagement",{attrs:{studentOrTeacher:"student"}}):e._e()],1)},o=[],i=(n("c5f6"),n("c827")),s=n("9cc4"),c=(n("61be"),{components:{eventMatalogMaintenance:i["a"],batchManagement:s["a"]},data:function(){return{componentState:1,init:{columns:[],tableData:[],page_index:1,page_size:10,total:0,title:"",start_time:"",end_time:"",public_type:"",approval_state:"",is_public:""},columns:[{title:"Name",key:"name"},{title:"Age",key:"age"},{title:"Address",key:"address"}],data:[{name:"John Brown",age:18,address:"New York No. 1 Lake Park",date:"2016-10-03"},{name:"Jim Green",age:24,address:"London No. 1 Lake Park",date:"2016-10-01"},{name:"Joe Black",age:30,address:"Sydney No. 1 Lake Park",date:"2016-10-02"},{name:"Jon Snow",age:26,address:"Ottawa No. 2 Lake Park",date:"2016-10-04"}],theme:"light"}},computed:{},watch:{},methods:{handleChangePage:function(e){this.init.page_index=e,this.getCompetitionSignList()},handleChangePageSize:function(e){this.init.page_size=e,this.getCompetitionSignList()},aaa:function(e){this.componentState=Number(e)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}}),r=c,d=n("2877"),u=Object(d["a"])(r,a,o,!1,null,"735f4678",null);t["default"]=u.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216af0"],{c409:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Card",[a("Menu",{attrs:{mode:"horizontal",theme:"light","active-name":"1"},on:{"on-select":e.aaa}},[a("MenuItem",{attrs:{name:"1"}},[a("Icon",{attrs:{type:"ios-people"}}),e._v("\n 赛事目录维护\n ")],1),e.getUserRole()?a("MenuItem",{attrs:{name:"2"}},[a("Icon",{attrs:{type:"ios-paper"}}),e._v("\n 批次管理\n ")],1):e._e()],1),a("br"),1===e.componentState?a("eventMatalogMaintenance",{attrs:{studentOrTeacher:"teacher"}}):e._e(),2===e.componentState?a("batchManagement",{attrs:{studentOrTeacher:"teacher"}}):e._e()],1)},o=[],i=(a("c5f6"),a("c827")),c=a("9cc4"),r=(a("61be"),{components:{eventMatalogMaintenance:i["a"],batchManagement:c["a"]},data:function(){return{componentState:1,init:{columns:[],tableData:[],page_index:1,page_size:10,total:0,title:"",start_time:"",end_time:"",public_type:"",approval_state:"",is_public:""},columns:[{title:"Name",key:"name"},{title:"Age",key:"age"},{title:"Address",key:"address"}],data:[{name:"John Brown",age:18,address:"New York No. 1 Lake Park",date:"2016-10-03"},{name:"Jim Green",age:24,address:"London No. 1 Lake Park",date:"2016-10-01"},{name:"Joe Black",age:30,address:"Sydney No. 1 Lake Park",date:"2016-10-02"},{name:"Jon Snow",age:26,address:"Ottawa No. 2 Lake Park",date:"2016-10-04"}],theme:"light"}},computed:{},watch:{},methods:{handleChangePage:function(e){this.init.page_index=e,this.getCompetitionSignList()},handleChangePageSize:function(e){this.init.page_size=e,this.getCompetitionSignList()},aaa:function(e){this.componentState=Number(e)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}}),s=r,d=a("2877"),u=Object(d["a"])(s,n,o,!1,null,"40205701",null);t["default"]=u.exports}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-774a48b6"],{"23aa":function(e,t,n){"use strict";n("f919")},"3af6":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",[n("Menu",{attrs:{mode:"horizontal",theme:"light","active-name":"1"},on:{"on-select":e.aaa}},[n("MenuItem",{attrs:{name:"1"}},[n("Icon",{attrs:{type:"ios-people"}}),e._v("\n 赛事目录维护\n ")],1),e.getUserRole()?n("MenuItem",{attrs:{name:"2"}},[n("Icon",{attrs:{type:"ios-paper"}}),e._v("\n 批次管理\n ")],1):e._e()],1),n("br"),1===e.componentState?n("eventMatalogMaintenance",{attrs:{studentOrTeacher:"student"}}):e._e(),2===e.componentState?n("batchManagement",{attrs:{studentOrTeacher:"student"}}):e._e()],1)},o=[],i=(n("c5f6"),n("c827")),c=n("9cc4"),s=(n("61be"),{components:{eventMatalogMaintenance:i["a"],batchManagement:c["a"]},data:function(){return{componentState:1,init:{columns:[],tableData:[],page_index:1,page_size:10,total:0,title:"",start_time:"",end_time:"",public_type:"",approval_state:"",is_public:""},columns:[{title:"Name",key:"name"},{title:"Age",key:"age"},{title:"Address",key:"address"}],data:[{name:"John Brown",age:18,address:"New York No. 1 Lake Park",date:"2016-10-03"},{name:"Jim Green",age:24,address:"London No. 1 Lake Park",date:"2016-10-01"},{name:"Joe Black",age:30,address:"Sydney No. 1 Lake Park",date:"2016-10-02"},{name:"Jon Snow",age:26,address:"Ottawa No. 2 Lake Park",date:"2016-10-04"}],theme:"light"}},computed:{},watch:{},methods:{handleChangePage:function(e){this.init.page_index=e,this.getCompetitionSignList()},handleChangePageSize:function(e){this.init.page_size=e,this.getCompetitionSignList()},aaa:function(e){this.componentState=Number(e)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}}),r=s,d=(n("23aa"),n("2877")),u=Object(d["a"])(r,a,o,!1,null,"8c28ee8c",null);t["default"]=u.exports},f919:function(e,t,n){}}]);
\ No newline at end of file
此差异已折叠。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8546ac52"],{1578:function(e,t,n){"use strict";n("c484")},c409:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",[n("Menu",{attrs:{mode:"horizontal",theme:"light","active-name":"1"},on:{"on-select":e.aaa}},[n("MenuItem",{attrs:{name:"1"}},[n("Icon",{attrs:{type:"ios-people"}}),e._v("\n 赛事目录维护\n ")],1),e.getUserRole()?n("MenuItem",{attrs:{name:"2"}},[n("Icon",{attrs:{type:"ios-paper"}}),e._v("\n 批次管理\n ")],1):e._e()],1),n("br"),1===e.componentState?n("eventMatalogMaintenance",{attrs:{studentOrTeacher:"teacher"}}):e._e(),2===e.componentState?n("batchManagement",{attrs:{studentOrTeacher:"teacher"}}):e._e()],1)},o=[],i=(n("c5f6"),n("c827")),c=n("9cc4"),r=(n("61be"),{components:{eventMatalogMaintenance:i["a"],batchManagement:c["a"]},data:function(){return{componentState:1,init:{columns:[],tableData:[],page_index:1,page_size:10,total:0,title:"",start_time:"",end_time:"",public_type:"",approval_state:"",is_public:""},columns:[{title:"Name",key:"name"},{title:"Age",key:"age"},{title:"Address",key:"address"}],data:[{name:"John Brown",age:18,address:"New York No. 1 Lake Park",date:"2016-10-03"},{name:"Jim Green",age:24,address:"London No. 1 Lake Park",date:"2016-10-01"},{name:"Joe Black",age:30,address:"Sydney No. 1 Lake Park",date:"2016-10-02"},{name:"Jon Snow",age:26,address:"Ottawa No. 2 Lake Park",date:"2016-10-04"}],theme:"light"}},computed:{},watch:{},methods:{handleChangePage:function(e){this.init.page_index=e,this.getCompetitionSignList()},handleChangePageSize:function(e){this.init.page_size=e,this.getCompetitionSignList()},aaa:function(e){this.componentState=Number(e)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},activated:function(){}}),s=r,d=(n("1578"),n("2877")),u=Object(d["a"])(s,a,o,!1,null,"e2eec3de",null);t["default"]=u.exports},c484:function(e,t,n){}}]);
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"dependencies": { "dependencies": {
"@babel/runtime": "^7.2.0", "@babel/runtime": "^7.2.0",
"@vue-office/pdf": "^1.5.4", "@vue-office/pdf": "^1.5.4",
"@zeronejs/cli": "^2.15.0", "@zeronejs/cli": "^3.2.2",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"axios": "^0.18.0", "axios": "^0.18.0",
"better-scroll": "^1.12.1", "better-scroll": "^1.12.1",
......
import { type AxiosRequestConfig } from "axios"; import { type AxiosRequestConfig } from "axios";
/** /**
* 获奖材料自动生成奖励 * 成绩申报自动生成奖励
* /api/Certificate/api/Certificate/CertificateAutoInsBonus * /api/Certificate/api/Certificate/CertificateAutoInsBonus
*/ */
export declare function getApiCertificateApiCertificateCertificateAutoInsBonus(params: GetApiCertificateApiCertificateCertificateAutoInsBonusParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{ export declare function getApiCertificateApiCertificateCertificateAutoInsBonus(params: GetApiCertificateApiCertificateCertificateAutoInsBonusParams, config?: AxiosRequestConfig): import("axios").AxiosPromise<{
...@@ -12,6 +12,4 @@ export declare function getApiCertificateApiCertificateCertificateAutoInsBonus(p ...@@ -12,6 +12,4 @@ export declare function getApiCertificateApiCertificateCertificateAutoInsBonus(p
}>; }>;
export interface GetApiCertificateApiCertificateCertificateAutoInsBonusParams { export interface GetApiCertificateApiCertificateCertificateAutoInsBonusParams {
certificateid: string; certificateid: string;
/** 0-学生,1-教师 */
competition_method: number;
} }
import request from "@/plugins/request"; import request from "@/plugins/request";
/** /**
* 获奖材料自动生成奖励 * 成绩申报自动生成奖励
* /api/Certificate/api/Certificate/CertificateAutoInsBonus * /api/Certificate/api/Certificate/CertificateAutoInsBonus
*/ */
export function getApiCertificateApiCertificateCertificateAutoInsBonus(params, config) { export function getApiCertificateApiCertificateCertificateAutoInsBonus(params, config) {
const paramsInput = { const paramsInput = {
certificateid: params.certificateid, certificateid: params.certificateid,
competition_method: params.competition_method,
}; };
return request.get(`/api/Certificate/api/Certificate/CertificateAutoInsBonus`, { return request.get(`/api/Certificate/api/Certificate/CertificateAutoInsBonus`, {
params: paramsInput, params: paramsInput,
......
...@@ -32,6 +32,9 @@ export declare function getApiCertificateApiCertificateGetCertificateInfo(params ...@@ -32,6 +32,9 @@ export declare function getApiCertificateApiCertificateGetCertificateInfo(params
competitionbatch_id: string; competitionbatch_id: string;
competitionbatch_name: string; competitionbatch_name: string;
is_del: number; is_del: number;
class_hour: string;
actual_class_hour: string;
subsidy_total: number;
files_list: { files_list: {
id: string; id: string;
module: string; module: string;
......
...@@ -4,10 +4,4 @@ import { type CompetitionRequests } from "../../interface"; ...@@ -4,10 +4,4 @@ import { type CompetitionRequests } from "../../interface";
* 获奖证书导出excel * 获奖证书导出excel
* /api/Certificate/api/Certificate/CertificateExportToExcel * /api/Certificate/api/Certificate/CertificateExportToExcel
*/ */
export declare function postApiCertificateApiCertificateCertificateExportToExcel(input?: CompetitionRequests, config?: AxiosRequestConfig): import("axios").AxiosPromise<{ export declare function postApiCertificateApiCertificateCertificateExportToExcel(input?: CompetitionRequests, config?: AxiosRequestConfig): import("axios").AxiosPromise<any>;
code: number;
status: string;
msg: string;
msg_detail: string;
response: string;
}>;
...@@ -117,6 +117,9 @@ export declare function getApiFlowViewApiFlowFlowInit(params: GetApiFlowViewApiF ...@@ -117,6 +117,9 @@ export declare function getApiFlowViewApiFlowFlowInit(params: GetApiFlowViewApiF
competitionbatch_id: string; competitionbatch_id: string;
competitionbatch_name: string; competitionbatch_name: string;
is_del: number; is_del: number;
class_hour: string;
actual_class_hour: string;
subsidy_total: number;
}; };
bursary: { bursary: {
bursaryid: string; bursaryid: string;
......
...@@ -11,6 +11,9 @@ export declare function getApiLoginApiLoginGetTokenInfo(config?: AxiosRequestCon ...@@ -11,6 +11,9 @@ export declare function getApiLoginApiLoginGetTokenInfo(config?: AxiosRequestCon
response: { response: {
cardNumber: string; cardNumber: string;
name: string; name: string;
role: string[]; role: {
role_id: string;
role_name: string;
}[];
}; };
}>; }>;
...@@ -17,3 +17,5 @@ export * from "./postApiTeamApiTeamTeamBonusSave"; ...@@ -17,3 +17,5 @@ export * from "./postApiTeamApiTeamTeamBonusSave";
export * from "./postApiTeamApiTeamTeamSubsidySave"; export * from "./postApiTeamApiTeamTeamSubsidySave";
export * from "./postApiTeamApiTeamTeamInstructionalSave"; export * from "./postApiTeamApiTeamTeamInstructionalSave";
export * from "./getApiTeamApiTeamTeamAndMemberSelCondition"; export * from "./getApiTeamApiTeamTeamAndMemberSelCondition";
export * from "./postApiTeamApiTeamMemberSubsidyAndInstructionalSave";
export * from "./postApiTeamApiTeamMemberBankCardSave";
...@@ -17,3 +17,5 @@ export * from "./postApiTeamApiTeamTeamBonusSave"; ...@@ -17,3 +17,5 @@ export * from "./postApiTeamApiTeamTeamBonusSave";
export * from "./postApiTeamApiTeamTeamSubsidySave"; export * from "./postApiTeamApiTeamTeamSubsidySave";
export * from "./postApiTeamApiTeamTeamInstructionalSave"; export * from "./postApiTeamApiTeamTeamInstructionalSave";
export * from "./getApiTeamApiTeamTeamAndMemberSelCondition"; export * from "./getApiTeamApiTeamTeamAndMemberSelCondition";
export * from "./postApiTeamApiTeamMemberSubsidyAndInstructionalSave";
export * from "./postApiTeamApiTeamMemberBankCardSave";
此差异已折叠。
export interface CompetitionRequests { export interface CompetitionRequests {
/** 权限id */
role_id?: string;
/** 名称 */ /** 名称 */
name?: string; name?: string;
/** 赛事级别 */ /** 赛事级别 */
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -1406,3 +1406,12 @@ export function GetHierarchyNameSelect(data) { ...@@ -1406,3 +1406,12 @@ export function GetHierarchyNameSelect(data) {
data, data,
}); });
} }
export function MemberSubsidyAndInstructionalSave(data) {
//获奖名称下拉框
return request({
url: `/api/Team/api/Team/MemberSubsidyAndInstructionalSave`,
method: 'post',
data,
});
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -206,14 +206,14 @@ ...@@ -206,14 +206,14 @@
</template> </template>
<script> <script>
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等) //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》'; //例如:import 《组件名称》 from '《组件路径》';
import {publicState} from "@/configState"; import {publicState} from "@/configState";
import updateCertificateModal from './components/updateCertificateModalStudentAward.vue' import updateCertificateModal from './components/updateCertificateModalStudentAward.vue'
import * as api from "@api/requestUtils"; import * as api from "@api/requestUtils";
import _ from "lodash"; import _ from "lodash";
export default { export default {
//import引入的组件需要注入到对象中才能使用", //import引入的组件需要注入到对象中才能使用",
components: {updateCertificateModal,}, components: {updateCertificateModal,},
data() { data() {
...@@ -452,6 +452,7 @@ export default { ...@@ -452,6 +452,7 @@ export default {
"is_tea": 0, "is_tea": 0,
"approval_state": "",//0-未审批,1-审批中,2-审批通过,3-审批不通过 "approval_state": "",//0-未审批,1-审批中,2-审批通过,3-审批不通过
"h_id": "", "h_id": "",
}, },
tableColumns: [ tableColumns: [
{type: 'index', title: '序号', minWidth: 80, show: true}, {type: 'index', title: '序号', minWidth: 80, show: true},
...@@ -707,7 +708,10 @@ export default { ...@@ -707,7 +708,10 @@ export default {
//初始化 //初始化
this.hooks.getInitListRequest(async () => { this.hooks.getInitListRequest(async () => {
this.init.tableLoading = true this.init.tableLoading = true
const res = await this.asc.postApiBonusDeclareGetBonusDeclareList(this.init.search) const res = await this.asc.postApiBonusDeclareGetBonusDeclareList({
...this.init.search,
role_id: this.$roleId
})
this.init.tableData = res.response.data this.init.tableData = res.response.data
this.init.dataCount = res.response.data_count this.init.dataCount = res.response.data_count
this.init.tableLoading = false this.init.tableLoading = false
...@@ -860,7 +864,7 @@ export default { ...@@ -860,7 +864,7 @@ export default {
activated() { activated() {
}, },
} }
</script> </script>
......
...@@ -207,14 +207,14 @@ ...@@ -207,14 +207,14 @@
</template> </template>
<script> <script>
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等) //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》'; //例如:import 《组件名称》 from '《组件路径》';
import {publicState} from "@/configState"; import {publicState} from "@/configState";
import updateCertificateModal from './components/updateCertificateModalTeacherAward.vue' import updateCertificateModal from './components/updateCertificateModalTeacherAward.vue'
import * as api from "@api/requestUtils"; import * as api from "@api/requestUtils";
import _ from "lodash"; import _ from "lodash";
export default { export default {
//import引入的组件需要注入到对象中才能使用", //import引入的组件需要注入到对象中才能使用",
components: {updateCertificateModal,}, components: {updateCertificateModal,},
data() { data() {
...@@ -709,7 +709,10 @@ export default { ...@@ -709,7 +709,10 @@ export default {
//初始化 //初始化
this.hooks.getInitListRequest(async () => { this.hooks.getInitListRequest(async () => {
this.init.tableLoading = true this.init.tableLoading = true
const res = await this.asc.postApiBonusDeclareGetBonusDeclareList(this.init.search) const res = await this.asc.postApiBonusDeclareGetBonusDeclareList({
...this.init.search,
role_id: this.$roleId
})
this.init.tableData = res.response.data this.init.tableData = res.response.data
this.init.dataCount = res.response.data_count this.init.dataCount = res.response.data_count
this.init.tableLoading = false this.init.tableLoading = false
...@@ -862,7 +865,7 @@ export default { ...@@ -862,7 +865,7 @@ export default {
activated() { activated() {
}, },
} }
</script> </script>
......
此差异已折叠。
...@@ -19,8 +19,8 @@ module.exports = { ...@@ -19,8 +19,8 @@ module.exports = {
publicPath: Setting.publicPath, publicPath: Setting.publicPath,
proxy: { proxy: {
'/competition': { '/competition': {
// target: 'https://asc.hnasct.cn', target: 'https://asc.hnasct.cn',
target: 'https://47.112.110.142', // target: 'https://47.112.110.142',
changeOrigin: true, changeOrigin: true,
ws: true, ws: true,
// pathRewrite:{ // pathRewrite:{
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或