centaline-data-driven 1.5.38 → 1.5.40
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 +10 -0
- package/src/centaline/css/ccai.css +2 -0
- package/src/centaline/dynamicEditPictures/src/dynamicEditPictures.vue +5 -2
- package/src/centaline/dynamicForm/src/dynamicForm.vue +1 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1 -3
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +17 -14
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
:width="150" :height="150" class="file-cirle"></el-progress>
|
|
52
52
|
</div>
|
|
53
53
|
<div class="mask" v-if="progressFlag"></div>
|
|
54
|
+
<div style="position: fixed;top: 48%;left: 48%;z-index: 9999;" v-loading="isloading"></div>
|
|
54
55
|
</div>
|
|
55
56
|
</template>
|
|
56
57
|
<script>
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
},
|
|
70
71
|
data() {
|
|
71
72
|
return {
|
|
73
|
+
isloading:true,
|
|
72
74
|
flagOriginal: false,
|
|
73
75
|
progressFlag: false,
|
|
74
76
|
loadProgress: 0,
|
|
@@ -196,8 +198,8 @@
|
|
|
196
198
|
_this.imgObj.setAttribute("crossOrigin", 'Anonymous')
|
|
197
199
|
_this.imgObj.onload = function (e) {
|
|
198
200
|
//获取原始宽高
|
|
199
|
-
let naturalWidth
|
|
200
|
-
let naturalHeight
|
|
201
|
+
let naturalWidth=_this.imgObj.width;
|
|
202
|
+
let naturalHeight=_this.imgObj.height
|
|
201
203
|
|
|
202
204
|
_this.canvas.width = naturalWidth;
|
|
203
205
|
_this.canvas.height = naturalHeight;
|
|
@@ -219,6 +221,7 @@
|
|
|
219
221
|
_this.scale = scalew;
|
|
220
222
|
}
|
|
221
223
|
_this.scaleDomSize(_this.canvas);
|
|
224
|
+
_this.isloading=false;
|
|
222
225
|
}
|
|
223
226
|
this.canvas.addEventListener("pointerdown", _this.startDraw, false);
|
|
224
227
|
this.canvas.addEventListener("pointermove", _this.draw, false);
|
|
@@ -457,9 +457,7 @@ export default {
|
|
|
457
457
|
self.currentTh = null;
|
|
458
458
|
document.removeEventListener("mouseup", MouseUpHandle, false);
|
|
459
459
|
document.removeEventListener("mousemove", MouseMoveHandle, false);
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
460
|
+
col.width=ev.target.clientWidth;
|
|
463
461
|
//保存列宽
|
|
464
462
|
if(oldWidth!=col.width&&self.model.columnWidthSaveAction&&self.model.columnWidthSaveAction.length>0)
|
|
465
463
|
{
|
package/src/main.js
CHANGED
|
@@ -58,7 +58,7 @@ Vue.use(centaline, {
|
|
|
58
58
|
return {
|
|
59
59
|
oldToken: 'e9e9bcf4-4350-451d-9d5c-0fd175ca07b1',
|
|
60
60
|
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO_iOiv5s1570zn-NBwiIuBIoUIkkUCIuxMEdPRMMRq95s1dzOsgWmHIccikIFr0gKQsMJYCURKxKdKYlHr-BH7UNz26yCFkByg7Aiw2A-tYwLDtEubgUibRiHo9i1aRRy-dtdSIab-8gdNKvcA618uu3v5x7rRMm3YkOZAfR6BtAWp_3LQHBNI8KHbkqlHi8QQAAP__.RrBgBqaFlp478oO3g5k_EEtjPt_o8qpJBkzgSP78Wa4',
|
|
61
|
-
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
61
|
+
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVbyZ22v08WbpOEQkfOTQoVIIoEQdwcEdPRM8Ypp5t1g3XsooeZKkbQWpTEOqQ4OqzYwJmFWyQRLibv4AX_Ml05rikH7BqsYBMmTRdbCKOSF2rqxkmooYLqcoNSeI2sfoypgydtbBKvcS-zrdD5M13-cO27LM5sds86B0Bo3Ig0Ukb3N2Gfj5mFUZg4O7g8AAAD__w.HflXdzrl_bPMLnbiJfIQCXukU2WW-FZRrz-JR2q7eTE"}',
|
|
62
62
|
|
|
63
63
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
64
64
|
EstateInfo: '{"estateId":"201806071109550C867184E8BCA56EC3","estateName":"C%E5%BE%A1%E6%9E%97%E5%B1%B1%E6%99%AF%E6%A5%BC"}',
|
|
@@ -5328,7 +5328,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
5328
5328
|
"use strict";
|
|
5329
5329
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__ = __webpack_require__(188);
|
|
5330
5330
|
/* unused harmony namespace reexport */
|
|
5331
|
-
/* harmony import */ var
|
|
5331
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_75bb333d_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(489);
|
|
5332
5332
|
function injectStyle (ssrContext) {
|
|
5333
5333
|
__webpack_require__(483)
|
|
5334
5334
|
}
|
|
@@ -5348,7 +5348,7 @@ var __vue_scopeId__ = null
|
|
|
5348
5348
|
var __vue_module_identifier__ = null
|
|
5349
5349
|
var Component = normalizeComponent(
|
|
5350
5350
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__["a" /* default */],
|
|
5351
|
-
|
|
5351
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_75bb333d_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
|
|
5352
5352
|
__vue_template_functional__,
|
|
5353
5353
|
__vue_styles__,
|
|
5354
5354
|
__vue_scopeId__,
|
|
@@ -16683,7 +16683,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
16683
16683
|
"use strict";
|
|
16684
16684
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(164);
|
|
16685
16685
|
/* unused harmony namespace reexport */
|
|
16686
|
-
/* harmony import */ var
|
|
16686
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_1a0d5a66_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(455);
|
|
16687
16687
|
function injectStyle (ssrContext) {
|
|
16688
16688
|
__webpack_require__(417)
|
|
16689
16689
|
}
|
|
@@ -16703,7 +16703,7 @@ var __vue_scopeId__ = null
|
|
|
16703
16703
|
var __vue_module_identifier__ = null
|
|
16704
16704
|
var Component = normalizeComponent(
|
|
16705
16705
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
16706
|
-
|
|
16706
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_1a0d5a66_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
16707
16707
|
__vue_template_functional__,
|
|
16708
16708
|
__vue_styles__,
|
|
16709
16709
|
__vue_scopeId__,
|
|
@@ -17188,7 +17188,7 @@ var Component = normalizeComponent(
|
|
|
17188
17188
|
self.currentTh = null;
|
|
17189
17189
|
document.removeEventListener("mouseup", MouseUpHandle, false);
|
|
17190
17190
|
document.removeEventListener("mousemove", MouseMoveHandle, false);
|
|
17191
|
-
|
|
17191
|
+
col.width = ev.target.clientWidth;
|
|
17192
17192
|
//保存列宽
|
|
17193
17193
|
if (oldWidth != col.width && self.model.columnWidthSaveAction && self.model.columnWidthSaveAction.length > 0) {
|
|
17194
17194
|
var submitData = { 'columnName': col.id, columnWidth: col.width };
|
|
@@ -29578,6 +29578,7 @@ if (typeof window !== "undefined" && "Vue" in window) {
|
|
|
29578
29578
|
//
|
|
29579
29579
|
//
|
|
29580
29580
|
//
|
|
29581
|
+
//
|
|
29581
29582
|
|
|
29582
29583
|
|
|
29583
29584
|
|
|
@@ -29594,6 +29595,7 @@ if (typeof window !== "undefined" && "Vue" in window) {
|
|
|
29594
29595
|
},
|
|
29595
29596
|
data: function data() {
|
|
29596
29597
|
return {
|
|
29598
|
+
isloading: true,
|
|
29597
29599
|
flagOriginal: false,
|
|
29598
29600
|
progressFlag: false,
|
|
29599
29601
|
loadProgress: 0,
|
|
@@ -29713,8 +29715,8 @@ if (typeof window !== "undefined" && "Vue" in window) {
|
|
|
29713
29715
|
_this.imgObj.setAttribute("crossOrigin", 'Anonymous');
|
|
29714
29716
|
_this.imgObj.onload = function (e) {
|
|
29715
29717
|
//获取原始宽高
|
|
29716
|
-
var naturalWidth =
|
|
29717
|
-
var naturalHeight =
|
|
29718
|
+
var naturalWidth = _this.imgObj.width;
|
|
29719
|
+
var naturalHeight = _this.imgObj.height;
|
|
29718
29720
|
|
|
29719
29721
|
_this.canvas.width = naturalWidth;
|
|
29720
29722
|
_this.canvas.height = naturalHeight;
|
|
@@ -29733,6 +29735,7 @@ if (typeof window !== "undefined" && "Vue" in window) {
|
|
|
29733
29735
|
_this.scale = scalew;
|
|
29734
29736
|
}
|
|
29735
29737
|
_this.scaleDomSize(_this.canvas);
|
|
29738
|
+
_this.isloading = false;
|
|
29736
29739
|
};
|
|
29737
29740
|
_this2.canvas.addEventListener("pointerdown", _this.startDraw, false);
|
|
29738
29741
|
_this2.canvas.addEventListener("pointermove", _this.draw, false);
|
|
@@ -49009,7 +49012,7 @@ var content = __webpack_require__(418);
|
|
|
49009
49012
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
49010
49013
|
if(content.locals) module.exports = content.locals;
|
|
49011
49014
|
// add the styles to the DOM
|
|
49012
|
-
var update = __webpack_require__(2)("
|
|
49015
|
+
var update = __webpack_require__(2)("534f023a", content, true, {});
|
|
49013
49016
|
|
|
49014
49017
|
/***/ }),
|
|
49015
49018
|
/* 418 */
|
|
@@ -50263,7 +50266,7 @@ var content = __webpack_require__(484);
|
|
|
50263
50266
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
50264
50267
|
if(content.locals) module.exports = content.locals;
|
|
50265
50268
|
// add the styles to the DOM
|
|
50266
|
-
var update = __webpack_require__(2)("
|
|
50269
|
+
var update = __webpack_require__(2)("5a32f1fd", content, true, {});
|
|
50267
50270
|
|
|
50268
50271
|
/***/ }),
|
|
50269
50272
|
/* 484 */
|
|
@@ -50274,7 +50277,7 @@ exports = module.exports = __webpack_require__(1)(false);
|
|
|
50274
50277
|
|
|
50275
50278
|
|
|
50276
50279
|
// module
|
|
50277
|
-
exports.push([module.i, ".el-collapse{border-top:none}.ct-collapse-item-title .el-collapse-item__header{color:#303133!important;line-height:normal}.el-collapse-saveLine .ct-collapse-item-title:last-child .el-collapse-item__wrap{border-bottom:none}.button-initial{margin-top:8px}.button-absolute{z-index:100;bottom:0;left:0;border-radius:0 0 4px 4px;position:absolute;line-height:34px;background-color:#fff;width:100%;margin:auto;-webkit-box-shadow:0 2px 20px 0 rgb(0 0 0/10%);box-shadow:0 2px 20px 0 rgb(0 0 0/10%)}", ""]);
|
|
50280
|
+
exports.push([module.i, ".el-collapse{border-top:none}.ct-collapse-item-title .el-collapse-item__header{color:#303133!important;line-height:normal}.el-collapse-saveLine .ct-collapse-item-title:last-child .el-collapse-item__wrap{border-bottom:none}.button-initial{margin-top:8px}.button-absolute{z-index:100;bottom:0;left:0;right:0;border-radius:0 0 4px 4px;position:absolute;line-height:34px;background-color:#fff;width:100%;margin:auto;-webkit-box-shadow:0 2px 20px 0 rgb(0 0 0/10%);box-shadow:0 2px 20px 0 rgb(0 0 0/10%)}", ""]);
|
|
50278
50281
|
|
|
50279
50282
|
// exports
|
|
50280
50283
|
|
|
@@ -54658,7 +54661,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
54658
54661
|
"use strict";
|
|
54659
54662
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicEditPictures_vue__ = __webpack_require__(197);
|
|
54660
54663
|
/* unused harmony namespace reexport */
|
|
54661
|
-
/* harmony import */ var
|
|
54664
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7923bcf0_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicEditPictures_vue__ = __webpack_require__(527);
|
|
54662
54665
|
function injectStyle (ssrContext) {
|
|
54663
54666
|
__webpack_require__(524)
|
|
54664
54667
|
}
|
|
@@ -54678,7 +54681,7 @@ var __vue_scopeId__ = null
|
|
|
54678
54681
|
var __vue_module_identifier__ = null
|
|
54679
54682
|
var Component = normalizeComponent(
|
|
54680
54683
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicEditPictures_vue__["a" /* default */],
|
|
54681
|
-
|
|
54684
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7923bcf0_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicEditPictures_vue__["a" /* default */],
|
|
54682
54685
|
__vue_template_functional__,
|
|
54683
54686
|
__vue_styles__,
|
|
54684
54687
|
__vue_scopeId__,
|
|
@@ -54699,7 +54702,7 @@ var content = __webpack_require__(525);
|
|
|
54699
54702
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
54700
54703
|
if(content.locals) module.exports = content.locals;
|
|
54701
54704
|
// add the styles to the DOM
|
|
54702
|
-
var update = __webpack_require__(2)("
|
|
54705
|
+
var update = __webpack_require__(2)("05ea246d", content, true, {});
|
|
54703
54706
|
|
|
54704
54707
|
/***/ }),
|
|
54705
54708
|
/* 525 */
|
|
@@ -54727,7 +54730,7 @@ exports.push([module.i, ".picedit-stage{position:absolute;left:0;right:0;bottom:
|
|
|
54727
54730
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
54728
54731
|
|
|
54729
54732
|
"use strict";
|
|
54730
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"picedit-modal",staticStyle:{"width":"100%","height":"100%","background-color":"#1e1e1e"}},[_c('div',{staticClass:"picedit-stage"},[(_vm.croppShow)?_c('div',{staticStyle:{"width":"100%","height":"100%"}},[_c('vue-cropper',{ref:"cropper",attrs:{"img":_vm.options.img,"output-size":_vm.options.size,"output-type":_vm.options.outputType,"info":_vm.options.info,"full":_vm.options.full,"canScale":_vm.options.canScale,"can-move":_vm.options.canMove,"can-move-box":_vm.options.canMoveBox,"fixed":_vm.options.fixed,"fixed-box":_vm.options.fixedBox,"original":_vm.options.original,"auto-crop":_vm.options.autoCrop,"auto-crop-width":_vm.options.autoCropWidth,"auto-crop-height":_vm.options.autoCropHeight,"center-box":_vm.options.centerBox,"high":_vm.options.high,"info-true":_vm.options.infoTrue,"max-img-size":_vm.options.maxImageSize,"enlarge":_vm.options.enlarge,"mode":_vm.options.mode,"maxImgSize":_vm.options.maxImgSize}})],1):_c('canvas',{ref:"canvas",staticStyle:{"position":"absolute"},attrs:{"id":"drawCanvas"}})]),_vm._v(" "),(_vm.flagOriginal)?_c('div',{staticClass:"picedit-Original"},[_c('el-row',[_c('el-button',{attrs:{"type":"success"},on:{"click":function($event){_vm.Original()}}},[_vm._v("原图")])],1)],1):_vm._e(),_vm._v(" "),(_vm.croppShow)?_c('div',{staticClass:"picedit-cropper"},[_c('el-row',[_c('el-button',{attrs:{"type":"success"},on:{"click":function($event){_vm.sureCropper()}}},[_c('i',{staticClass:"el-icon-check"})]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary"},on:{"click":function($event){_vm.cancelCropper()}}},[_c('i',{staticClass:"el-icon-close"})])],1)],1):_c('div',{staticClass:"picedit-footer"},[_c('div',{staticClass:"picedit-toolbar"},_vm._l((_vm.bntList),function(item,index){return _c('a',{key:index,class:['magnify-btn', index==_vm.bntindex ? 'active' : '' ],attrs:{"title":item.name},on:{"click":function($event){_vm.handleClick(item.key,index)}}},[_c('span',{class:item.ico})])}))]),_vm._v(" "),(_vm.progressFlag)?_c('div',{staticClass:"stream-total-tips"},[_c('el-progress',{staticClass:"file-cirle",attrs:{"type":"circle","percentage":typeof _vm.loadProgress !== 'undefined' && _vm.loadProgress !== null ? _vm.loadProgress : 0.00,"width":150,"height":150}})],1):_vm._e(),_vm._v(" "),(_vm.progressFlag)?_c('div',{staticClass:"mask"}):_vm._e()])}
|
|
54733
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"picedit-modal",staticStyle:{"width":"100%","height":"100%","background-color":"#1e1e1e"}},[_c('div',{staticClass:"picedit-stage"},[(_vm.croppShow)?_c('div',{staticStyle:{"width":"100%","height":"100%"}},[_c('vue-cropper',{ref:"cropper",attrs:{"img":_vm.options.img,"output-size":_vm.options.size,"output-type":_vm.options.outputType,"info":_vm.options.info,"full":_vm.options.full,"canScale":_vm.options.canScale,"can-move":_vm.options.canMove,"can-move-box":_vm.options.canMoveBox,"fixed":_vm.options.fixed,"fixed-box":_vm.options.fixedBox,"original":_vm.options.original,"auto-crop":_vm.options.autoCrop,"auto-crop-width":_vm.options.autoCropWidth,"auto-crop-height":_vm.options.autoCropHeight,"center-box":_vm.options.centerBox,"high":_vm.options.high,"info-true":_vm.options.infoTrue,"max-img-size":_vm.options.maxImageSize,"enlarge":_vm.options.enlarge,"mode":_vm.options.mode,"maxImgSize":_vm.options.maxImgSize}})],1):_c('canvas',{ref:"canvas",staticStyle:{"position":"absolute"},attrs:{"id":"drawCanvas"}})]),_vm._v(" "),(_vm.flagOriginal)?_c('div',{staticClass:"picedit-Original"},[_c('el-row',[_c('el-button',{attrs:{"type":"success"},on:{"click":function($event){_vm.Original()}}},[_vm._v("原图")])],1)],1):_vm._e(),_vm._v(" "),(_vm.croppShow)?_c('div',{staticClass:"picedit-cropper"},[_c('el-row',[_c('el-button',{attrs:{"type":"success"},on:{"click":function($event){_vm.sureCropper()}}},[_c('i',{staticClass:"el-icon-check"})]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary"},on:{"click":function($event){_vm.cancelCropper()}}},[_c('i',{staticClass:"el-icon-close"})])],1)],1):_c('div',{staticClass:"picedit-footer"},[_c('div',{staticClass:"picedit-toolbar"},_vm._l((_vm.bntList),function(item,index){return _c('a',{key:index,class:['magnify-btn', index==_vm.bntindex ? 'active' : '' ],attrs:{"title":item.name},on:{"click":function($event){_vm.handleClick(item.key,index)}}},[_c('span',{class:item.ico})])}))]),_vm._v(" "),(_vm.progressFlag)?_c('div',{staticClass:"stream-total-tips"},[_c('el-progress',{staticClass:"file-cirle",attrs:{"type":"circle","percentage":typeof _vm.loadProgress !== 'undefined' && _vm.loadProgress !== null ? _vm.loadProgress : 0.00,"width":150,"height":150}})],1):_vm._e(),_vm._v(" "),(_vm.progressFlag)?_c('div',{staticClass:"mask"}):_vm._e(),_vm._v(" "),_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.isloading),expression:"isloading"}],staticStyle:{"position":"fixed","top":"48%","left":"48%","z-index":"9999"}})])}
|
|
54731
54734
|
var staticRenderFns = []
|
|
54732
54735
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
54733
54736
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|