|
@@ -42,7 +42,7 @@
|
|
|
<span class="tip-text">(到第几位结束)</span>
|
|
<span class="tip-text">(到第几位结束)</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<el-form-item label="是否允许重复客户导入" prop="allowRepeatCustomer">
|
|
<el-form-item label="是否允许重复客户导入" prop="allowRepeatCustomer">
|
|
|
<el-switch v-model="cidConfig.allowRepeatCustomer"></el-switch>
|
|
<el-switch v-model="cidConfig.allowRepeatCustomer"></el-switch>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -239,6 +239,53 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
+ <el-tab-pane label="app提现配置" name="hisAppRedPacket" >
|
|
|
|
|
+ <el-form ref="hisAppRedPacket" :model="hisAppRedPacket" label-width="150px">
|
|
|
|
|
+ <el-form-item label="红包接口类型" prop="isNew">
|
|
|
|
|
+ <el-radio-group v-model="hisAppRedPacket.isNew">
|
|
|
|
|
+ <el-radio label="0">商家转账到零钱(旧)</el-radio>
|
|
|
|
|
+ <el-radio label="1">商家转账(新)</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="公众号appid" prop="appId">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.appId" label="请输入appId"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="小程序appid" prop="appId">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.miniappId" label="请输入appId"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="商户号" prop="mchId">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.mchId" label="请输入mchId"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="商户密钥" prop="mchKey">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.mchKey" label="mchKey"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="p12证书路径" prop="keyPath">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.keyPath" label="请输入keyPath"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="apiV3密钥" prop="apiV3Key">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.apiV3Key" label="请输入apiV3Key"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="公钥ID" prop="publicKeyId">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.publicKeyId" label="请输入公钥ID"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="公钥证书" prop="publicKeyPath">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.publicKeyPath" label="请输入publicKeyPath"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="key路径" prop="privateKeyPath">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.privateKeyPath" label="请输入"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="cert路径" prop="privateCertPath">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.privateCertPath" label="请输入"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="回调地址" prop="notifyUrl">
|
|
|
|
|
+ <el-input v-model="hisAppRedPacket.notifyUrl" label="请输入"></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+
|
|
|
|
|
+ <div style="float:right;margin-right:20px">
|
|
|
|
|
+ <el-button type="primary" @click="onSubmit8">提交</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane label="配置销售会员审核" name="companyUserConfig">
|
|
<el-tab-pane label="配置销售会员审核" name="companyUserConfig">
|
|
|
<el-form ref="companyUserConfig" label-width="140px">
|
|
<el-form ref="companyUserConfig" label-width="140px">
|
|
|
<el-form-item label="会员是否小黑屋"><!--会员是否默认黑名单-->
|
|
<el-form-item label="会员是否小黑屋"><!--会员是否默认黑名单-->
|
|
@@ -369,8 +416,10 @@ export default {
|
|
|
adminIsShowForm:{},
|
|
adminIsShowForm:{},
|
|
|
userIsDefaultBlack: null,
|
|
userIsDefaultBlack: null,
|
|
|
redPacketConfig:{},
|
|
redPacketConfig:{},
|
|
|
|
|
+ hisAppRedPacket:{},
|
|
|
|
|
|
|
|
redPacketConfigForm:{},
|
|
redPacketConfigForm:{},
|
|
|
|
|
+ hisAppRedPacketForm:{},
|
|
|
cidConfigForm:{}
|
|
cidConfigForm:{}
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
@@ -535,6 +584,12 @@ export default {
|
|
|
this.cidConfig = JSON.parse(response.data.configValue);
|
|
this.cidConfig = JSON.parse(response.data.configValue);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ else if(key == "his:AppRedPacket"){
|
|
|
|
|
+ this.hisAppRedPacketForm = response.data;
|
|
|
|
|
+ if(response.data.configValue != null){
|
|
|
|
|
+ this.hisAppRedPacket = JSON.parse(response.data.configValue);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
onSubmit1() {
|
|
onSubmit1() {
|
|
@@ -610,6 +665,16 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
|
|
+ onSubmit8() {
|
|
|
|
|
+ this.hisAppRedPacketForm.configValue=JSON.stringify(this.hisAppRedPacket);
|
|
|
|
|
+ updateConfig(this.hisAppRedPacketForm).then(response => {
|
|
|
|
|
+ if (response.code === 200) {
|
|
|
|
|
+ this.msgSuccess("修改成功");
|
|
|
|
|
+ this.getConfigKey("his:AppRedPacket");
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
onSubmitCidConfig() {
|
|
onSubmitCidConfig() {
|
|
|
if (this.cidConfig.enablePhoneConfig) {
|
|
if (this.cidConfig.enablePhoneConfig) {
|
|
|
if (!this.cidConfig.generateCount || this.cidConfig.generateCount < 1) {
|
|
if (!this.cidConfig.generateCount || this.cidConfig.generateCount < 1) {
|