From f6082640675b2b574c3f731a0658efb2b861166b Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Fri, 23 Oct 2020 09:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E7=AE=A1=E7=90=86=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/wangE.vue | 146 +++++++++++++++++++++ src/pages/workbench/fwgl/serviceDetail.vue | 25 +++- 3 files changed, 171 insertions(+), 1 deletion(-) create mode 100644 src/components/wangE.vue diff --git a/package.json b/package.json index a3c197c..9e76280 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "vue-router": "^3.0.2", "vue-super-flow": "^1.3.2", "vuex": "^3.1.0", + "wangeditor": "^4.0.5", "xterm": "^4.7.0", "xterm-addon-fit": "^0.4.0", "yaml2json": "^1.0.2" diff --git a/src/components/wangE.vue b/src/components/wangE.vue new file mode 100644 index 0000000..d25e04b --- /dev/null +++ b/src/components/wangE.vue @@ -0,0 +1,146 @@ + + + diff --git a/src/pages/workbench/fwgl/serviceDetail.vue b/src/pages/workbench/fwgl/serviceDetail.vue index b3f5aaa..a5a1862 100644 --- a/src/pages/workbench/fwgl/serviceDetail.vue +++ b/src/pages/workbench/fwgl/serviceDetail.vue @@ -253,6 +253,13 @@ +
+ +
+ 保存 + 取消 +
+
@@ -267,6 +274,7 @@ import Topology from "@/components/topology.vue"; import serviceHeader from "@/components/service-header"; import ListPagination from "@/components/comments-pagination"; import dialogAction from "@/components/dialog-action"; +import wangE from '@/components/wangE' import { getRole, formatDateTime_date } from "@/utils/common"; import { mapGetters, mapState } from "vuex"; export default { @@ -280,6 +288,7 @@ export default { serviceHeader, dialogAction, ListPagination, + wangE }, data() { return { @@ -287,6 +296,7 @@ export default { process_in_up:true,//是否是服务注册产生的 perception_in:false,//是否是感知服务 buy_style: [1], + editstr:'

1221312

wuqwyequ827812731731', listTotal: 0, currentPage: 1, pageSize: 10, @@ -963,7 +973,7 @@ export default { if (n == 2) { this.getData(); } - }, + } }, created() { if (this.userInfo) { @@ -1314,6 +1324,19 @@ export default { padding: 0 20px; height: calc(100% - 55px); } +.editpage{ + background-color: #fff; + height: calc(100% - 20px); + margin-bottom: 20px; + box-shadow: 0px 3px 6px 0px + #f4f7fc; + border-radius: 12px; +} +.editpage .wangeditor_class{ + height: calc(100% - 100px); + padding: 0 20px; + box-sizing: border-box; +} .info_contain { padding: 25px 20px; background-color: #fff; -- 2.26.0