|
@@ -677,12 +677,11 @@ export default {
|
|
|
this.param.content.sa_projectid = this.$route.query.id
|
|
|
this.param.content.where.condition = this.form.projectname
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
- console.log(res.data,'是否重复')
|
|
|
this.repeats = res.data
|
|
|
this.total = res.total
|
|
|
this.$refs.form.validateField('projectname')
|
|
|
if (this.repeats.length > 0){
|
|
|
- this.dialogTableVisible = true
|
|
|
+ this.siteid == 'HY'?this.dialogTableVisible = false : this.dialogTableVisible = true
|
|
|
}else {
|
|
|
this.dialogTableVisible = false
|
|
|
}
|