From 9c208766b95c9d94d11ecec9bb496725498aae1b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 16 Mar 2023 15:38:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E4=BC=99=E8=BF=90=E7=BB=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 15 + package.json | 3 + src/assets/img/plus.png | Bin 0 -> 287 bytes src/components/Sidebar.vue | 11 +- src/components/img-upload/Cropper.vue | 235 ++++++ src/components/img-upload/index.vue | 535 +++++++++++++ src/router/index.js | 12 + src/setting.js | 4 +- src/views/parnerOperation/editor.js | 376 +++++++++ src/views/parnerOperation/index.vue | 69 ++ src/views/parnerOperation/learnMg.vue | 967 +++++++++++++++++++++++ src/views/parnerOperation/mobileRole.vue | 187 +++++ src/views/parnerOperation/pcRole.vue | 187 +++++ src/views/parnerOperation/schemeSet.vue | 891 +++++++++++++++++++++ src/views/parnerOperation/staff.vue | 187 +++++ 15 files changed, 3674 insertions(+), 5 deletions(-) create mode 100644 src/assets/img/plus.png create mode 100644 src/components/img-upload/Cropper.vue create mode 100644 src/components/img-upload/index.vue create mode 100644 src/views/parnerOperation/editor.js create mode 100644 src/views/parnerOperation/index.vue create mode 100644 src/views/parnerOperation/learnMg.vue create mode 100644 src/views/parnerOperation/mobileRole.vue create mode 100644 src/views/parnerOperation/pcRole.vue create mode 100644 src/views/parnerOperation/schemeSet.vue create mode 100644 src/views/parnerOperation/staff.vue diff --git a/package-lock.json b/package-lock.json index cd9f292..9e49d5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6966,6 +6966,11 @@ "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", "dev": true }, + "image-conversion": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/image-conversion/-/image-conversion-2.1.1.tgz", + "integrity": "sha512-hnMOmP7q2jxA+52FZ+wHNhg3fdFRlgfngsQH2JQHEQkafY7tj/8F15e6Rv/RxDegc872jvyaRHwMbkTZK1Cjbg==" + }, "import-cwd": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz", @@ -12107,6 +12112,11 @@ "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz", "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" }, + "tinymce": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/tinymce/-/tinymce-6.3.2.tgz", + "integrity": "sha512-nOVHk4FhHKQj48hi7fEptS1Se6CNzPtfIcDzTO70KoTcSiQIFzhhZjS5bPotSzFnQ4dIQJ4QPOd7sqNs6fXUrA==" + }, "to-arraybuffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", @@ -12698,6 +12708,11 @@ "diff-match-patch": "^1.0.0" } }, + "vue-cropper": { + "version": "0.5.10", + "resolved": "https://registry.npmjs.org/vue-cropper/-/vue-cropper-0.5.10.tgz", + "integrity": "sha512-v76nyDwMI4jvNppPlgWWpm8fQ3qVtoGZ758yLfoBRF762nJ68sjQ6z4m5Xc4d6VUbjDORm7NEduYKagxhO1MtQ==" + }, "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 4684046..d510a3f 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,16 @@ "element-theme": "^2.0.1", "element-ui": "^2.13.0", "file-saver": "^2.0.5", + "image-conversion": "^2.1.1", "js-cookie": "^3.0.1", "mavon-editor": "^2.6.17", "postcss-px2rem": "^0.3.0", "px2rem-loader": "^0.1.9", "sortablejs": "^1.14.0", + "tinymce": "^6.3.2", "vue": "^2.6.10", "vue-codemirror": "^4.0.6", + "vue-cropper": "^0.5.10", "vue-cropperjs": "^3.0.0", "vue-pdf": "^4.3.0", "vue-quill-editor": "^3.0.6", diff --git a/src/assets/img/plus.png b/src/assets/img/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..9358205a193faa13d687f981691395c0356858f0 GIT binary patch literal 287 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+3?vf;>QaFeV{wqX6T`Z5GB1G~n*g5>S0K&6 z@LxOhze@anwS@l~N&mHy{%a)v*Gm4c31$OH&BXs&i6AZz0TnZ# z$YS38NBU_+7slodKJ&5wCv|KdNz!2yI3C>U5R4@ O`OVYS&t;ucLK6TuPi&F^ literal 0 HcmV?d00001 diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index fdf7030..8c6b9b7 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -83,12 +83,12 @@ export default { title: '数据管理' }, { - icon: 'el-icon-box', + icon: 'el-icon-tickets', index: '/match', title: '大赛管理' }, { - icon: 'el-icon-box', + icon: 'el-icon-takeaway-box', index: '/theoreticalCourse', title: '理论课程' }, @@ -98,7 +98,7 @@ export default { title: '资讯管理' }, { - icon: 'el-icon-office-building', + icon: 'el-icon-receiving', index: '/configure', title: '服务配置' }, @@ -112,6 +112,11 @@ export default { index: '/parner', title: '合伙管理' }, + { + icon: 'el-icon-data-line', + index: '/parnerOperation', + title: '合伙运营' + }, ], menus: [], onRoutes: this.$route.path diff --git a/src/components/img-upload/Cropper.vue b/src/components/img-upload/Cropper.vue new file mode 100644 index 0000000..1ec7578 --- /dev/null +++ b/src/components/img-upload/Cropper.vue @@ -0,0 +1,235 @@ + + + + diff --git a/src/components/img-upload/index.vue b/src/components/img-upload/index.vue new file mode 100644 index 0000000..a7e689b --- /dev/null +++ b/src/components/img-upload/index.vue @@ -0,0 +1,535 @@ + + + diff --git a/src/router/index.js b/src/router/index.js index 8949259..62bf2d9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -217,6 +217,18 @@ let router = new Router({ component: () => import('../views/parner'), // meta: { title: '个人中心' } }, + { + path: '/parnerOperation', + component: () => import('../views/parnerOperation'), + }, + { + path: '/learnMg', + component: () => import('../views/parnerOperation/learnMg'), + }, + { + path: '/schemeSet', + component: () => import('../views/parnerOperation/schemeSet'), + }, { path: '/404', component: () => import('../views/404.vue'), diff --git a/src/setting.js b/src/setting.js index ddb821b..9aebbab 100644 --- a/src/setting.js +++ b/src/setting.js @@ -12,7 +12,7 @@ if (isDev) { host = 'http://121.37.12.51/' // host = 'https://huorantech.cn/' // host = 'http://192.168.31.151:9000/'// 榕 - host = 'http://192.168.31.116:9000/'// 赓 + // host = 'http://192.168.31.116:9000/'// 赓 } else if (isPro) { jumpPath = 'https://www.huorantech.cn/judgmentPoint/' } @@ -45,7 +45,7 @@ const Setting = { isDev, isPro, // 是否使用动态路由 - dynamicRoute: true, + dynamicRoute: false, /** * @description 默认密码 */ diff --git a/src/views/parnerOperation/editor.js b/src/views/parnerOperation/editor.js new file mode 100644 index 0000000..e07a290 --- /dev/null +++ b/src/views/parnerOperation/editor.js @@ -0,0 +1,376 @@ +import Axios from 'axios' +import Api from '@/utils/api' +import Setting from '@/setting' +import Util from '@/libs/util' +export default { + //skin:'oxide-dark', + language:'zh_CN', + language_url: './styles/tinymce/langs/zh_CN.js', + plugins: 'print powerpaste preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media template advcode codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave autoresize formatpainter', + toolbar: 'code undo redo restoredraft | cut copy powerpaste pastetext | forecolor backcolor headings fontsize lineHeight bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify | \ + styleselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \ + table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | indent2em formatpainter', + style_formats: [ + //新增 首行缩进与行高 配置 + { + title: '首行缩进', + block: 'p', + styles: { + 'text-indent': '2em' + } + }, + { + title: '行高', + items: [{ + title: '1', + styles: { + 'line-height': '1' + }, + inline: 'span' + }, + { + title: '1.5', + styles: { + 'line-height': '1.5' + }, + inline: 'span' + }, + { + title: '2', + styles: { + 'line-height': '2' + }, + inline: 'span' + }, + { + title: '2.5', + styles: { + 'line-height': '2.5' + }, + inline: 'span' + }, + { + title: '3', + styles: { + 'line-height': '3' + }, + inline: 'span' + } + ] + }, + //默认的配置 + { + title: 'headings', + items: [ + { + title: 'Heading 1', + format: 'h1' + }, + { + title: 'Heading 2', + format: 'h2' + }, + { + title: 'Heading 3', + format: 'h3' + }, + { + title: 'Heading 4', + format: 'h4' + }, + { + title: 'Heading 5', + format: 'h5' + }, + { + title: 'Heading 6', + format: 'h6' + } + ] + }, + { + title: 'Inline', + items: [ + { + title: 'Bold', + icon: 'bold', + format: 'bold' + }, + { + title: 'Italic', + icon: 'italic', + format: 'italic' + }, + { + title: 'Underline', + icon: 'underline', + format: 'underline' + }, + { + title: 'Strikethrough', + icon: 'strikethrough', + format: 'strikethrough' + }, + { + title: 'Superscript', + icon: 'superscript', + format: 'superscript' + }, + { + title: 'Subscript', + icon: 'subscript', + format: 'subscript' + }, + { + title: 'Code', + icon: 'code', + format: 'code' + } + ] + }, + { + title: 'Blocks', + items: [ + { + title: 'Paragraph', + format: 'p' + }, + { + title: 'Blockquote', + format: 'blockquote' + }, + { + title: 'Div', + format: 'div' + }, + { + title: 'Pre', + format: 'pre' + } + ] + }, + { + title: 'Alignment', + items: [ + { + title: 'Left', + icon: 'alignleft', + format: 'alignleft' + }, + { + title: 'Center', + icon: 'aligncenter', + format: 'aligncenter' + }, + { + title: 'Right', + icon: 'alignright', + format: 'alignright' + }, + { + title: 'Justify', + icon: 'alignjustify', + format: 'alignjustify' + } + ] + } + ], + promotion: false, + branding: false, + width: 940, + height: 650, //编辑器高度 + min_height: 400, + content_css: [ //可设置编辑区内容展示的css,谨慎使用 + './styles/css/editor.css', + ], + // content_style: Style, + fontsize_formats: '12px 14px 16px 19px 24px 36px 48px 56px 72px', + font_formats: '苹果苹方=PingFang SC,Microsoft YaHei,sans-serif;宋体=simsun,serif;微软雅黑=Microsoft YaHei,Helvetica Neue,PingFang SC,sans-serif;仿宋体=FangSong,serif;黑体=SimHei,sans-serif;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats;知乎配置=BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;小米配置=Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif', + link_list: [ + { title: '预置链接1', value: 'http://www.tinymce.com' }, + { title: '预置链接2', value: 'http://tinymce.ax-z.cn' } + ], + image_list: [ + { title: '预置图片1', value: 'https://www.tiny.cloud/images/glyph-tinymce@2x.png' }, + { title: '预置图片2', value: 'https://www.baidu.com/img/bd_logo1.png' } + ], + image_class_list: [ + { title: 'None', value: '' }, + { title: 'Some class', value: 'class-name' } + ], + //importcss_append: true, + //自定义文件选择器的回调内容 + file_picker_callback: function (callback, value, meta) { + if (meta.filetype === 'file') { + callback('https://www.baidu.com/img/bd_logo1.png', { text: 'My text' }); + } + if (meta.filetype === 'image') { + callback('https://www.baidu.com/img/bd_logo1.png', { alt: 'My alt text' }); + } + if (meta.filetype === 'media') { + callback('movie.mp4', { source2: 'alt.ogg', poster: 'https://www.baidu.com/img/bd_logo1.png' }); + } + }, + //为内容模板插件提供预置模板 + templates: [ + { title: '中文文章模板1', description: '图片文字流', content: ` +
+
+
+ +

