正在显示
3 个修改的文件
包含
20 行增加
和
1 行删除
@@ -11,6 +11,7 @@ | @@ -11,6 +11,7 @@ | ||
11 | }, | 11 | }, |
12 | "dependencies": { | 12 | "dependencies": { |
13 | "@amap/amap-jsapi-loader": "^1.0.1", | 13 | "@amap/amap-jsapi-loader": "^1.0.1", |
14 | + "@kangc/v-md-editor": "^1.7.12", | ||
14 | "@xkeshi/vue-barcode": "^1.0.0", | 15 | "@xkeshi/vue-barcode": "^1.0.0", |
15 | "axios": "^0.19.0", | 16 | "axios": "^0.19.0", |
16 | "common": "^0.2.5", | 17 | "common": "^0.2.5", |
@@ -18,6 +18,23 @@ import sys_init from '@/common/init/sys_init' | @@ -18,6 +18,23 @@ import sys_init from '@/common/init/sys_init' | ||
18 | import Print from 'vue-print-nb' | 18 | import Print from 'vue-print-nb' |
19 | // 条形组件 | 19 | // 条形组件 |
20 | import VueBarcode from '@xkeshi/vue-barcode'; //导入条形码插件 | 20 | import VueBarcode from '@xkeshi/vue-barcode'; //导入条形码插件 |
21 | + | ||
22 | +// markdown 编辑器 | ||
23 | +import VueMarkdownEditor from '@kangc/v-md-editor'; | ||
24 | +import '@kangc/v-md-editor/lib/style/base-editor.css'; | ||
25 | +import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js'; | ||
26 | +import '@kangc/v-md-editor/lib/theme/style/vuepress.css'; | ||
27 | +import createTodoListPlugin from '@kangc/v-md-editor/lib/plugins/todo-list/index'; | ||
28 | +import '@kangc/v-md-editor/lib/plugins/todo-list/todo-list.css'; | ||
29 | +import Prism from 'prismjs'; | ||
30 | + | ||
31 | + | ||
32 | +VueMarkdownEditor.use(vuepressTheme, { | ||
33 | + Prism, | ||
34 | +}); | ||
35 | +VueMarkdownEditor.use(createTodoListPlugin()); | ||
36 | +Vue.use(VueMarkdownEditor); | ||
37 | + | ||
21 | Vue.component('barcode', VueBarcode); | 38 | Vue.component('barcode', VueBarcode); |
22 | 39 | ||
23 | 40 |
@@ -148,6 +148,7 @@ | @@ -148,6 +148,7 @@ | ||
148 | </el-input> | 148 | </el-input> |
149 | </el-drawer> | 149 | </el-drawer> |
150 | 150 | ||
151 | + <v-md-editor v-model="reskResult" height="400px"></v-md-editor> | ||
151 | 152 | ||
152 | <!-- Dialog --> | 153 | <!-- Dialog --> |
153 | <el-dialog :title="dialogStateMap[dialogType]" :visible.sync="showDialog" width="80%"> | 154 | <el-dialog :title="dialogStateMap[dialogType]" :visible.sync="showDialog" width="80%"> |
@@ -264,7 +265,7 @@ export default { | @@ -264,7 +265,7 @@ export default { | ||
264 | let sse = { | 265 | let sse = { |
265 | clientId:this.queryInfo.serialnumber | 266 | clientId:this.queryInfo.serialnumber |
266 | } | 267 | } |
267 | - this.drawerVisible = true; | 268 | + this.drawerVisible = false; |
268 | riskManagement(this.queryInfo,sse) | 269 | riskManagement(this.queryInfo,sse) |
269 | this.reskResult = '' | 270 | this.reskResult = '' |
270 | }, | 271 | }, |
-
请 注册 或 登录 后发表评论