1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
| <!-- 空白页 -->
| <script setup>
| import request from "@/utils/request";
| import { ElMessage } from "element-plus";
| </script>
| <script>
| export default {
| mounted() {
| //获取数据
| var data="ProcessId="+"P24032508";
| request.get(""+data).then((res) => {
| if (res.code == 200) {
| for(var i=0;i<res.data.length;i++){
| //遍历数据
| }
| f1()
| } else {blank
| ElMessage.warning(res.msg)
| router.push("/login")
| }
| });
| },
| methods: {
| //方法
| f1() {
|
| }
| }
| }
|
|
| </script>
|
|
|
| <template>
| <div ref="content">
| <canvas ref="mycanvas"></canvas>
| </div>
| </template>
|
| <style scoped>
| #main {
| width: 100%;
| height: 100%;
| }
|
|
|
| #div-title {
| height: 5%;
| width: 100%;
| }
|
| #searchButton {
| margin-top: -5px;
| margin-left: 1rem;
| }
|
| /*main-body样式*/
| #main-body {
| width: 99%;
| height: 92%;
| margin-top: 1%;
| }
|
| #select {
| margin-left: 0.5rem;
| }
|
| :deep(.indexTag .el-breadcrumb__inner) {
| color: #5CADFE !important;
| }
| </style>
|
|