fixbug:修改请求参数 createName, orgId;reset赋值为null

This commit is contained in:
BOE\10867418
2023-09-01 17:12:23 +08:00
parent 72b134b24d
commit 5c279b9ba7
2 changed files with 6 additions and 6 deletions

View File

@@ -412,8 +412,8 @@ export default {
state.name = "";
state.band = "";
state.userNo = "";
state.valueBand = "";
state.valueCourseType = "";
state.valueBand = null;
state.valueCourseType = null;
state.orgId = state.resetOrgId;
getTableData();
};

View File

@@ -423,11 +423,11 @@ export default {
size: state.pageSize,
// userNo: state.userNo,
testName: state.testName,
creator: state.creator,
createName: state.creator,
startTime: typeof state.publishTime[0] === 'undefined' ? null : state.publishTime[0]+ " 00:00:00",
endTime: typeof state.publishTime[0] === 'undefined' ? null : state.publishTime[1]+ " 23:59:59",
// name: state.name,
departmentId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
// bandCode: state.band,
});
if (res) {
@@ -464,10 +464,10 @@ export default {
// userNo: state.userNo,
// name: state.name,
testName: state.testName,
creator: state.creator,
createName: state.creator,
startTime: typeof state.publishTime[0] === 'undefined' ? null : state.publishTime[0]+ " 00:00:00",
endTime: typeof state.publishTime[0] === 'undefined' ? null : state.publishTime[1]+ " 23:59:59",
departmentId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
// bandCode: state.band,
},
responseType: "blob",