充值手续费配置
This commit is contained in:
parent
d97746dada
commit
f775024234
|
@ -16,38 +16,15 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<!-- <el-col :span="1.5">-->
|
<el-col :span="1.5">
|
||||||
<!-- <el-button-->
|
<el-button
|
||||||
<!-- type="primary"-->
|
type="warning"
|
||||||
<!-- plain-->
|
plain
|
||||||
<!-- icon="el-icon-plus"-->
|
icon="el-icon-setting"
|
||||||
<!-- size="mini"-->
|
size="mini"
|
||||||
<!-- @click="handleAdd"-->
|
@click="showConfig = true"
|
||||||
<!-- v-hasPermi="['system:channel:add']"-->
|
>参数配置</el-button>
|
||||||
<!-- >新增</el-button>-->
|
</el-col>
|
||||||
<!-- </el-col>-->
|
|
||||||
<!-- <el-col :span="1.5">-->
|
|
||||||
<!-- <el-button-->
|
|
||||||
<!-- type="success"-->
|
|
||||||
<!-- plain-->
|
|
||||||
<!-- icon="el-icon-edit"-->
|
|
||||||
<!-- size="mini"-->
|
|
||||||
<!-- :disabled="single"-->
|
|
||||||
<!-- @click="handleUpdate"-->
|
|
||||||
<!-- v-hasPermi="['system:channel:edit']"-->
|
|
||||||
<!-- >修改</el-button>-->
|
|
||||||
<!-- </el-col>-->
|
|
||||||
<!-- <el-col :span="1.5">-->
|
|
||||||
<!-- <el-button-->
|
|
||||||
<!-- type="danger"-->
|
|
||||||
<!-- plain-->
|
|
||||||
<!-- icon="el-icon-delete"-->
|
|
||||||
<!-- size="mini"-->
|
|
||||||
<!-- :disabled="multiple"-->
|
|
||||||
<!-- @click="handleDelete"-->
|
|
||||||
<!-- v-hasPermi="['system:channel:remove']"-->
|
|
||||||
<!-- >删除</el-button>-->
|
|
||||||
<!-- </el-col>-->
|
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="warning"
|
type="warning"
|
||||||
|
@ -147,19 +124,24 @@
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
<config-dialog :show.sync="showConfig" :keys="['recharge.min.service']" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listChannel, getChannel, delChannel, addChannel, updateChannel } from "@/api/system/channel";
|
import { listChannel, getChannel, delChannel, addChannel, updateChannel } from "@/api/system/channel";
|
||||||
import { $serviceType, $withdrawServiceType } from '@/utils/mixins'
|
import { $serviceType, $withdrawServiceType } from '@/utils/mixins'
|
||||||
|
import ConfigDialog from '@/components/Business/Config/ConfigDialog.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Channel",
|
name: "Channel",
|
||||||
|
components: { ConfigDialog },
|
||||||
mixins: [$serviceType, $withdrawServiceType],
|
mixins: [$serviceType, $withdrawServiceType],
|
||||||
dicts: ['withdraw_service_type', 'service_type'],
|
dicts: ['withdraw_service_type', 'service_type'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
showConfig: false,
|
||||||
span: 24,
|
span: 24,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
|
|
|
@ -134,7 +134,7 @@
|
||||||
<el-tag :type="d.row.isUsing ? 'success' : 'danger'">{{d.row.isUsing ? '是' : '否'}}</el-tag>
|
<el-tag :type="d.row.isUsing ? 'success' : 'danger'">{{d.row.isUsing ? '是' : '否'}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="['money', 'serviceCharge', 'channelCost', 'arrivalAmount'].includes(column.key)">
|
<template v-else-if="['money', 'serviceCharge', 'channelCost', 'arrivalAmount'].includes(column.key)">
|
||||||
{{d.row.money | money | defaultValue}} 元
|
{{d.row[column.key] | money | defaultValue}} 元
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
{{d.row[column.key] | defaultValue}}
|
{{d.row[column.key] | defaultValue}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user