centaline-data-driven 1.2.96 → 1.2.99
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/build/centaline/centaline.path.js +2 -1
- package/package.json +2 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +13 -10
- package/src/centaline/dynamicFile/src/dynamicFile.vue +413 -325
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +7 -1
- package/src/centaline/dynamicViewerFile/index.js +11 -0
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +373 -0
- package/src/centaline/dynamicViewerFile/src/dynamicViewerImage.vue +147 -0
- package/src/centaline/dynamicViewerFile/src/dynamicViewerPDF.vue +73 -0
- package/src/centaline/dynamicViewerFile/src/dynamicViewerVR.vue +76 -0
- package/src/centaline/loader/src/ctl/SearchScreen.js +7 -3
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +15 -2
- package/wwwroot/static/centaline/6032ad6e6e5a3ca138d5.worker.js +8 -0
- package/wwwroot/static/centaline/6032ad6e6e5a3ca138d5.worker.js.map +1 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +9 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -6,6 +6,7 @@ import common from '../../../common';
|
|
|
6
6
|
import Vue from 'vue';
|
|
7
7
|
const SearchScreen = function (source, callBack, screenPara) {
|
|
8
8
|
var init = function (source) {
|
|
9
|
+
console.log(source.content)
|
|
9
10
|
var rtn = {
|
|
10
11
|
$vue: null,
|
|
11
12
|
get source() {
|
|
@@ -48,6 +49,9 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
48
49
|
this._sourceFieldsArr = [];
|
|
49
50
|
|
|
50
51
|
for (let key in source.content.fields) {
|
|
52
|
+
if(source.content.fields[key].controlType===Enum.ControlType.From ){
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
51
55
|
if((source.content.fields[key].controlType===Enum.ControlType.DateRange
|
|
52
56
|
|| source.content.fields[key].controlType===Enum.ControlType.DateTimeRange)
|
|
53
57
|
&& source.content.fields[key].code2==undefined){
|
|
@@ -131,11 +135,11 @@ const SearchScreen = function (source, callBack, screenPara) {
|
|
|
131
135
|
return rtnscreens;
|
|
132
136
|
},
|
|
133
137
|
get shortcutForm() {
|
|
134
|
-
var screens =
|
|
135
|
-
return v.controlType
|
|
138
|
+
var screens = source.content.fields.filter((v, i) => {
|
|
139
|
+
return v.controlType===Enum.ControlType.From;
|
|
136
140
|
});
|
|
137
141
|
if(screens && screens.length>0){
|
|
138
|
-
return screens[0];
|
|
142
|
+
return screens[0];
|
|
139
143
|
}
|
|
140
144
|
return null;
|
|
141
145
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="alert fade in" role="alert" style="padding:0px;border-bottom:none;display: table-caption;">
|
|
7
7
|
<button type="button" class="close el-icon-close" style="right:0px;float:right;margin-bottom: 5px;cursor: pointer;" data-dismiss="alert" aria-label="Close" @click="clickHandler">
|
|
8
8
|
</button>
|
|
9
|
-
<video :src="rowData[router.submitFormField]" controls="true" autoplay controlslist="nodownload"
|
|
9
|
+
<video ref="video" :src="rowData[router.submitFormField]" controls="true" autoplay controlslist="nodownload" @timeupdate="saveVoiceHistoryHandler"
|
|
10
10
|
:height="router.dialogHeight?router.dialogHeight:'40'" :width="router.dialogWidth?router.dialogWidth:'100%'">您的浏览器不支持 video 标签。
|
|
11
11
|
</video>
|
|
12
12
|
</div>
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
showNum: 3,//如果isHidden为true时,个数大于3就会隐藏,默认是3
|
|
62
62
|
appendId: '',//将浮动栏添加到对应id或者class节点中。或者.xxx。传空字符串是添加到body中。
|
|
63
63
|
trigger: 'manual',//触发方式,传值可查看Popper UI组件trigger属性
|
|
64
|
-
placement: '
|
|
64
|
+
placement: 'left-start',//方向,传值可查看Popper UI组件placement属性
|
|
65
65
|
},
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -73,6 +73,19 @@
|
|
|
73
73
|
else{
|
|
74
74
|
this.$emit('click', this.router, this.rowData,this.rowindex);
|
|
75
75
|
}
|
|
76
|
+
},
|
|
77
|
+
saveVoiceHistoryHandler() {
|
|
78
|
+
var self=this;
|
|
79
|
+
if(self.router.action && self.visible){
|
|
80
|
+
var submitData = {};
|
|
81
|
+
self.router.actionField.split(',').forEach((k) => {
|
|
82
|
+
submitData[k] = self.rowData[k];
|
|
83
|
+
});
|
|
84
|
+
submitData.listenSeconds=self.$refs.video.currentTime;
|
|
85
|
+
self.router.doAction(submitData, (data) => {
|
|
86
|
+
|
|
87
|
+
})
|
|
88
|
+
}
|
|
76
89
|
}
|
|
77
90
|
}
|
|
78
91
|
}
|