feat:合并

This commit is contained in:
lixg
2022-11-30 12:03:59 +08:00
16 changed files with 453 additions and 356 deletions

View File

@@ -616,7 +616,7 @@
<div style="width: 5px; display: inline-block"></div>
<span class="yi"></span>
<span class="zon">列表选项总数</span>
<span class="th">{{ tableData.length }}</span>
<span class="th">{{ tableDataTotal }}</span>
<span class="yi"> </span>
</div>
</div>
@@ -648,6 +648,7 @@
@change="pageChange"
class="pagination"
style="display: block"
v-if="tableDataTotal > 10"
/>
</div>
</div>
@@ -1333,7 +1334,7 @@ export default {
fileList: [],
docChecked: true,
currentPage: 1,
tableDataTotal: 100,
tableDataTotal: -1,
pageSize: 10,
visiblene: false,
sh: false,
@@ -1650,6 +1651,7 @@ export default {
.then((res) => {
console.log("获取学员列表", res);
let data = res.data.data.rows || null;
state.tableDataTotal = res.data.data.total;
state.tableData = [];
if (data.length) {
for (let i in data) {
@@ -1657,7 +1659,7 @@ export default {
state.tableData.push({
key: data[i].studentId,
com: data[i].userInfoBo.deptName,
name: data[i].userInfoBo.userName,
name: data[i].name,
gang: data[i].userInfoBo.jobName,
cur: data[i].currentChapterName || "0",
jin: data[i].completeChapterCnt + "/" + data[i].totalChapterCnt,
@@ -2087,6 +2089,7 @@ export default {
.then((res) => {
console.log("添加学员成功", res);
message.success("添加学员成功");
getStudent();
})
.catch((err) => {
console.log("添加学员失败", err);