<template>
  <div class="panel-fieldset short-label" v-if="extendsData.contentType==='Article'||!extendsData.contentType">
    <h4 class="panel-legend">Web采集设置</h4>
    <el-form-item label="敏感度">
      <el-select clearable :disabled="!catalogId" v-model="extendsData.gatherBadWordPriority" placeholder="请选择" :style="{width:'150px'}">
        <el-option
          v-for="item in gatherBadwordPrioritys"
          :key="item.value"
          :label="item.label"
          :value="item.value">
        </el-option>
      </el-select>
    </el-form-item>
  </div>
</template>
<script>
export default {
  props: {
    extendsData: {
      type: Object,
      default: function() {
        return {
          gatherBadWordPriority: '', //  浏览权限
          contentType: ''
        }
      }
    },
    catalogId: [Number, String]
  },
  data() {
    return {
      gatherBadwordPrioritys: [
        { value: '1', label: '一般' },
        { value: '2', label: '比较敏感' },
        { value: '3', label: '非常敏感' }
      ] //  敏感度
    }
  }
}
</script>
