| | |
| | | } |
| | | |
| | | const fullChange = () => { |
| | | enterprise.setDepartId('') |
| | | enterprise.setDepartId(data.tempCom.id) |
| | | data.isFull = !data.isFull |
| | | let element = document.documentElement; |
| | | if (data.isFull) { // å
¨å± |
| | |
| | | import { createRouter, createWebHashHistory } from 'vue-router' |
| | | import HomeView from '../views/HomeView.vue' |
| | | // import HomeView from '../views/HomeView.vue' |
| | | import indexView from '../views/index.vue' |
| | | import processView from '../views/process.vue' |
| | | // console.log(import.meta.env.VITE_BASE_CONTEXT); |
| | |
| | | <div class="scroll_item_row_item_x"></div> |
| | | <span v-if="child.rate < 100">{{ child.rate.toFixed(0) }}%</span> |
| | | <img v-else src="@/assets/img/ic_complete@2x.png" alt="" /> |
| | | <span class="scroll_item_row_item_wz">{{ child.procedureName }}</span> |
| | | <span class="scroll_item_row_item_wz">{{ child.procedureName.substring(0, 3) }}</span> |
| | | </div> |
| | | </el-tooltip> |
| | | </div> |
| | |
| | | } |
| | | // ç»ä»¶è¿è¡æ»å¨ |
| | | scrollDom.scrollTop += 2 |
| | | console.log(scrollDom.scrollHeight - scrollDom.clientHeight); |
| | | console.log(scrollDom.scrollTop); |
| | | // 夿æ¯å¦æ»å¨å°åºé¨ |
| | | if (Math.floor(scrollDom.scrollTop) >= (scrollDom.scrollHeight - scrollDom.clientHeight)) { |
| | | if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight - 2)) { |
| | | // è·åç»ä»¶ç¬¬ä¸ä¸ªèç¹ |
| | | let first = scrollDom.children[0] |
| | | // å é¤èç¹ |
| | |
| | | return |
| | | } |
| | | // ç»ä»¶è¿è¡æ»å¨ |
| | | scrollDom.scrollTop += 1 |
| | | scrollDom.scrollTop += 2 |
| | | // 夿æ¯å¦æ»å¨å°åºé¨ |
| | | if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight)) { |
| | | if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight - 2)) { |
| | | // è·åç»ä»¶ç¬¬ä¸ä¸ªèç¹ |
| | | let first = scrollDom.children[0] |
| | | // å é¤èç¹ |
| | |
| | | |
| | | onMounted(() => { |
| | | if (!departId.value) return; |
| | | window.addEventListener('resize', () => { |
| | | init() |
| | | }) |
| | | timer5.value = setInterval(init(), 60000) |
| | | }) |
| | | </script> |
| | |
| | | scrollDom = planContainer.value |
| | | } else { |
| | | // 妿å表æ°éè¿å°ä¸è¿è¡æ»å¨ |
| | | if (scrollDom.children.length < 10) { |
| | | if (scrollDom.children.length < 11) { |
| | | clearTimeout(planTimer.value) |
| | | return |
| | | } |
| | | // ç»ä»¶è¿è¡æ»å¨ |
| | | scrollDom.scrollTop += 1.5 |
| | | scrollDom.scrollTop += 2 |
| | | // 夿æ¯å¦æ»å¨å°åºé¨ |
| | | if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight)) { |
| | | if (scrollDom.scrollTop >= (scrollDom.scrollHeight - scrollDom.clientHeight - 2)) { |
| | | // è·åç»ä»¶ç¬¬ä¸ä¸ªèç¹ |
| | | let first = scrollDom.children[0] |
| | | // å é¤èç¹ |
| | |
| | | flex: 1; |
| | | margin-right: 20px; |
| | | .proccess-plan { |
| | | height: 424px; |
| | | height: 464px; |
| | | background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%); |
| | | margin-bottom: 20px; |
| | | } |
| | |
| | | flex: 1; |
| | | |
| | | .report-log { |
| | | height: 424px; |
| | | height: 464px; |
| | | background: linear-gradient(180deg, rgba(52, 88, 159, 0) 0%, rgba(0, 86, 255, 0.4) 100%); |
| | | margin-bottom: 20px; |
| | | } |