this.props.showDrawer()} >
diff --git a/public/react/src/modules/question/questioncss/questioncom.css b/public/react/src/modules/question/questioncss/questioncom.css
index a0c791190..d5ac90d12 100644
--- a/public/react/src/modules/question/questioncss/questioncom.css
+++ b/public/react/src/modules/question/questioncss/questioncom.css
@@ -419,10 +419,10 @@
color: #4CACFF;
}
.xiaoshou{
- cursor:pointer;
+ cursor:pointer !important;
}
.xiaoshout{
- cursor:default;
+ cursor:default !important;
}
.mt40{
margin-top: 40px;
@@ -1129,7 +1129,7 @@
.typeGreen{
color:#15DB7A;
border:1px solid #15DB7A;
-}
+}
.typeBlue{
color:#0CB9F1;
border:1px solid #0CB9F1;
@@ -1137,8 +1137,8 @@
.typeRed{
color:#FF5555;
border:1px solid #FF5555;
-}
+}
.typeYellow{
color:#FFB538;
border:1px solid #FFB538;
-}
\ No newline at end of file
+}
diff --git a/public/react/src/modules/testpaper/component/Contentpart.js b/public/react/src/modules/testpaper/component/Contentpart.js
index 5148e00ca..f5c0a5cb4 100644
--- a/public/react/src/modules/testpaper/component/Contentpart.js
+++ b/public/react/src/modules/testpaper/component/Contentpart.js
@@ -73,7 +73,7 @@ class Contentpart extends Component {
}
//跳转人工组卷
Mantegeneration=()=>{
- this.props.history.push('/question');
+ this.props.history.push('/problemset');
}
@@ -368,18 +368,24 @@ class Contentpart extends Component {
:""
}
diff --git a/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js b/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js
index 06298299f..58959d745 100644
--- a/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js
+++ b/public/react/src/modules/testpaper/component/Paperlibraryseeid_item.js
@@ -286,7 +286,7 @@ class Paperreview_item extends Component {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
showparagraphs = (e,name) => {
diff --git a/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js b/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js
index 754a45560..2cdc60623 100644
--- a/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js
+++ b/public/react/src/modules/testpaper/component/Paperlibraryseeid_itemss.js
@@ -361,7 +361,7 @@ class Paperlibraryseeid_itemss extends Component {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
showparagraphs = (e,name) => {
diff --git a/public/react/src/modules/testpaper/component/Seeoagertits.js b/public/react/src/modules/testpaper/component/Seeoagertits.js
index a983bd67e..573655a63 100644
--- a/public/react/src/modules/testpaper/component/Seeoagertits.js
+++ b/public/react/src/modules/testpaper/component/Seeoagertits.js
@@ -26,7 +26,7 @@ class Seeoagertit extends Component {
onChange=(e)=> {
}
jixuxuantioncli = () => {
- this.props.history.replace("/question");
+ this.props.history.replace("/problemset");
}
render() {
diff --git a/public/react/src/modules/testpaper/testioncss/testioncss.css b/public/react/src/modules/testpaper/testioncss/testioncss.css
index 56c2e36c0..8c9597ed0 100644
--- a/public/react/src/modules/testpaper/testioncss/testioncss.css
+++ b/public/react/src/modules/testpaper/testioncss/testioncss.css
@@ -400,13 +400,13 @@
color: #4CACFF;
}
.xiaoshou{
- cursor:pointer;
+ cursor:pointer !important;
}
.xiaoshout{
- cursor:default;
+ cursor:default !important;
}
.shubiao{
- cursor:default;
+ cursor:default !important;
}
.mt40{
margin-top: 40px;
diff --git a/public/react/src/modules/tpm/TPMIndexHOC.js b/public/react/src/modules/tpm/TPMIndexHOC.js
index 9ba60c27a..a5da90e2c 100644
--- a/public/react/src/modules/tpm/TPMIndexHOC.js
+++ b/public/react/src/modules/tpm/TPMIndexHOC.js
@@ -769,7 +769,7 @@ export function TPMIndexHOC(WrappedComponent) {
{...this.dialogObj}
/>:""}
{
- mypath&&mypath==="/question"?
+ mypath&&mypath==="/problemset"?
""
:
{
// console.log(path);
// props.history.push(`/myproblems/${identifier}`);
props.history.push({
- pathname: `/myproblems/${identifier}?${searchParams}`,
+ pathname: `/myproblems/${identifier}.json?${searchParams}`,
});
}
}
@@ -90,7 +90,7 @@ export const getUserProgramDetail = (identifier, type) => {
type: types.SAVE_USE_TEST_CASE_VALUE,
payload: data.test_case || {}
});
- // 代码是否更新
+ // 代码是否更新
let _modify_code = false;
if (data.hack) {
_modify_code = data.hack.modify_code;
@@ -145,7 +145,7 @@ export const saveUserCodeForInterval = (identifier, code) => {
/**
* @description 保存或更新之前先更新代码
- * @param {*} identifier
+ * @param {*} identifier
* @param {*} inputValue 输入值: 自定义 | 系统返回的
* @param {*} type 测评类型 debug | submit
*/
@@ -157,7 +157,7 @@ export const updateCode = (identifier, inputValue, type) => {
fetchUpdateCode(identifier, {
code: Base64.encode(userCode)
}).then(res => {
- // 是否更新了代码, 目的是当代码没有更新时不调用更新代码接口,目录没有实现
+ // 是否更新了代码, 目的是当代码没有更新时不调用更新代码接口,目录没有实现
// TODO 需要优化
if (res.data.status === 401) {
dispatch({ // 改变 loading 值
@@ -187,7 +187,7 @@ export const codeEvaluate = (dispatch, identifier, type, time_limit, hackStatus,
let count = 1;
/**
* @param {*} excuteTime 执行时间
- * @param {*} finalTime 总时间
+ * @param {*} finalTime 总时间
* @param {*} count 执行次数
* @param {*} timer 定时器
*/
@@ -199,7 +199,7 @@ export const codeEvaluate = (dispatch, identifier, type, time_limit, hackStatus,
if (+status === 0 || (excuteTime / 1000) > (finalTime + 1)) {
clearInterval(timer); // 清除定时器
timer = null;
- let returnData = null;
+ let returnData = null;
if (status === 1) { // 结果没有返回
returnData = {
error_line: -1,
@@ -221,7 +221,7 @@ export const codeEvaluate = (dispatch, identifier, type, time_limit, hackStatus,
payload: {
type,
data: returnData
- }
+ }
});
if (!type || type === 'debug') {
dispatch({ // 改变 loading 值
@@ -287,13 +287,13 @@ export const codeEvaluate = (dispatch, identifier, type, time_limit, hackStatus,
/**
* @description 调试代码
- * @param {*} identifier
+ * @param {*} identifier
* @param {*} inputValue 输入值: 自定义 | 系统返回的
* @param {*} type 测评类型 debug | submit
*/
export const debuggerCode = (identifier,value, type) => {
return (dispatch, getState) => {
- // 调用之前 先保存 code
+ // 调用之前 先保存 code
// TODO
// console.log(identifier, value);
const { hack } = getState().ojForUserReducer;
@@ -398,7 +398,7 @@ export const changeUserCodeTab = (key) => {
/**
* @description 用户提交代码, 先调用保存代码接口,再调提交接口,成功后调用调试接口
- * @param {*} identifier
+ * @param {*} identifier
*/
export const submitUserCode = (identifier, inputValue, type) => {
return (dispatch, getState) => {
@@ -430,7 +430,7 @@ export const submitUserCode = (identifier, inputValue, type) => {
fetchUpdateCode(identifier, {
code: userCode
}).then(res => {
- // 是否更新了代码, 目的是当代码没有更新时不调用更新代码接口,目录没有实现
+ // 是否更新了代码, 目的是当代码没有更新时不调用更新代码接口,目录没有实现
// TODO 需要优化
if (res.data.status === 401) {
dispatch({
@@ -495,7 +495,7 @@ export const saveOpacityType = (type) => {
type: types.CLICK_OPERATE_TYPE,
payload: type
}
-}
+}
export const clearOjForUserReducer = () => {