图片描述

+
+
+

S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。S³FEL为科学家和企业用户提供了一种具有超高时间分辨、空间分辨和能量分辨的新方法、新技术。 S³FEL在量子材料、能源催化、生物医药、大气与星际科学、原子分子科学等领域的应用研究,将为促进我国战略性新兴产业创新发展和关键。S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。S³FEL为科学家和企业用户提供了一种具有超高时间分辨、空间分辨和能量分辨的新方法、新技术。 S³FEL在量子材料、能源催化、生物医药、大气与星际科学、原子分子科学等领域的应用研究,将为促进我国战略性新兴产业创新发展和关键。S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。S³FEL为科学家和企业用户提供了一种具有超高时间分辨、空间分辨和能量分辨的新方法、新技术。 S³FEL在量子材料、能源催化、生物医药、大气与星际科学、原子分子科学等领域的应用研究,将为促进我国战略性新兴产业创新发展和关键。S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。S³FEL在量子材料、能源催化、生物医药、大气与星际科学、原子分子科学等领域的应用研究,将为促进我国战略性新兴产业创新发展和关键。S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。 +

+
+
+
+
+ +

图片描述

+
+
+

集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,

+

S³FEL汇聚并培养信息、生命、材料、能源等学科领域的国际水平科技领军人才,集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,是展示我国科技实力、提高全民族科学素质和民族自信的重要宣传窗口。 S³FEL主体建筑将成为深圳市地标式建筑,促进提升深圳市的城市形象和国际化知名度。S³FEL汇聚并培养信息、生命、材料、能源等学科领域的国际水平科技领军人才,集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,是展示我国科技实力、提高全民族科学素质和民族自信的重要宣传窗口。 S³FEL主体建筑将成为深圳市地标式建筑,促进提升深圳市的城市形象和国际化知名度。S³FEL汇聚并培养信息、生命、材料、能源等学科领域的国际水平科技领军人才,集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,是展示我国科技实力、提高全民族科学素质和民族自信的重要宣传窗口。 S³FEL主体建筑将成为深圳市地标式建筑,促进提升深圳市的城市形象和国际化知名度。

