Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jingan-wisdom
Project
Project
Details
Activity
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
郭铭瑶
jingan-wisdom
Commits
fc8dcb5e
Commit
fc8dcb5e
authored
Nov 18, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电梯详情弹窗增加加装状态
parent
5ccbec89
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
36 deletions
+61
-36
index.ad2211c0.js
dist/assets/index.ad2211c0.js
+35
-35
index.html
dist/index.html
+1
-1
index.ts
src/utils/index.ts
+22
-0
elevator-info.vue
src/view/components/elevator-info.vue
+3
-0
No files found.
dist/assets/index.
8614b48b
.js
→
dist/assets/index.
ad2211c0
.js
View file @
fc8dcb5e
This diff is collapsed.
Click to expand it.
dist/index.html
View file @
fc8dcb5e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<link
rel=
"icon"
href=
"./favicon.ico"
/>
<link
rel=
"icon"
href=
"./favicon.ico"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
静安智慧房管
</title>
<title>
静安智慧房管
</title>
<script
type=
"module"
crossorigin
src=
"./assets/index.
8614b48b
.js"
></script>
<script
type=
"module"
crossorigin
src=
"./assets/index.
ad2211c0
.js"
></script>
<link
rel=
"modulepreload"
href=
"./assets/vendor.d8be57b6.js"
>
<link
rel=
"modulepreload"
href=
"./assets/vendor.d8be57b6.js"
>
<link
rel=
"stylesheet"
href=
"./assets/vendor.db35e2cd.css"
>
<link
rel=
"stylesheet"
href=
"./assets/vendor.db35e2cd.css"
>
<link
rel=
"stylesheet"
href=
"./assets/index.1e95251e.css"
>
<link
rel=
"stylesheet"
href=
"./assets/index.1e95251e.css"
>
...
...
src/utils/index.ts
View file @
fc8dcb5e
...
@@ -29,3 +29,25 @@ export const switchOrderState = (orderState: unknown) => {
...
@@ -29,3 +29,25 @@ export const switchOrderState = (orderState: unknown) => {
return
'暂无'
return
'暂无'
}
}
}
}
export
const
switchElevatorState
=
(
state
)
=>
{
if
(
state
==
0
)
{
return
'评估完成 '
}
else
if
(
state
==
1
)
{
return
'征询开始'
}
else
if
(
state
==
2
)
{
return
'征询通过'
}
else
if
(
state
==
3
)
{
return
'签约'
}
else
if
(
state
==
4
)
{
return
'规划公示通过'
}
else
if
(
state
==
5
)
{
return
'房屋安全论证通过'
}
else
if
(
state
==
6
)
{
return
'开工建设'
}
else
if
(
state
==
7
)
{
return
'完工'
}
else
{
return
'暂无'
}
}
src/view/components/elevator-info.vue
View file @
fc8dcb5e
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
'totUnit:户数|unitBuildTime:建造年份',
'totUnit:户数|unitBuildTime:建造年份',
'hocName:业委会|cspName:物业公司',
'hocName:业委会|cspName:物业公司',
'evaluateType:评估类型>whichType|evaluateResultDesc:评估描述',
'evaluateType:评估类型>whichType|evaluateResultDesc:评估描述',
'state:加装状态>switchElevatorState|',
]"
]"
:data=
"info"
:data=
"info"
:formatter=
"formatter"
:formatter=
"formatter"
...
@@ -18,6 +19,7 @@
...
@@ -18,6 +19,7 @@
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
PropType
}
from
'vue'
import
{
PropType
}
from
'vue'
import
{
switchElevatorState
}
from
'@/utils'
defineProps
({
defineProps
({
info
:
{
info
:
{
...
@@ -41,5 +43,6 @@ const formatter = {
...
@@ -41,5 +43,6 @@ const formatter = {
return
null
return
null
}
}
},
},
switchElevatorState
,
}
}
</
script
>
</
script
>
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