Commit fc8dcb5e authored by 郭铭瑶's avatar 郭铭瑶 🤘

电梯详情弹窗增加加装状态

parent 5ccbec89
......@@ -6,7 +6,7 @@
<link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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="stylesheet" href="./assets/vendor.db35e2cd.css">
<link rel="stylesheet" href="./assets/index.1e95251e.css">
......
......@@ -29,3 +29,25 @@ export const switchOrderState = (orderState: unknown) => {
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 '暂无'
}
}
......@@ -8,6 +8,7 @@
'totUnit:户数|unitBuildTime:建造年份',
'hocName:业委会|cspName:物业公司',
'evaluateType:评估类型>whichType|evaluateResultDesc:评估描述',
'state:加装状态>switchElevatorState|',
]"
:data="info"
:formatter="formatter"
......@@ -18,6 +19,7 @@
<script lang="ts" setup>
import { PropType } from 'vue'
import { switchElevatorState } from '@/utils'
defineProps({
info: {
......@@ -41,5 +43,6 @@ const formatter = {
return null
}
},
switchElevatorState,
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment