From 705036a303a19e1767b2b693a1e4ad4d1e441d77 Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Mon, 25 Apr 2022 18:47:25 +0800 Subject: [PATCH 01/17] =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- src/views/modules/visual/plugin/power/organization.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 51d5f0763..4052ea1b3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -225,7 +225,7 @@ router.beforeEach((to, from, next) => { window.SITE_CONFIG["menuShujuList"] = [ { url: "/visual/plugin/power/organization", - name: "组织架构", + name: "动力主轴", id: "5feawfwaefwa577", }, { diff --git a/src/views/modules/visual/plugin/power/organization.vue b/src/views/modules/visual/plugin/power/organization.vue index a12788fb9..62fdfc1ff 100644 --- a/src/views/modules/visual/plugin/power/organization.vue +++ b/src/views/modules/visual/plugin/power/organization.vue @@ -4,12 +4,12 @@
- 组织架构 + 动力主轴
Date: Tue, 26 Apr 2022 17:16:39 +0800 Subject: [PATCH 02/17] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/checkBox.vue | 77 +++++ src/views/components/dragItem.vue | 94 ++++++ src/views/modules/base/diyInfo.vue | 455 +++++++++++++++++++++++++++++ src/views/modules/base/resi.vue | 30 +- 4 files changed, 654 insertions(+), 2 deletions(-) create mode 100644 src/views/components/checkBox.vue create mode 100644 src/views/components/dragItem.vue create mode 100644 src/views/modules/base/diyInfo.vue diff --git a/src/views/components/checkBox.vue b/src/views/components/checkBox.vue new file mode 100644 index 000000000..bfd326ca4 --- /dev/null +++ b/src/views/components/checkBox.vue @@ -0,0 +1,77 @@ + + + + + \ No newline at end of file diff --git a/src/views/components/dragItem.vue b/src/views/components/dragItem.vue new file mode 100644 index 000000000..c9268ac94 --- /dev/null +++ b/src/views/components/dragItem.vue @@ -0,0 +1,94 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/base/diyInfo.vue b/src/views/modules/base/diyInfo.vue new file mode 100644 index 000000000..7f3e86bcc --- /dev/null +++ b/src/views/modules/base/diyInfo.vue @@ -0,0 +1,455 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 5ffed18ab..2e6f90fec 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -63,6 +63,10 @@ class="diy-button--reset" :loading="exportBtn" @click="handleExport">{{exportBtnTitle}} + 自定义导出 + + + Date: Tue, 26 Apr 2022 17:20:48 +0800 Subject: [PATCH 03/17] dd --- src/views/modules/base/diyInfo.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/modules/base/diyInfo.vue b/src/views/modules/base/diyInfo.vue index 7f3e86bcc..2d103fba8 100644 --- a/src/views/modules/base/diyInfo.vue +++ b/src/views/modules/base/diyInfo.vue @@ -257,12 +257,15 @@ export default { }, handlePreview(id) { if (id) this.getPreview(id) - else this.previewList = this.rightList.map(item => { + else { + if (this.rightList.length == 0) return this.$message.error('请选择导出信息') + this.previewList = this.rightList.map(item => { return { label: item.groupName, children: item.queryItemList } }) + } this.diyDialog = true }, handleExport() { From fc966fba14564edf84bbd80660804150ddcc1dfa Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 26 Apr 2022 17:29:03 +0800 Subject: [PATCH 04/17] ss --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dbb18e32c..3def21d39 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@riophae/vue-treeselect": "^0.4.0", - "@tinymce/tinymce-vue": "^4.0.4", + "@tinymce/tinymce-vue": "^3.2.8", "axios": "^0.19.0", "babel-eslint": "^8.0.1", "babel-plugin-component": "^1.1.1", From 38c71b81a9d4fc6ed8f3e133dee25687c119011f Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Wed, 27 Apr 2022 10:11:40 +0800 Subject: [PATCH 05/17] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=AF=BC=E5=87=BA=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/checkBox.vue | 1 + src/views/modules/base/diyInfo.vue | 39 ++++++++++++------------ src/views/modules/base/resi.vue | 49 ++++++++++++++++++++++++++++-- 3 files changed, 67 insertions(+), 22 deletions(-) diff --git a/src/views/components/checkBox.vue b/src/views/components/checkBox.vue index bfd326ca4..4bab4aea7 100644 --- a/src/views/components/checkBox.vue +++ b/src/views/components/checkBox.vue @@ -41,6 +41,7 @@ export default { }, created() { this.boxList = this.list.filter(item => item.itemType != 'inputRange') + console.log('cehck-bo----', this.list) this.pid = this.list[0].itemGroupId }, methods: { diff --git a/src/views/modules/base/diyInfo.vue b/src/views/modules/base/diyInfo.vue index 2d103fba8..b93a49398 100644 --- a/src/views/modules/base/diyInfo.vue +++ b/src/views/modules/base/diyInfo.vue @@ -1,13 +1,13 @@