合并分支 'dev_2nd_20230213' 到 'master'

Dev 2nd 20230213

查看合并请求 laws-nio/laws-weilai!289
This commit is contained in:
高嵩
2023-02-13 21:45:48 +08:00
3 changed files with 11 additions and 12 deletions
@@ -219,6 +219,7 @@ public class HeadCustomEOServiceImpl extends ServiceImpl<HeadCustomEOMapper, Hea
wrapper.in(HeadCustomEO::getCreateBy, loginUser.getUsername()).in(HeadCustomEO::getModuleFlag, moduleFlag); wrapper.in(HeadCustomEO::getCreateBy, loginUser.getUsername()).in(HeadCustomEO::getModuleFlag, moduleFlag);
List<HeadCustomEO> list = this.list(wrapper); List<HeadCustomEO> list = this.list(wrapper);
List<HeadCustomVO> headCustomVOOneList = new LinkedList<>(); List<HeadCustomVO> headCustomVOOneList = new LinkedList<>();
List<HeadCustomVO> res = new ArrayList<>();
if (ObjectUtils.isNotEmpty(list)) { if (ObjectUtils.isNotEmpty(list)) {
//列表表头一级 //列表表头一级
List<HeadCustomEO> oneList = list.stream() List<HeadCustomEO> oneList = list.stream()
@@ -246,13 +247,11 @@ public class HeadCustomEOServiceImpl extends ServiceImpl<HeadCustomEOMapper, Hea
getHeadCustomVO(cut, headCustomEO, headCustomVO); getHeadCustomVO(cut, headCustomEO, headCustomVO);
headCustomVOOneList.add(headCustomVO); headCustomVOOneList.add(headCustomVO);
} }
} if ("法规清单".equals(moduleFlag) || "虚拟清单详情".equals(moduleFlag) || "维护清单".equals(moduleFlag)) {
res = checkDefaultHead(headCustomVOOneList, cut, moduleFlag);
List<HeadCustomVO> res = new ArrayList<>(); } else {
if ("法规清单".equals(moduleFlag) || "虚拟清单详情".equals(moduleFlag) || "维护清单".equals(moduleFlag)) { res = headCustomVOOneList;
res = checkDefaultHead(headCustomVOOneList, cut, moduleFlag); }
} else {
res = headCustomVOOneList;
} }
return res; return res;
} }
+1 -4
View File
@@ -46,7 +46,6 @@ const DragHandler = {
}, },
handleStart(e) { handleStart(e) {
console.log(e)
this.dragging = true this.dragging = true
this.removeEvents() this.removeEvents()
this.thWidth = this.$el.parentNode.getBoundingClientRect().width this.thWidth = this.$el.parentNode.getBoundingClientRect().width
@@ -145,7 +144,7 @@ const ResizeHeaderOne = function(val, name ,minWidths) {
) )
} }
} }
console.log(restProps,11)
let className = '' let className = ''
if ((restProps.attrs && restProps.attrs.colSpan && restProps.attrs.colSpan == 1) || (restProps.attrs && restProps.attrs.colSpan && restProps.attrs.colSpan > 0)){ if ((restProps.attrs && restProps.attrs.colSpan && restProps.attrs.colSpan == 1) || (restProps.attrs && restProps.attrs.colSpan && restProps.attrs.colSpan > 0)){
className = ' second' className = ' second'
@@ -160,7 +159,6 @@ const ResizeHeaderOne = function(val, name ,minWidths) {
export const ResizeHeader = { export const ResizeHeader = {
methods: { methods: {
drag(columns, name ,minWidths) { drag(columns, name ,minWidths) {
console.log(minWidths)
return { return {
header: { header: {
// minWidths : 最小宽度 => [[需要设置的列,最小宽],[需要设置的列,最小宽],...] // minWidths : 最小宽度 => [[需要设置的列,最小宽],[需要设置的列,最小宽],...]
@@ -238,7 +236,6 @@ export const ResizeColumnProvide = {
}, },
methods: { methods: {
_resizeColumn(w, column) { _resizeColumn(w, column) {
console.log(column)
tableAll.forEach(item=>{ tableAll.forEach(item=>{
item.forEach((i)=>{ item.forEach((i)=>{
if(i === column && i.dataIndex === column.dataIndex){ if(i === column && i.dataIndex === column.dataIndex){
@@ -94,8 +94,8 @@
</a-row> </a-row>
</a-form> </a-form>
</div> </div>
<!-- v-if="(isRoleSwitching && !isDisplay) || (!isDisplay && roleSwitchingList.length > 1) || isDisplay"-->
<div class="table-operator" <div class="table-operator"
v-if="(isRoleSwitching && !isDisplay) || (!isDisplay && roleSwitchingList.length > 1) || isDisplay"
style="overflow:hidden;margin-bottom: 20px"> style="overflow:hidden;margin-bottom: 20px">
<div style="float: right;margin-top: 1px; margin-left: 20px"> <div style="float: right;margin-top: 1px; margin-left: 20px">
<a-popconfirm :visible="customizevisible" overlayClassName='popconfirmmize' placement="bottomRight" > <a-popconfirm :visible="customizevisible" overlayClassName='popconfirmmize' placement="bottomRight" >
@@ -1524,6 +1524,9 @@
this.isRoleSwitching = false this.isRoleSwitching = false
} }
} }
console.log(this.formInlineRoleSwitching.roleSwitchingCode)
console.log(this.isRoleSwitching)
console.log(this.isDisplay)
this.getList() this.getList()
// this.JLoading = false // this.JLoading = false
} else { } else {