+
+
+
+ ` + }, + { title: '英文文章模板1', description: '图片文字流', content: ` +
+
+
+ +

Picture description

+
+
+

One of the major barriers to treating pain effectively is rooted in providers’ fear of killing their patients. This includes caregivers who may be family or friends. In a 2014 study I led of nonprofessional hospice caregivers, we found that the majority of pain medication errors caregivers made involved administering less than the prescribed dose, which makes it difficult for patients to achieve optimal pain relief.

+

Meanwhile, more than 11 million Americans – often family members or friends – provide unpaid care for people with Alzheimer's or other dementias, according to calculations by the Alzheimer’s Association. In 2021, caregivers for people with Alzheimer’s or other dementias provided an estimated 16 billion hours of unpaid care valued at nearly $272 billion.My father took her to the emergency room. A doctor found a severe knee infection and took her into surgery. She was hospitalized for two weeks, followed by two months of rehabilitation at a skilled nursing facility.

+

If you heated the salt on your kitchen table up to 801 C (1,474 F), it would melt, and you’d have molten salt. However, for making and storing energy, not just any salt will do. Scientists are exploring different combinations of salts to get the exact properties needed to cool and fuel a nuclear power reactor efficiently for decades. These properties include lower melting temperatures, the right consistency, and the ability to absorb high amounts of heat, among others.

