|
|
@@ -9,10 +9,22 @@
|
|
|
<el-col :span="24" style="margin-top: 20px">
|
|
|
<div>
|
|
|
<span style="margin-right: 10px">{{$t(`项目名称查重排除文字`)}}:</span>
|
|
|
+ <el-tooltip placement="top" style="margin-right: 10px">
|
|
|
+ <div slot="content">{{$t('项目名称查重排除文字,是项目名称查重前提条件之一,设置的文字,是项目名称查重时需排除掉的文字。')}}<br>{{$t('项目名称查重需先排除设置文字后,再将名称剩下的文字进行查重。')}}</div>
|
|
|
+ <img style="vertical-align: middle" width="14px" height="14px" src="../../../../assets/icons/prompt_icon.svg" >
|
|
|
+ </el-tooltip>
|
|
|
<el-tag v-for="(item,index) in projectnameexcludefields" :key="index" style="margin-right: 10px" class="mt-10" closable @close="tagDel(item,index)">{{item}}</el-tag>
|
|
|
<el-button type="primary" size="mini" @click="setWordVisible = true">{{$t(`添加`)}}</el-button>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24" style="margin-top: 20px">
|
|
|
+ <span style="margin-right: 10px">{{$t(`查重字符数`)}}:</span>
|
|
|
+ <el-input v-model="projectrepeatnum" style="width: 200px;margin-right: 10px" :placeholder="$t(`设置查重字符数`)" size="small"></el-input>
|
|
|
+ <el-tooltip placement="top">
|
|
|
+ <div slot="content">{{$t('查重字符数,是项目名称查重判断依据之一,项目名称排除设置文字后,剩下的文字进行项目名称查重,若重复的文字 ≥ 查重字符数,则判断该项目名称重复。')}}</div>
|
|
|
+ <img style="vertical-align: middle" width="14px" height="14px" src="../../../../assets/icons/prompt_icon.svg" >
|
|
|
+ </el-tooltip>
|
|
|
+ </el-col>
|
|
|
<el-col :span="24" style="margin-top: 20px">
|
|
|
<div style="width: 50px" class="inline-16">
|
|
|
{{ $t('第一层') }}:
|
|
|
@@ -228,6 +240,7 @@ export default {
|
|
|
relation:'',
|
|
|
exclude:'',
|
|
|
projectnameexcludefields:[],
|
|
|
+ projectrepeatnum:0
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
@@ -265,7 +278,8 @@ export default {
|
|
|
"factor3": this.factor3
|
|
|
},
|
|
|
"projectprotectionperiod":this.projectprotectionperiod,
|
|
|
- "projectnameexcludefields":this.projectnameexcludefields
|
|
|
+ "projectnameexcludefields":this.projectnameexcludefields,
|
|
|
+ "projectrepeatnum":this.projectrepeatnum
|
|
|
},
|
|
|
})
|
|
|
this.tool.showMessage(res,()=>{
|
|
|
@@ -275,6 +289,7 @@ export default {
|
|
|
this.fields2 = []
|
|
|
this.fields3 = []
|
|
|
this.projectprotectionperiod = 0
|
|
|
+ this.projectrepeatnum = 0
|
|
|
})
|
|
|
},
|
|
|
onClose(){
|
|
|
@@ -297,6 +312,7 @@ export default {
|
|
|
this.factor2 = res.data.projectcheckrule.factor2
|
|
|
this.factor3 = res.data.projectcheckrule.factor3
|
|
|
this.projectprotectionperiod= res.data.projectprotectionperiod
|
|
|
+ this.projectrepeatnum = res.data.projectrepeatnum
|
|
|
this.projectnameexcludefields = res.data.projectnameexcludefields?res.data.projectnameexcludefields:[]
|
|
|
},
|
|
|
/*设置排除文字*/
|