配置
@@ -16,17 +16,17 @@ VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
|
||||
|
||||
# 花香
|
||||
# 花香生产
|
||||
# VUE_APP_COS_BASE_URL = 'https://filedsjkdlas.oqpac.cn/'
|
||||
VUE_APP_COS_BASE_URL = 'https://filedsjkdlas.oqpac.cn/'
|
||||
# 花香测试
|
||||
# VUE_APP_COS_BASE_URL = 'https://hxprodfdhjk-1326789998.cos.ap-guangzhou.myqcloud.com/'
|
||||
# VUE_APP_SYSTEM_HOME = '花香'
|
||||
# VUE_APP_TITLE = 花香后台管理系统
|
||||
VUE_APP_SYSTEM_HOME = '花香'
|
||||
VUE_APP_TITLE = 花香后台管理系统
|
||||
|
||||
# 趣玩
|
||||
# 趣玩生产
|
||||
VUE_APP_COS_BASE_URL = 'https://filesdjkal.mgzhq.cn/'
|
||||
# VUE_APP_COS_BASE_URL = 'https://filesdjkal.mgzhq.cn/'
|
||||
# 趣玩测试
|
||||
# VUE_APP_COS_BASE_URL = 'https://quyoutest-1330083379.cos.ap-guangzhou.myqcloud.com/'
|
||||
VUE_APP_SYSTEM_HOME = '趣玩'
|
||||
VUE_APP_TITLE = 趣玩后台管理系统
|
||||
# VUE_APP_SYSTEM_HOME = '趣玩'
|
||||
# VUE_APP_TITLE = 趣玩后台管理系统
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 264 KiB |
BIN
public/favicon-quwan.ico
Normal file
|
After Width: | Height: | Size: 264 KiB |
|
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
|
Before Width: | Height: | Size: 45 KiB |
BIN
src/assets/logo/logo-quwan.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 45 KiB |
@@ -45,7 +45,7 @@
|
||||
|
||||
<el-table v-loading="loading" :data="payTrdConfigList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="启用" align="center" prop="enableStatus" >
|
||||
<el-table-column label="启用支付宝" align="center" prop="enableStatus" >
|
||||
<template v-slot="scope">
|
||||
<el-switch
|
||||
v-model="scope.row.enableStatus"
|
||||
@@ -55,13 +55,24 @@
|
||||
></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="启用微信" align="center" prop="enableWxStatus" >
|
||||
<template v-slot="scope">
|
||||
<el-switch
|
||||
v-model="scope.row.enableWxStatus"
|
||||
:active-value="1"
|
||||
:inactive-value="0"
|
||||
@change="handleOpenWxStatusChange(scope.row)"
|
||||
></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="支付类型" align="center" prop="type" />
|
||||
<el-table-column label="最小金额" align="center" prop="minAmount" />
|
||||
<el-table-column label="最大金额" align="center" prop="maxAmount" />
|
||||
<el-table-column label="排序" align="center" prop="sortBy" />
|
||||
<el-table-column label="支付名称" align="center" prop="name" />
|
||||
<el-table-column label="商户ID" align="center" prop="mchId" />
|
||||
<el-table-column label="支付宝产品ID" align="center" prop="aliProductId" />
|
||||
<el-table-column label="支付宝ID" align="center" prop="aliProductId" />
|
||||
<el-table-column label="微信ID" align="center" prop="wxProductId" />
|
||||
<el-table-column label="请求域名" align="center" prop="gatewayUrl" show-overflow-tooltip />
|
||||
<el-table-column label="回调域名" align="center" prop="notifyUrl" show-overflow-tooltip />
|
||||
<el-table-column label="秘钥" align="center" prop="sign" show-overflow-tooltip />
|
||||
@@ -206,7 +217,22 @@ export default {
|
||||
}).catch(function() {
|
||||
row.enableStatus = row.enableStatus === 1 ? 0 : 1
|
||||
})
|
||||
}
|
||||
},
|
||||
handleOpenWxStatusChange(row){
|
||||
let text = row.enableWxStatus === 0 ? '关闭' : '启用'
|
||||
this.$confirm('确认要' + text + '该配置吗?', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
return updatePayTrdConfig({ id: row.id, enableWxStatus: row.enableWxStatus })
|
||||
}).then(() => {
|
||||
this.$modal.msgSuccess(text + '成功')
|
||||
this.getList()
|
||||
}).catch(function() {
|
||||
row.enableWxStatus = row.enableWxStatus === 1 ? 0 : 1
|
||||
})
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="700px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="支付类型" prop="type">
|
||||
<el-select v-model="form.type" placeholder="支付类型" size="small">
|
||||
<el-option key="V1" label="V1" value="V1" />
|
||||
@@ -30,6 +30,9 @@
|
||||
<el-form-item label="支付宝产品ID" prop="aliProductId">
|
||||
<el-input v-model="form.aliProductId" placeholder="请输入支付宝产品ID" />
|
||||
</el-form-item>
|
||||
<el-form-item label="微信产品ID" prop="wxProductId">
|
||||
<el-input v-model="form.wxProductId" placeholder="请输入微信产品ID" />
|
||||
</el-form-item>
|
||||
<el-form-item label="请求域名" prop="gatewayUrl">
|
||||
<el-input v-model="form.gatewayUrl" placeholder="请输入请求域名" />
|
||||
</el-form-item>
|
||||
@@ -66,6 +69,7 @@ export default {
|
||||
maxAmount: 0,
|
||||
sortBy: 0,
|
||||
aliProductId: undefined,
|
||||
wxProductId: undefined,
|
||||
gatewayUrl: undefined,
|
||||
notifyUrl: undefined,
|
||||
sign: undefined,
|
||||
|
||||