|
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
@click="">重置
|
|
|
|
|
</Button>
|
|
|
|
|
<Button style="margin-left: 10px" type="primary" @click="select.page = 1,getList()">查询</Button>
|
|
|
|
|
<Button style="margin-left: 10px" type="primary" @click="$refs['addTypes'].show()">新增</Button>
|
|
|
|
|
<Button style="margin-left: 10px" type="primary" @click="$refs['addTypes'].setForm('year',select.year),$refs['addTypes'].show()">新增</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</slot>
|
|
|
|
|
</lx-header>
|
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
size="small"
|
|
|
|
|
ghost
|
|
|
|
|
@click="() => {
|
|
|
|
|
$refs['addTypes'].setForm('pid',scope.row.id);
|
|
|
|
|
$refs['addTypes'].setForm(['pid','year'],[scope.row.id,scope.row.year+'']);
|
|
|
|
|
$refs['addTypes'].type = 'add';
|
|
|
|
|
$refs['addTypes'].show();
|
|
|
|
|
}">下级</Button>
|
|
|
|
|
@ -101,11 +101,11 @@ export default {
|
|
|
|
|
minWidth: 220,
|
|
|
|
|
align: "left"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "分值",
|
|
|
|
|
prop: "score",
|
|
|
|
|
width: 100,
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// label: "分值",
|
|
|
|
|
// prop: "score",
|
|
|
|
|
// width: 100,
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
label: "创建时间",
|
|
|
|
|
prop: "created_at",
|
|
|
|
|
|