From a56305d8a100a0d996b1e2e2ead5bc5db5e45c00 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 26 May 2023 14:16:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 19 + package.json | 1 + src/api/index.js | 11 + src/assets/img/error.png | Bin 0 -> 796 bytes src/assets/img/yes.png | Bin 0 -> 395 bytes src/components/codemirror/index.vue | 386 +++++ src/layouts/navbar/index.vue | 355 ++--- src/pages/achievement/teach/index.vue | 1006 ++++++++----- src/pages/expSystem/backstage/addModel.vue | 222 +++ src/pages/expSystem/backstage/compiler.vue | 56 + src/pages/expSystem/backstage/index.vue | 73 + src/pages/expSystem/backstage/model.vue | 308 ++++ src/pages/expSystem/backstage/modelType.vue | 321 +++++ src/pages/expSystem/backstage/sourceModel.vue | 260 ++++ src/pages/expSystem/backstage/sourceType.vue | 180 +++ src/pages/expSystem/list/index.vue | 169 +++ src/pages/match/manage/matchArch.vue | 180 +-- src/pages/match/manage/matchRank.vue | 1245 +++++++++-------- src/pages/product/list/index.vue | 4 +- src/pages/product/show/index.vue | 76 +- src/pages/station/preview/index.vue | 6 +- src/router/modules/expSystem.js | 35 + src/setting.js | 4 +- 23 files changed, 3676 insertions(+), 1241 deletions(-) create mode 100644 src/assets/img/error.png create mode 100644 src/assets/img/yes.png create mode 100644 src/components/codemirror/index.vue create mode 100644 src/pages/expSystem/backstage/addModel.vue create mode 100644 src/pages/expSystem/backstage/compiler.vue create mode 100644 src/pages/expSystem/backstage/index.vue create mode 100644 src/pages/expSystem/backstage/model.vue create mode 100644 src/pages/expSystem/backstage/modelType.vue create mode 100644 src/pages/expSystem/backstage/sourceModel.vue create mode 100644 src/pages/expSystem/backstage/sourceType.vue create mode 100644 src/pages/expSystem/list/index.vue create mode 100644 src/router/modules/expSystem.js diff --git a/package-lock.json b/package-lock.json index 9520ae4..42b9605 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2793,6 +2793,11 @@ "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" }, + "codemirror": { + "version": "5.65.13", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.13.tgz", + "integrity": "sha512-SVWEzKXmbHmTQQWaz03Shrh4nybG0wXx2MEu3FO4ezbPW8IbnZEd5iGHGEffSUaitKYa3i+pHpBsSvw8sPHtzg==" + }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -3852,6 +3857,11 @@ "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", "dev": true }, + "diff-match-patch": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.5.tgz", + "integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==" + }, "diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", @@ -12618,6 +12628,15 @@ "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz", "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==" }, + "vue-codemirror": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-4.0.6.tgz", + "integrity": "sha512-ilU7Uf0mqBNSSV3KT7FNEeRIxH4s1fmpG4TfHlzvXn0QiQAbkXS9lLfwuZpaBVEnpP5CSE62iGJjoliTuA8poQ==", + "requires": { + "codemirror": "^5.41.0", + "diff-match-patch": "^1.0.0" + } + }, "vue-cropperjs": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/vue-cropperjs/-/vue-cropperjs-3.0.0.tgz", diff --git a/package.json b/package.json index f5bc309..8606595 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "px2rem-loader": "^0.1.9", "sortablejs": "^1.14.0", "vue": "^2.6.10", + "vue-codemirror": "^4.0.6", "vue-cropperjs": "^3.0.0", "vue-i18n": "^8.10.0", "vue-pdf": "^4.2.0", diff --git a/src/api/index.js b/src/api/index.js index 180ccf1..7179a55 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -388,6 +388,17 @@ export default { // 营销推广 listMarketing: `nakadai/nakadai/mall/marketing/promotion/pagingQueryList`, + // 实验系统管理 + getAllService: `nakadai/nakadai/serviceConfiguration/getAllService`, + schoolModelClassification: `nakadai/nakadai/model/reference/schoolModelClassification`, + saveAcademyModelDemo: `nakadai/nakadai/model/reference/demo/saveAcademyModelDemo`, + referenceFindById: `nakadai/nakadai/model/reference/demo/findById`, + modelFindById: `nakadai/nakadai/model/demo/findById`, + queryTheModelOfOurSchool: `nakadai/nakadai/model/reference/demo/queryTheModelOfOurSchool`, + sourceModelClassification: `nakadai/nakadai/model/category/sourceModelClassification`, + getAllModelListBySys: `nakadai/nakadai/model/demo/getAllModelListBySys`, + runPythonCode: `nakadai/nakadai/model/demo/runPythonCode`, + // 教师评语 addComment: `evaluation/cevaluation/comment/addComment`, queryComment: `evaluation/evaluation/ccomment/queryComment`, diff --git a/src/assets/img/error.png b/src/assets/img/error.png new file mode 100644 index 0000000000000000000000000000000000000000..0be38297f44a7e509aec19268e01e08d2c998fc7 GIT binary patch literal 796 zcmeAS@N?(olHy`uVBq!ia0vp^hCpn@!3-o1T|3+Wqz(l5gt!9f{{{yC4Gp0rkO4&2 z)*uohXk>(t0;+@~h%7`Ioc#a)|C=}efBpLZ?%n?tEB@!@{kOCGZ)*Dg(xv}1X8hl` z@BgY*|0^o~hlc+D`0@YJrT@#y{!g6vKRX*_qlLx)@8AD_{rdmjz5my*|37>7|JJSl zXU_cJ-Tgl;?SE|Se`n|auU`E>cI^MrqyMX`|0gE?_x66MRnZ9agJemNUoZpn5|^hp z&v1PHFhfuA$_1;clsNm!U$0);rvGu+&A`C;$yFx%UG|$dtTAz>Z&2o} zX@TEr-uIMQz81~O`?zP>%lEbW3Z0J5dGqnI-EyOIw|70bvaIM$uF$L77S{%F$iDJ~)YY|spz9Vru9cJ`z)bsxC#*mBQCt&Q8JmVLO|@!mk` zLC3532eYmBwOccZM|CLPKOMl$B>sI*!|y%9!D%P8gDOtUI5|V{yYnG#&kgZB*Cw_~ zi)gcHq_&rCPF1M;yi@;v-lr2gf6RB#(re{a(fa#U?w^tCgt~t^H52tD3O7G}{cPd- zqc)R5D>qf;ilO+nuqMyY1BS4;#h0@anp;0vZ=bY6Mtz$+N3n`&uV>{_B466 z!6|LG`+rKcen0NruQIDiV6n!|ThXQumGy#;bn%C0A6}JK64<}MM{t4Mib@m972dmE ztnTu2iCw5_yMKDxicGGOaJl8#dh^{S#T~u3p1Z#_ zUiHl~;`bWcXEyAA55MQxG2LQI_hsY0-M>TbtY5=sJ+J<9=zbmF#Xll}Nrb`E)z4*} HQ$iB}eBzis literal 0 HcmV?d00001 diff --git a/src/assets/img/yes.png b/src/assets/img/yes.png new file mode 100644 index 0000000000000000000000000000000000000000..6b9df117adeb511a6acc536b31f3c93b3fafae2b GIT binary patch literal 395 zcmV;60d)R}P)w;?Ke@*dyPw%Os?tNeAe`V*9gXW5P z6L71t+ zHh8uZL>8$}WdpH|tzM@~w7}+fJ?!DvIuPCwE8{NNl;cI7oeA zE +
+
+ + 运行 +
+
+

{{ runResult }}

+
+
+ + + 下载图片 + 下载图片 +
+
+
+ 运行成功 +
+
+ + 第{{errLine}}行出现错误 +
+
+
+ + + + + \ No newline at end of file diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 14857c6..1958e3d 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -1,31 +1,47 @@