|  |  | @ -14,7 +14,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table v-loading="loading" :data="list" style="width: 100%"> |  |  |  |             <el-table v-loading="loading" :data="list" style="width: 100%"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column type="index" label="序号" width="50"></el-table-column> |  |  |  |                 <el-table-column type="index" label="序号" width="50"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-table-column label="参数名" prop="paramName" ></el-table-column> |  |  |  |                 <el-table-column label="参数名" prop="paramName"></el-table-column> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="参数键" prop="paramKey" width="200"></el-table-column> |  |  |  |                 <el-table-column label="参数键" prop="paramKey" width="200"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="参数值" prop="paramValue" width="100"></el-table-column> |  |  |  |                 <el-table-column label="参数值" prop="paramValue" width="100"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <!--<el-table-column label="参数状态">--> |  |  |  |                 <!--<el-table-column label="参数状态">--> | 
			
		
	
	
		
		
			
				
					|  |  | @ -175,8 +175,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.loading = false; |  |  |  |                     this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.list = response.data.list || []; |  |  |  |                     this.list = response.data.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.total = response.data.total || 0; |  |  |  |                     this.total = response.data.total || 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     console.log('------------') |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     console.log(response) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }) |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.loading = false; |  |  |  |                     this.loading = false; | 
			
		
	
	
		
		
			
				
					|  |  | @ -214,15 +212,17 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         formSubmit() { |  |  |  |         formSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (!Number.isInteger(parseInt(this.formData.paramValue))) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.$message.warning("参数值必须为数字"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$refs["dataForm"].validate(valid => { |  |  |  |             this.$refs["dataForm"].validate(valid => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (valid) { |  |  |  |                 if (valid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.formLoading = true; |  |  |  |                     this.formLoading = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     let data = Object.assign({}, this.formData); |  |  |  |                     let data = Object.assign({}, this.formData); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     console.log('------2------') |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     data.paramValue = data.paramValue.trim(); |  |  |  |                     data.paramValue = data.paramValue.trim(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     systemParamConfigSave(data, this.formName) |  |  |  |                     systemParamConfigSave(data, this.formName) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         .then(response => { |  |  |  |                         .then(response => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             console.log(response) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.formLoading = false; |  |  |  |                             this.formLoading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                             if (response.code !== 20000) { |  |  |  |                             if (response.code !== 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 this.$message.error(response.message); |  |  |  |                                 this.$message.error(response.message); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |