look-ui 1.1.15 → 1.1.17
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/dist/look-ui.common.js +72 -86
- package/dist/look-ui.css +1 -1
- package/dist/look-ui.umd.js +72 -86
- package/dist/look-ui.umd.min.js +1 -1
- package/package.json +34 -34
- package/src/App.vue +101 -99
package/src/App.vue
CHANGED
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
<div class="app">
|
|
3
3
|
<look-dulplicate-checking
|
|
4
4
|
:loadingCheckResultList="loadingCheckResultList"
|
|
5
|
-
:
|
|
6
|
-
:
|
|
7
|
-
:hadDealSimilarList="hadDealSimilarList"
|
|
8
|
-
:hadDealDissimilarList="hadDealDissimilarList"
|
|
5
|
+
:noDealMission="noDealMission"
|
|
6
|
+
:hadDealMission="hadDealMission"
|
|
9
7
|
:checkingResultList="checkingResultList"
|
|
10
8
|
@mission-click="handleMissionClick"
|
|
11
9
|
@toggle-source="toggleSource"
|
|
@@ -24,98 +22,102 @@ export default {
|
|
|
24
22
|
return {
|
|
25
23
|
loadingCheckResultList: false,
|
|
26
24
|
allCheckingResultList: [],
|
|
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
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
25
|
+
// 未处理任务
|
|
26
|
+
noDealMission: {
|
|
27
|
+
// 存在相似任务列表
|
|
28
|
+
similar: [
|
|
29
|
+
{
|
|
30
|
+
taskId: '1',
|
|
31
|
+
name: '三亚市第一艘海洋休闲渔船',
|
|
32
|
+
checked: false,
|
|
33
|
+
tenantId: '4602000038',
|
|
34
|
+
checkResultListLength: 0,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
taskId: '2',
|
|
38
|
+
name: '事项工作内容',
|
|
39
|
+
checked: false,
|
|
40
|
+
tenantId: '4602000038',
|
|
41
|
+
checkResultListLength: 0,
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
// 不存在相似任务列表
|
|
45
|
+
dissimilar: [
|
|
46
|
+
{
|
|
47
|
+
taskId: '1',
|
|
48
|
+
name: '三亚市第一艘海洋休闲渔船',
|
|
49
|
+
checked: false,
|
|
50
|
+
tenantId: '4602000038',
|
|
51
|
+
checkResultListLength: 0,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
taskId: '2',
|
|
55
|
+
name: '事项工作内容',
|
|
56
|
+
checked: false,
|
|
57
|
+
tenantId: '4602000038',
|
|
58
|
+
checkResultListLength: 0,
|
|
59
|
+
},
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
// 已处理任务
|
|
63
|
+
hadDealMission: {
|
|
64
|
+
similar: [
|
|
65
|
+
{
|
|
66
|
+
name:
|
|
67
|
+
'春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
|
|
68
|
+
checked: false,
|
|
69
|
+
checkResultListLength: 0,
|
|
70
|
+
checkResultList: [
|
|
71
|
+
{ name: '省政府督查', count: 3 },
|
|
72
|
+
{ name: '省委督查', count: 3 },
|
|
73
|
+
{ name: '深改办(自贸办)', count: 2 },
|
|
74
|
+
],
|
|
75
|
+
status: 3,
|
|
76
|
+
relation:
|
|
77
|
+
'《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name:
|
|
81
|
+
'春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
|
|
82
|
+
checked: false,
|
|
83
|
+
checkResultListLength: 0,
|
|
84
|
+
checkResultList: [
|
|
85
|
+
{ name: '省政府督查', count: 3 },
|
|
86
|
+
{ name: '省委督查', count: 3 },
|
|
87
|
+
{ name: '深改办(自贸办)', count: 2 },
|
|
88
|
+
],
|
|
89
|
+
status: 3,
|
|
90
|
+
relation:
|
|
91
|
+
'《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
dissimilar: [
|
|
95
|
+
{
|
|
96
|
+
name:
|
|
97
|
+
'春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
|
|
98
|
+
checked: false,
|
|
99
|
+
status: 3,
|
|
100
|
+
relation:
|
|
101
|
+
'《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name:
|
|
105
|
+
'春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
|
|
106
|
+
checked: false,
|
|
107
|
+
status: 3,
|
|
108
|
+
relation:
|
|
109
|
+
'《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name:
|
|
113
|
+
'春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
|
|
114
|
+
checked: false,
|
|
115
|
+
status: 3,
|
|
116
|
+
relation:
|
|
117
|
+
'《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
},
|
|
119
121
|
checkingResultList: [],
|
|
120
122
|
};
|
|
121
123
|
},
|
|
@@ -123,7 +125,7 @@ export default {
|
|
|
123
125
|
searchRepeated(this.paramsData).then(res => {
|
|
124
126
|
this.allCheckingResultList = res.data.data;
|
|
125
127
|
this.allCheckingResultList.forEach(item => {
|
|
126
|
-
this.
|
|
128
|
+
this.noDealMission.similar.forEach(iten => {
|
|
127
129
|
if (item.keyId == iten.taskId) {
|
|
128
130
|
iten.checkResultListLength = item.size;
|
|
129
131
|
}
|
|
@@ -136,7 +138,7 @@ export default {
|
|
|
136
138
|
paramsData() {
|
|
137
139
|
return {
|
|
138
140
|
from: 0,
|
|
139
|
-
jsonStr: JSON.stringify(this.
|
|
141
|
+
jsonStr: JSON.stringify(this.noDealMission.similar),
|
|
140
142
|
keyId: 'taskId',
|
|
141
143
|
modelIndex: 'common_task',
|
|
142
144
|
modelType: 'task',
|
|
@@ -162,7 +164,7 @@ export default {
|
|
|
162
164
|
getCurrMissionCheckingResultList(index) {
|
|
163
165
|
this.loadingCheckResultList = true
|
|
164
166
|
setTimeout(() => {
|
|
165
|
-
const currentMissionKeyId = this.
|
|
167
|
+
const currentMissionKeyId = this.noDealMission.similar[index].taskId;
|
|
166
168
|
const resObj = this.allCheckingResultList.find(item => item.keyId == currentMissionKeyId) || {};
|
|
167
169
|
this.checkingResultList = resObj.hitRes || [];
|
|
168
170
|
this.loadingCheckResultList = false;
|