合并分支 'dev_2nd_20230213' 到 'master'

Dev 2nd 20230213

查看合并请求 laws-nio/laws-weilai!291
This commit is contained in:
高嵩
2023-02-14 14:10:26 +08:00
6 changed files with 2750 additions and 2701 deletions
@@ -264,7 +264,7 @@ public class HeadCustomEOServiceImpl extends ServiceImpl<HeadCustomEOMapper, Hea
//编号,标题,操作 //编号,标题,操作
boolean hasBH = false; boolean hasBH = false;
boolean hasBT = false; boolean hasBT = false;
boolean hasCZ = false; // boolean hasCZ = false;
for (HeadCustomVO hcVO : headCustomVOOneList) { for (HeadCustomVO hcVO : headCustomVOOneList) {
if ("编号".equals(hcVO.getTitle()) || "Number".equals(hcVO.getTitle())) { if ("编号".equals(hcVO.getTitle()) || "Number".equals(hcVO.getTitle())) {
hasBH = true; hasBH = true;
@@ -273,7 +273,7 @@ public class HeadCustomEOServiceImpl extends ServiceImpl<HeadCustomEOMapper, Hea
hasBT = true; hasBT = true;
} }
if ("操作".equals(hcVO.getTitle())) { if ("操作".equals(hcVO.getTitle())) {
hasCZ = true; headCustomVOOneList.remove(hcVO);
} }
} }
if (!hasBH) { if (!hasBH) {
@@ -299,17 +299,17 @@ public class HeadCustomEOServiceImpl extends ServiceImpl<HeadCustomEOMapper, Hea
res.add(bt); res.add(bt);
} }
res.addAll(headCustomVOOneList); res.addAll(headCustomVOOneList);
if (!hasCZ) { // if (!hasCZ) {
HeadCustomVO cz = new HeadCustomVO(); // HeadCustomVO cz = new HeadCustomVO();
cz.setDataIndex("operation"); // cz.setDataIndex("operation");
if (CutEnum.CN.getValue().equals(cut)) { // if (CutEnum.CN.getValue().equals(cut)) {
cz.setTitle("操作"); // cz.setTitle("操作");
} else { // } else {
cz.setTitle("Operation"); // cz.setTitle("Operation");
} // }
cz.setFixed("right"); // cz.setFixed("right");
res.add(cz); // res.add(cz);
} // }
return res; return res;
} }
@@ -329,9 +329,9 @@ public class HeadCustomEOServiceImpl extends ServiceImpl<HeadCustomEOMapper, Hea
if ("标题".equals(headCustomEO.getHeadFieldCn())) { if ("标题".equals(headCustomEO.getHeadFieldCn())) {
headCustomVO.setFixed("left"); headCustomVO.setFixed("left");
} }
if ("操作".equals(headCustomEO.getHeadFieldCn())) { // if ("操作".equals(headCustomEO.getHeadFieldCn())) {
headCustomVO.setFixed("right"); // headCustomVO.setFixed("right");
} // }
} }
return headCustomVO; return headCustomVO;
} }
+1 -1
View File
@@ -1376,7 +1376,7 @@ module.exports = {
Updateparametercolumn:'Update The Parameter Column', Updateparametercolumn:'Update The Parameter Column',
columnfirst:'Reference the parameter column first', columnfirst:'Reference the parameter column first',
columnforced:'Confirm a forced retraction?', columnforced:'Confirm a forced retraction?',
customize:'Customize the header', customize:'List setting',
customColumn:'Custom column', customColumn:'Custom column',
} }
+1 -1
View File
@@ -1477,6 +1477,6 @@ module.exports = {
brand:'品牌', brand:'品牌',
allsubitemsitem:'该项目下拥有子项目是否全部删除', allsubitemsitem:'该项目下拥有子项目是否全部删除',
contactTheFounder:'联系作者', contactTheFounder:'联系作者',
customize:'自定义表头', customize:'列表设置',
customColumn:'自定义列', customColumn:'自定义列',
} }
@@ -1996,9 +1996,9 @@ popconfirmmize {
//font-weight: bold; //font-weight: bold;
//background: #f3f6f6; //background: #f3f6f6;
//} //}
.ant-table-row-cell-ellipsis{ //.ant-table-row-cell-ellipsis{
padding: 0!important; // padding: 0!important;
} //}
.second{ .second{
padding: 0!important; padding: 0!important;
} }
File diff suppressed because it is too large Load Diff
@@ -483,17 +483,11 @@
handleSubmitOk() { handleSubmitOk() {
this.confirmLoading = true this.confirmLoading = true
let selectedRole = JSON.parse(JSON.stringify(this.selectedRole)) let selectedRole = JSON.parse(JSON.stringify(this.selectedRole))
if(this.dutyTerritories){
let dutyTerritorie = JSON.parse(JSON.stringify(this.dutyTerritories))
}
if(this.brands){
let brand = JSON.parse(JSON.stringify(this.brands))
}
let param = { let param = {
ids: this.userId, ids: this.userId,
selectedroles: selectedRole.join(','), selectedroles: selectedRole.join(','),
dutyTerritories: this.dutyTerritories ? dutyTerritorie.join(',') : '', dutyTerritories: this.dutyTerritories ? this.dutyTerritories.join(',') : '',
brands: this.brands ? brand.join(',') : '' brands: this.brands ? this.brands.join(',') : ''
} }
postAction('/sys/user/setRole', param).then((res) => { postAction('/sys/user/setRole', param).then((res) => {
if (res.success) { if (res.success) {
@@ -643,6 +637,8 @@
this.userDepartModel = { userId: '', departIdList: [] } this.userDepartModel = { userId: '', departIdList: [] }
this.checkedDepartNames = [] this.checkedDepartNames = []
this.checkedDepartNameString = '' this.checkedDepartNameString = ''
this.dutyTerritories = []
this.brands = []
this.checkedDepartKeys = [] this.checkedDepartKeys = []
this.selectedDepartKeys = [] this.selectedDepartKeys = []
this.resultDepartOptions = [] this.resultDepartOptions = []