centaline-data-driven 1.4.21 → 1.4.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.4.21",
3
+ "version": "1.4.22",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -53,6 +53,7 @@
53
53
  },
54
54
  changeCheckBoxHandler: function (event) {
55
55
  this.changeHandler();
56
+ if(this.model.autoSearch) this.$emit('click');
56
57
  }
57
58
  }
58
59
  }
@@ -38,9 +38,9 @@
38
38
  <span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
39
39
  <i class="el-icon-delete" @click="handleRemove(file)"></i>
40
40
  </span>
41
- <span class="cover-list-item-play" v-if="model.videoPlayIconUrl && file.mediaTypeID==4">
41
+ <span class="cover-list-item-play" v-if="file.videoPlayIconUrl ">
42
42
  <div class="swiper-i">
43
- <img :src="model.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
43
+ <img :src="file.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
44
44
  </div>
45
45
  </span>
46
46
  <span class="cover-list-item-span" v-if="model.lock || model.paramName">
@@ -116,9 +116,9 @@
116
116
  <span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
117
117
  <i class="el-icon-delete" @click="handleRemove(file)"></i>
118
118
  </span>
119
- <span class="cover-list-item-play" v-if="model.videoPlayIconUrl && file.mediaTypeID==4">
119
+ <span class="cover-list-item-play" v-if="file.videoPlayIconUrl && file.mediaTypeID==4">
120
120
  <div class="swiper-i">
121
- <img :src="model.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
121
+ <img :src="file.videoPlayIconUrl" class="hous-icon" @click="viewerfile(file)"/>
122
122
  </div>
123
123
  </span>
124
124
 
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
 
11
11
  <div ref="highlights" v-if="model.forbiddenWords" class="backdrop" :style="{width:forbiddenWordsWidth+'px',height:forbiddenWordsHeight+'px',left:forbiddenWordsLeft+'px',top:forbiddenWordsTop+'px'}">
12
- <div class="highlights" v-html="forbiddenWordsValue"></div>
12
+ <div class="highlights" v-html="forbiddenWordsValue"></div>
13
13
  </div>
14
14
 
15
15
  <el-popover v-if="model.autoFill && model.paramName" placement="bottom-start" v-model="showDrop" :trigger="'manual'" class="autoFill">
@@ -281,6 +281,7 @@
281
281
  color: transparent;
282
282
  padding: 5px 15px 5px 15px;
283
283
  line-height: 1.5;
284
+ font-family: monospace;
284
285
  }
285
286
  .autoFill{
286
287
  width: 100%;
@@ -27,10 +27,7 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
27
27
  },
28
28
  get mediaViewPageType() {
29
29
  return data.mediaViewPageType;
30
- },
31
- get videoPlayIconUrl() {
32
- return videoPlayIconUrl;
33
- },
30
+ },
34
31
  _fileList: [],
35
32
  get fileList() {
36
33
  if (this._fileList.length !== 0) {
@@ -230,6 +227,9 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
230
227
  get fileExtension() {
231
228
  return fileSource.fileExtension;
232
229
  },
230
+ get videoPlayIconUrl() {
231
+ return (fileSource.videoPlayIconUrl || videoPlayIconUrl);
232
+ },
233
233
  }
234
234
 
235
235
  return fileData;
@@ -258,7 +258,7 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
258
258
  Vue.set(file, "mediaLabelID", data.mediaLabelID);
259
259
  Vue.set(file, "mediaLabelName", data.mediaLabelName);
260
260
  Vue.set(file, "fileExtension", data.fileExtension);
261
-
261
+ Vue.set(file, "videoPlayIconUrl", data.videoPlayIconUrl);
262
262
  Vue.set(file, "progressFlag", false);
263
263
  Vue.set(file, "loadProgress", 100);
264
264
 
@@ -292,6 +292,7 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
292
292
  "progressFlag": true,
293
293
  "loadProgress": 0,
294
294
  "uid": file.uid,
295
+ "videoPlayIconUrl":""
295
296
  }
296
297
  rtn.fileList.push(awaitfile);
297
298
  },
@@ -322,7 +323,7 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
322
323
  Vue.set(file, "mediaLabelID", data.mediaLabelID);
323
324
  Vue.set(file, "mediaLabelName", data.mediaLabelName);
324
325
  Vue.set(file, "fileExtension", data.fileExtension);
325
-
326
+ Vue.set(file, "videoPlayIconUrl", data.videoPlayIconUrl);
326
327
  Vue.set(file, "progressFlag", data.progressFlag);
327
328
  Vue.set(file, "loadProgress", data.loadProgress);
328
329
  }
@@ -350,6 +351,7 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
350
351
  fileExtension: data.fileExtension,
351
352
  progressFlag: data.progressFlag,
352
353
  loadProgress: data.loadProgress,
354
+ videoPlayIconUrl:data.videoPlayIconUrl,
353
355
  "uid": file.uid,
354
356
  })
355
357
  }