|
@@ -123,7 +123,7 @@
|
|
|
/> -->
|
|
|
<el-table-column label="会议议题" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <span >{{onEditor(scope.row.title)}}</span>
|
|
|
+ <span>{{ onEditor(scope.row.title) }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="主持人" align="center" prop="compereRen" />
|
|
@@ -232,7 +232,11 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="记录人" prop="peopleId">
|
|
|
- <el-select v-model="form.peopleId" placeholder="请选择记录人" class="input_xiala">
|
|
|
+ <el-select
|
|
|
+ v-model="form.peopleId"
|
|
|
+ placeholder="请选择记录人"
|
|
|
+ class="input_xiala"
|
|
|
+ >
|
|
|
<el-option
|
|
|
v-for="(item, i) in renYuan"
|
|
|
:key="i"
|
|
@@ -247,7 +251,7 @@
|
|
|
<!-- <el-form-item label="会议议题" prop="title">
|
|
|
<el-input v-model="form.title" placeholder="请输入会议议题" />
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item label="出席人" prop="joinId" class="joinId" >
|
|
|
+ <el-form-item label="出席人" prop="joinId" class="joinId">
|
|
|
<el-select
|
|
|
ref="abc"
|
|
|
v-model="form.joinId"
|
|
@@ -436,7 +440,7 @@ export default {
|
|
|
this.getList();
|
|
|
this.getBuMen();
|
|
|
this.getSuo();
|
|
|
- this.onEditor()
|
|
|
+ // this.onEditor();
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取搜索所有人
|
|
@@ -453,17 +457,13 @@ export default {
|
|
|
},
|
|
|
// 转义视图不加标签
|
|
|
onEditor(str) {
|
|
|
+ // console.log(str);
|
|
|
//可以在这里进行对应的操作 quill为富文本对象,html为富文本对象内内容由html标签组成,text为quill内容里面的所有文本内容
|
|
|
- // var str = '<p>发射卫星啊啊啊啊啊啊啊啊啊啊啊啊啊</p><p>发射微信</p>'
|
|
|
var str = str.replace(/<\/?[^>]*>/g, ""); //去除HTML tag
|
|
|
str = str.replace(/[ | ]*\n/g, "\n"); //去除行尾空白
|
|
|
//str = str.replace(/\n[\s| | ]*\r/g,'\n'); //去除多余空行
|
|
|
- str = str.replace(/ /gi, ""); //去掉
|
|
|
- // this.bdglevenList[0].title = str;
|
|
|
- // console.log(this.bdglevenList[0].title);
|
|
|
- // this.str = str;
|
|
|
- console.log(str);
|
|
|
- return str
|
|
|
+ // str = str.replace(/ /gi, ""); //去掉
|
|
|
+ return str;
|
|
|
// this.bdglevenList.forEach(item=>{
|
|
|
// if(item.title){
|
|
|
// console.log(item.title);
|