e443b904 by zhangmeng

看板

1 parent ad9266b9
...@@ -28,8 +28,8 @@ const url = ref() ...@@ -28,8 +28,8 @@ const url = ref()
28 const obj = ref({}) 28 const obj = ref({})
29 const result = ref() 29 const result = ref()
30 const router = useRouter() 30 const router = useRouter()
31 // url.value = 'http://192.168.1.152:8899/login/sid=fa190207-f8bf-462c-a7f0-f2f0a14abe97#/' 31 url.value = 'http://192.168.1.152:8899/login/sid=fa190207-f8bf-462c-a7f0-f2f0a14abe97#/'
32 url.value = window.location.href 32 // url.value = window.location.href
33 result.value = url.value?.split('=')[1]?.split('#')[0]; 33 result.value = url.value?.split('=')[1]?.split('#')[0];
34 34
35 onMounted(() => { 35 onMounted(() => {
......
...@@ -76,9 +76,10 @@ ...@@ -76,9 +76,10 @@
76 <hr> 76 <hr>
77 </div> 77 </div>
78 <div class="father"> 78 <div class="father">
79 <div class="bingTitle tex4"> 79 <div class="bingTitle tex4">
80 <span><img alt="" class="titleImg" src="@/assets/image/title_bg.png"></span> 80 <span><img alt="" class="titleImg" src="@/assets/image/title_bg.png"></span>
81 DSO天数 81 <span class="">DSO天数</span>
82 <span class="dsotext">&nbsp;{{ dso }}</span>
82 </div> 83 </div>
83 <div ref="zhuRef4" style="width: 100%;height: 17.3vh"> 84 <div ref="zhuRef4" style="width: 100%;height: 17.3vh">
84 </div> 85 </div>
...@@ -129,6 +130,7 @@ const textRef = ref(null) ...@@ -129,6 +130,7 @@ const textRef = ref(null)
129 const form = ref({ 130 const form = ref({
130 leaderinfo: [] 131 leaderinfo: []
131 }) 132 })
133 const dso = ref(0)
132 134
133 const resYear1 = ref() 135 const resYear1 = ref()
134 const resYear2 = ref() 136 const resYear2 = ref()
...@@ -257,6 +259,7 @@ async function handelGetYS004() { ...@@ -257,6 +259,7 @@ async function handelGetYS004() {
257 // ] 259 // ]
258 let haishang 260 let haishang
259 let dalu 261 let dalu
262 dso.value = res.data.DSOTOTAL || 0
260 for (const v of arrList) { 263 for (const v of arrList) {
261 if (v.BLOCK === '海上') { 264 if (v.BLOCK === '海上') {
262 haishang = v 265 haishang = v
...@@ -1326,6 +1329,14 @@ onUnmounted(() => { ...@@ -1326,6 +1329,14 @@ onUnmounted(() => {
1326 width: calc(50 * 100vw / 1920); 1329 width: calc(50 * 100vw / 1920);
1327 height: calc(20 * 100vw / 1920); 1330 height: calc(20 * 100vw / 1920);
1328 } 1331 }
1332
1333 .dsotext {
1334 color: #D1D6DF;
1335 text-shadow: 0px 2px 3px rgba(17, 20, 22, 0.41);
1336 background: #f9cc0a;
1337 -webkit-background-clip: text;
1338 -webkit-text-fill-color: transparent;
1339 }
1329 } 1340 }
1330 } 1341 }
1331 1342
...@@ -1513,4 +1524,5 @@ hr { ...@@ -1513,4 +1524,5 @@ hr {
1513 border-top: 1px solid #373e51; 1524 border-top: 1px solid #373e51;
1514 } 1525 }
1515 1526
1527
1516 </style> 1528 </style>
......
...@@ -248,10 +248,10 @@ function handelSelect3() { ...@@ -248,10 +248,10 @@ function handelSelect3() {
248 // 找到对应的数据 248 // 找到对应的数据
249 let obj = list.value.find(item => item.BASEJC === type3.value) 249 let obj = list.value.find(item => item.BASEJC === type3.value)
250 for (const val of obj.list) { 250 for (const val of obj.list) {
251 h1.value.push(val.YSDSK)//应待收款 251 h1.value.push(val.YSDSK / 1000 || 0)//应待收款
252 h2.value.push(val.SFDDQ)//收费单待签 252 h2.value.push(val.SFDDQ / 1000 || 0)//收费单待签
253 h3.value.push({ 253 h3.value.push({
254 value: val.HTDQ, 254 value: val.HTDQ / 10000 || 0,
255 info: val.YSWELLINFO 255 info: val.YSWELLINFO
256 })//合同待签 256 })//合同待签
257 } 257 }
...@@ -641,7 +641,7 @@ const setC = (h1, h2, h3) => { ...@@ -641,7 +641,7 @@ const setC = (h1, h2, h3) => {
641 <div style="font-weight:bold">${row.name}</div> 641 <div style="font-weight:bold">${row.name}</div>
642 <div style="display:flex;align-items:center;margin-top:5px"> 642 <div style="display:flex;align-items:center;margin-top:5px">
643 ${row.marker} 643 ${row.marker}
644 ${row.seriesName}: ${row.value} 644 ${row.seriesName}: ${row.value.toFixed(2)}
645 </div> 645 </div>
646 <div> 646 <div>
647 ${row.data?.info ? row.data?.info?.replaceAll('万', '万<br>') : ''} 647 ${row.data?.info ? row.data?.info?.replaceAll('万', '万<br>') : ''}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!