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
c68fda6c
Commit
c68fda6c
authored
Jan 06, 2025
by
Smile
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/jd_dev' into jd_dev
parents
352f6a27
ce16acd2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
94 additions
and
54 deletions
+94
-54
edit.vue
src/views/ecw/customer/edit.vue
+2
-2
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/edit.vue
View file @
c68fda6c
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('年度发货量')"
>
<el-form-item
:label=
"$t('年度发货量')"
>
<el-input-number
v-model=
"form.weightYearly"
:min=
"
1
"
/>
<el-input-number
v-model=
"form.weightYearly"
:min=
"
0
"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('年度发货次数')"
>
<el-form-item
:label=
"$t('年度发货次数')"
>
<el-input-number
v-model=
"form.numYearly"
:min=
"
1
"
/>
<el-input-number
v-model=
"form.numYearly"
:min=
"
0
"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
...
src/views/ecw/customer/index.vue
View file @
c68fda6c
...
@@ -910,6 +910,12 @@ export default {
...
@@ -910,6 +910,12 @@ export default {
}
}
},
},
computed
:
{
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
()
{
path
()
{
return
this
.
$route
.
path
return
this
.
$route
.
path
},
},
...
@@ -1538,17 +1544,19 @@ export default {
...
@@ -1538,17 +1544,19 @@ export default {
},
},
//表格高度自适应
//表格高度自适应
getHeight
()
{
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
if
(
!
this
.
isMobile
)
{
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
this
.
$refs
.
multipleTable
.
doLayout
()
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
windowHeight
=
window
.
innerHeight
;
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
return
result
;
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 @
c68fda6c
...
@@ -444,6 +444,12 @@ export default {
...
@@ -444,6 +444,12 @@ export default {
CustomerSetting
CustomerSetting
},
},
computed
:
{
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
()
{
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
return
this
.
$i18n
.
locale
===
"
zh_CN
"
},
},
...
@@ -975,17 +981,19 @@ export default {
...
@@ -975,17 +981,19 @@ export default {
},
},
//表格高度自适应
//表格高度自适应
getHeight
()
{
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
if
(
!
this
.
isMobile
)
{
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
this
.
$refs
.
multipleTable
.
doLayout
()
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
windowHeight
=
window
.
innerHeight
;
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
return
result
;
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
:
{
watch
:
{
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
c68fda6c
...
@@ -703,6 +703,12 @@ export default {
...
@@ -703,6 +703,12 @@ export default {
}
}
},
},
computed
:
{
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
()
{
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
},
},
...
@@ -1078,17 +1084,19 @@ export default {
...
@@ -1078,17 +1084,19 @@ export default {
},
},
//表格高度自适应
//表格高度自适应
getHeight
()
{
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
if
(
!
this
.
isMobile
)
{
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
this
.
$refs
.
multipleTable
.
doLayout
()
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
windowHeight
=
window
.
innerHeight
;
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
return
result
;
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 @
c68fda6c
...
@@ -199,7 +199,7 @@ export default {
...
@@ -199,7 +199,7 @@ export default {
nextTime
:
[
""
,
""
],
nextTime
:
[
""
,
""
],
customerCreateTime
:
[
""
,
""
]
customerCreateTime
:
[
""
,
""
]
},
},
autoHeight
:
500
autoHeight
:
null
}
}
},
},
created
()
{
created
()
{
...
@@ -219,6 +219,12 @@ export default {
...
@@ -219,6 +219,12 @@ export default {
// return t.join(":")
// 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
()
{
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
return
this
.
$i18n
.
locale
===
"
zh_CN
"
},
},
...
@@ -338,17 +344,19 @@ export default {
...
@@ -338,17 +344,19 @@ export default {
},
},
//表格高度自适应
//表格高度自适应
getHeight
()
{
getHeight
()
{
this
.
$refs
.
multipleTable
.
doLayout
()
if
(
!
this
.
isMobile
)
{
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
this
.
$refs
.
multipleTable
.
doLayout
()
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
windowHeight
=
window
.
innerHeight
;
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
return
result
;
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 @
c68fda6c
...
@@ -844,7 +844,7 @@ export default {
...
@@ -844,7 +844,7 @@ export default {
key
:
"
eqPickRatio
"
,
key
:
"
eqPickRatio
"
,
value
:
""
value
:
""
},
},
autoHeight
:
500
autoHeight
:
null
}
}
},
},
watch
:
{
watch
:
{
...
@@ -1000,6 +1000,12 @@ export default {
...
@@ -1000,6 +1000,12 @@ export default {
}
}
},
},
computed
:
{
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
()
{
exportPermiString
()
{
let
arr
=
[
"
ecw:order:export
"
]
let
arr
=
[
"
ecw:order:export
"
]
...
@@ -1508,17 +1514,19 @@ export default {
...
@@ -1508,17 +1514,19 @@ export default {
},
},
//表格高度自适应
//表格高度自适应
getHeight
()
{
getHeight
()
{
this
.
$refs
.
dataTable
.
doLayout
()
if
(
!
this
.
isMobile
)
{
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
this
.
$refs
.
dataTable
.
doLayout
()
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
let
getHeightFromBottom
=
(
element
,
variableHeight
)
=>
{
const
windowHeight
=
window
.
innerHeight
;
const
elementRect
=
element
.
getBoundingClientRect
().
top
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
const
windowHeight
=
document
.
documentElement
.
clientHeight
;
const
result
=
elementHeightFromBottom
-
variableHeight
;
const
elementHeightFromBottom
=
windowHeight
-
elementRect
;
return
result
;
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