Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
48522474
Commit
48522474
authored
Jan 06, 2025
by
honghy
Committed by
wux
Jan 07, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug157【(生产)订单-列表】点击<显示搜索>按钮,输入筛选条件,再点击<隐藏搜索>时,列表可展示数据变少
parent
c8faecdc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
92 additions
and
52 deletions
+92
-52
index.vue
src/views/ecw/customer/index.vue
+18
-10
index.vue
src/views/ecw/myCustomerService/index.vue
+18
-10
index.vue
src/views/ecw/oceanCustomer/index.vue
+18
-10
logListCommon.vue
src/views/ecw/offer/logListCommon.vue
+19
-11
index.vue
src/views/ecw/order/index.vue
+19
-11
No files found.
src/views/ecw/customer/index.vue
View file @
48522474
...
...
@@ -910,6 +910,12 @@ export default {
}
},
computed
:
{
isMobile
()
{
const
userAgent
=
navigator
.
userAgent
||
navigator
.
vendor
||
window
.
opera
;
// 匹配常见的移动设备标识
const
mobileIdentifiers
=
[
'
Android
'
,
'
webOS
'
,
'
iPhone
'
,
'
iPad
'
,
'
iPod
'
,
'
BlackBerry
'
,
'
Windows Phone
'
];
return
mobileIdentifiers
.
some
(
identifier
=>
userAgent
.
includes
(
identifier
));
},
path
()
{
return
this
.
$route
.
path
},
...
...
@@ -1538,17 +1544,19 @@ export default {
},
//表格高度自适应
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
if
(
!
this
.
isMobile
)
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
);
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
)
;
},
}
}
...
...
src/views/ecw/myCustomerService/index.vue
View file @
48522474
...
...
@@ -444,6 +444,12 @@ export default {
CustomerSetting
},
computed
:
{
isMobile
()
{
const
userAgent
=
navigator
.
userAgent
||
navigator
.
vendor
||
window
.
opera
;
// 匹配常见的移动设备标识
const
mobileIdentifiers
=
[
'
Android
'
,
'
webOS
'
,
'
iPhone
'
,
'
iPad
'
,
'
iPod
'
,
'
BlackBerry
'
,
'
Windows Phone
'
];
return
mobileIdentifiers
.
some
(
identifier
=>
userAgent
.
includes
(
identifier
));
},
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
},
...
...
@@ -975,17 +981,19 @@ export default {
},
//表格高度自适应
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
if
(
!
this
.
isMobile
)
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
);
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
)
;
},
},
watch
:
{
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
48522474
...
...
@@ -703,6 +703,12 @@ export default {
}
},
computed
:
{
isMobile
()
{
const
userAgent
=
navigator
.
userAgent
||
navigator
.
vendor
||
window
.
opera
;
// 匹配常见的移动设备标识
const
mobileIdentifiers
=
[
'
Android
'
,
'
webOS
'
,
'
iPhone
'
,
'
iPad
'
,
'
iPod
'
,
'
BlackBerry
'
,
'
Windows Phone
'
];
return
mobileIdentifiers
.
some
(
identifier
=>
userAgent
.
includes
(
identifier
));
},
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
},
...
...
@@ -1078,17 +1084,19 @@ export default {
},
//表格高度自适应
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
if
(
!
this
.
isMobile
)
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
);
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
)
;
},
},
};
...
...
src/views/ecw/offer/logListCommon.vue
View file @
48522474
...
...
@@ -199,7 +199,7 @@ export default {
nextTime
:
[
""
,
""
],
customerCreateTime
:
[
""
,
""
]
},
autoHeight
:
500
autoHeight
:
null
}
},
created
()
{
...
...
@@ -219,6 +219,12 @@ export default {
// return t.join(":")
// }
// },
isMobile
()
{
const
userAgent
=
navigator
.
userAgent
||
navigator
.
vendor
||
window
.
opera
;
// 匹配常见的移动设备标识
const
mobileIdentifiers
=
[
'
Android
'
,
'
webOS
'
,
'
iPhone
'
,
'
iPad
'
,
'
iPod
'
,
'
BlackBerry
'
,
'
Windows Phone
'
];
return
mobileIdentifiers
.
some
(
identifier
=>
userAgent
.
includes
(
identifier
));
},
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
},
...
...
@@ -338,17 +344,19 @@ export default {
},
//表格高度自适应
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
if
(
!
this
.
isMobile
)
{
this
.
$refs
.
multipleTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
);
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
)
;
},
}
}
...
...
src/views/ecw/order/index.vue
View file @
48522474
...
...
@@ -844,7 +844,7 @@ export default {
key
:
"
eqPickRatio
"
,
value
:
""
},
autoHeight
:
500
autoHeight
:
null
}
},
watch
:
{
...
...
@@ -1000,6 +1000,12 @@ export default {
}
},
computed
:
{
isMobile
()
{
const
userAgent
=
navigator
.
userAgent
||
navigator
.
vendor
||
window
.
opera
;
// 匹配常见的移动设备标识
const
mobileIdentifiers
=
[
'
Android
'
,
'
webOS
'
,
'
iPhone
'
,
'
iPad
'
,
'
iPod
'
,
'
BlackBerry
'
,
'
Windows Phone
'
];
return
mobileIdentifiers
.
some
(
identifier
=>
userAgent
.
includes
(
identifier
));
},
// 导出的权限字符串
exportPermiString
()
{
let
arr
=
[
"
ecw:order:export
"
]
...
...
@@ -1508,17 +1514,19 @@ export default {
},
//表格高度自适应
getHeight
()
{
this
.
$refs
.
dataTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
if
(
!
this
.
isMobile
)
{
this
.
$refs
.
dataTable
.
doLayout
()
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
return
result
;
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
)
;
}
const
element
=
document
.
getElementById
(
'
dataTable
'
);
const
variableHeight
=
70
;
// 给定的变量高度 一般留于分页器高度
this
.
autoHeight
=
getHeightFromBottom
(
element
,
variableHeight
)
;
},
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment