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

修改‘已开’取值字段

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