+
“We used experimental results to validate our simulation. At the same time, the simulation results provided us more details about which salts to study further. They work with each other.” — Jicheng Guo, chemical engineer at Argonne National Laboratory
+

Which molten salt blueprints will deliver the desired traits for a nuclear reactor? The potential variations are nearly endless. The study set out to determine whether computer simulations driven by machine learning could guide and refine real-world experiments at the Advanced Photon Source (APS), a DOE Office of Science user facility at Argonne. The results were recently published in the journal Physical Review B.

+

“We used experimental results from the APS to validate our simulation. At the same time, the simulation results provided us more details about which salts to study further. They work with each other,” said Jicheng Guo, a chemical engineer at Argonne and the paper’s lead author. “This allows us to study multiple compositions at the same time.”

+
+
+
+ ` + }, + { title: '新闻模板', description: '', content: ` +
+
+
+ +

图片描述

+
+
+

S³FEL汇聚并培养信息、生命、材料、能源等学科领域的国际水平科技领军人才,集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,是展示我国科技实力、提高全民族科学素质和民族自信的重要宣传窗口。 S³FEL主体建筑将成为深圳市地标式建筑,促进提升深圳市的城市形象和国际化知名度。S³FEL汇聚并培养信息、生命、材料、能源等学科领域的国际水平科技领军人才,集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,是展示我国科技实力、提高全民族科学素质和民族自信的重要宣传窗口。 S³FEL主体建筑将成为深圳市地标式建筑,促进提升深圳市的城市形象和国际化知名度。S³FEL汇聚并培养信息、生命、材料、能源等学科领域的国际水平科技领军人才,集聚世界前沿和原创性科学技术及产业研发,将推动一批高水平大学和科研机构的科技人才队伍建设及相关学科的高质量发展,营造粤港澳大湾区人才高地,并助力粤港澳大湾区国际科技创新中心的建设。此外, S³FEL作为重要的科普教育基地,是展示我国科技实力、提高全民族科学素质和民族自信的重要宣传窗口。 S³FEL主体建筑将成为深圳市地标式建筑,促进提升深圳市的城市形象和国际化知名度。

