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