作者 朱兆平

add:

1.邮件风控界面对markdown格式的适配
... ... @@ -11,6 +11,7 @@
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"@kangc/v-md-editor": "^1.7.12",
"@xkeshi/vue-barcode": "^1.0.0",
"axios": "^0.19.0",
"common": "^0.2.5",
... ...
... ... @@ -18,6 +18,23 @@ import sys_init from '@/common/init/sys_init'
import Print from 'vue-print-nb'
// 条形组件
import VueBarcode from '@xkeshi/vue-barcode'; //导入条形码插件
// markdown 编辑器
import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
import createTodoListPlugin from '@kangc/v-md-editor/lib/plugins/todo-list/index';
import '@kangc/v-md-editor/lib/plugins/todo-list/todo-list.css';
import Prism from 'prismjs';
VueMarkdownEditor.use(vuepressTheme, {
Prism,
});
VueMarkdownEditor.use(createTodoListPlugin());
Vue.use(VueMarkdownEditor);
Vue.component('barcode', VueBarcode);
... ...
... ... @@ -148,6 +148,7 @@
</el-input>
</el-drawer>
<v-md-editor v-model="reskResult" height="400px"></v-md-editor>
<!-- Dialog -->
<el-dialog :title="dialogStateMap[dialogType]" :visible.sync="showDialog" width="80%">
... ... @@ -264,7 +265,7 @@ export default {
let sse = {
clientId:this.queryInfo.serialnumber
}
this.drawerVisible = true;
this.drawerVisible = false;
riskManagement(this.queryInfo,sse)
this.reskResult = ''
},
... ...