From acde167680dd6accc63fcafa2e9f27eab337cafb Mon Sep 17 00:00:00 2001 From: fy <773589090@qq.com> Date: Sat, 17 Sep 2022 17:19:56 +0800 Subject: [PATCH 01/40] =?UTF-8?q?feat=EF=BC=9A=E5=AD=A6=E7=A7=91=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=A0=87=E7=AD=BE=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/module-hmmm/components/tags-add.vue | 4 +- src/module-hmmm/pages/tags.vue | 106 ++++++++++++++++++++---- 2 files changed, 95 insertions(+), 15 deletions(-) diff --git a/src/module-hmmm/components/tags-add.vue b/src/module-hmmm/components/tags-add.vue index 7dbeeb2..b274a20 100644 --- a/src/module-hmmm/components/tags-add.vue +++ b/src/module-hmmm/components/tags-add.vue @@ -32,6 +32,7 @@ import { simple } from '@/api/hmmm/subjects' import { add, update } from '@/api/hmmm/tags' export default { + name: 'Tagsadd', props: { dialogFormVisible: { type: Boolean, @@ -81,8 +82,9 @@ export default { this.$refs.newDirectory.resetFields() }, async btnok() { - if (this.form.subjectID) { + if (this.form.id) { await update(this.form) + // console.log(this.form.subjectID) } else { try { await add(this.form) diff --git a/src/module-hmmm/pages/tags.vue b/src/module-hmmm/pages/tags.vue index aa5b4da..aa21011 100644 --- a/src/module-hmmm/pages/tags.vue +++ b/src/module-hmmm/pages/tags.vue @@ -1,5 +1,21 @@ -- Gitee From b61a21cd9b2918f1a1169631dc69dcf3944e2bee Mon Sep 17 00:00:00 2001 From: xiaoli <24567@qq.com> Date: Sat, 17 Sep 2022 20:20:37 +0800 Subject: [PATCH 08/40] =?UTF-8?q?=E7=9B=AE=E5=BD=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base-ui/ZyForm/src/zy-form.vue | 9 +- src/module-hmmm/components/directorys-add.vue | 114 +++++++- src/module-hmmm/pages/directorys.vue | 249 +++++++++++++++++- src/module-manage/components/menu-add.vue | 3 - src/utils/request.js | 3 +- 5 files changed, 362 insertions(+), 16 deletions(-) diff --git a/src/base-ui/ZyForm/src/zy-form.vue b/src/base-ui/ZyForm/src/zy-form.vue index 3282027..ddb445a 100644 --- a/src/base-ui/ZyForm/src/zy-form.vue +++ b/src/base-ui/ZyForm/src/zy-form.vue @@ -1,3 +1,4 @@ + --> + + + - diff --git a/src/module-hmmm/components/directorys-add.vue b/src/module-hmmm/components/directorys-add.vue index 8654c8b..835a4a9 100644 --- a/src/module-hmmm/components/directorys-add.vue +++ b/src/module-hmmm/components/directorys-add.vue @@ -1,11 +1,115 @@ - + diff --git a/src/module-hmmm/pages/directorys.vue b/src/module-hmmm/pages/directorys.vue index 0340d3b..ab9e60e 100644 --- a/src/module-hmmm/pages/directorys.vue +++ b/src/module-hmmm/pages/directorys.vue @@ -1,11 +1,252 @@ - + diff --git a/src/module-manage/components/menu-add.vue b/src/module-manage/components/menu-add.vue index c5217a6..11b58b7 100644 --- a/src/module-manage/components/menu-add.vue +++ b/src/module-manage/components/menu-add.vue @@ -465,6 +465,3 @@ export default { } } - -作者:CRPER 链接:https://juejin.im/post/5972ea2f6fb9a06bc569204f 来源:掘金 -著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 diff --git a/src/utils/request.js b/src/utils/request.js index abc7d4a..7b1cf8f 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -5,7 +5,8 @@ import { getToken } from '@/utils/auth' // create an axios instance const instance = axios.create({ - baseURL: 'http://127.0.0.1:7001/', // http://39.105.1.33:7001/ api的base_url + baseURL: 'http://192.168.34.80:7001/', // http://39.105.1.33:7001/ api的base_url + // baseURL: 'http://127.0.0.1:7001/', // http://39.105.1.33:7001/ api的base_url timeout: 5000 // request timeout }) -- Gitee From 07d90cf6dcd64dece5fef5c365a37afdb120b6c4 Mon Sep 17 00:00:00 2001 From: zhangwei <1369734433@qq.com> Date: Sat, 17 Sep 2022 20:21:20 +0800 Subject: [PATCH 09/40] =?UTF-8?q?=E7=BB=84=E9=A2=98=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E5=BC=B9=E5=87=BA=E5=B1=82=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hmmm/questions.js | 3 +- src/module-dashboard/components/pageTool.vue | 2 +- src/module-hmmm/pages/questions-randoms.vue | 256 ++++++++++++++++++- yarn.lock | 2 +- 4 files changed, 255 insertions(+), 8 deletions(-) diff --git a/src/api/hmmm/questions.js b/src/api/hmmm/questions.js index 296bf01..abe157b 100644 --- a/src/api/hmmm/questions.js +++ b/src/api/hmmm/questions.js @@ -55,5 +55,4 @@ export const setRecords = (data) => export const randoms = (data) => createAPI('/questions/randoms', 'get', data) // 组题列表删除 -export const removeRandoms = (data) => - createAPI(`/questions/randoms/${data.id}`, 'delete', data) +export const removeRandoms = (data) => createAPI(`/questions/randoms/${data.id}`, 'delete', data) diff --git a/src/module-dashboard/components/pageTool.vue b/src/module-dashboard/components/pageTool.vue index c3ba2c8..af6f754 100644 --- a/src/module-dashboard/components/pageTool.vue +++ b/src/module-dashboard/components/pageTool.vue @@ -6,7 +6,7 @@ :total="Number(total)" :page-size="Number(paginationPagesize)" :page-sizes="[10, 20, 30, 50]" - layout="sizes, prev, pager, next, jumper" + layout=" prev, pager, next , sizes, jumper" @size-change="onPageSizeChange" @current-change="onPageChange" /> diff --git a/src/module-hmmm/pages/questions-randoms.vue b/src/module-hmmm/pages/questions-randoms.vue index 4863277..0e52b60 100644 --- a/src/module-hmmm/pages/questions-randoms.vue +++ b/src/module-hmmm/pages/questions-randoms.vue @@ -1,11 +1,259 @@ - + diff --git a/yarn.lock b/yarn.lock index 726e0f4..974c5e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5109,7 +5109,7 @@ human-signals@^1.1.1: resolved "https://registry.npmmirror.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== -husky@^8.0.1: +husky@^8.0.0: version "8.0.1" resolved "https://registry.npmmirror.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== -- Gitee From bfc9332e4e240e34bd1e4b16612d86d0f2012b90 Mon Sep 17 00:00:00 2001 From: zhangwei <1369734433@qq.com> Date: Sat, 17 Sep 2022 20:25:53 +0800 Subject: [PATCH 10/40] =?UTF-8?q?=E6=88=91=E6=9C=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 3 +- src/module-hmmm/pages/questions-randoms.vue | 257 +++++++++++--------- 2 files changed, 150 insertions(+), 110 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1f95510..b36f904 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,6 +19,7 @@ module.exports = { 'space-before-function-paren': 'off', 'vue/max-attributes-per-line': 'off', 'vue/require-prop-types': 'off', - 'vue/no-use-v-if-with-v-for': 'off' + 'vue/no-use-v-if-with-v-for': 'off', + 'vue/no-v-html': 'off' } } diff --git a/src/module-hmmm/pages/questions-randoms.vue b/src/module-hmmm/pages/questions-randoms.vue index 0e52b60..ce6ab7f 100644 --- a/src/module-hmmm/pages/questions-randoms.vue +++ b/src/module-hmmm/pages/questions-randoms.vue @@ -6,11 +6,15 @@ - + - 清除 - 搜索 + + 清除 + + + 搜索 + @@ -26,59 +30,60 @@ :data="tableData" fit highlight-current-row - style="width: 100%"> + style="width: 100%" + > - + prop="id" + align="center" + label="编号" + width="180" + /> - + prop="questionType" + align="center" + label="题型" + width="100" + /> - - + prop="addTime" + align="center" + label="录入时间" + /> - - + prop="totalSeconds" + align="center" + label="答题时间(s)" + /> - + prop="accuracyRate" + align="center" + label="真确率(%)" + /> - + prop="userName" + align="center" + label="录入人" + /> - + label="操作" + align="center" + > + @@ -98,28 +103,60 @@ title="题目预览" :visible.sync="dialogVisible" width="50%" - :before-close="handleClose"> + :before-close="handleClose" + > -
【题型】:{{detailData.questionType}}
-
【编号】:{{detailData.id}}
-
【难度】:{{detailData.difficulty}}
-
【标签】:{{detailData.tags}}
-
【学科】:{{detailData.subjectID}}
-
【目录】:{{detailData.catalogID}}
-
【方向】:{{detailData.direction}}
-
+ +
+ 【题型】:{{ detailData.questionType }} +
+
+ +
+ 【编号】:{{ detailData.id }} +
+
+ +
+ 【难度】:{{ detailData.difficulty }} +
+
+ +
+ 【标签】:{{ detailData.tags }} +
+
+ +
+ 【学科】:{{ detailData.subjectID }} +
+
+ +
+ 【目录】:{{ detailData.catalogID }} +
+
+ +
+ 【方向】:{{ detailData.direction }} +
+
+ -
- 【题干】: -
+ +
+ 【题干】: +
-
-
+ -
【参考答案】 - 视频答案预览 +
+ 【参考答案】 + + 视频答案预览 +
@@ -127,22 +164,25 @@ -
- 【答案解析】: -
+ +
+ 【答案解析】: +
-
-
+ - -
【题目备注】:{{detailData.remarks}}
-
+ + +
+ 【题目备注】:{{ detailData.remarks }} +
+
+
关闭 -
@@ -150,35 +190,35 @@ -- Gitee From 2178c67e90ac2d509b19bbf1931c09fa8b1c4ff9 Mon Sep 17 00:00:00 2001 From: jiangxiuguo <2872456851@qq.com> Date: Sat, 17 Sep 2022 20:44:02 +0800 Subject: [PATCH 11/40] =?UTF-8?q?=E6=88=91=E5=A4=AA=E9=9A=BE=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/module-hmmm/components/tags-add.vue | 117 ++++-------------------- src/module-hmmm/pages/questions-new.vue | 11 +++ 2 files changed, 30 insertions(+), 98 deletions(-) create mode 100644 src/module-hmmm/pages/questions-new.vue diff --git a/src/module-hmmm/components/tags-add.vue b/src/module-hmmm/components/tags-add.vue index b274a20..fbd1996 100644 --- a/src/module-hmmm/components/tags-add.vue +++ b/src/module-hmmm/components/tags-add.vue @@ -1,116 +1,37 @@ - + diff --git a/src/module-hmmm/pages/questions-new.vue b/src/module-hmmm/pages/questions-new.vue new file mode 100644 index 0000000..3d6e66f --- /dev/null +++ b/src/module-hmmm/pages/questions-new.vue @@ -0,0 +1,11 @@ + + + + + -- Gitee From 23d2f448ca15f62d57b40a8dffe84ea49a6b268f Mon Sep 17 00:00:00 2001 From: wzy Date: Sat, 17 Sep 2022 20:50:33 +0800 Subject: [PATCH 12/40] feat(wzy):add wangEditor --- src/base-ui/ZyEditor/index.js | 3 ++ src/base-ui/ZyEditor/src/zy-editor.vue | 69 ++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 src/base-ui/ZyEditor/index.js create mode 100644 src/base-ui/ZyEditor/src/zy-editor.vue diff --git a/src/base-ui/ZyEditor/index.js b/src/base-ui/ZyEditor/index.js new file mode 100644 index 0000000..b16c501 --- /dev/null +++ b/src/base-ui/ZyEditor/index.js @@ -0,0 +1,3 @@ +import ZyEditor from './src/zy-editor.vue' + +export default ZyEditor diff --git a/src/base-ui/ZyEditor/src/zy-editor.vue b/src/base-ui/ZyEditor/src/zy-editor.vue new file mode 100644 index 0000000..b35a70c --- /dev/null +++ b/src/base-ui/ZyEditor/src/zy-editor.vue @@ -0,0 +1,69 @@ + + + + + -- Gitee From 8b453a7c67d86a1c071f747e1cbd7d9602059f10 Mon Sep 17 00:00:00 2001 From: wzy Date: Sat, 17 Sep 2022 20:53:37 +0800 Subject: [PATCH 13/40] feat(wzy):add wangEditor --- .eslintrc.js | 3 +- doc/wzy.md | 6 +- package.json | 2 + src/base-ui/ZyForm/src/zy-form.vue | 8 +- src/main.js | 2 + src/module-dashboard/components/pageTool.vue | 1 + .../questions-new/config/formConfig.config.js | 13 +- .../pages/questions-new/src/questions-new.vue | 7 +- src/module-manage/components/page-tool.vue | 1 + .../components/permissions-add.vue | 1 + .../components/permissionsApi-add.vue | 1 + src/module-manage/components/user-add.vue | 4 +- yarn.lock | 338 +++++++++++++++++- 13 files changed, 378 insertions(+), 9 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e90b8ad..230453f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,8 +18,9 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'space-before-function-paren': 'off', 'vue/max-attributes-per-line': 'off', - 'vue/require-prop-types': 'off', + // 'vue/require-prop-types': 'off', 'vue/no-use-v-if-with-v-for': 'off', 'vue/no-template-key': 'off' + // 'vue/require-default-prop': 'off' } } diff --git a/doc/wzy.md b/doc/wzy.md index 10d2aa5..4696456 100644 --- a/doc/wzy.md +++ b/doc/wzy.md @@ -81,4 +81,8 @@ propE: { - - + -- Gitee From cd61730a355ef84b8a21f2a03e4c72e301336a49 Mon Sep 17 00:00:00 2001 From: wzy Date: Sat, 17 Sep 2022 21:02:22 +0800 Subject: [PATCH 15/40] go to the moon --- src/base-ui/ZyForm/src/zy-form.vue | 4 +- .../components/QuestionChoiceSelect.vue | 50 ++++++++++++------- 2 files changed, 33 insertions(+), 21 deletions(-) diff --git a/src/base-ui/ZyForm/src/zy-form.vue b/src/base-ui/ZyForm/src/zy-form.vue index ae63043..22bc730 100644 --- a/src/base-ui/ZyForm/src/zy-form.vue +++ b/src/base-ui/ZyForm/src/zy-form.vue @@ -24,8 +24,8 @@ @@ -50,22 +52,22 @@ diff --git a/src/module-dashboard/components/layoutTags.vue b/src/module-dashboard/components/layoutTags.vue index 345e648..f9b2815 100644 --- a/src/module-dashboard/components/layoutTags.vue +++ b/src/module-dashboard/components/layoutTags.vue @@ -1,9 +1,6 @@ diff --git a/src/module-dashboard/pages/401.vue b/src/module-dashboard/pages/401.vue index f838f04..4371778 100644 --- a/src/module-dashboard/pages/401.vue +++ b/src/module-dashboard/pages/401.vue @@ -1,38 +1,26 @@ diff --git a/src/module-dashboard/pages/404.vue b/src/module-dashboard/pages/404.vue index 2179cfe..d5ee325 100644 --- a/src/module-dashboard/pages/404.vue +++ b/src/module-dashboard/pages/404.vue @@ -2,38 +2,18 @@
- 404 - 404 - 404 - 404 + 404 + 404 + 404 + 404
-
- OOPS! -
+
OOPS!
{{ message }} @@ -41,221 +21,218 @@
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
- 返回首页 + 返回首页
diff --git a/src/module-dashboard/pages/authredirect.vue b/src/module-dashboard/pages/authredirect.vue index 52eb1ae..a0d1c70 100644 --- a/src/module-dashboard/pages/authredirect.vue +++ b/src/module-dashboard/pages/authredirect.vue @@ -1,10 +1,10 @@ diff --git a/src/module-dashboard/pages/dashboard.vue b/src/module-dashboard/pages/dashboard.vue index 5630fa1..3ed9442 100644 --- a/src/module-dashboard/pages/dashboard.vue +++ b/src/module-dashboard/pages/dashboard.vue @@ -1,11 +1,7 @@ diff --git a/src/module-dashboard/pages/layout.vue b/src/module-dashboard/pages/layout.vue index 4ce6364..021c9a4 100644 --- a/src/module-dashboard/pages/layout.vue +++ b/src/module-dashboard/pages/layout.vue @@ -1,8 +1,5 @@ diff --git a/src/module-dashboard/pages/login.vue b/src/module-dashboard/pages/login.vue index b3e4691..412d996 100644 --- a/src/module-dashboard/pages/login.vue +++ b/src/module-dashboard/pages/login.vue @@ -43,10 +43,7 @@ placeholder="password" @keyup.enter.native="handleLogin" /> - + @@ -65,217 +62,217 @@ diff --git a/src/module-hmmm/components/articles-add.vue b/src/module-hmmm/components/articles-add.vue index b4dd113..6dfe99a 100644 --- a/src/module-hmmm/components/articles-add.vue +++ b/src/module-hmmm/components/articles-add.vue @@ -1,11 +1,9 @@ diff --git a/src/module-hmmm/components/articles-preview.vue b/src/module-hmmm/components/articles-preview.vue index f85042f..af8542e 100644 --- a/src/module-hmmm/components/articles-preview.vue +++ b/src/module-hmmm/components/articles-preview.vue @@ -1,11 +1,9 @@ diff --git a/src/module-hmmm/components/companys-add.vue b/src/module-hmmm/components/companys-add.vue index 7d899c0..f8f9e62 100644 --- a/src/module-hmmm/components/companys-add.vue +++ b/src/module-hmmm/components/companys-add.vue @@ -2,16 +2,16 @@
- + - +

@@ -20,30 +20,30 @@ - + @@ -51,7 +51,9 @@ 取消 - 确定 + + 确定 + @@ -59,89 +61,88 @@ - diff --git a/src/module-hmmm/components/questions-check.vue b/src/module-hmmm/components/questions-check.vue index 286bc7f..0dc63e2 100644 --- a/src/module-hmmm/components/questions-check.vue +++ b/src/module-hmmm/components/questions-check.vue @@ -1,11 +1,9 @@ diff --git a/src/module-hmmm/components/questions-preview.vue b/src/module-hmmm/components/questions-preview.vue index 254c8af..00c1a3b 100644 --- a/src/module-hmmm/components/questions-preview.vue +++ b/src/module-hmmm/components/questions-preview.vue @@ -1,11 +1,9 @@ diff --git a/src/module-hmmm/components/subjects-add.vue b/src/module-hmmm/components/subjects-add.vue index 0f07c16..9dc7a11 100644 --- a/src/module-hmmm/components/subjects-add.vue +++ b/src/module-hmmm/components/subjects-add.vue @@ -1,11 +1,9 @@ diff --git a/src/module-hmmm/components/tags-add.vue b/src/module-hmmm/components/tags-add.vue index 4b90a61..30241a7 100644 --- a/src/module-hmmm/components/tags-add.vue +++ b/src/module-hmmm/components/tags-add.vue @@ -1,145 +1,160 @@ diff --git a/src/module-hmmm/pages/articles.vue b/src/module-hmmm/pages/articles.vue index 3b9e481..f656610 100644 --- a/src/module-hmmm/pages/articles.vue +++ b/src/module-hmmm/pages/articles.vue @@ -1,11 +1,9 @@ diff --git a/src/module-hmmm/pages/companys.vue b/src/module-hmmm/pages/companys.vue index 9ae01c1..97d4f36 100644 --- a/src/module-hmmm/pages/companys.vue +++ b/src/module-hmmm/pages/companys.vue @@ -2,7 +2,13 @@

- + diff --git a/src/module-hmmm/pages/companys/index.vue b/src/module-hmmm/pages/companys/index.vue index 6f43b51..65532bf 100644 --- a/src/module-hmmm/pages/companys/index.vue +++ b/src/module-hmmm/pages/companys/index.vue @@ -56,14 +56,10 @@ 清除 - - 搜索 - + 搜索 - - 新增用户 - + 新增用户 @@ -71,47 +67,41 @@ - diff --git a/src/module-hmmm/pages/questions.vue b/src/module-hmmm/pages/questions.vue index aae2a67..27a8c9d 100644 --- a/src/module-hmmm/pages/questions.vue +++ b/src/module-hmmm/pages/questions.vue @@ -4,7 +4,9 @@
- 说明:目前支持学科和关键字条件筛选 + + 说明:目前支持学科和关键字条件筛选 + diff --git a/src/module-hmmm/pages/subjects.vue b/src/module-hmmm/pages/subjects.vue index 008ece2..978f95e 100644 --- a/src/module-hmmm/pages/subjects.vue +++ b/src/module-hmmm/pages/subjects.vue @@ -2,7 +2,7 @@
学科管理 -
+
@@ -18,10 +18,8 @@ - + + diff --git a/src/module-hmmm/pages/tags.vue b/src/module-hmmm/pages/tags.vue index e2b62ad..fbdcd43 100644 --- a/src/module-hmmm/pages/tags.vue +++ b/src/module-hmmm/pages/tags.vue @@ -1,10 +1,10 @@ diff --git a/src/module-manage/components/menu-add.vue b/src/module-manage/components/menu-add.vue index 11b58b7..b8c07c7 100644 --- a/src/module-manage/components/menu-add.vue +++ b/src/module-manage/components/menu-add.vue @@ -67,401 +67,401 @@
diff --git a/src/module-manage/components/page-tool.vue b/src/module-manage/components/page-tool.vue index aa3243c..4992389 100644 --- a/src/module-manage/components/page-tool.vue +++ b/src/module-manage/components/page-tool.vue @@ -13,31 +13,31 @@
diff --git a/src/module-manage/components/permissions-add.vue b/src/module-manage/components/permissions-add.vue index 4293a8d..6e117c5 100644 --- a/src/module-manage/components/permissions-add.vue +++ b/src/module-manage/components/permissions-add.vue @@ -41,270 +41,279 @@
diff --git a/src/module-manage/components/permissionsApi-add.vue b/src/module-manage/components/permissionsApi-add.vue index 3519a07..fe0f4b7 100644 --- a/src/module-manage/components/permissionsApi-add.vue +++ b/src/module-manage/components/permissionsApi-add.vue @@ -36,147 +36,149 @@
diff --git a/src/module-manage/components/user-add.vue b/src/module-manage/components/user-add.vue index 78cf640..137df57 100644 --- a/src/module-manage/components/user-add.vue +++ b/src/module-manage/components/user-add.vue @@ -80,80 +80,80 @@ diff --git a/src/module-manage/pages/logs.vue b/src/module-manage/pages/logs.vue index 4c484ae..aebb1ba 100644 --- a/src/module-manage/pages/logs.vue +++ b/src/module-manage/pages/logs.vue @@ -1,8 +1,5 @@ - + - + @@ -77,103 +62,103 @@
diff --git a/src/module-manage/pages/menus.vue b/src/module-manage/pages/menus.vue index 8dfe995..5d0d48d 100644 --- a/src/module-manage/pages/menus.vue +++ b/src/module-manage/pages/menus.vue @@ -1,16 +1,14 @@ diff --git a/src/module-manage/pages/permissions.vue b/src/module-manage/pages/permissions.vue index 98cd732..b34e25e 100644 --- a/src/module-manage/pages/permissions.vue +++ b/src/module-manage/pages/permissions.vue @@ -2,32 +2,27 @@
- + - + - - 清除 - - + 清除 + 搜索 - - 新增权限组 + + + 新增权限组 - + - + @@ -83,7 +83,6 @@ :pagination-page="currentPage" :pagination-pagesize="pageSize" :total="total" - @pageChange="handleCurrentChange" @pageSizeChange="handleSizeChange" /> @@ -101,106 +100,103 @@ diff --git a/src/module-manage/pages/users.vue b/src/module-manage/pages/users.vue index 33f4d41..e58b82f 100644 --- a/src/module-manage/pages/users.vue +++ b/src/module-manage/pages/users.vue @@ -176,249 +176,251 @@
diff --git a/src/utils/openWindow.js b/src/utils/openWindow.js index 2611118..895f74d 100644 --- a/src/utils/openWindow.js +++ b/src/utils/openWindow.js @@ -16,13 +16,13 @@ export default function openWindow(url, title, w, h) { const width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth - ? document.documentElement.clientWidth - : screen.width + ? document.documentElement.clientWidth + : screen.width const height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight - ? document.documentElement.clientHeight - : screen.height + ? document.documentElement.clientHeight + : screen.height const left = width / 2 - w / 2 + dualScreenLeft const top = height / 2 - h / 2 + dualScreenTop -- Gitee