|  | @@ -1,25 +1,27 @@
 | 
	
		
			
				|  |  |  <!--分句组件-->
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  | -  <div class="Big-Book-Maxwidth" v-if="curOption">
 | 
	
		
			
				|  |  | +  <div class="Big-Book-Maxwidth">
 | 
	
		
			
				|  |  |      <div class="Big-Book-content m">
 | 
	
		
			
				|  |  |        <div class="Big-Book-main">
 | 
	
		
			
				|  |  |          <div class="Big-Book-con">
 | 
	
		
			
				|  |  |            <div class="Big-Book-con-top">
 | 
	
		
			
				|  |  | -            <span class="Big-Book-left-text">段落:</span>
 | 
	
		
			
				|  |  | +            <span class="Big-Book-left-text">文章段落:</span>
 | 
	
		
			
				|  |  |              <el-button
 | 
	
		
			
				|  |  |                type="text"
 | 
	
		
			
				|  |  |                size="small"
 | 
	
		
			
				|  |  |                @click="editPara"
 | 
	
		
			
				|  |  |                v-if="readonly"
 | 
	
		
			
				|  |  | -              >编辑文章</el-button
 | 
	
		
			
				|  |  | +              >编辑段落</el-button
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |            <div
 | 
	
		
			
				|  |  |              class="NPC-para-list"
 | 
	
		
			
				|  |  | -            v-for="(item, index) in curOption.detail"
 | 
	
		
			
				|  |  | +            v-for="(item, index) in curQue.detail"
 | 
	
		
			
				|  |  |              :key="'para' + index"
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  | +            <span class="NPC-para-number">{{ index + 1 }}.</span>
 | 
	
		
			
				|  |  |              <el-input
 | 
	
		
			
				|  |  | +            style="width: 82%;"
 | 
	
		
			
				|  |  |                type="textarea"
 | 
	
		
			
				|  |  |                :autosize="{ minRows: 3 }"
 | 
	
		
			
				|  |  |                placeholder="请输入内容"
 | 
	
	
		
			
				|  | @@ -27,19 +29,18 @@
 | 
	
		
			
				|  |  |                @blur="onBlur(item, 'para')"
 | 
	
		
			
				|  |  |                :readonly="readonly"
 | 
	
		
			
				|  |  |              ></el-input>
 | 
	
		
			
				|  |  | -            <template v-if="index == 0 && !readonly">
 | 
	
		
			
				|  |  | +            <template v-if="index == 0">
 | 
	
		
			
				|  |  |                <el-checkbox v-model="item.isTitle">文章标题</el-checkbox>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |              <img
 | 
	
		
			
				|  |  | -              v-if="!readonly"
 | 
	
		
			
				|  |  |                @click="deleteOption(index)"
 | 
	
		
			
				|  |  |                class="close"
 | 
	
		
			
				|  |  |                src="../../../../../assets/adult/del-close.png"
 | 
	
		
			
				|  |  |                alt=""
 | 
	
		
			
				|  |  | +              v-if="!readonly"
 | 
	
		
			
				|  |  |              />
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  | -          <div class="NPC-footer-btn" v-if="!readonly">
 | 
	
		
			
				|  |  | -            <div class="sureSegbtn" @click="sureSegResult">确定分句</div>
 | 
	
		
			
				|  |  | +            <el-button type="primary" size="small" @click="sureSegResult">确定分句</el-button>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |        </div>
 | 
	
	
		
			
				|  | @@ -52,7 +53,7 @@ import "@/utils/pinyin_dict_withtone";
 | 
	
		
			
				|  |  |  import "@/utils/pinyinUtil";
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    components: {},
 | 
	
		
			
				|  |  | -  props: ["curOption", "sureSeg", "isClause", "changeIsClause"],
 | 
	
		
			
				|  |  | +  props: ["curQue", "sureSeg", "isClause", "changeIsClause"],
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        imgNumber: 10,
 | 
	
	
		
			
				|  | @@ -76,8 +77,8 @@ export default {
 | 
	
		
			
				|  |  |        item[field] = item[field] ? item[field].trim() : "";
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      onBlurIndex(index, field) {
 | 
	
		
			
				|  |  | -      let res = this.curOption[field][index].trim();
 | 
	
		
			
				|  |  | -      this.$set(this.curOption[field], index, res);
 | 
	
		
			
				|  |  | +      let res = this.curQue[field][index].trim();
 | 
	
		
			
				|  |  | +      this.$set(this.curQue[field], index, res);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      sureSegResult() {
 | 
	
		
			
				|  |  |        let _this = this;
 | 
	
	
		
			
				|  | @@ -107,11 +108,11 @@ export default {
 | 
	
		
			
				|  |  |          this.$message.warning("不能全部删除");
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      this.curOption.detail.splice(index, 1);
 | 
	
		
			
				|  |  | +      this.curQue.detail.splice(index, 1);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      addOption() {
 | 
	
		
			
				|  |  | -      let leg = this.curOption.detail.length;
 | 
	
		
			
				|  |  | -      let last = this.curOption.detail[leg - 1].para;
 | 
	
		
			
				|  |  | +      let leg = this.curQue.detail.length;
 | 
	
		
			
				|  |  | +      let last = this.curQue.detail[leg - 1].para;
 | 
	
		
			
				|  |  |        if (!last) {
 | 
	
		
			
				|  |  |          this.$message.warning("数据不能全是空");
 | 
	
		
			
				|  |  |          return;
 | 
	
	
		
			
				|  | @@ -125,7 +126,7 @@ export default {
 | 
	
		
			
				|  |  |          wordsList: [],
 | 
	
		
			
				|  |  |          timeList: [],
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  | -      this.curOption.detail.push(obj);
 | 
	
		
			
				|  |  | +      this.curQue.detail.push(obj);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      editPara() {
 | 
	
		
			
				|  |  |        this.$confirm("此操作需要重新校对分句分词, 是否继续?", "提示", {
 | 
	
	
		
			
				|  | @@ -187,6 +188,11 @@ export default {
 | 
	
		
			
				|  |  |      justify-content: flex-start;
 | 
	
		
			
				|  |  |      align-items: flex-start;
 | 
	
		
			
				|  |  |      margin-bottom: 10px;
 | 
	
		
			
				|  |  | +    .NPC-para-number {
 | 
	
		
			
				|  |  | +      width: 28px;
 | 
	
		
			
				|  |  | +      margin-right: 5px;
 | 
	
		
			
				|  |  | +      text-align: right;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    .close {
 | 
	
		
			
				|  |  |      width: 24px;
 |