askbot-dragon 1.7.65-beta → 1.7.67-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -27
- package/babel.config.js +6 -6
- package/dragon.iml +7 -7
- package/package.json +57 -57
- package/public/index.html +73 -73
- package/src/App.vue +31 -31
- package/src/api/index.js +1 -1
- package/src/api/mock.http +2 -2
- package/src/api/requestUrl.js +185 -185
- package/src/assets/js/AliyunlssUtil.js +141 -141
- package/src/assets/js/Base64Util.js +22 -22
- package/src/assets/js/common.js +252 -252
- package/src/assets/js/hammer.js +100 -100
- package/src/assets/js/script.js +36 -36
- package/src/assets/less/common.css +6773 -6773
- package/src/assets/less/converSationContainer/common.less +199 -199
- package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
- package/src/assets/less/iconfont.css +37 -37
- package/src/assets/less/ticketMessage.less +294 -294
- package/src/components/ActionAlertIframe.vue +178 -178
- package/src/components/AiGuide.vue +434 -434
- package/src/components/AnswerDocknowledge.vue +1203 -1203
- package/src/components/AnswerVoice.vue +285 -285
- package/src/components/AskIFrame.vue +15 -15
- package/src/components/ConversationContainer.vue +10764 -10764
- package/src/components/FileType.vue +86 -86
- package/src/components/Message.vue +27 -27
- package/src/components/MyEditor.vue +342 -342
- package/src/components/QwFeedback.vue +302 -302
- package/src/components/actionSatisfaction.vue +107 -107
- package/src/components/actionSendToBot.vue +62 -62
- package/src/components/answerDissatisfaction.vue +62 -62
- package/src/components/answerRadio.vue +259 -259
- package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
- package/src/components/ask-components/Msgloading.vue +37 -37
- package/src/components/ask-components/SatisfactionV2.vue +15 -15
- package/src/components/askVideo.vue +162 -162
- package/src/components/assetDetails.vue +378 -378
- package/src/components/assetMessage.vue +229 -229
- package/src/components/associationIntention.vue +378 -378
- package/src/components/attachmentPreview.vue +90 -90
- package/src/components/botActionSatisfactor.vue +68 -68
- package/src/components/chatContent.vue +513 -513
- package/src/components/feedBack.vue +136 -136
- package/src/components/fielListView.vue +351 -351
- package/src/components/file/AliyunOssComponents.vue +108 -108
- package/src/components/formTemplate.vue +3512 -3512
- package/src/components/imgView.vue +31 -31
- package/src/components/intelligentSummary.vue +234 -234
- package/src/components/kkview.vue +1138 -1138
- package/src/components/loadingProcess.vue +164 -164
- package/src/components/markDownText.vue +357 -357
- package/src/components/message/ActionAlertIframe.vue +112 -112
- package/src/components/message/ShopMessage.vue +164 -164
- package/src/components/message/TextMessage.vue +928 -928
- package/src/components/message/TicketMessage.vue +201 -201
- package/src/components/message/swiper/index.js +4 -4
- package/src/components/message/swiper/ticketSwiper.vue +503 -503
- package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
- package/src/components/msgLoading.vue +231 -231
- package/src/components/myPopup.vue +73 -73
- package/src/components/newPdfPosition.vue +877 -877
- package/src/components/pagination.vue +128 -128
- package/src/components/pdfPosition.vue +1523 -1523
- package/src/components/popup.vue +228 -228
- package/src/components/preview/docView.vue +113 -113
- package/src/components/preview/excelView.vue +190 -190
- package/src/components/preview/newPositionPreview.vue +384 -369
- package/src/components/preview/pdfView.vue +824 -824
- package/src/components/previewDoc.vue +252 -252
- package/src/components/previewPdf.vue +1087 -1087
- package/src/components/receiverMessagePlatform.vue +69 -69
- package/src/components/recommend.vue +80 -80
- package/src/components/selector/hOption.vue +20 -20
- package/src/components/selector/hSelector.vue +199 -199
- package/src/components/selector/hWrapper.vue +216 -216
- package/src/components/senderMessagePlatform.vue +58 -58
- package/src/components/source/BotMessage.vue +24 -24
- package/src/components/source/CustomMessage.vue +24 -24
- package/src/components/test.vue +260 -260
- package/src/components/tree.vue +307 -307
- package/src/components/utils/AliyunIssUtil.js +103 -103
- package/src/components/utils/ckeditor.js +185 -185
- package/src/components/utils/format_date.js +25 -25
- package/src/components/utils/index.js +6 -6
- package/src/components/utils/math_utils.js +29 -29
- package/src/components/voiceComponent.vue +119 -119
- package/src/components/welcomeKnowledgeFile.vue +347 -347
- package/src/components/welcomeLlmCard.vue +144 -144
- package/src/components/welcomeSuggest.vue +97 -97
- package/src/locales/cn.json +95 -95
- package/src/locales/en.json +95 -95
- package/src/locales/jp.json +72 -72
- package/src/main.js +76 -76
- package/vue.config.js +54 -54
|
@@ -1,191 +1,191 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="excelView">
|
|
3
|
-
<table border="1" v-if="false">
|
|
4
|
-
<thead>
|
|
5
|
-
<tr>
|
|
6
|
-
<th v-for="(person2,index2) in headerArray" :key="index2">{{person2}}</th>
|
|
7
|
-
</tr>
|
|
8
|
-
</thead>
|
|
9
|
-
<tbody>
|
|
10
|
-
<tr v-for="(person, index) in rowDataList" :key="index" :id="person.id">
|
|
11
|
-
<td v-for="(person2,index2) in headerArray" :key="index2">
|
|
12
|
-
{{person[person2]}}
|
|
13
|
-
</td>
|
|
14
|
-
</tr>
|
|
15
|
-
</tbody>
|
|
16
|
-
</table>
|
|
17
|
-
<el-table
|
|
18
|
-
:data="pagedData"
|
|
19
|
-
border
|
|
20
|
-
ref="table"
|
|
21
|
-
:row-key="getRowKey"
|
|
22
|
-
:row-class-name="tableRowClassName"
|
|
23
|
-
height="100%"
|
|
24
|
-
style="width: 100%">
|
|
25
|
-
<template v-for="(item,index) in headerArray">
|
|
26
|
-
<el-table-column
|
|
27
|
-
:label="item"
|
|
28
|
-
:key="index"
|
|
29
|
-
min-width="100">
|
|
30
|
-
<template slot-scope="scope">
|
|
31
|
-
{{scope.row[item]}}
|
|
32
|
-
</template>
|
|
33
|
-
</el-table-column>
|
|
34
|
-
</template>
|
|
35
|
-
</el-table>
|
|
36
|
-
<pagination-page :pageSize="pageSize" :currentPage="currentPage" :total="rowDataList.length" @currentChange="handleCurrentChange"></pagination-page>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script>
|
|
41
|
-
|
|
42
|
-
import PaginationPage from "../pagination";
|
|
43
|
-
export default {
|
|
44
|
-
name: "excelView",
|
|
45
|
-
components: { PaginationPage },
|
|
46
|
-
data(){
|
|
47
|
-
return{
|
|
48
|
-
rowData:[
|
|
49
|
-
{
|
|
50
|
-
"row_id": "659164be-19bd-4fd7-a47d-b04c3dbbfa6f",
|
|
51
|
-
"row_data_md": "| 王明宇 | 27 | 189 |",
|
|
52
|
-
"row_number": 2,
|
|
53
|
-
"table_html": "<table border='1' style='border-collapse:collapse;'><thead><tr><th>姓名1</th><th>年龄</th><th>身高</th></tr></thead><tbody><tr><td>王明宇</td><td>27</td><td>189</td></tr></tbody></table>"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"row_id": "fac98d6a-2580-4f62-8f50-61521debeeef",
|
|
57
|
-
"row_data_md": "| 老王 | 38 | 178 |",
|
|
58
|
-
"row_number": 3,
|
|
59
|
-
"table_html": "<table border='1' style='border-collapse:collapse;'><thead><tr><th>姓名1</th><th>年龄</th><th>身高</th></tr></thead><tbody><tr><td>老王</td><td>38</td><td>178</td></tr></tbody></table>"
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
rowDataList:[],
|
|
63
|
-
headerArray:[],
|
|
64
|
-
currentPage:1,
|
|
65
|
-
pageSize:20,
|
|
66
|
-
colors: ['#E3EBFF', '#FFF5DC', '#FFE8D8','#D6F3EA','#FFF1C3'],
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
props:{
|
|
70
|
-
headerData:{
|
|
71
|
-
type:String,
|
|
72
|
-
default:""
|
|
73
|
-
},
|
|
74
|
-
excelRowList:{
|
|
75
|
-
type:Array,
|
|
76
|
-
default(){
|
|
77
|
-
return []
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
tableChunkData:{
|
|
81
|
-
type:Array,
|
|
82
|
-
default(){
|
|
83
|
-
return [{
|
|
84
|
-
"sheet_name": null,
|
|
85
|
-
"table_md": null,
|
|
86
|
-
"tableChunkText": "| 序号 | 电子色片 | 旧色号 | 颜色名称 | R68-Y32 17w77b06c L32-1 | 新 | 色卡页码 | -ICN色号 | R | G | B | C | M | Y | | 154 | 22 | B99-G01 81w11b08c L88-4 | OW060-4 | | 雪蓝 | 蓝色系 | 210 | 218 | 223 | 5.5761039841401502E-2 | 2.08606534553369E-2 | 0 | 0.12603452469972801 |",
|
|
87
|
-
"tableChunkId": "5e80ff30-ea7e-4c47-878b-59d9b1c833ce",
|
|
88
|
-
"tableId": null
|
|
89
|
-
}]
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
computed:{
|
|
94
|
-
pagedData() {
|
|
95
|
-
const start = (this.currentPage - 1) * this.pageSize;
|
|
96
|
-
const end = start + this.pageSize;
|
|
97
|
-
return this.rowDataList.slice(start, end);
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
methods:{
|
|
101
|
-
tableRowData(){
|
|
102
|
-
const headerString = this.headerData.trim().replace(/^\||\|$/g, '');
|
|
103
|
-
|
|
104
|
-
// 使用竖线作为分隔符来分割字符串
|
|
105
|
-
const headerArray = headerString.split('|').map(item => item.trim());
|
|
106
|
-
this.headerArray = headerArray
|
|
107
|
-
for (let i =0;i<this.excelRowList.length;i++){
|
|
108
|
-
// 去除字符串两端的竖线(如果它们存在的话)
|
|
109
|
-
const trimmedString = this.excelRowList[i].row_data_md.trim().replace(/^\||\|$/g, '');
|
|
110
|
-
|
|
111
|
-
// 使用竖线作为分隔符来分割字符串
|
|
112
|
-
const resultArray = trimmedString.split('|').map(item => item.trim());
|
|
113
|
-
let obj = {}
|
|
114
|
-
for (let j=0;j<headerArray.length;j++){
|
|
115
|
-
this.$set(obj,headerArray[j],resultArray[j])
|
|
116
|
-
this.$set(obj,'id',this.excelRowList[i].row_id)
|
|
117
|
-
}
|
|
118
|
-
this.rowDataList.push(obj);
|
|
119
|
-
}
|
|
120
|
-
this.$nextTick(() => {
|
|
121
|
-
this.setRowColor('first');
|
|
122
|
-
})
|
|
123
|
-
},
|
|
124
|
-
getRowKey(row){
|
|
125
|
-
return row.id
|
|
126
|
-
},
|
|
127
|
-
setRowColor(type){
|
|
128
|
-
this.tableChunkData.forEach((item,index) => {
|
|
129
|
-
const colorIndex = index % this.colors.length;
|
|
130
|
-
let id = item.tableChunkId;
|
|
131
|
-
let dom = document.getElementsByClassName('setBgClass' + id);
|
|
132
|
-
if (dom && dom.length > 0){
|
|
133
|
-
let newDom = Array.from(dom)
|
|
134
|
-
newDom.forEach(doms => {
|
|
135
|
-
doms.style.backgroundColor = this.colors[colorIndex];
|
|
136
|
-
})
|
|
137
|
-
}
|
|
138
|
-
})
|
|
139
|
-
this.$nextTick(() => {
|
|
140
|
-
if (this.tableChunkData.length > 0 && type === 'first'){
|
|
141
|
-
this.scrollToRow(this.tableChunkData[0].tableChunkId)
|
|
142
|
-
}
|
|
143
|
-
})
|
|
144
|
-
},
|
|
145
|
-
tableRowClassName({ row }){
|
|
146
|
-
let id = this.tableChunkData.filter(item => item.tableChunkId == row.id);
|
|
147
|
-
if (id && id.length > 0){
|
|
148
|
-
return 'setBgClass' + id[0].tableChunkId
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
scrollToRow(rowId) {
|
|
152
|
-
this.$nextTick(() => {
|
|
153
|
-
// const row = this.rowDataList.find(row => row.id === rowId);
|
|
154
|
-
const rowIndex = this.rowDataList.findIndex(row => row.id === rowId);
|
|
155
|
-
let index = Math.ceil(rowIndex / 20)
|
|
156
|
-
if (index > 0){
|
|
157
|
-
this.currentPage = index;
|
|
158
|
-
}
|
|
159
|
-
setTimeout(() => {
|
|
160
|
-
let dom = document.getElementsByClassName('setBgClass' + rowId);
|
|
161
|
-
if (dom && dom.length > 0){
|
|
162
|
-
let newDom = Array.from(dom)
|
|
163
|
-
newDom.forEach(doms => {
|
|
164
|
-
doms.style.backgroundColor = this.colors[0];
|
|
165
|
-
})
|
|
166
|
-
newDom[0].scrollIntoView({ behavior: "smooth"})
|
|
167
|
-
}
|
|
168
|
-
},500)
|
|
169
|
-
});
|
|
170
|
-
},
|
|
171
|
-
handleCurrentChange(val){
|
|
172
|
-
this.currentPage = val;
|
|
173
|
-
this.$nextTick(() => {
|
|
174
|
-
this.setRowColor();
|
|
175
|
-
})
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
mounted() {
|
|
179
|
-
this.tableRowData();
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
</script>
|
|
183
|
-
|
|
184
|
-
<style scoped lang="less">
|
|
185
|
-
.excelView{
|
|
186
|
-
height: 100%;
|
|
187
|
-
/deep/.setBgClass{
|
|
188
|
-
background-color: #E3EBFF!important;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div class="excelView">
|
|
3
|
+
<table border="1" v-if="false">
|
|
4
|
+
<thead>
|
|
5
|
+
<tr>
|
|
6
|
+
<th v-for="(person2,index2) in headerArray" :key="index2">{{person2}}</th>
|
|
7
|
+
</tr>
|
|
8
|
+
</thead>
|
|
9
|
+
<tbody>
|
|
10
|
+
<tr v-for="(person, index) in rowDataList" :key="index" :id="person.id">
|
|
11
|
+
<td v-for="(person2,index2) in headerArray" :key="index2">
|
|
12
|
+
{{person[person2]}}
|
|
13
|
+
</td>
|
|
14
|
+
</tr>
|
|
15
|
+
</tbody>
|
|
16
|
+
</table>
|
|
17
|
+
<el-table
|
|
18
|
+
:data="pagedData"
|
|
19
|
+
border
|
|
20
|
+
ref="table"
|
|
21
|
+
:row-key="getRowKey"
|
|
22
|
+
:row-class-name="tableRowClassName"
|
|
23
|
+
height="100%"
|
|
24
|
+
style="width: 100%">
|
|
25
|
+
<template v-for="(item,index) in headerArray">
|
|
26
|
+
<el-table-column
|
|
27
|
+
:label="item"
|
|
28
|
+
:key="index"
|
|
29
|
+
min-width="100">
|
|
30
|
+
<template slot-scope="scope">
|
|
31
|
+
{{scope.row[item]}}
|
|
32
|
+
</template>
|
|
33
|
+
</el-table-column>
|
|
34
|
+
</template>
|
|
35
|
+
</el-table>
|
|
36
|
+
<pagination-page :pageSize="pageSize" :currentPage="currentPage" :total="rowDataList.length" @currentChange="handleCurrentChange"></pagination-page>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script>
|
|
41
|
+
|
|
42
|
+
import PaginationPage from "../pagination";
|
|
43
|
+
export default {
|
|
44
|
+
name: "excelView",
|
|
45
|
+
components: { PaginationPage },
|
|
46
|
+
data(){
|
|
47
|
+
return{
|
|
48
|
+
rowData:[
|
|
49
|
+
{
|
|
50
|
+
"row_id": "659164be-19bd-4fd7-a47d-b04c3dbbfa6f",
|
|
51
|
+
"row_data_md": "| 王明宇 | 27 | 189 |",
|
|
52
|
+
"row_number": 2,
|
|
53
|
+
"table_html": "<table border='1' style='border-collapse:collapse;'><thead><tr><th>姓名1</th><th>年龄</th><th>身高</th></tr></thead><tbody><tr><td>王明宇</td><td>27</td><td>189</td></tr></tbody></table>"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"row_id": "fac98d6a-2580-4f62-8f50-61521debeeef",
|
|
57
|
+
"row_data_md": "| 老王 | 38 | 178 |",
|
|
58
|
+
"row_number": 3,
|
|
59
|
+
"table_html": "<table border='1' style='border-collapse:collapse;'><thead><tr><th>姓名1</th><th>年龄</th><th>身高</th></tr></thead><tbody><tr><td>老王</td><td>38</td><td>178</td></tr></tbody></table>"
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
rowDataList:[],
|
|
63
|
+
headerArray:[],
|
|
64
|
+
currentPage:1,
|
|
65
|
+
pageSize:20,
|
|
66
|
+
colors: ['#E3EBFF', '#FFF5DC', '#FFE8D8','#D6F3EA','#FFF1C3'],
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
props:{
|
|
70
|
+
headerData:{
|
|
71
|
+
type:String,
|
|
72
|
+
default:""
|
|
73
|
+
},
|
|
74
|
+
excelRowList:{
|
|
75
|
+
type:Array,
|
|
76
|
+
default(){
|
|
77
|
+
return []
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
tableChunkData:{
|
|
81
|
+
type:Array,
|
|
82
|
+
default(){
|
|
83
|
+
return [{
|
|
84
|
+
"sheet_name": null,
|
|
85
|
+
"table_md": null,
|
|
86
|
+
"tableChunkText": "| 序号 | 电子色片 | 旧色号 | 颜色名称 | R68-Y32 17w77b06c L32-1 | 新 | 色卡页码 | -ICN色号 | R | G | B | C | M | Y | | 154 | 22 | B99-G01 81w11b08c L88-4 | OW060-4 | | 雪蓝 | 蓝色系 | 210 | 218 | 223 | 5.5761039841401502E-2 | 2.08606534553369E-2 | 0 | 0.12603452469972801 |",
|
|
87
|
+
"tableChunkId": "5e80ff30-ea7e-4c47-878b-59d9b1c833ce",
|
|
88
|
+
"tableId": null
|
|
89
|
+
}]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
computed:{
|
|
94
|
+
pagedData() {
|
|
95
|
+
const start = (this.currentPage - 1) * this.pageSize;
|
|
96
|
+
const end = start + this.pageSize;
|
|
97
|
+
return this.rowDataList.slice(start, end);
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
methods:{
|
|
101
|
+
tableRowData(){
|
|
102
|
+
const headerString = this.headerData.trim().replace(/^\||\|$/g, '');
|
|
103
|
+
|
|
104
|
+
// 使用竖线作为分隔符来分割字符串
|
|
105
|
+
const headerArray = headerString.split('|').map(item => item.trim());
|
|
106
|
+
this.headerArray = headerArray
|
|
107
|
+
for (let i =0;i<this.excelRowList.length;i++){
|
|
108
|
+
// 去除字符串两端的竖线(如果它们存在的话)
|
|
109
|
+
const trimmedString = this.excelRowList[i].row_data_md.trim().replace(/^\||\|$/g, '');
|
|
110
|
+
|
|
111
|
+
// 使用竖线作为分隔符来分割字符串
|
|
112
|
+
const resultArray = trimmedString.split('|').map(item => item.trim());
|
|
113
|
+
let obj = {}
|
|
114
|
+
for (let j=0;j<headerArray.length;j++){
|
|
115
|
+
this.$set(obj,headerArray[j],resultArray[j])
|
|
116
|
+
this.$set(obj,'id',this.excelRowList[i].row_id)
|
|
117
|
+
}
|
|
118
|
+
this.rowDataList.push(obj);
|
|
119
|
+
}
|
|
120
|
+
this.$nextTick(() => {
|
|
121
|
+
this.setRowColor('first');
|
|
122
|
+
})
|
|
123
|
+
},
|
|
124
|
+
getRowKey(row){
|
|
125
|
+
return row.id
|
|
126
|
+
},
|
|
127
|
+
setRowColor(type){
|
|
128
|
+
this.tableChunkData.forEach((item,index) => {
|
|
129
|
+
const colorIndex = index % this.colors.length;
|
|
130
|
+
let id = item.tableChunkId;
|
|
131
|
+
let dom = document.getElementsByClassName('setBgClass' + id);
|
|
132
|
+
if (dom && dom.length > 0){
|
|
133
|
+
let newDom = Array.from(dom)
|
|
134
|
+
newDom.forEach(doms => {
|
|
135
|
+
doms.style.backgroundColor = this.colors[colorIndex];
|
|
136
|
+
})
|
|
137
|
+
}
|
|
138
|
+
})
|
|
139
|
+
this.$nextTick(() => {
|
|
140
|
+
if (this.tableChunkData.length > 0 && type === 'first'){
|
|
141
|
+
this.scrollToRow(this.tableChunkData[0].tableChunkId)
|
|
142
|
+
}
|
|
143
|
+
})
|
|
144
|
+
},
|
|
145
|
+
tableRowClassName({ row }){
|
|
146
|
+
let id = this.tableChunkData.filter(item => item.tableChunkId == row.id);
|
|
147
|
+
if (id && id.length > 0){
|
|
148
|
+
return 'setBgClass' + id[0].tableChunkId
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
scrollToRow(rowId) {
|
|
152
|
+
this.$nextTick(() => {
|
|
153
|
+
// const row = this.rowDataList.find(row => row.id === rowId);
|
|
154
|
+
const rowIndex = this.rowDataList.findIndex(row => row.id === rowId);
|
|
155
|
+
let index = Math.ceil(rowIndex / 20)
|
|
156
|
+
if (index > 0){
|
|
157
|
+
this.currentPage = index;
|
|
158
|
+
}
|
|
159
|
+
setTimeout(() => {
|
|
160
|
+
let dom = document.getElementsByClassName('setBgClass' + rowId);
|
|
161
|
+
if (dom && dom.length > 0){
|
|
162
|
+
let newDom = Array.from(dom)
|
|
163
|
+
newDom.forEach(doms => {
|
|
164
|
+
doms.style.backgroundColor = this.colors[0];
|
|
165
|
+
})
|
|
166
|
+
newDom[0].scrollIntoView({ behavior: "smooth"})
|
|
167
|
+
}
|
|
168
|
+
},500)
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
handleCurrentChange(val){
|
|
172
|
+
this.currentPage = val;
|
|
173
|
+
this.$nextTick(() => {
|
|
174
|
+
this.setRowColor();
|
|
175
|
+
})
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
mounted() {
|
|
179
|
+
this.tableRowData();
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
</script>
|
|
183
|
+
|
|
184
|
+
<style scoped lang="less">
|
|
185
|
+
.excelView{
|
|
186
|
+
height: 100%;
|
|
187
|
+
/deep/.setBgClass{
|
|
188
|
+
background-color: #E3EBFF!important;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
191
|
</style>
|