|
|
@@ -401,10 +401,10 @@ export default {
|
|
|
export_json_to_excel,
|
|
|
} = require("../../../../common/Export2Excel");
|
|
|
// 增加 colWidths 参数以调整列宽,例如调整为 [20, 35, 20]
|
|
|
- let tHeader = [this.lang.StudentName,'账户'];
|
|
|
+ let tHeader = [this.lang.StudentName, this.lang.ssStuAccHd];
|
|
|
|
|
|
if (this.boxType == 2) {
|
|
|
- tHeader = [this.lang.StudentName,this.lang.Class,'账户'];
|
|
|
+ tHeader = [this.lang.StudentName, this.lang.Class, this.lang.ssStuAccHd];
|
|
|
}
|
|
|
const data = [];
|
|
|
const colWidths = [35]; // 设置每一列的宽度
|
|
|
@@ -471,8 +471,8 @@ export default {
|
|
|
_this.org &&
|
|
|
_this.schoolChar
|
|
|
) {
|
|
|
- if (Number(v['账户'])) {
|
|
|
- obj.account = v['账户'] + '@' + _this.schoolChar + '.' + _this.userSuffix;
|
|
|
+ if (Number(v[_this.lang.ssStuAccHd])) {
|
|
|
+ obj.account = v[_this.lang.ssStuAccHd] + '@' + _this.schoolChar + '.' + _this.userSuffix;
|
|
|
} else {
|
|
|
obj.account = '';
|
|
|
}
|
|
|
@@ -480,8 +480,8 @@ export default {
|
|
|
obj.mail =
|
|
|
uuidv4() + "@" + _this.schoolChar + "." + _this.userSuffix;
|
|
|
} else {
|
|
|
- if (Number(v['账户'])) {
|
|
|
- obj.account = v['账户'] + + _this.userSuffix;
|
|
|
+ if (Number(v[_this.lang.ssStuAccHd])) {
|
|
|
+ obj.account = v[_this.lang.ssStuAccHd] + + _this.userSuffix;
|
|
|
} else {
|
|
|
obj.account = '';
|
|
|
}
|