centaline-data-driven 1.6.65 → 1.6.66
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 +1 -1
- package/release-log.md +5 -0
- package/src/SearchListTab.vue +1 -1
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +1 -1
- package/src/centaline/loader/src/ctl/SearchScreen.js +8 -0
- package/src/main.js +5 -5
- package/wwwroot/static/centaline/centaline-data-driven.js +12 -4
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/SearchListTab.vue
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</el-aside>
|
|
28
28
|
<el-main ref="displayArea" v-loading="downloadLoading" element-loading-spinner="el-icon-loading"
|
|
29
29
|
:element-loading-custom-class="'cloading'" style="background-color: white;">
|
|
30
|
-
<div v-if="!flagLeft" style="position: absolute; top: 10px;
|
|
30
|
+
<div v-if="!flagLeft" style="position: absolute; top: 10px; left: 10px;cursor: pointer;color:red"
|
|
31
31
|
@click="closeViewerFile">
|
|
32
32
|
<i class="el-icon-circle-close" style="font-size: 20px;"></i>
|
|
33
33
|
|
|
@@ -819,12 +819,20 @@ const SearchScreen = function (source, callBack, screenPara, prevParam) {
|
|
|
819
819
|
if(prevParam && typeof item.id !== 'undefined' && rtn.prevParams.includes(item.id) && prevParam[item.id]){
|
|
820
820
|
if(prevParam[item.id].code1){
|
|
821
821
|
item.code1=prevParam[item.id].code1;
|
|
822
|
+
if(item.options && item.options.length>0){
|
|
823
|
+
item.options[0].code=prevParam[item.id].code1;
|
|
824
|
+
item.options[0].value=prevParam[item.id].code1;
|
|
825
|
+
}
|
|
822
826
|
}
|
|
823
827
|
if(prevParam[item.id].code2){
|
|
824
828
|
item.code2=prevParam[item.id].code2;
|
|
825
829
|
}
|
|
826
830
|
if(prevParam[item.id].name1){
|
|
827
831
|
item.name1=prevParam[item.id].name1;
|
|
832
|
+
if(item.options && item.options.length>0){
|
|
833
|
+
item.options[0].name=prevParam[item.id].name1;
|
|
834
|
+
item.options[0].label=prevParam[item.id].name1;
|
|
835
|
+
}
|
|
828
836
|
}
|
|
829
837
|
}
|
|
830
838
|
|
package/src/main.js
CHANGED
|
@@ -17,7 +17,7 @@ Vue.use(centaline, {
|
|
|
17
17
|
// baseUrl: "http://10.88.22.46:17070/max-uplink-api/",
|
|
18
18
|
// baseUrl: "http://10.88.22.46:9004/max-uplink-api/",
|
|
19
19
|
// baseUrl: "http://10.88.22.46:6060/onecard-api/",
|
|
20
|
-
baseUrl: "http://10.88.22.46:9999/service-api/",
|
|
20
|
+
// baseUrl: "http://10.88.22.46:9999/service-api/",
|
|
21
21
|
// baseUrl: "http://10.88.22.46:20808/service-api",
|
|
22
22
|
// baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
23
23
|
// baseUrl: "http://10.88.22.46:22324/service-api/v1/form/router",
|
|
@@ -26,7 +26,7 @@ Vue.use(centaline, {
|
|
|
26
26
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
27
27
|
// baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
|
|
28
28
|
// baseUrl: "http://10.88.22.13:7080/ibs-api/",
|
|
29
|
-
|
|
29
|
+
baseUrl:"http://szamaxbusiness-api-test2.centaline.com.cn/max-uplink-api/",
|
|
30
30
|
// baseUrl: "http://10.88.22.13:7070/onecard-api/",
|
|
31
31
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
32
32
|
// baseUrl: "http://10.28.21.164:9004/max-uplink-api/",
|
|
@@ -73,7 +73,7 @@ Vue.use(centaline, {
|
|
|
73
73
|
return {
|
|
74
74
|
// oldToken: '1094eb9c-0ec7-4fcf-952f-7fc4258ca3b0',
|
|
75
75
|
// token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
|
|
76
|
-
|
|
76
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOwjAMRP8lcy3ViWs7bNQNCx9RtShIZUK0lUCIfycI2Ni5k254w93d3byObuNUkRthA1KOQKlTiJRa0AKFLKVo1seP4Ed81SNSFOQE2yiljimAoikYsdGuS8HazlUuX89ug6K-8YJBKzcNyxsQ1fIC65wv-3z7x7nTMpXZqCi-GAbKChR4BOW6AT0qHmios4_oHk8AAAD__w.xA0MaOO4wbkaI4Uy0cfnQdh6zpzdlO5_KlKKWLsfDQ0"}',
|
|
77
77
|
|
|
78
78
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
79
79
|
// EstateInfo: '{"estateId":"1c581b7c-d629-4670-8a7c-6d622860bc58","estateName":"0%E9%87%91%E9%9A%85%E4%BA%91%E7%AD%91%E5%A4%A9%E6%B4%A5","estDeptPath":"009.014.001.001"}',
|
|
@@ -81,8 +81,8 @@ Vue.use(centaline, {
|
|
|
81
81
|
// appinfo:'{"appId":"7e4d0521-4e26-4beb-8627-e76977ad8aa5","appName":"CCAI-PLUS"}',
|
|
82
82
|
// authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjkzNDU5NjFkLWM2NmItNDU0ZS1hMTE4LTUzMWRkMjliZTdmYyJ9.ehMpxkFnyTFlJQ_43SbCTGZZTMFht3isTj3gUKmNoJBWCV5X8ez5Z2AgT7vMBwmmG1FdEHWZTnJhIj0ox86bCA',
|
|
83
83
|
|
|
84
|
-
AuthObject: '{"currentEstate":{"estateId":"2411211358417B58943C6E954B35BB56","estateName":"%E6%8C%89%E9%83%A8%E5%B0%B1%E7%8F%AD%EF%BC%88zhangtm%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E6%88%90%E4%BA%A4%E6%95%A3%E5%8D%95%EF%BC%89","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"372a227879461e4442bd0d800a0a967a","token":"","random":"fECeUk","time":"2026-06-09 14:19:42","timestamp":1780985982799,"sign":"","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
|
|
85
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjA5ODgxZmFkLTM1NmYtNGM2My1hN2U1LTQzMTBhZTE2ZmJiNCJ9.KBU4ZwLPJ5jnShy8fSanbjLIcc86XkO1odzkhKCdLYU',
|
|
84
|
+
// AuthObject: '{"currentEstate":{"estateId":"2411211358417B58943C6E954B35BB56","estateName":"%E6%8C%89%E9%83%A8%E5%B0%B1%E7%8F%AD%EF%BC%88zhangtm%E6%B5%8B%E8%AF%95%E6%A5%BC%E7%9B%98%E6%88%90%E4%BA%A4%E6%95%A3%E5%8D%95%EF%BC%89","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"372a227879461e4442bd0d800a0a967a","token":"","random":"fECeUk","time":"2026-06-09 14:19:42","timestamp":1780985982799,"sign":"","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
|
|
85
|
+
// AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjA5ODgxZmFkLTM1NmYtNGM2My1hN2U1LTQzMTBhZTE2ZmJiNCJ9.KBU4ZwLPJ5jnShy8fSanbjLIcc86XkO1odzkhKCdLYU',
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -32068,7 +32068,7 @@ var ctSpan = { //临时的span组件对象,用于vue双向绑定,强制更
|
|
|
32068
32068
|
"use strict";
|
|
32069
32069
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicViewerFile_vue__ = __webpack_require__(193);
|
|
32070
32070
|
/* unused harmony namespace reexport */
|
|
32071
|
-
/* harmony import */ var
|
|
32071
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b4e2ab32_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicViewerFile_vue__ = __webpack_require__(641);
|
|
32072
32072
|
function injectStyle (ssrContext) {
|
|
32073
32073
|
__webpack_require__(631)
|
|
32074
32074
|
}
|
|
@@ -32088,7 +32088,7 @@ var __vue_scopeId__ = null
|
|
|
32088
32088
|
var __vue_module_identifier__ = null
|
|
32089
32089
|
var Component = normalizeComponent(
|
|
32090
32090
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicViewerFile_vue__["a" /* default */],
|
|
32091
|
-
|
|
32091
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_b4e2ab32_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicViewerFile_vue__["a" /* default */],
|
|
32092
32092
|
__vue_template_functional__,
|
|
32093
32093
|
__vue_styles__,
|
|
32094
32094
|
__vue_scopeId__,
|
|
@@ -59485,12 +59485,20 @@ var SearchScreen = function SearchScreen(source, callBack, screenPara, prevParam
|
|
|
59485
59485
|
if (prevParam && typeof item.id !== 'undefined' && rtn.prevParams.includes(item.id) && prevParam[item.id]) {
|
|
59486
59486
|
if (prevParam[item.id].code1) {
|
|
59487
59487
|
item.code1 = prevParam[item.id].code1;
|
|
59488
|
+
if (item.options && item.options.length > 0) {
|
|
59489
|
+
item.options[0].code = prevParam[item.id].code1;
|
|
59490
|
+
item.options[0].value = prevParam[item.id].code1;
|
|
59491
|
+
}
|
|
59488
59492
|
}
|
|
59489
59493
|
if (prevParam[item.id].code2) {
|
|
59490
59494
|
item.code2 = prevParam[item.id].code2;
|
|
59491
59495
|
}
|
|
59492
59496
|
if (prevParam[item.id].name1) {
|
|
59493
59497
|
item.name1 = prevParam[item.id].name1;
|
|
59498
|
+
if (item.options && item.options.length > 0) {
|
|
59499
|
+
item.options[0].name = prevParam[item.id].name1;
|
|
59500
|
+
item.options[0].label = prevParam[item.id].name1;
|
|
59501
|
+
}
|
|
59494
59502
|
}
|
|
59495
59503
|
}
|
|
59496
59504
|
|
|
@@ -81430,7 +81438,7 @@ var content = __webpack_require__(632);
|
|
|
81430
81438
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
81431
81439
|
if(content.locals) module.exports = content.locals;
|
|
81432
81440
|
// add the styles to the DOM
|
|
81433
|
-
var update = __webpack_require__(3)("
|
|
81441
|
+
var update = __webpack_require__(3)("20b8c42b", content, true, {});
|
|
81434
81442
|
|
|
81435
81443
|
/***/ }),
|
|
81436
81444
|
/* 632 */
|
|
@@ -81597,7 +81605,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
81597
81605
|
|
|
81598
81606
|
"use strict";
|
|
81599
81607
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"viewerfile",staticClass:"ccai",staticStyle:{"height":"100%"},attrs:{"id":"viewer-file"},on:{"contextmenu":_vm.handleMouse}},[_c('el-container',{staticStyle:{"height":"100%","border":"1px solid #eee"}},[(_vm.flagLeft)?_c('el-aside',{staticClass:"ccai-aside",staticStyle:{"background-color":"rgb(238, 241, 246)"}},[_c('div',{staticClass:"viewerMenu",staticStyle:{"height":"100%"}},[_c('el-menu',{staticStyle:{"height":"100%"},attrs:{"default-openeds":_vm.openeds,"default-active":_vm.activeitem}},_vm._l((_vm.MediaAlbum),function(group,groupIndex){return _c('el-submenu',{key:groupIndex,attrs:{"index":groupIndex.toString()}},[_c('template',{slot:"title"},[_c('i'),_vm._v(" "),_c('div',{staticStyle:{"padding":"0 10px !important","height":"30px !important","line-height":"30px !important"}},[_vm._v("\n "+_vm._s(group.albumName)+"\n ")])]),_vm._v(" "),_c('el-menu-item-group',_vm._l((group.medias),function(item,index){return _c('el-menu-item',{key:index,attrs:{"index":groupIndex.toString() + '-' + index.toString()},on:{"click":function($event){_vm.handleClick(item, groupIndex, index)}}},[_vm._v(_vm._s(item.mediaLabelName
|
|
81600
|
-
|| item.fileName))])}))],2)}))],1)]):_vm._e(),_vm._v(" "),_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.downloadLoading),expression:"downloadLoading"}],ref:"displayArea",staticStyle:{"background-color":"white"},attrs:{"element-loading-spinner":"el-icon-loading","element-loading-custom-class":'cloading'}},[(!_vm.flagLeft)?_c('div',{staticStyle:{"position":"absolute","top":"10px","
|
|
81608
|
+
|| item.fileName))])}))],2)}))],1)]):_vm._e(),_vm._v(" "),_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.downloadLoading),expression:"downloadLoading"}],ref:"displayArea",staticStyle:{"background-color":"white"},attrs:{"element-loading-spinner":"el-icon-loading","element-loading-custom-class":'cloading'}},[(!_vm.flagLeft)?_c('div',{staticStyle:{"position":"absolute","top":"10px","left":"10px","cursor":"pointer","color":"red"},on:{"click":_vm.closeViewerFile}},[_c('i',{staticClass:"el-icon-circle-close",staticStyle:{"font-size":"20px"}})]):_vm._e(),_vm._v(" "),(_vm.resultObject)?_c('div',{staticStyle:{"position":"relative","width":"100%"},style:({ height: _vm.displayAreaHeight - 78 + 'px' })},[(_vm.itemFile.mediaTypeID == '1' || (_vm.itemFile.mediaTypeID + '').toLowerCase() == 'vr')?[_c('iframe',{staticStyle:{"border-width":"0px"},attrs:{"src":_vm.resultObject,"height":_vm.displayAreaHeight - 80 + 'px',"width":_vm.displayAreaWidth + 'px'}})]:(_vm.itemFile.mediaTypeID == '2' || (_vm.itemFile.mediaTypeID + '').toLowerCase() == 'photo')?[_c('ct-viewerImage',{ref:"viewerImage",attrs:{"imgUrl":_vm.resultObject + ((!_vm.itemFile.flagUrl) ? '/' + _vm.displayAreaWidth + '/' + _vm.displayAreaHeight + '?FlagC=0' : ''),"rotate":_vm.rotate}})]:(_vm.itemFile.mediaTypeID == '3' || (_vm.itemFile.mediaTypeID + '').toLowerCase() == 'threedimensional')?[_vm._v("\n 暂不支持ThreeDimensional\n ")]:(_vm.itemFile.mediaTypeID == '4' || (_vm.itemFile.mediaTypeID + '').toLowerCase() == 'video')?[_c('div',{staticClass:"viewerContent"},[(_vm.itemFile.thumbnailUrl)?[_c('video',{staticClass:"viewerContent",attrs:{"preload":"none","poster":_vm.itemFile.thumbnailUrl,"src":_vm.resultObject,"controls":"controls","controlslist":"nodownload","height":500,"width":800}},[_vm._v("\n 您的浏览器不支持 video 标签。\n ")])]:[_c('video',{staticClass:"viewerContent",attrs:{"preload":"none","src":_vm.resultObject,"controls":"controls","controlslist":"nodownload","height":500,"width":800}},[_vm._v("\n 您的浏览器不支持 video 标签。\n ")])]],2)]:(_vm.itemFile.mediaTypeID == '5' || (_vm.itemFile.mediaTypeID + '').toLowerCase() == 'audio')?[_c('div',{staticClass:"viewerContent"},[_c('audio',{staticClass:"viewerContent",staticStyle:{"width":"50%"},attrs:{"preload":"none","src":_vm.resultObject,"controls":"controls","controlslist":"nodownload"}},[_vm._v("\n 您的浏览器不支持 audio 标签。\n ")])])]:(_vm.itemFile.mediaTypeID == '6' || (_vm.itemFile.mediaTypeID + '').toLowerCase() == 'file')?[('pdf'.search(_vm.itemFile.fileExtension.toLowerCase()) > -1)?[_c('ct-viewerPDF',{attrs:{"pdfUrl":_vm.resultObject,"displayAreaHeight":_vm.displayAreaHeight,"displayAreaWidth":_vm.displayAreaWidth}})]:[_c('div',{staticClass:"viewerContent",staticStyle:{"max-height":"200px","text-align":"center"}},[_c('a',{attrs:{"href":_vm.resultObject,"target":"_blank"}},[_c('img',{attrs:{"src":_vm.itemFile.thumbnailUrl}}),_c('br'),_vm._v(_vm._s(_vm.itemFile.mediaLabelName || _vm.itemFile.fileName)+"\n ")])])]]:[_c('div',{staticClass:"viewerContent",staticStyle:{"max-height":"200px","text-align":"center"}},[_c('a',{attrs:{"href":_vm.resultObject,"target":"_blank"}},[_c('img',{attrs:{"src":_vm.itemFile.thumbnailUrl}}),_c('br'),_vm._v(_vm._s(_vm.itemFile.mediaLabelName || _vm.itemFile.fileName)+"\n ")])])],_vm._v(" "),(_vm.resultObject != '')?[_c('div',{staticClass:"magnify-footer",style:({
|
|
81601
81609
|
width: _vm.displayAreaWidth + 'px',
|
|
81602
81610
|
bottom: _vm.displayAreabtm + 10 + 'px',
|
|
81603
81611
|
position: !_vm.flagLeft ? 'absolute' : 'fixed',
|