+
+ Here is a long quotation here is a long quotation here is a long quotation + here is a long quotation here is a long quotation here is a long quotation + here is a long quotation here is a long quotation here is a long quotation. +
+
+
+
+
+ +

图片描述

+
+
+
小标题
+

S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。S³FEL为科学家和企业用户提供了一种具有超高时间分辨、空间分辨和能量分辨的新方法、新技术。 S³FEL在量子材料、能源催化、生物医药、大气与星际科学、原子分子科学等领域的应用研究,将为促进我国战略性新兴产业创新发展和关键。S³FEL主要由一台超导直线加速器、波荡器、光束线和实验站组成,可产生重复频率达1MHz、电子束能量达2.5 GeV的软X 射线自由电子激光,可在百飞秒内级实现原子、分子及外壳层电子结构的无损、动态监测,是科学家认识和了解物质微观结构及动态变化的“高速摄像机”。S³FEL为科学家和企业用户提供了一种具有超高时间分辨、空间分辨和能量分辨的新方法、新技术。 S³FEL在量子材料、能源催化、生物医药、大气与星际科学、原子分子科学等领域的应用研究,将为促进我国战略性新兴产业创新发展和关键。 +

+
+
+
+ ` + }, + { title: '图片描述', description: '', content: ` +
+
+
+ +

图片描述

