Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
enterprise-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
enterprise-platform
Commits
198f9348
Commit
198f9348
authored
Dec 23, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a49e81e3
510dc2f9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
14 deletions
+53
-14
enterprise-manager-ui/admin/src/components/AreaSelect.vue
enterprise-manager-ui/admin/src/components/AreaSelect.vue
+2
-2
enterprise-manager-ui/admin/src/components/ImageUpload.vue
enterprise-manager-ui/admin/src/components/ImageUpload.vue
+12
-0
enterprise-manager-ui/admin/src/views/Home.vue
enterprise-manager-ui/admin/src/views/Home.vue
+20
-9
enterprise-manager-ui/admin/src/views/company/drawershow.vue
enterprise-manager-ui/admin/src/views/company/drawershow.vue
+11
-2
enterprise-manager-ui/admin/src/views/news/drawershow.vue
enterprise-manager-ui/admin/src/views/news/drawershow.vue
+1
-0
enterprise-manager-ui/admin/src/views/product/drawershow.vue
enterprise-manager-ui/admin/src/views/product/drawershow.vue
+2
-0
enterprise-manager-ui/admin/src/views/staff/drawershow.vue
enterprise-manager-ui/admin/src/views/staff/drawershow.vue
+5
-1
No files found.
enterprise-manager-ui/admin/src/components/AreaSelect.vue
View file @
198f9348
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</el-select>
</el-select>
</el-col>
</el-col>
<el-col
<
!--
<
el-col
:span=
"span"
:span=
"span"
v-if=
"!hideCity && !hideArea && !hideStreet && !hideStreet"
v-if=
"!hideCity && !hideArea && !hideStreet && !hideStreet"
>
>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
>
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-col>
</el-col>
-->
</el-row>
</el-row>
</div>
</div>
</
template
>
</
template
>
...
...
enterprise-manager-ui/admin/src/components/ImageUpload.vue
View file @
198f9348
...
@@ -38,6 +38,9 @@
...
@@ -38,6 +38,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
slot=
"tip"
class=
"el-upload__tip"
v-if=
"slotP"
>
{{
slotP
}}
</div>
</el-upload>
</el-upload>
<el-upload
<el-upload
:action=
"uploadImgUrl + '?prePath=' + prePath"
:action=
"uploadImgUrl + '?prePath=' + prePath"
...
@@ -53,6 +56,9 @@
...
@@ -53,6 +56,9 @@
v-else
v-else
>
>
<i
class=
"el-icon-plus"
></i>
<i
class=
"el-icon-plus"
></i>
<div
slot=
"tip"
class=
"el-upload__tip"
v-if=
"slotP"
>
{{
slotP
}}
</div>
</el-upload>
</el-upload>
<el-dialog
<el-dialog
:visible.sync=
"dialogVisible"
:visible.sync=
"dialogVisible"
...
@@ -75,6 +81,8 @@
...
@@ -75,6 +81,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
type
}
from
"
../assets/utils
"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -103,6 +111,10 @@ export default {
...
@@ -103,6 +111,10 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
undefined
,
default
:
undefined
,
},
},
slotP
:
{
type
:
String
,
default
:
""
,
},
},
},
mounted
()
{
mounted
()
{
// 判断是否为多图上传
// 判断是否为多图上传
...
...
enterprise-manager-ui/admin/src/views/Home.vue
View file @
198f9348
...
@@ -128,18 +128,23 @@ export default {
...
@@ -128,18 +128,23 @@ export default {
this
.
$post
(
"
/company/stat
"
).
then
((
res
)
=>
{
this
.
$post
(
"
/company/stat
"
).
then
((
res
)
=>
{
const
{
data
,
code
}
=
res
;
const
{
data
,
code
}
=
res
;
if
(
code
==
1
)
{
if
(
code
==
1
)
{
this
.
enterpriseNums
=
data
.
enterpriseNums
;
data
.
enterpriseNums
this
.
productNums
=
data
.
productNums
;
?
(
this
.
enterpriseNums
=
data
.
enterpriseNums
)
this
.
staffNums
=
data
.
staffNums
;
:
"
--
"
;
this
.
newsNums
=
data
.
newsNums
;
data
.
productNums
?
(
this
.
productNums
=
data
.
productNums
)
:
"
--
"
;
this
.
feedbackNums
=
data
.
feedbackNums
;
data
.
staffNums
?
(
this
.
staffNums
=
data
.
staffNums
)
:
"
--
"
;
this
.
customerNums
=
data
.
customerNums
;
data
.
newsNums
?
(
this
.
newsNums
=
data
.
newsNums
)
:
"
--
"
;
data
.
feedbackNums
?
(
this
.
feedbackNums
=
data
.
feedbackNums
)
:
"
--
"
;
data
.
customerNums
?
(
this
.
customerNums
=
data
.
customerNums
)
:
"
--
"
;
this
.
lineDayValue
=
data
.
accessStatList
?
data
.
accessStatList
:
[];
this
.
lineDayValue
=
data
.
accessStatList
?
data
.
accessStatList
:
[];
this
.
barDayValue
=
data
.
sendCardStaffList
this
.
barDayValue
=
data
.
sendCardStaffList
?
data
.
sendCardStaffList
?
data
.
sendCardStaffList
:
[];
:
[];
if
(
data
.
newsDistributionList
.
length
>
0
)
{
if
(
data
.
newsDistributionList
&&
data
.
newsDistributionList
.
length
>
0
)
{
let
arr
=
[];
let
arr
=
[];
data
.
newsDistributionList
.
forEach
((
item
)
=>
{
data
.
newsDistributionList
.
forEach
((
item
)
=>
{
arr
.
push
({
arr
.
push
({
...
@@ -152,7 +157,10 @@ export default {
...
@@ -152,7 +157,10 @@ export default {
this
.
xwfbDayValue
=
[];
this
.
xwfbDayValue
=
[];
}
}
if
(
data
.
productDistributionList
.
length
>
0
)
{
if
(
data
.
productDistributionList
&&
data
.
productDistributionList
.
length
>
0
)
{
let
arr
=
[];
let
arr
=
[];
data
.
productDistributionList
.
forEach
((
item
)
=>
{
data
.
productDistributionList
.
forEach
((
item
)
=>
{
arr
.
push
({
arr
.
push
({
...
@@ -165,7 +173,10 @@ export default {
...
@@ -165,7 +173,10 @@ export default {
this
.
cpfbDayValue
=
[];
this
.
cpfbDayValue
=
[];
}
}
if
(
data
.
businessCardDistributionList
.
length
>
0
)
{
if
(
data
.
businessCardDistributionList
&&
data
.
businessCardDistributionList
.
length
>
0
)
{
let
arr
=
[];
let
arr
=
[];
data
.
businessCardDistributionList
.
forEach
((
item
)
=>
{
data
.
businessCardDistributionList
.
forEach
((
item
)
=>
{
arr
.
push
({
arr
.
push
({
...
...
enterprise-manager-ui/admin/src/views/company/drawershow.vue
View file @
198f9348
...
@@ -97,12 +97,20 @@
...
@@ -97,12 +97,20 @@
<Field
label=
"成立日期"
prop=
"establishDate"
v-model=
"form.establishDate"
type=
"date"
/>
-->
<Field
label=
"成立日期"
prop=
"establishDate"
v-model=
"form.establishDate"
type=
"date"
/>
-->
<el-row>
<el-row>
<Field
:span=
"24"
label=
"企业logo"
>
<Field
:span=
"24"
label=
"企业logo"
>
<imageUpload
v-model=
"form.logoPath"
prePath=
"/file/preview"
/>
<imageUpload
v-model=
"form.logoPath"
prePath=
"/file/preview"
:slotP=
"'请上传 67*67px 的图片'"
/>
</Field>
</Field>
</el-row>
</el-row>
<el-row>
<el-row>
<Field
:span=
"24"
label=
"企业背景图"
>
<Field
:span=
"24"
label=
"企业背景图"
>
<imageUpload
v-model=
"form.background"
prePath=
"/file/preview"
/>
<imageUpload
v-model=
"form.background"
prePath=
"/file/preview"
:slotP=
"'请上传 365*166px 的图片'"
/>
</Field>
</Field>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -139,6 +147,7 @@
...
@@ -139,6 +147,7 @@
prePath=
"/file/preview"
prePath=
"/file/preview"
:isList=
"true"
:isList=
"true"
ref=
"imgList"
ref=
"imgList"
:slotP=
"'请上传 390*220px 的图片'"
/>
/>
</Field>
</Field>
</el-row>
</el-row>
...
...
enterprise-manager-ui/admin/src/views/news/drawershow.vue
View file @
198f9348
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
:isList=
"true"
:isList=
"true"
:limit=
"9"
:limit=
"9"
ref=
"imgList"
ref=
"imgList"
:slotP=
"'请上传2MB以内的图片'"
/>
/>
</Field>
</Field>
...
...
enterprise-manager-ui/admin/src/views/product/drawershow.vue
View file @
198f9348
...
@@ -81,6 +81,7 @@
...
@@ -81,6 +81,7 @@
><imageUpload
><imageUpload
v-model=
"form.productFacePath"
v-model=
"form.productFacePath"
prePath=
"/file/preview"
prePath=
"/file/preview"
:slotP=
"'请上传 62*62px 的图片'"
/>
/>
</Field>
</Field>
</el-row>
</el-row>
...
@@ -100,6 +101,7 @@
...
@@ -100,6 +101,7 @@
prePath=
"/file/preview"
prePath=
"/file/preview"
:isList=
"true"
:isList=
"true"
ref=
"imgList"
ref=
"imgList"
:slotP=
"'请上传 390*220px 的图片'"
/>
/>
</Field>
</Field>
</el-row>
</el-row>
...
...
enterprise-manager-ui/admin/src/views/staff/drawershow.vue
View file @
198f9348
...
@@ -44,7 +44,11 @@
...
@@ -44,7 +44,11 @@
/>
/>
<!--
<Field
:span=
"20"
label=
"员工状态"
type=
"select"
prop=
"staffStatus"
v-model=
"form.staffStatus"
:enum-data=
"dict.staffStatus"
placeholder=
"请输入员工状态"
/>
-->
<!--
<Field
:span=
"20"
label=
"员工状态"
type=
"select"
prop=
"staffStatus"
v-model=
"form.staffStatus"
:enum-data=
"dict.staffStatus"
placeholder=
"请输入员工状态"
/>
-->
<Field
:span=
"20"
label=
"头像"
prop=
"photoPath"
placeholder=
"请输入照片"
<Field
:span=
"20"
label=
"头像"
prop=
"photoPath"
placeholder=
"请输入照片"
><imageUpload
v-model=
"form.photoPath"
prePath=
"/file/preview"
/>
><imageUpload
v-model=
"form.photoPath"
prePath=
"/file/preview"
:slotP=
"'请上传 62*62px 的2MB以内的图片'"
/>
</Field>
</Field>
<Field
<Field
:span=
"20"
:span=
"20"
...
...
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