From 74a677e037844d53140109e145e5104615796db7 Mon Sep 17 00:00:00 2001 From: zzq <15064940501@163.com> Date: Sat, 15 Jun 2024 14:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hc/hc.css | 0 index.html | 2 +- public/{learunui/learunui.css => hc/hc.css} | 0 .../learunui.umd.min.js => hc/hc.umd.min.js} | 64 +++++++++---------- .../package/penal/PropertiesPanel.vue | 2 +- src/views/demo/workflow/h5/audit.vue | 12 ++-- .../demo/workflow/task/process/audit.vue | 12 ++-- 7 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 hc/hc.css rename public/{learunui/learunui.css => hc/hc.css} (100%) rename public/{learunui/learunui.umd.min.js => hc/hc.umd.min.js} (99%) diff --git a/hc/hc.css b/hc/hc.css new file mode 100644 index 00000000..e69de29b diff --git a/index.html b/index.html index 4a617c63..d82504a7 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ /> <%= VITE_GLOB_APP_TITLE %> - + diff --git a/public/learunui/learunui.css b/public/hc/hc.css similarity index 100% rename from public/learunui/learunui.css rename to public/hc/hc.css diff --git a/public/learunui/learunui.umd.min.js b/public/hc/hc.umd.min.js similarity index 99% rename from public/learunui/learunui.umd.min.js rename to public/hc/hc.umd.min.js index 09c1902a..e897f757 100644 --- a/public/learunui/learunui.umd.min.js +++ b/public/hc/hc.umd.min.js @@ -1,5 +1,5 @@ (function(e, t) { - "object" === typeof exports && "object" === typeof module ? module.exports = t(require("ELEMENT")) : "function" === typeof define && define.amd ? define(["ELEMENT"], t) : "object" === typeof exports ? exports["learunui"] = t(require("ELEMENT")) : e["learunui"] = t(e["ELEMENT"]) + "object" === typeof exports && "object" === typeof module ? module.exports = t(require("ELEMENT")) : "function" === typeof define && define.amd ? define(["ELEMENT"], t) : "object" === typeof exports ? exports["hc"] = t(require("ELEMENT")) : e["hc"] = t(e["ELEMENT"]) })("undefined" !== typeof self ? self : this, (function(__WEBPACK_EXTERNAL_MODULE__5f72__) { return function(e) { var t = {}; @@ -6397,7 +6397,7 @@ }, [n("el-button", { attrs: { slot: "append", - icon: "learun-icon-department-of-management" + icon: "hc-icon-department-of-management" }, slot: "append" })], 1)]), e.isLoadByCompany ? e._e() : n("l-dialog", { @@ -7392,31 +7392,31 @@ this.$emit("expandChange", e, t) }, clearSelection: function() { - this.$refs.learunTable.clearSelection() + this.$refs.hcTable.clearSelection() }, toggleRowSelection: function(e, t) { - this.$refs.learunTable.toggleRowSelection(e, t) + this.$refs.hcTable.toggleRowSelection(e, t) }, toggleAllSelection: function() { - this.$refs.learunTable.toggleAllSelection() + this.$refs.hcTable.toggleAllSelection() }, toggleRowExpansion: function(e, t) { - this.$refs.learunTable.toggleRowExpansion(e, t) + this.$refs.hcTable.toggleRowExpansion(e, t) }, setCurrentRow: function(e) { - this.$refs.learunTable.setCurrentRow(e) + this.$refs.hcTable.setCurrentRow(e) }, clearSort: function() { - this.$refs.learunTable.clearSort() + this.$refs.hcTable.clearSort() }, clearFilter: function(e) { - this.$refs.learunTable.clearFilter(e) + this.$refs.hcTable.clearFilter(e) }, doLayout: function() { - this.$refs.learunTable.doLayout() + this.$refs.hcTable.doLayout() }, sort: function(e) { - this.$refs.learunTable.sort(e) + this.$refs.hcTable.sort(e) } } } @@ -7825,7 +7825,7 @@ e.exports = n("35e8") }, 9224: function(e) { - e.exports = JSON.parse('{"name":"learun-ui-vue","version":"3.3.2","private":true,"description":"vue ui compontents.","author":"tobin","main":"dist2/lui.common.js","company":"山东慧创信息科技有限公司","keywords":["vue","learun","learun-ui","learun-ui-vue"],"scripts":{"dev":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","test:unit":"vue-cli-service test:unit","prepublishOnly":"npm run lib","lib":"vue-cli-service build --target lib --name learunui --dest dist2 lib/index.js"},"dependencies":{"countup.js":"^2.0.7","element-resize-detector":"^1.2.2","element-ui":"^2.11.0","vue":"^2.6.14","vue-async-computed":"^3.9.0","vue-router":"^3.0.6","vuedraggable":"^2.24.3"},"devDependencies":{"@vue/cli-plugin-babel":"^3.7.0","@vue/cli-plugin-eslint":"^3.7.0","@vue/cli-service":"^3.7.0","@vue/eslint-config-standard":"^4.0.0","@vue/test-utils":"^1.0.0-beta.29","babel-eslint":"^10.0.1","chai":"^4.2.0","core-js":"^2.6.9","css-loader":"^3.1.0","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","highlight.js":"^9.15.8","less":"^3.9.0","less-loader":"^5.0.0","markdown-it-chain":"^1.3.0","markdown-it-container":"^2.0.0","shelljs":"^0.8.3","style-loader":"^0.23.1","transliteration":"^2.1.4","vue-markdown-loader":"^2.4.1","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true,"browser":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{"vue/no-reserved-keys":0,"no-empty":0,"no-useless-escape":0,"no-console":0},"parserOptions":{"parser":"babel-eslint"}},"eslintIgnore":["/src/docs","dist2"],"postcss":{"plugins":{"autoprefixer":{}}},"babel":{"presets":["@vue/app"]}}') + e.exports = JSON.parse('{"name":"hc-ui-vue","version":"3.3.2","private":true,"description":"vue ui compontents.","author":"tobin","main":"dist2/lui.common.js","company":"山东慧创信息科技有限公司","keywords":["vue","hc","hc-ui","hc-ui-vue"],"scripts":{"dev":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","test:unit":"vue-cli-service test:unit","prepublishOnly":"npm run lib","lib":"vue-cli-service build --target lib --name hc --dest dist2 lib/index.js"},"dependencies":{"countup.js":"^2.0.7","element-resize-detector":"^1.2.2","element-ui":"^2.11.0","vue":"^2.6.14","vue-async-computed":"^3.9.0","vue-router":"^3.0.6","vuedraggable":"^2.24.3"},"devDependencies":{"@vue/cli-plugin-babel":"^3.7.0","@vue/cli-plugin-eslint":"^3.7.0","@vue/cli-service":"^3.7.0","@vue/eslint-config-standard":"^4.0.0","@vue/test-utils":"^1.0.0-beta.29","babel-eslint":"^10.0.1","chai":"^4.2.0","core-js":"^2.6.9","css-loader":"^3.1.0","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","highlight.js":"^9.15.8","less":"^3.9.0","less-loader":"^5.0.0","markdown-it-chain":"^1.3.0","markdown-it-container":"^2.0.0","shelljs":"^0.8.3","style-loader":"^0.23.1","transliteration":"^2.1.4","vue-markdown-loader":"^2.4.1","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true,"browser":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{"vue/no-reserved-keys":0,"no-empty":0,"no-useless-escape":0,"no-console":0},"parserOptions":{"parser":"babel-eslint"}},"eslintIgnore":["/src/docs","dist2"],"postcss":{"plugins":{"autoprefixer":{}}},"babel":{"presets":["@vue/app"]}}') }, 9292: function(e, t, n) { "use strict"; @@ -8730,7 +8730,7 @@ t.prototype["$" + e] = oe[e], "undefined" !== typeof window && (window["$" + e] = oe[e]) }))) }; - "undefined" !== typeof window && window.Vue && (le(window.Vue), window.learun_ui = { + "undefined" !== typeof window && window.Vue && (le(window.Vue), window.hc_ui = { name: ee.name, version: ee.version, company: ee.company @@ -11289,7 +11289,7 @@ "element-loading-spinner": "el-icon-loading" } }, [n("el-table", { - ref: "learunTable", + ref: "hcTable", staticStyle: { width: "100%" }, @@ -11359,7 +11359,7 @@ }, [n("i", { staticClass: "el-icon-sort" })]), [n("span", { - staticClass: "learun-table__drag-handler" + staticClass: "hc-table__drag-handler" }, [n("i", { staticClass: "el-icon-rank" })])]], 2) : e._e(), e.isExpand ? n("el-table-column", { @@ -11681,7 +11681,7 @@ var e, t = this; return 0 == this.columns.length ? [{ label: "", - prop: "learun_null", + prop: "hc_null", minWidth: "1" }] : (e = null != this.columnsChecks ? this.columns.filter((function(e) { return -1 != t.columnsChecks.indexOf(e.prop) @@ -11689,7 +11689,7 @@ return -1 != t.defaultCheckedKeys.indexOf(e.prop) })), 0 == e.length ? [{ label: "", - prop: "learun_null", + prop: "hc_null", minWidth: "1" }] : e) } @@ -11724,11 +11724,11 @@ doLayout: function() { var e = this; this.$nextTick((function() { - e.$refs.learunTable.doLayout() + e.$refs.hcTable.doLayout() })) }, reset: function() { - this.selectedData = [], this.$refs.learunTable.clearSelection() + this.selectedData = [], this.$refs.hcTable.clearSelection() }, getSelected: function() { return this.$deepClone(this.selectedData) @@ -11777,7 +11777,7 @@ var e = this; this.isMultiSelect && this.reserveSelection && this.$nextTick((function() { e.isTree ? e.selectTreeRows(e.tableShowData) : e.dataSource.forEach((function(t) { - -1 != e.selectedValues.indexOf(t[e.multiSelectKey]) && e.$refs.learunTable.toggleRowSelection(t, !0) + -1 != e.selectedValues.indexOf(t[e.multiSelectKey]) && e.$refs.hcTable.toggleRowSelection(t, !0) })) })) }, @@ -11799,16 +11799,16 @@ handleColumnsCheck: function(e, t) { var n = this; this.columnsChecks = t.checkedKeys.concat(t.halfCheckedKeys), this.$nextTick((function() { - n.$refs.learunTable.doLayout() + n.$refs.hcTable.doLayout() })) }, setSort: function() { var e = this, t = function() { - var t = e.$refs.learunTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0]; + var t = e.$refs.hcTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0]; e.dragSortable = window.Sortable.create(t, { - ghostClass: "learun-table__sortable", - handle: ".learun-table__drag-handler", + ghostClass: "hc-table__sortable", + handle: ".hc-table__drag-handler", onEnd: function(t) { var n = t.oldIndex, i = t.newIndex, @@ -11909,7 +11909,7 @@ getSummaries: function(e) { var t = this; if (this.$nextTick((function() { - t.$refs.learunTable.doLayout() + t.$refs.hcTable.doLayout() })), this.summaryMethod) return this.summaryMethod(e); var n = e.columns, i = e.data, @@ -12014,7 +12014,7 @@ height: e.height } }, [n("el-table", { - ref: "learunTable", + ref: "hcTable", staticStyle: { width: "100%" }, @@ -14319,7 +14319,7 @@ computed: { value2: { get: function() { - return this.$validatenull(this.value) || -1 != this.value.indexOf("learun_code_") ? "保存时生成" : this.value + return this.$validatenull(this.value) || -1 != this.value.indexOf("hc_code_") ? "保存时生成" : this.value }, set: function(e) { this.$emit("input", e) @@ -14328,7 +14328,7 @@ }, methods: { setCode: function() { - this.value2 = "learun_code_".concat(this.code, "|").concat(this.$uuid()) + this.value2 = "hc_code_".concat(this.code, "|").concat(this.$uuid()) }, setCodeOld: function() { var e = Object(a["a"])(regeneratorRuntime.mark((function e() { @@ -16248,11 +16248,11 @@ })); var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c5f6"), core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__), - _Users_tobin_work_learun_opendev_learun_uI_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("7618"), + _Users_tobin_work_hc_opendev_hc_uI_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("7618"), core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7f7f"), core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_2__), keyName = function() { - return window.$key || "learun-" + return window.$key || "hc-" }, setStore = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, @@ -16261,7 +16261,7 @@ i = e.type; t = keyName() + t; var r = { - dataType: Object(_Users_tobin_work_learun_opendev_learun_uI_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__["a"])(n), + dataType: Object(_Users_tobin_work_hc_opendev_hc_uI_node_modules_babel_runtime_corejs2_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__["a"])(n), content: n, type: i, datetime: (new Date).getTime() @@ -17311,4 +17311,4 @@ } }) })); -//# sourceMappingURL=learunui.umd.min.js.map \ No newline at end of file +//# sourceMappingURL=hc.umd.min.js.map \ No newline at end of file diff --git a/src/components/ProcessDesigner/package/penal/PropertiesPanel.vue b/src/components/ProcessDesigner/package/penal/PropertiesPanel.vue index dcf224c5..23b26ee8 100644 --- a/src/components/ProcessDesigner/package/penal/PropertiesPanel.vue +++ b/src/components/ProcessDesigner/package/penal/PropertiesPanel.vue @@ -544,7 +544,7 @@ }; }), scheme: { - content: lr_AESEncrypt(JSON.stringify(scheme), 'learun'), + content: lr_AESEncrypt(JSON.stringify(scheme), 'hc'), }, // scheme:scheme }; diff --git a/src/views/demo/workflow/h5/audit.vue b/src/views/demo/workflow/h5/audit.vue index 4d7aefed..43b9c411 100644 --- a/src/views/demo/workflow/h5/audit.vue +++ b/src/views/demo/workflow/h5/audit.vue @@ -436,7 +436,7 @@ const btns: taskBtnsType[] = []; if (currentNode.type == 'bpmn:StartEvent') { btns.push({ - code: 'learun_create', + code: 'hc_create', name: '提交', type: '', }); @@ -452,7 +452,7 @@ if (currentNode.isAddSign) { btns.push({ - code: 'learun_sign', + code: 'hc_sign', name: '加签', type: 'success', }); @@ -460,7 +460,7 @@ if (currentNode.isTransfer) { btns.push({ - code: 'learun_transfer', + code: 'hc_transfer', name: '转移', type: 'success', }); @@ -517,17 +517,17 @@ designerData.currentBtn = currentBtn; let res: any; switch (btn.code) { - case 'learun_create': + case 'hc_create': res = await createAgain({ processId: processId, des: `重新提交${formData.value.des ? '-' : ''}${formData.value.des}`, }); break; - case 'learun_sign': + case 'hc_sign': designerData.tUserType = 2; designerData.selectTUserVisible = true; break; - case 'learun_transfer': + case 'hc_transfer': designerData.tUserType = 1; designerData.selectTUserVisible = true; break; diff --git a/src/views/demo/workflow/task/process/audit.vue b/src/views/demo/workflow/task/process/audit.vue index 1c0dfa08..f4df1daa 100644 --- a/src/views/demo/workflow/task/process/audit.vue +++ b/src/views/demo/workflow/task/process/audit.vue @@ -556,7 +556,7 @@ const btns: taskBtnsType[] = []; if (currentNode.type == 'bpmn:StartEvent') { btns.push({ - code: 'learun_create', + code: 'hc_create', name: '提交', type: '', }); @@ -572,7 +572,7 @@ if (currentNode.isAddSign) { btns.push({ - code: 'learun_sign', + code: 'hc_sign', name: '加签', type: 'success', }); @@ -580,7 +580,7 @@ if (currentNode.isTransfer) { btns.push({ - code: 'learun_transfer', + code: 'hc_transfer', name: '转移', type: 'success', }); @@ -645,17 +645,17 @@ designerData.currentBtn = currentBtn; let res: any; switch (btn.code) { - case 'learun_create': + case 'hc_create': res = await createAgain({ processId: props.processId, des: `重新提交${formData.value.des ? '-' : ''}${formData.value.des}`, }); break; - case 'learun_sign': + case 'hc_sign': designerData.tUserType = 2; designerData.selectTUserVisible = true; break; - case 'learun_transfer': + case 'hc_transfer': designerData.tUserType = 1; designerData.selectTUserVisible = true; break;