+
+
+
+ ` + } + ], + // content_security_policy: "https://cdn.tiny.cloud/1/rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda/tinymce/6/tinymce.min.js", + // extended_valid_elements:'script[src]', + // + // template_cdate_format: '[CDATE: %m/%d/%Y : %H:%M:%S]', + // template_mdate_format: '[MDATE: %m/%d/%Y : %H:%M:%S]', + // autosave_ask_before_unload: false, + toolbar_mode : 'wrap', + // automatic_uploads: true, + // images_upload_base_path: '/demo', + // images_upload_url: 'http://10.10.11.7:10000/iasf/sysFiles/upload', + paste_data_images: true, + powerpaste_allow_local_images: true, + powerpaste_word_import: 'clean', + powerpaste_html_import: 'clean', + // 自定义上传 + images_upload_handler: function (blobInfo, succFun, failFun) { + const form = new FormData() + form.append('file', blobInfo.blob()), + Axios({ + method: 'post', + url: Api.upload, + data: form, + headers: { + 'Content-Type': 'multipart/form-data', + token: Util.local.get(Setting.tokenKey) + }, + }).then(({ data }) => { + succFun(data.url) + }).catch(res => {}) + }, + //自定义文件选择器的回调内容 此方法只有在点击上方图片按钮才会触发 + file_picker_callback: function (callback, value, meta) { + if (meta.filetype === 'file') { + callback('https://www.baidu.com/img/bd_logo1.png', { text: 'My text' }); + } + if (meta.filetype === 'image') { + callback('https://www.baidu.com/img/bd_logo1.png', { alt: 'My alt text' }); + } + // 主要判断 media + if (meta.filetype === 'media') { + // 动态创建上传input,并进行模拟点击上传操作,达到本地上传视频效果。 + let input = document.createElement('input');//创建一个隐藏的input + input.setAttribute('type', 'file'); + input.setAttribute("accept", ".mp4"); + input.onchange = function(){ + let file = this.files[0]; + let fd = new FormData(); + fd.append("file", file); + Axios({ + method: 'post', + url: Api.upload, + data: fd, + headers: { + 'Content-Type': 'multipart/form-data', + token: Util.local.get(Setting.tokenKey) + }, + }).then(({ data }) => { + callback(data.url) + }).catch(res => {}) + } + //触发点击 + input.click(); + } + }, + // 初始化事件 + setup: function(editor) { + editor.on('init', function(ed) { + // 设置默认字体 + ed.target.editorCommands.execCommand("fontName", false, "Microsoft Yahei") + ed.target.editorCommands.execCommand("fontSize", false, "19px") + ed.target.editorCommands.execCommand("lineHeight", false, "1.5") + top.document.querySelector('#articleTitle').focus() // 第一个字段聚焦 + }) + }, +} \ No newline at end of file diff --git a/src/views/parnerOperation/index.vue b/src/views/parnerOperation/index.vue new file mode 100644 index 0000000..cfb2f03 --- /dev/null +++ b/src/views/parnerOperation/index.vue @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file diff --git a/src/views/parnerOperation/learnMg.vue b/src/views/parnerOperation/learnMg.vue new file mode 100644 index 0000000..e499bb3 --- /dev/null +++ b/src/views/parnerOperation/learnMg.vue @@ -0,0 +1,967 @@ + + + + \ No newline at end of file diff --git a/src/views/parnerOperation/mobileRole.vue b/src/views/parnerOperation/mobileRole.vue new file mode 100644 index 0000000..9f2971d --- /dev/null +++ b/src/views/parnerOperation/mobileRole.vue @@ -0,0 +1,187 @@ + + + + + \ No newline at end of file diff --git a/src/views/parnerOperation/pcRole.vue b/src/views/parnerOperation/pcRole.vue new file mode 100644 index 0000000..b0d24f8 --- /dev/null +++ b/src/views/parnerOperation/pcRole.vue @@ -0,0 +1,187 @@ + + + + + \ No newline at end of file diff --git a/src/views/parnerOperation/schemeSet.vue b/src/views/parnerOperation/schemeSet.vue new file mode 100644 index 0000000..64fab8e --- /dev/null +++ b/src/views/parnerOperation/schemeSet.vue @@ -0,0 +1,891 @@ + + + + \ No newline at end of file diff --git a/src/views/parnerOperation/staff.vue b/src/views/parnerOperation/staff.vue new file mode 100644 index 0000000..f666697 --- /dev/null +++ b/src/views/parnerOperation/staff.vue @@ -0,0 +1,187 @@ + + + + + \ No newline at end of file