| 
						
						
						
					 | 
					@ -1,16 +1,32 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					<template> | 
					 | 
					 | 
					<template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  <el-dialog :visible.sync="visible" :title="!dataForm.id ? $t('add') : $t('update')" :close-on-click-modal="false" :close-on-press-escape="false"> | 
					 | 
					 | 
					  <el-dialog :visible.sync="visible" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmitHandle()" :label-width="$i18n.locale === 'en-US' ? '120px' : '80px'"> | 
					 | 
					 | 
					             :title="!dataForm.id ? $t('add') : $t('update')" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					      <el-form-item label="标签名" prop="tagName"> | 
					 | 
					 | 
					             :close-on-click-modal="false" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					          <el-input v-model="dataForm.tagName" placeholder="标签名"></el-input> | 
					 | 
					 | 
					             :close-on-press-escape="false"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    <el-form :model="dataForm" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					             :rules="dataRule" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					             ref="dataForm" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					             @keyup.enter.native="dataFormSubmitHandle()" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					             :label-width="$i18n.locale === 'en-US' ? '120px' : '80px'"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      <el-form-item label="标签名" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                    prop="tagName"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        <el-input v-model="dataForm.tagName" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  maxlength="20" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  show-word-limit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  placeholder="标签名"></el-input> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      </el-form-item> | 
					 | 
					 | 
					      </el-form-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      <el-form-item label="标签描述" prop="tagDesc"> | 
					 | 
					 | 
					      <el-form-item label="标签描述" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					          <el-input v-model="dataForm.tagDesc" placeholder="标签描述"></el-input> | 
					 | 
					 | 
					                    prop="tagDesc"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        <el-input v-model="dataForm.tagDesc" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  maxlength="100" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  show-word-limit | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                  placeholder="标签描述"></el-input> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      </el-form-item> | 
					 | 
					 | 
					      </el-form-item> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      </el-form> | 
					 | 
					 | 
					    </el-form> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    <template slot="footer"> | 
					 | 
					 | 
					    <template slot="footer"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      <el-button @click="visible = false">{{ $t('cancel') }}</el-button> | 
					 | 
					 | 
					      <el-button @click="visible = false">{{ $t('cancel') }}</el-button> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      <el-button type="primary" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> | 
					 | 
					 | 
					      <el-button type="primary" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                 @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </template> | 
					 | 
					 | 
					    </template> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  </el-dialog> | 
					 | 
					 | 
					  </el-dialog> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					</template> | 
					 | 
					 | 
					</template> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -60,7 +76,7 @@ export default { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          ...this.dataForm, | 
					 | 
					 | 
					          ...this.dataForm, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          ...res.data | 
					 | 
					 | 
					          ...res.data | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      }).catch(() => {}) | 
					 | 
					 | 
					      }).catch(() => { }) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    }, | 
					 | 
					 | 
					    }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    // 表单提交 | 
					 | 
					 | 
					    // 表单提交 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    dataFormSubmitHandle: debounce(function () { | 
					 | 
					 | 
					    dataFormSubmitHandle: debounce(function () { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -81,7 +97,7 @@ export default { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              this.$emit('refreshDataList') | 
					 | 
					 | 
					              this.$emit('refreshDataList') | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          }) | 
					 | 
					 | 
					          }) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        }).catch(() => {}) | 
					 | 
					 | 
					        }).catch(() => { }) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					      }) | 
					 | 
					 | 
					      }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }, 1000, { 'leading': true, 'trailing': false }) | 
					 | 
					 | 
					    }, 1000, { 'leading': true, 'trailing': false }) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |