mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
feat:合并
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user