Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘怀志
pet-business-web
Commits
3cd907e3
Commit
3cd907e3
authored
Sep 06, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
bafeeb3c
27b8b82c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
15 deletions
+14
-15
imgUploadForBanner.vue
src/components/ImageUpload/imgUploadForBanner.vue
+1
-1
index.vue
src/components/ImageUpload/index.vue
+1
-1
article-management.vue
src/views/article-management/article-management.vue
+3
-4
banner_management.vue
src/views/banner_management/banner_management.vue
+6
-6
hospital-data-statistics.vue
...ics/hospital-data-statistics/hospital-data-statistics.vue
+3
-3
No files found.
src/components/ImageUpload/imgUploadForBanner.vue
View file @
3cd907e3
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<div
class=
"parent-container"
>
<div
class=
"parent-container"
>
<img
<img
class=
"inner_style"
class=
"inner_style"
:src=
"baseURL+'/tmt-pic/
business
/888cc34012a64d40a0cec2974c9b7943-jiazaishibai.png'"
:src=
"baseURL+'/tmt-pic/
pet-pc
/888cc34012a64d40a0cec2974c9b7943-jiazaishibai.png'"
alt=
"加载失败"
alt=
"加载失败"
>
>
<div>
加载失败
</div>
<div>
加载失败
</div>
...
...
src/components/ImageUpload/index.vue
View file @
3cd907e3
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<div
class=
"parent-container"
>
<div
class=
"parent-container"
>
<img
<img
class=
"inner_style"
class=
"inner_style"
:src=
"baseURL+'/tmt-pic/
business
/888cc34012a64d40a0cec2974c9b7943-jiazaishibai.png'"
:src=
"baseURL+'/tmt-pic/
pet-pc
/888cc34012a64d40a0cec2974c9b7943-jiazaishibai.png'"
alt=
"加载失败"
alt=
"加载失败"
>
>
<div>
加载失败
</div>
<div>
加载失败
</div>
...
...
src/views/article-management/article-management.vue
View file @
3cd907e3
...
@@ -127,10 +127,9 @@
...
@@ -127,10 +127,9 @@
<el-table-column
label=
"权重"
min-width=
"55"
prop=
"articleWeight"
show-overflow-tooltip
/>
<el-table-column
label=
"权重"
min-width=
"55"
prop=
"articleWeight"
show-overflow-tooltip
/>
<el-table-column
<el-table-column
label=
"创建日期"
label=
"创建日期"
min-width=
"80"
prop=
"articleCreateTime"
prop=
"articleCreateTime"
show-overflow-tooltip
show-overflow-tooltip
width=
"18
0"
min-width=
"12
0"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
articleCreateTime
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
articleCreateTime
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
...
@@ -143,7 +142,7 @@
...
@@ -143,7 +142,7 @@
}}
<
/span
>
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
class
-
name
=
"small-padding fixed-width"
label
=
"操作"
width
=
"205
"
>
<
el
-
table
-
column
class
-
name
=
"small-padding fixed-width"
label
=
"操作"
min
-
width
=
"160px
"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
div
style
=
"display: flex;"
>
<
div
style
=
"display: flex;"
>
<
div
style
=
"padding-right: 10px;"
>
<
div
style
=
"padding-right: 10px;"
>
...
@@ -166,7 +165,7 @@
...
@@ -166,7 +165,7 @@
type
=
"primary"
type
=
"primary"
@
click
=
"handleUpdate(scope.row)"
@
click
=
"handleUpdate(scope.row)"
>
>
<
svg
-
icon
icon
-
class
=
"liebiao_icon_bianji"
style
=
"font-size:
11px;vertical-align: top;
"
/>
<
svg
-
icon
icon
-
class
=
"liebiao_icon_bianji"
style
=
"font-size:
0.7rem;margin-top: 0;margin-right: -3px;vertical-align: top
"
/>
编辑
编辑
<
/el-button
>
<
/el-button
>
<
/div
>
<
/div
>
...
...
src/views/banner_management/banner_management.vue
View file @
3cd907e3
...
@@ -85,19 +85,19 @@
...
@@ -85,19 +85,19 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"标题"
prop=
"title"
show-overflow-tooltip
/>
<el-table-column
label=
"标题"
prop=
"title"
show-overflow-tooltip
/>
<el-table-column
label=
"轮播图"
prop=
"img"
show-overflow-tooltip
width=
"10
0px"
>
<el-table-column
label=
"轮播图"
prop=
"img"
show-overflow-tooltip
min-width=
"6
0px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
img
?
'已上传'
:
'未上传'
}}
{{
scope
.
row
.
img
?
'已上传'
:
'未上传'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"跳转地址"
prop=
"url"
show-overflow-tooltip
>
<el-table-column
label=
"跳转地址"
prop=
"url"
show-overflow-tooltip
min-width=
"80px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
url
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
url
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"权重"
prop=
"sort"
width=
"80
"
/>
<el-table-column
label=
"权重"
prop=
"sort"
min-width=
"40px
"
/>
<el-table-column
label=
"创建日期"
prop=
"createTime"
width=
"120
"
/>
<el-table-column
label=
"创建日期"
prop=
"createTime"
min-width=
"120px
"
/>
<el-table-column
label=
"状态"
prop=
"status"
width=
"100
"
>
<el-table-column
label=
"状态"
prop=
"status"
min-width=
"80px
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
:style=
"scope.row.status === '1' ? 'color: #67C23A' : 'color: #f5aa6c'"
>
<span
:style=
"scope.row.status === '1' ? 'color: #67C23A' : 'color: #f5aa6c'"
>
{{
scope
.
row
.
status
===
'1'
?
'• 已上架'
:
'• 已下架'
}}
</span>
{{
scope
.
row
.
status
===
'1'
?
'• 已上架'
:
'• 已下架'
}}
</span>
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
type=
"primary"
type=
"primary"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
>
>
<svg-icon
icon-class=
"liebiao_icon_bianji"
style=
"font-size:
11px;vertical-align: top;margin-right: 2px
"
/>
编辑
<svg-icon
icon-class=
"liebiao_icon_bianji"
style=
"font-size:
0.7rem;margin-top: 0;margin-right: 2px;vertical-align: top
"
/>
编辑
</el-button>
</el-button>
</div>
</div>
<div
v-if=
"scope.row.status==='2'"
>
<div
v-if=
"scope.row.status==='2'"
>
...
...
src/views/data-statistics/hospital-data-statistics/hospital-data-statistics.vue
View file @
3cd907e3
...
@@ -516,9 +516,9 @@ export default {
...
@@ -516,9 +516,9 @@ export default {
handleSortChange
(
column
)
{
handleSortChange
(
column
)
{
console
.
log
(
'更换排序'
,
column
)
console
.
log
(
'更换排序'
,
column
)
// 查询字段是表格中字段名字
// 查询字段是表格中字段名字
if
(
column
.
prop
.
orderByColumn
===
'hospitalName'
||
if
(
column
.
prop
===
'hospitalName'
||
column
.
prop
.
orderByColumn
===
'hospitalAddress'
||
column
.
prop
===
'hospitalAddress'
||
column
.
prop
.
orderByColumn
===
'contactPerson'
)
{
column
.
prop
===
'contactPerson'
)
{
this
.
queryParams
.
orderByColumn
=
column
.
prop
+
'Sort'
this
.
queryParams
.
orderByColumn
=
column
.
prop
+
'Sort'
}
else
{
}
else
{
this
.
queryParams
.
orderByColumn
=
column
.
prop
this
.
queryParams
.
orderByColumn
=
column
.
prop
...
...
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