Commit 77f38544 authored by zhengke's avatar zhengke

修改

parent 54f84288
......@@ -38,18 +38,17 @@
<el-table
:data="list"
border
style="width: 1699px">
style="width: 100%">
<el-table-column
fixed
prop="RulesName"
label="规则名称"
width="1339">
label="规则名称">
</el-table-column>
<el-table-column
label="是否默认"
width="180">
<template slot-scope="scope">
<el-radio v-model="radio" :label="scope.row.ID" @change="radioChange">
<el-radio v-model="radio" :label="scope.row.IsDefault" @change="radioChange">
<span class="el-radio__label">默认</span>
</el-radio>
</template>
......@@ -58,6 +57,7 @@
<el-table-column
fixed="right"
label="操作"
width="180"
>
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="编辑" placement="top" >
......@@ -93,7 +93,7 @@
pageSize:20,
RulesName:'',
},
radio:'',//单选按钮绑定值
radio:1,//单选按钮绑定值
total:0,//总条数
currentPage:1,//当前第几页
}
......@@ -104,6 +104,7 @@
if (res.data.resultCode == 1) {
this.list = res.data.data.pageData;
this.total = res.data.data.count;
console.log(res,'ressss');
} else {
this.Info(res.data.message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment