| 
					
				 | 
			
			
				@@ -218,7 +218,59 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-tab-pane> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-tab-pane label="支付配置" name="store.pay"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-form ref="form6" :model="form6"  label-width="160px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item label="支付类型" prop="type"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <el-radio-group v-model="form6.type"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-radio label="yb">易宝</el-radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-radio label="hf">汇付</el-radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </el-radio-group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item   label="appId" prop="appId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input   v-model="form6.appId"  label="请输入appId"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item  v-if="form6.type=='yb'" label="易宝商户号" prop="ybAccount"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input   v-model="form6.ybAccount"  label="请输入易宝商户号"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             <el-form-item v-if="form6.type=='yb'" label="易宝Key" prop="ybKey"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.ybKey" label="请输入易宝Key"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='yb'" label="易宝回调地址" prop="ybNotifyUrl"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.ybNotifyUrl" label="易宝回调地址"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item  v-if="form6.type=='hf'" label="汇付产品号" prop="hfProductId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input   v-model="form6.hfProductId"  label="汇付产品号"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             <el-form-item v-if="form6.type=='hf'" label="系统号" prop="hfSysId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfSysId" label="系统号Key"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="商户号" prop="huifuId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.huifuId" label="商户号"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="服务商私钥" prop="hfRsaPrivateKey"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfRsaPrivateKey" label="服务商私钥"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="汇付公钥" prop="hfRsaPublicKey"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfRsaPublicKey" label="汇付公钥"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="汇付支付回调地址" prop="hfPayNotifyUrl"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfPayNotifyUrl" label="汇付支付回调地址"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="大额支付回调地址" prop="hfPayOnlineNotifyUrl"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfPayOnlineNotifyUrl" label="汇付支付回调地址"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="汇付退款回调地址" prop="hfRefundNotifyUrl"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfRefundNotifyUrl" label="汇付退款回调地址"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item v-if="form6.type=='hf'" label="汇付大额退款回调地址" prop="hfOnlineRefundNotifyUrl"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-input  v-model="form6.hfOnlineRefundNotifyUrl" label="汇付分账回调地址"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             <div   class="footer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <el-button type="primary" @click="submitform6">提  交</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-tab-pane> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-tabs> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      <el-dialog :title="sign.title" :visible.sync="sign.open" width="500px" append-to-body> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -304,6 +356,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       form5: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      form6: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 表单校验 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       rules5: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -392,6 +448,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.configKey=response.data.configKey; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.form2 =JSON.parse(response.data.configValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           else if(key=="store.pay"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.configId=response.data.configId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.configKey=response.data.configKey; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.form6 =JSON.parse(response.data.configValue); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 提交按钮 */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -455,6 +516,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    submitform6: function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$refs["form6"].validate(valid => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form6)} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           updateConfigByKey(param).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if (response.code === 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.msgSuccess("修改成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 清理缓存按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleClearCache() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       clearCache().then(response => { 
			 |