diff --git a/src/api/system/channel.js b/src/api/system/channel.js
new file mode 100644
index 0000000..57e9cf9
--- /dev/null
+++ b/src/api/system/channel.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询充值渠道列表
+export function listChannel(query) {
+ return request({
+ url: '/system/channel/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询充值渠道详细
+export function getChannel(channelId) {
+ return request({
+ url: '/system/channel/' + channelId,
+ method: 'get'
+ })
+}
+
+// 新增充值渠道
+export function addChannel(data) {
+ return request({
+ url: '/system/channel',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改充值渠道
+export function updateChannel(data) {
+ return request({
+ url: '/system/channel',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除充值渠道
+export function delChannel(channelId) {
+ return request({
+ url: '/system/channel/' + channelId,
+ method: 'delete'
+ })
+}
diff --git a/src/api/system/channelWithdraw.js b/src/api/system/channelWithdraw.js
new file mode 100644
index 0000000..045e258
--- /dev/null
+++ b/src/api/system/channelWithdraw.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询提现渠道列表
+export function listChannelWithdraw(query) {
+ return request({
+ url: '/ss/channelWithdraw/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询提现渠道详细
+export function getChannelWithdraw(channelId) {
+ return request({
+ url: '/ss/channelWithdraw/' + channelId,
+ method: 'get'
+ })
+}
+
+// 新增提现渠道
+export function addChannelWithdraw(data) {
+ return request({
+ url: '/ss/channelWithdraw',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改提现渠道
+export function updateChannelWithdraw(data) {
+ return request({
+ url: '/ss/channelWithdraw',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除提现渠道
+export function delChannelWithdraw(channelId) {
+ return request({
+ url: '/ss/channelWithdraw/' + channelId,
+ method: 'delete'
+ })
+}
diff --git a/src/components/FormCol/index.vue b/src/components/FormCol/index.vue
new file mode 100644
index 0000000..2543509
--- /dev/null
+++ b/src/components/FormCol/index.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/main.js b/src/main.js
index 55cc2df..8fb0758 100644
--- a/src/main.js
+++ b/src/main.js
@@ -37,6 +37,8 @@ import ImageUpload from "@/components/ImageUpload"
import ImagePreview from "@/components/ImagePreview"
// 字典标签组件
import DictTag from '@/components/DictTag'
+// 行内表单组件
+import FormCol from '@/components/FormCol/index.vue'
// 头部标签组件
import VueMeta from 'vue-meta'
// 字典数据组件
@@ -71,6 +73,7 @@ Vue.component('ImageUpload', ImageUpload)
Vue.component('ImagePreview', ImagePreview)
Vue.component('AreaMap', AreaMap)
Vue.component('Map', Map)
+Vue.component('FormCol', FormCol)
Vue.use(directive)
Vue.use(plugins)
diff --git a/src/utils/mixins.js b/src/utils/mixins.js
new file mode 100644
index 0000000..32626fa
--- /dev/null
+++ b/src/utils/mixins.js
@@ -0,0 +1,53 @@
+
+// 充值服务费
+export const $serviceType = {
+ computed: {
+ // 服务费单位
+ serviceUnit() {
+ return (type) => {
+ return type === '2' ? '元' : '%';
+ }
+ }
+ }
+}
+
+// 提现服务费
+export const $withdrawServiceType = {
+ computed: {
+ // 提现服务费单位
+ withdrawServiceUnit() {
+ return (type) => {
+ return type === '2' ? '元' : '%';
+ }
+ }
+ }
+}
+
+
+/**
+ * 显隐列
+ **/
+export const $showColumns = {
+ data() {
+ return {
+ columns: []
+ }
+ },
+ computed: {
+ showColumns() {
+ if (this.columns == null) {
+ return [];
+ }
+ return this.columns.filter(item => item.visible);
+ },
+ isShow() {
+ return (key) => {
+ if (this.columns == null) {
+ return false;
+ }
+ let column = this.columns.find(item => item.key === key);
+ return column != null && column.visible;
+ }
+ }
+ },
+}
diff --git a/src/views/system/channel/index.vue b/src/views/system/channel/index.vue
new file mode 100644
index 0000000..ab16e5c
--- /dev/null
+++ b/src/views/system/channel/index.vue
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {onChangeEnabled(d.row, nv)}"/>
+
+
+
+ {{d.row.costRate | money}} %
+
+
+
+ 修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ %
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/channelWithdraw/index.vue b/src/views/system/channelWithdraw/index.vue
new file mode 100644
index 0000000..d1cafab
--- /dev/null
+++ b/src/views/system/channelWithdraw/index.vue
@@ -0,0 +1,385 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+ {{d.row[column.key]}}
+
+
+
+
+
+ {onChangeEnabled(d.row, nv)}"/>
+
+
+
+
+
+ {{d.row.serviceRate | money}} {{withdrawServiceUnit(d.row.serviceType)}}
+
+
+ {{d.row.costRate | money}} %
+
+
+
+
+
+ {{d.row[column.key] | money}} 元
+
+
+ {{d.row[column.key]}}
+
+
+
+
+
+
+ 修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{withdrawServiceUnit(form.withdrawType)}}
+
+
+
+
+
+ %
+
+
+
+
+ 元
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+