master
chentaisen 2024-08-26 08:58:55 +08:00
parent f8328b4dd1
commit 8f800b09e5
2 changed files with 19 additions and 16 deletions

View File

@ -126,10 +126,13 @@
<el-form-item label="规则名称" prop="name"> <el-form-item label="规则名称" prop="name">
<el-input v-model="form.name" placeholder="请输入规则名称" /> <el-input v-model="form.name" placeholder="请输入规则名称" />
</el-form-item> </el-form-item>
<el-form-item label="是否激活" prop="isActivate">
<el-input v-model="form.isActivate" placeholder="请输入是否激活" />
</el-form-item>
<el-form-item label="是否激活">
<el-radio-group v-model="form.isActivate" placeholder="请输入是否激活">
<el-radio label="Y"></el-radio>
<el-radio label="N"></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="规则描述" prop="ruleDesc"> <el-form-item label="规则描述" prop="ruleDesc">
<el-input v-model="form.ruleDesc" type="textarea" placeholder="请输入内容" /> <el-input v-model="form.ruleDesc" type="textarea" placeholder="请输入内容" />

View File

@ -175,22 +175,22 @@
<el-row :gutter="10"> <el-row :gutter="10">
<el-empty description="暂无支付客户" v-if="customerList.length === 0"></el-empty> <!-- <el-empty description="暂无支付客户" v-if="customerList.length === 0"></el-empty>-->
<el-col :span="8" v-for="customer in customerList" v-if="customerList.length !== 0"> <!-- <el-col :span="8" v-for="customer in customerList" v-if="customerList.length !== 0">-->
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span style="font-size: 18px;font-weight: 900">{{ customer.appName }}</span> <span style="font-size: 18px;font-weight: 900">{{ customer.appName }}</span>
<el-switch <!-- <el-switch-->
style="float: right; margin: 4px 5px 0;" <!-- style="float: right; margin: 4px 5px 0;"-->
v-model="customer.status" <!-- v-model="customer.status"-->
active-color="#13ce66" <!-- active-color="#13ce66"-->
inactive-color="#ff4949" <!-- inactive-color="#ff4949"-->
active-value="Y" <!-- active-value="Y"-->
inactive-value="N" <!-- inactive-value="N"-->
@change="handleStatusChange(customer)" <!-- @change="handleStatusChange(customer)"-->
> <!-- >-->
</el-switch> <!-- </el-switch>-->
<el-popconfirm <el-popconfirm
confirm-button-text='好的' confirm-button-text='好的'
@ -210,7 +210,7 @@
</div> </div>
</el-card> </el-card>
</el-col> <!-- </el-col>-->
</el-row> </el-row>
<!-- 添加或修改规则对话框 --> <!-- 添加或修改规则对话框 -->