From 8a91bef819a2d65317a5f2eadb401a93285c752c Mon Sep 17 00:00:00 2001 From: WX0lxh <2062408239@qq.com> Date: Tue, 24 Feb 2026 10:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E6=9C=BA=E6=9E=84=E8=AF=84?= =?UTF-8?q?=E4=BB=B7=E6=9C=BA=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 3 + package-lock.json | 6 + package.json | 1 + packageB/components/map.vue | 827 +++++++++++++++ packageB/components/unieditor.vue | 555 ++++++++++ .../evaluationAgencyMaintenance.vue | 941 +++++++++++++++++ .../trainingInstitutionMaintenance.vue | 986 ++++++++++++++++++ .../evaluateAnnouncement/evaluateEdit.vue | 469 +++++++++ .../evaluateAnnouncement/evaluateList.vue | 441 ++++++++ .../trainingAnnouncement/postedEdit.vue | 469 +++++++++ .../trainingAnnouncement/postedList.vue | 441 ++++++++ pages.json | 42 + 12 files changed, 5181 insertions(+) create mode 100644 packageB/components/map.vue create mode 100644 packageB/components/unieditor.vue create mode 100644 packageB/institution/evaluationAgencyMaintenance.vue create mode 100644 packageB/institution/trainingInstitutionMaintenance.vue create mode 100644 packageB/notice/evaluateAnnouncement/evaluateEdit.vue create mode 100644 packageB/notice/evaluateAnnouncement/evaluateList.vue create mode 100644 packageB/notice/trainingAnnouncement/postedEdit.vue create mode 100644 packageB/notice/trainingAnnouncement/postedList.vue diff --git a/main.js b/main.js index 94b4446..7537a34 100644 --- a/main.js +++ b/main.js @@ -16,6 +16,7 @@ import Empty from './components/empty/empty.vue'; import NoBouncePage from '@/components/NoBouncePage/NoBouncePage.vue' import MsgTips from '@/components/MsgTips/MsgTips.vue' import SelectPopupPlugin from '@/components/selectPopup/selectPopupPlugin'; +import unieditor from '@/packageB/components/unieditor.vue' import storeRc from './utilsRc/store/index.js' import {processFileUrl,} from '@/utilsRc/common.js' // iconfont.css 已在 App.vue 中通过 @import 引入,无需在此处重复引入 @@ -44,6 +45,7 @@ export function createApp() { app.component('Empty', Empty) app.component('NoBouncePage', NoBouncePage) app.component('MsgTips', MsgTips) + app.component('unieditor', unieditor) app.config.globalProperties.$processFileUrl = processFileUrl; @@ -74,6 +76,7 @@ export function createApp() { app.provide('deviceInfo', globalFunction.getdeviceInfo()); app.use(SelectPopupPlugin); + // app.use(unieditor); app.use(Pinia.createPinia()); // 注册vuex app.use(storeRc); diff --git a/package-lock.json b/package-lock.json index 2db0b7d..86115a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "dependencies": { "@dcloudio/uni-ui": "^1.5.11", "dayjs": "^1.11.19", + "mp-html": "^2.5.2", "sm-crypto": "^0.3.13" } }, @@ -25,6 +26,11 @@ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" }, + "node_modules/mp-html": { + "version": "2.5.2", + "resolved": "https://registry.npmmirror.com/mp-html/-/mp-html-2.5.2.tgz", + "integrity": "sha512-45e8c32Qgux4YU4iC3qCSFsOh3y+RwPwZ+iz/vvLkDgSGWk+1zsL4WUzWWQc9w3AsAfkaD/QR0oIufIDngBmXA==" + }, "node_modules/sm-crypto": { "version": "0.3.13", "resolved": "https://registry.npmmirror.com/sm-crypto/-/sm-crypto-0.3.13.tgz", diff --git a/package.json b/package.json index bcc7116..afea3cf 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "dependencies": { "@dcloudio/uni-ui": "^1.5.11", "dayjs": "^1.11.19", + "mp-html": "^2.5.2", "sm-crypto": "^0.3.13" } } diff --git a/packageB/components/map.vue b/packageB/components/map.vue new file mode 100644 index 0000000..bdf25f9 --- /dev/null +++ b/packageB/components/map.vue @@ -0,0 +1,827 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 当前选择位置 + {{ currentAddress.name }} + {{ currentAddress.address }} + + + + + + 确认选择 + + + + + + + + + diff --git a/packageB/components/unieditor.vue b/packageB/components/unieditor.vue new file mode 100644 index 0000000..da61326 --- /dev/null +++ b/packageB/components/unieditor.vue @@ -0,0 +1,555 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packageB/institution/evaluationAgencyMaintenance.vue b/packageB/institution/evaluationAgencyMaintenance.vue new file mode 100644 index 0000000..ff19952 --- /dev/null +++ b/packageB/institution/evaluationAgencyMaintenance.vue @@ -0,0 +1,941 @@ + + + + + *机构名称 + + + + 评价等级 + + + {{gradeIndex==''?'请选择':gradeLabels[gradeIndex].dictLabel}} + + + + + *联系人 + + + + *联系方式 + + + + + + + 工作时间 + + + + 所在区划 + + + {{region.provinceData[0][region.arrayIndex[0]].dictLabel}}/{{region.provinceData[1][region.arrayIndex[1]].dictLabel}}/{{region.provinceData[2].length>0?region.provinceData[2][region.arrayIndex[2]].dictLabel:''}} + 请选择 + + + + + + *机构地址 + + + + 地图定位(经纬度) + {{fromValue.location?fromValue.location:'请选择'}} + + + + 评价项目 + + + + 流程说明 + + + + + 资质证书 + + + 上传 + + + + + {{ item.name }} + 删除 + + + + + 机构LOGO + + + 上传 + + + + + + + + 保存 + + + + + + + + diff --git a/packageB/institution/trainingInstitutionMaintenance.vue b/packageB/institution/trainingInstitutionMaintenance.vue new file mode 100644 index 0000000..7716de9 --- /dev/null +++ b/packageB/institution/trainingInstitutionMaintenance.vue @@ -0,0 +1,986 @@ + + + + + *机构名称 + + + + *联系人 + + + + 联系方式 + + + + 机构类别 + + + + 机构性质 + + + + 培训级别及证书类型 + + + + 办学许可证号/批文号 + + + + 所在区域 + + + {{region.provinceData[0][region.arrayIndex[0]].dictLabel}}/{{region.provinceData[1][region.arrayIndex[1]].dictLabel}}/{{region.provinceData[2].length>0?region.provinceData[2][region.arrayIndex[2]].dictLabel:''}} + 请选择 + + + + + + 机构地址 + + + + 地图定位(经纬度) + {{fromValue.location?fromValue.location:'请选择'}} + + + *统一社会信用代码 + + + + 机构简介 + + + + 培训项目 + + + + + + + {{item.dictLabel}} + + + + + + + + 资质证书 + + + 上传 + + + + + {{ item.name }} + 删除 + + + + + 机构LOGO + + + 上传 + + + + + + + + 保存 + + + + + + + + diff --git a/packageB/notice/evaluateAnnouncement/evaluateEdit.vue b/packageB/notice/evaluateAnnouncement/evaluateEdit.vue new file mode 100644 index 0000000..3e95cb1 --- /dev/null +++ b/packageB/notice/evaluateAnnouncement/evaluateEdit.vue @@ -0,0 +1,469 @@ + + + + + *标题 + + + + *联系人 + + + + + 备注 + + + + + + 保存 + + + + + + + + diff --git a/packageB/notice/evaluateAnnouncement/evaluateList.vue b/packageB/notice/evaluateAnnouncement/evaluateList.vue new file mode 100644 index 0000000..2f3977d --- /dev/null +++ b/packageB/notice/evaluateAnnouncement/evaluateList.vue @@ -0,0 +1,441 @@ + + + + + + + + + {{item.title}} + + + + + + + + + + 发布时间:{{item.publishTime}} + 审核状态: + + + + + + 发布 + 取消发布 + 查看 + 编辑 + 删除 + + + + + + + + + + + + diff --git a/packageB/notice/trainingAnnouncement/postedEdit.vue b/packageB/notice/trainingAnnouncement/postedEdit.vue new file mode 100644 index 0000000..6007e35 --- /dev/null +++ b/packageB/notice/trainingAnnouncement/postedEdit.vue @@ -0,0 +1,469 @@ + + + + + *标题 + + + + *联系人 + + + + + 备注 + + + + + + 保存 + + + + + + + + diff --git a/packageB/notice/trainingAnnouncement/postedList.vue b/packageB/notice/trainingAnnouncement/postedList.vue new file mode 100644 index 0000000..ea154ac --- /dev/null +++ b/packageB/notice/trainingAnnouncement/postedList.vue @@ -0,0 +1,441 @@ + + + + + + + + + {{item.title}} + + + + + + + + + + 发布时间:{{item.publishTime}} + 审核状态: + + + + + + 发布 + 取消发布 + 查看 + 编辑 + 删除 + + + + + + + + + + + + diff --git a/pages.json b/pages.json index 58fc301..f4b495d 100644 --- a/pages.json +++ b/pages.json @@ -474,6 +474,48 @@ "style": { "navigationBarTitleText": "培训机构信息详情" } + }, + { + "path": "institution/trainingInstitutionMaintenance", + "style": { + "navigationBarTitleText": "培训机构信息维护" + } + }, + { + "path": "components/map", + "style": { + "navigationBarTitleText": "选择地址" + } + }, + { + "path": "institution/evaluationAgencyMaintenance", + "style": { + "navigationBarTitleText": "评价机构信息维护" + } + }, + { + "path": "notice/trainingAnnouncement/postedList", + "style": { + "navigationBarTitleText": "培训公告发布" + } + }, + { + "path": "notice/trainingAnnouncement/postedEdit", + "style": { + "navigationBarTitleText": "培训公告" + } + }, + { + "path": "notice/evaluateAnnouncement/evaluateList", + "style": { + "navigationBarTitleText": "评价公告发布" + } + }, + { + "path": "notice/evaluateAnnouncement/evaluateEdit", + "style": { + "navigationBarTitleText": "评价公告" + } } ] },