centaline-data-driven-v3 0.0.94 → 0.0.95
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/centaline-data-driven-v3.umd.js +51 -51
- package/package.json +1 -1
- package/src/components/app/Form.vue +6 -9
- package/src/components/app/ViewerFile/ViewerP360.vue +4 -1
- package/src/components/web/ViewerFile/ViewerP360.vue +4 -1
- package/src/loader/src/SearchTable.js +3 -1
- package/src/main.js +1 -1
- package/src/views/SearchList.vue +4 -4
package/package.json
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<div class="safe-area-inset-bottom-height"></div>
|
|
83
83
|
</div>
|
|
84
84
|
<div class="button-absoluteAPP"
|
|
85
|
-
v-if="(common.flagMicroMessenger() || common.flagHK()) && model.buttons.findIndex((v) => { return v.show }) > -1">
|
|
85
|
+
v-if="(common.flagMicroMessenger() || common.flagHK()) && model.buttons.findIndex((v) => { return v.show }) > -1 && buttonShow">
|
|
86
86
|
<template v-for="(field, index) in model.buttons" :key="index">
|
|
87
87
|
<component v-if="field.show !== false" ref="Fields" :is="field.is" :vmodel="field"
|
|
88
88
|
:parameterAction="model.parameterAction" v-bind="field.bindPara" @fieldClick="clickHandler" />
|
|
@@ -150,6 +150,7 @@ const refForm = ref()
|
|
|
150
150
|
const buttons = ref([])
|
|
151
151
|
const actions = ref([])
|
|
152
152
|
const show = ref(false)
|
|
153
|
+
const buttonShow = ref(true)
|
|
153
154
|
init()
|
|
154
155
|
//初始化数据
|
|
155
156
|
function init() {
|
|
@@ -159,15 +160,11 @@ function init() {
|
|
|
159
160
|
if (isAndroid) {
|
|
160
161
|
// 动态检测键盘状态
|
|
161
162
|
let viewportHeight = window.innerHeight;
|
|
162
|
-
|
|
163
163
|
window.addEventListener('resize', () => {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
document.querySelector('.button-absoluteAPP').style.bottom = `${keyboardHeight}px`;
|
|
169
|
-
} else { // 键盘收起
|
|
170
|
-
document.querySelector('.button-absoluteAPP').style.bottom = '0';
|
|
164
|
+
if (window.innerHeight < viewportHeight) {
|
|
165
|
+
buttonShow.value = false
|
|
166
|
+
} else {
|
|
167
|
+
buttonShow.value = true
|
|
171
168
|
}
|
|
172
169
|
});
|
|
173
170
|
}
|
|
@@ -23,6 +23,9 @@ onMounted(() => {
|
|
|
23
23
|
function init() {
|
|
24
24
|
loading.value = true
|
|
25
25
|
if (panoramaContainer.value) {
|
|
26
|
+
if (PSV.value) {
|
|
27
|
+
PSV.value.destroy(); // 销毁旧实例
|
|
28
|
+
}
|
|
26
29
|
PSV.value = new PhotoSphereViewer({
|
|
27
30
|
container: panoramaContainer.value,
|
|
28
31
|
panorama: props.imgUrl, // 替换为你的全景图片路径
|
|
@@ -66,7 +69,7 @@ function enterFullscreen() {
|
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
|
|
69
|
-
watch(() => props.
|
|
72
|
+
watch(() => props.imgUrl, () => {
|
|
70
73
|
init();
|
|
71
74
|
//complete();
|
|
72
75
|
})
|
|
@@ -20,6 +20,9 @@ onMounted(() => {
|
|
|
20
20
|
|
|
21
21
|
function init() {
|
|
22
22
|
if (panoramaContainer.value) {
|
|
23
|
+
if (PSV.value) {
|
|
24
|
+
PSV.value.destroy(); // 销毁旧实例
|
|
25
|
+
}
|
|
23
26
|
PSV.value = new PhotoSphereViewer({
|
|
24
27
|
container: panoramaContainer.value,
|
|
25
28
|
panorama: props.imgUrl, // 替换为你的全景图片路径
|
|
@@ -74,7 +77,7 @@ const viewerHeight = computed(() => {
|
|
|
74
77
|
return props.height
|
|
75
78
|
}
|
|
76
79
|
})
|
|
77
|
-
watch(() => props.
|
|
80
|
+
watch(() => props.imgUrl, () => {
|
|
78
81
|
init();
|
|
79
82
|
//complete();
|
|
80
83
|
})
|
|
@@ -208,6 +208,9 @@ function loadSearchTableModel(source, searchModel, defaultSearchData, action, se
|
|
|
208
208
|
else if (rtn.sortString) {
|
|
209
209
|
return rtn.sortString;
|
|
210
210
|
}
|
|
211
|
+
else if (source.page.orderBy) {
|
|
212
|
+
return source.page.orderBy;
|
|
213
|
+
}
|
|
211
214
|
},
|
|
212
215
|
get pageIndex() {
|
|
213
216
|
return rtn.pageIndex;
|
|
@@ -742,7 +745,6 @@ function apiData(model, callback) {
|
|
|
742
745
|
}
|
|
743
746
|
model.isLoading = true;
|
|
744
747
|
var newSearchModel = model.getSearchData();
|
|
745
|
-
|
|
746
748
|
request.postHandler(common.globalUri(), {
|
|
747
749
|
action: model.searchAction,
|
|
748
750
|
para: {
|
package/src/main.js
CHANGED
|
@@ -68,7 +68,7 @@ app.use(centaline, {
|
|
|
68
68
|
//authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVay1xvvOl3sJA2HiPIxElSIJBIIcXdAQEfPFK-YZt4Nlm2EChqtDafOYWqpRG6kxLoTxZhUTSRxHLUPH_DHfOmt5SDWt1gHScieHapNiol94q5pXYoNFJAvJ6isGHWmNMYVcBjWtyCr_iW2JZ93-fqPc8f18MwGIqFRCIO1GXmWGYd9npCZJ6N5JjYZ7g8AAAD__w.HgtNKtHWooj8c9Hy_vB8CfKq-qOeHMp0irnW0DfXtHo"}',
|
|
69
69
|
//oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
|
|
70
70
|
//authObject: '{token:"1-bce18a8d-21f0-4022-a6ca-450de105cafc"}',
|
|
71
|
-
authObject: '{EmpID:"
|
|
71
|
+
authObject: '{EmpID:"Token_cf665522-aa5a-478c-b33a-0eac9ea30cee",MachineCode:"ae184643-f8e2-453c-a752-ba82612b592f",SSO_Token:"SSOToken_cf665522-aa5a-478c-b33a-0eac9ea30cee",Platform:"WEB"}',
|
|
72
72
|
};
|
|
73
73
|
},
|
|
74
74
|
getToken() {
|
package/src/views/SearchList.vue
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-search" style="width:100%;height:100%;position: fixed;">
|
|
3
|
-
|
|
3
|
+
<ct-searchlist :apiParam="apiParam" :searchConditionApi="'/propertyPublishList/getLayoutOfSearch'"
|
|
4
4
|
:searchDataApi="'/propertyPublishList/getListOfSearchModel'"
|
|
5
|
-
:searchStatsApi="'/propertyPublishList/getListStats'"></ct-searchlist>
|
|
5
|
+
:searchStatsApi="'/propertyPublishList/getListStats'"></ct-searchlist>
|
|
6
6
|
|
|
7
|
-
<ct-searchlist :apiParam="apiParam" :searchConditionApi="'/propertyTenderList/getLayoutOfSearch'"
|
|
8
|
-
:searchDataApi="'/propertyTenderList/getListOfSearchModel'"></ct-searchlist>
|
|
7
|
+
<!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/propertyTenderList/getLayoutOfSearch'"
|
|
8
|
+
:searchDataApi="'/propertyTenderList/getListOfSearchModel'"></ct-searchlist> -->
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
<!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/AttendanceClassList/getLayoutOfSearch'"
|