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/src/App.vue CHANGED
@@ -2,10 +2,8 @@
2
2
  <div class="app">
3
3
  <look-dulplicate-checking
4
4
  :loadingCheckResultList="loadingCheckResultList"
5
- :noDealSimilarList="noDealSimilarList"
6
- :noDealDissimilarList="noDealDissimilarList"
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
- noDealSimilarList: [
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
- noDealDissimilarList: [
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
- hadDealSimilarList: [
63
- {
64
- title:
65
- '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
66
- checked: false,
67
- matchingResultCount: 8,
68
- checkResultList: [
69
- { name: '省政府督查', count: 3 },
70
- { name: '省委督查', count: 3 },
71
- { name: '深改办(自贸办)', count: 2 },
72
- ],
73
- status: 3,
74
- relation:
75
- '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
76
- },
77
- {
78
- title:
79
- '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
80
- checked: false,
81
- matchingResultCount: 8,
82
- checkResultList: [
83
- { name: '省政府督查', count: 3 },
84
- { name: '省委督查', count: 3 },
85
- { name: '深改办(自贸办)', count: 2 },
86
- ],
87
- status: 3,
88
- relation:
89
- '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
90
- },
91
- ],
92
- // 已处理任务-不存在相似任务列表
93
- hadDealDissimilarList: [
94
- {
95
- title:
96
- '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
97
- checked: false,
98
- status: 3,
99
- relation:
100
- '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
101
- },
102
- {
103
- title:
104
- '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
105
- checked: false,
106
- status: 3,
107
- relation:
108
- '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
109
- },
110
- {
111
- title:
112
- '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
113
- checked: false,
114
- status: 3,
115
- relation:
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.noDealSimilarList.forEach(iten => {
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.noDealSimilarList),
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.noDealSimilarList[index].taskId;
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;