|
@@ -116,6 +116,7 @@
|
|
|
v-for="(item, index) in allClaColumns"
|
|
v-for="(item, index) in allClaColumns"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
:label="item.label"
|
|
:label="item.label"
|
|
|
|
|
+ :min-width="item.width"
|
|
|
>
|
|
>
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<div v-if="item.label == '账号'">
|
|
<div v-if="item.label == '账号'">
|
|
@@ -222,14 +223,17 @@ export default {
|
|
|
{
|
|
{
|
|
|
label: "姓名",
|
|
label: "姓名",
|
|
|
prop: "username",
|
|
prop: "username",
|
|
|
|
|
+ width: "30%",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: "账号",
|
|
label: "账号",
|
|
|
prop: "acc",
|
|
prop: "acc",
|
|
|
|
|
+ width: "30%",
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: "班级",
|
|
label: "班级",
|
|
|
prop: "classname",
|
|
prop: "classname",
|
|
|
|
|
+ width: "40%",
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
};
|
|
};
|
|
@@ -606,6 +610,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
.cla_box {
|
|
.cla_box {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 5px;
|
|
gap: 5px;
|
|
|
}
|
|
}
|