diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/Check/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/Check/list.vue
index 4c86865a2..17ce388f0 100644
--- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/Check/list.vue
+++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuLeaveManagement/Check/list.vue
@@ -17,18 +17,11 @@
审核状态:
{{ CheckStatusitem(displayListItem(item, "CheckStatus")) }}
-
-
-
-
-
- 审核时间:
- {{ displayListItem(item, "CheckTime") }}
@@ -43,7 +36,7 @@
开始时间:
- {{ itmeDel(displayListItem(item, "StartTime"))}}
+ {{ itmeDel(displayListItem(item, "StartTime")) }}
@@ -56,10 +49,10 @@
{{ displayListItem(item, "LeaveDay") }}
-
+
学号:
@@ -82,7 +75,7 @@
- 系部:
+ 系部:
{{ displayListItem(item, "DeptNo") }}
@@ -92,8 +85,8 @@
- 班主任:
- {{ displayListItem(item, "ClassDiredctorNo") }}
+ 班主任:
+ {{ displayListItem(item, "ClassDiredctorNo") }}
@@ -101,8 +94,9 @@
{{ displayListItem(item, "ClassTutorNo") }}
-
+
@@ -127,7 +121,7 @@
-
+
@@ -161,8 +155,7 @@
// 数据项的数据类型、结构
scheme: {
CheckStatus: {
- type: "text",
- // type: "select",dataSource: '1', dataSourceId: 'CheckStatus'
+ type: "text"
},
CheckRemark: {
type: "text"
@@ -171,14 +164,10 @@
type: "text"
},
CheckUserNo: {
- type: "select",
- dataSource: '1',
- dataSourceId: 'CheckUserNo'
+ type: "select",dataSource: '1', dataSourceId: 'CheckUserNo'
},
LeaveType: {
- type: "select",
- dataSource: '1',
- dataSourceId: 'LeaveType'
+ type: "select",dataSource: '1', dataSourceId: 'LeaveType'
},
StartTime: {
type: "text"
@@ -263,14 +252,14 @@
await this.init();
},
onUnload() {
- this.OFF("EducationalAdministrationStuLeaveManagementCheck-list-change");
+ this.OFF("EducationalAdministrationStuLeaveManagement-list-change");
},
methods: {
// 页面初始化
async init() {
this.ON(
- "EducationalAdministrationStuLeaveManagementCheck-list-change",
+ "EducationalAdministrationStuLeaveManagement-list-change",
this.refreshList
);
@@ -294,6 +283,8 @@
this.FETCH_DATASOURCE('CdMajorInfo').then(result => {
this.dataSource.MajorNo = result.data.map(t => ({ text: t.majorname, value: t.majorno }));
}),
+
+
]);
await this.fetchList();
// 初始化查询条件
@@ -308,7 +299,7 @@
}
const result = await this.HTTP_GET(
- "/Learun/adms/EducationalAdministration/StuLeaveManagement/checkpagelist", {
+ "/Learun/adms/EducationalAdministration/StuLeaveManagement/pagelist", {
// 这里 sidx 表示排序字段,sord 表示排序方式(DESC=降序,ASC=升序)
// 代码生成器生成时默认按照主键排序,您可以修改成按创建时间的字段降序
pagination: {
@@ -317,7 +308,9 @@
sidx: "CreateTime",
sord: "DESC"
},
- queryJson: JSON.stringify(this.searchData),
+ queryJson: JSON.stringify(Object.assign(this.searchData, {
+ StuNo: this.user.account
+ })),
},
"加载数据时出错"
);
@@ -392,7 +385,7 @@
return;
case "join":
// console.log(123);
- this.NAV_TO(`/pages/EducationalAdministration/StuLeaveManagement/Check/list?meetId=${id}`);
+ this.NAV_TO(`/pages/EducationalAdministration/StuLeaveManagement/list?meetId=${id}`);
return;
case "delete":
@@ -413,18 +406,6 @@
});
return;
- case 'check':
- await this.HTTP_GET('/Learun/adms/EducationalAdministration/StuLeaveManagement/ischeck', id)
- .then(res => {
- if (res) {
- this.NAV_TO(`./single?type=edit&id=${id}`)
- return
- } else {
- return;
- }
- })
- return;
-
default:
return;
}