diff --git a/src/assets/images/tableIcon/icon-delete.png b/src/assets/images/tableIcon/icon-delete.png new file mode 100644 index 00000000..2c2fd561 Binary files /dev/null and b/src/assets/images/tableIcon/icon-delete.png differ diff --git a/src/assets/images/tableIcon/icon-edit.png b/src/assets/images/tableIcon/icon-edit.png new file mode 100644 index 00000000..230b9d7a Binary files /dev/null and b/src/assets/images/tableIcon/icon-edit.png differ diff --git a/src/assets/images/tableIcon/move.png b/src/assets/images/tableIcon/move.png new file mode 100644 index 00000000..78e332ea Binary files /dev/null and b/src/assets/images/tableIcon/move.png differ diff --git a/src/assets/images/tableIcon/preview.png b/src/assets/images/tableIcon/preview.png new file mode 100644 index 00000000..35e93d7b Binary files /dev/null and b/src/assets/images/tableIcon/preview.png differ diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 0d71d028..6f530745 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -83,7 +83,7 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL ='http://101.43.164.214:45001/' //上海张江 // axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工) // axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地 - // axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地 + axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地 // axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程 // axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈 @@ -91,7 +91,7 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL ='http://101.43.164.214:11111/' // 百色三标段项目 // axios.defaults.baseURL = 'http://125.88.207.86:8088/'//中建四局线上(最新)地址 // axios.defaults.baseURL = 'http://125.88.207.86:8099/'//中建四局(沙湖)线上(最新)地址 - axios.defaults.baseURL = 'http://jxj.zhgdyun.com:15551/'//测试地址 + // axios.defaults.baseURL = 'http://jxj.zhgdyun.com:15551/'//测试地址 } else if (process.env.NODE_ENV == 'debug') { diff --git a/src/store/index.js b/src/store/index.js index 6e428150..508e185d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -48,20 +48,20 @@ export default new Vuex.Store({ PAGESIZRS: [10, 20, 30, 50], // UPLOADURL:' http://101.43.164.214:11111/upload/image/',// 百色 // FILEURL:' http://101.43.164.214:11111/image/',// 百色 - // UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄 - // FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄 + UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄 + FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄 // WORKFLOWURL: 'http://192.168.34.138:88/#/workspace/forms',//测试工作流地址(本地) // UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试 // FILEURL:'http://10.0.1.43:6023/image/',//测试 - BASEURL: baseUrl - ? baseUrl - : window.location.protocol + "//" + window.location.host + "/", //正式环境 - UPLOADURL: - window.location.protocol + - "//" + - window.location.host + - "/upload/image", //正式环境 - FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 + // BASEURL: baseUrl + // ? baseUrl + // : window.location.protocol + "//" + window.location.host + "/", //正式环境 + // UPLOADURL: + // window.location.protocol + + // "//" + + // window.location.host + + // "/upload/image", //正式环境 + // FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 WORKFLOWURL: 'http://jxj.zhgdyun.com:9811/#/workspace/forms',//正式工作流地址 //--------------------------------------------------------------------------------------------- // BASEURL: baseUrl diff --git a/src/util/nowDate/index.js b/src/util/nowDate/index.js index 58657203..1e3ca425 100644 --- a/src/util/nowDate/index.js +++ b/src/util/nowDate/index.js @@ -62,3 +62,9 @@ export function dateFormat(oDate, fmt) { } return fmt; } + +// 根据下标返回英文字母(用作试题答案) +export function filterAnswer(index) { + const englishUppercaseWord = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split('') + return englishUppercaseWord[index]; +} diff --git a/src/views/projectFront/examSystem/questionManagement/questionManagement.vue b/src/views/projectFront/examSystem/questionManagement/questionManagement.vue index bb10718c..e42fd1ef 100644 --- a/src/views/projectFront/examSystem/questionManagement/questionManagement.vue +++ b/src/views/projectFront/examSystem/questionManagement/questionManagement.vue @@ -31,16 +31,403 @@
-
+
+ 添加试题 + + 导入 + + + + + + + {{ + $t("message.laborMange.inquire") + }} + {{ + $t("message.laborMange.refresh") + }} + {{ + $t("message.laborMange.export") + }} + + +
+ + + + + + + + + + + + + + + + +
+
+ + +
+
+ + +
+ + + + + + + + + + + + + + + + + + +
+
+ {{ index | filterAnswerIndex }}、 + {{ index | filterAnswerIndex }}、 + + +
+
+ +
+ 新增选项 +
+ + + + + + +
+
+ +
+ + +
+
+ + + {{ node.label }} + + +
+
+ +
+ + +
+
+ 1、第一个题目 +
+
+
+ + + {{ 0 | filterAnswerIndex }}、123 +
+
+ + + {{ 1 | filterAnswerIndex }}、456 +
+
+
+