Commit 29d5d2c9 authored by 郭铭瑶's avatar 郭铭瑶 🤘

修改‘已开’取值字段

parent 27941f7d
......@@ -21,7 +21,7 @@
<p>整改执行</p>
<div>
<div>
<p class="count"><m-count :value="info.alreadyCheckCount" /></p>
<p class="count"><m-count :value="info.rectifyCount" /></p>
<p>已开</p>
</div>
|
......@@ -96,7 +96,7 @@ ajax
ajax.get({ url: _config.apis.checks }).then((res) => {
const {
alreadyCheckCount = 0, //已开
rectifyCount = 0, //已开
ycRatio = 0, //月查
rectifyRatio = 0, //执行率
shouldCheckCount = 0, //应开
......@@ -108,7 +108,7 @@ ajax.get({ url: _config.apis.checks }).then((res) => {
{ name: '物企双周查', value: szRatio },
{ name: '物业日查', value: zcRatio },
]
info.value = { alreadyCheckCount, rectifyRatio }
info.value = { rectifyCount, rectifyRatio }
})
const summary = ref([
......@@ -121,7 +121,7 @@ const list = ref([
{ name: '物企双周查', value: 83 },
{ name: '物业日查', value: 100 },
])
const info = ref({ alreadyCheckCount: 0, rectifyRatio: 0 })
const info = ref({ rectifyCount: 0, rectifyRatio: 0 })
</script>
<style lang="stylus" scoped>
......
......@@ -5,10 +5,7 @@
<div>
<div>
<span>
<m-count
class="count orange-count"
:value="info.alreadyCheckCount"
/>
<m-count class="count orange-count" :value="info.rectifyCount" />
</span>
<p>已开</p>
</div>
......@@ -113,7 +110,7 @@ ajax
})
const info = ref({
alreadyCheckCount: 0,
rectifyCount: 0,
shouldCheckCount: 0,
rectifyRatio: 0,
})
......@@ -124,7 +121,7 @@ const summary = ref([
])
ajax.get({ url: _config.apis.main }).then((res) => {
const {
alreadyCheckCount = 0, //已开
rectifyCount = 0, //已开
ycRatio = 0, //月查
rectifyRatio = 0, //执行率
shouldCheckCount = 0, //应开
......@@ -136,7 +133,7 @@ ajax.get({ url: _config.apis.main }).then((res) => {
{ name: '双周查', value: szRatio },
{ name: '月查', value: ycRatio },
]
info.value = { alreadyCheckCount, shouldCheckCount, rectifyRatio }
info.value = { rectifyCount, shouldCheckCount, rectifyRatio }
})
</script>
......
......@@ -20,7 +20,7 @@
<p>整改执行</p>
<div>
<div>
<p class="count"><m-count :value="info.alreadyCheckCount" /></p>
<p class="count"><m-count :value="info.rectifyCount" /></p>
<p>已开</p>
</div>
|
......@@ -87,7 +87,7 @@ import { ajax } from '@/ajax'
onMounted(() => {
ajax.get({ url: _config.apis.main }).then((res) => {
const {
alreadyCheckCount = 0, //已开
rectifyCount = 0, //已开
ycRatio = 0, //月查
rectifyRatio = 0, //执行率
shouldCheckCount = 0, //应开
......@@ -99,7 +99,7 @@ onMounted(() => {
{ name: '物企双周查', value: szRatio },
{ name: '物业日查', value: zcRatio },
]
info.value = { alreadyCheckCount, rectifyRatio }
info.value = { rectifyCount, rectifyRatio }
})
ajax.get({ url: _config.apis.capital }).then((res) => {
const { tranAmt = 0 } = res?.data?.content || {}
......@@ -123,7 +123,7 @@ onMounted(() => {
})
const capital = ref(0)
const info = ref({
alreadyCheckCount: 0,
rectifyCount: 0,
rectifyRatio: 0,
})
const summary = ref([
......
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