centaline-data-driven 1.5.94 → 1.5.96
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 +15 -0
- package/src/SearchList.vue +4 -2
- package/src/centaline/dynamicBtn/src/dynamicBtn.vue +2 -0
- package/src/centaline/dynamicCalendar/src/dynamicCalendar.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +45 -37
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +102 -31
- package/src/centaline/loader/src/ctl/SearchTable.js +6 -0
- package/src/main.js +5 -5
- package/wwwroot/static/centaline/centaline-data-driven.js +137 -47
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -11308,7 +11308,7 @@ var Component = normalizeComponent(
|
|
|
11308
11308
|
"use strict";
|
|
11309
11309
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchList_vue__ = __webpack_require__(299);
|
|
11310
11310
|
/* unused harmony namespace reexport */
|
|
11311
|
-
/* harmony import */ var
|
|
11311
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_75c59fdc_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchList_vue__ = __webpack_require__(614);
|
|
11312
11312
|
function injectStyle (ssrContext) {
|
|
11313
11313
|
__webpack_require__(560)
|
|
11314
11314
|
}
|
|
@@ -11323,12 +11323,12 @@ var __vue_template_functional__ = false
|
|
|
11323
11323
|
/* styles */
|
|
11324
11324
|
var __vue_styles__ = injectStyle
|
|
11325
11325
|
/* scopeId */
|
|
11326
|
-
var __vue_scopeId__ = "data-v-
|
|
11326
|
+
var __vue_scopeId__ = "data-v-75c59fdc"
|
|
11327
11327
|
/* moduleIdentifier (server only) */
|
|
11328
11328
|
var __vue_module_identifier__ = null
|
|
11329
11329
|
var Component = normalizeComponent(
|
|
11330
11330
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchList_vue__["a" /* default */],
|
|
11331
|
-
|
|
11331
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_75c59fdc_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchList_vue__["a" /* default */],
|
|
11332
11332
|
__vue_template_functional__,
|
|
11333
11333
|
__vue_styles__,
|
|
11334
11334
|
__vue_scopeId__,
|
|
@@ -18560,6 +18560,7 @@ exports.f = __webpack_require__(30) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
18560
18560
|
//
|
|
18561
18561
|
//
|
|
18562
18562
|
//
|
|
18563
|
+
//
|
|
18563
18564
|
|
|
18564
18565
|
|
|
18565
18566
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
@@ -18620,6 +18621,7 @@ exports.f = __webpack_require__(30) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
18620
18621
|
data[key] = this.fileData[key];
|
|
18621
18622
|
}
|
|
18622
18623
|
}
|
|
18624
|
+
data.flagHaveAlert = 0;
|
|
18623
18625
|
return data;
|
|
18624
18626
|
},
|
|
18625
18627
|
headers: function headers() {
|
|
@@ -37893,6 +37895,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
37893
37895
|
this.pageDisabled = false;
|
|
37894
37896
|
if (this.flagSideBar && this.$refs.table.model.listData.length > 0) {
|
|
37895
37897
|
if (!this.flagSideBarOfData || index === 1) {
|
|
37898
|
+
this.refreshRowHandle();
|
|
37896
37899
|
this.flagSideBarOfData = true;
|
|
37897
37900
|
this.sideMenuClickHandler(this.sideBarStatus == 'close' ? 'open' : 'close');
|
|
37898
37901
|
}
|
|
@@ -37917,6 +37920,18 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
37917
37920
|
}
|
|
37918
37921
|
},
|
|
37919
37922
|
resizeSearchList: function resizeSearchList() {
|
|
37923
|
+
if (this.$refs.table && this.$refs.table.model && this.$refs.table.model.mainBarWidth) {
|
|
37924
|
+
this.$refs.table.model.sideBarWidth = this.$refs.main.clientWidth - this.$refs.table.model.mainBarWidth;
|
|
37925
|
+
this.sideBarWidth = this.$refs.table.model.sideBarWidth;
|
|
37926
|
+
this.sideBarMenuRight = this.sideBarWidth - 2;
|
|
37927
|
+
|
|
37928
|
+
if (this.sideBarStatus == 'close') {
|
|
37929
|
+
this.sideBarRight = -this.sideBarWidth;
|
|
37930
|
+
this.sideBarWidth = 0;
|
|
37931
|
+
this.sideBarMenuRight = 0;
|
|
37932
|
+
}
|
|
37933
|
+
}
|
|
37934
|
+
|
|
37920
37935
|
if (document.body.clientWidth && document.body.clientWidth >= 1024) {
|
|
37921
37936
|
if (!this.flagSideBar && this.$refs.table) {
|
|
37922
37937
|
this.flagSideBar = this.$refs.table.model.flagSideBar;
|
|
@@ -37982,6 +37997,10 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
37982
37997
|
if (this.$refs.table.model.listData.length > 0) {
|
|
37983
37998
|
this.flagSideBarOfData = true;
|
|
37984
37999
|
|
|
38000
|
+
if (this.$refs.table.model.mainBarWidth) {
|
|
38001
|
+
this.$refs.table.model.sideBarWidth = this.$refs.main.clientWidth - this.$refs.table.model.mainBarWidth;
|
|
38002
|
+
}
|
|
38003
|
+
|
|
37985
38004
|
if (document.body.clientWidth && document.body.clientWidth < 1024) {
|
|
37986
38005
|
this.flagSideBar = false;
|
|
37987
38006
|
}
|
|
@@ -38321,7 +38340,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
38321
38340
|
"use strict";
|
|
38322
38341
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(302);
|
|
38323
38342
|
/* unused harmony namespace reexport */
|
|
38324
|
-
/* harmony import */ var
|
|
38343
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e1dea066_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(606);
|
|
38325
38344
|
function injectStyle (ssrContext) {
|
|
38326
38345
|
__webpack_require__(568)
|
|
38327
38346
|
}
|
|
@@ -38341,7 +38360,7 @@ var __vue_scopeId__ = null
|
|
|
38341
38360
|
var __vue_module_identifier__ = null
|
|
38342
38361
|
var Component = normalizeComponent(
|
|
38343
38362
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
38344
|
-
|
|
38363
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e1dea066_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
38345
38364
|
__vue_template_functional__,
|
|
38346
38365
|
__vue_styles__,
|
|
38347
38366
|
__vue_scopeId__,
|
|
@@ -40232,43 +40251,108 @@ var Component = normalizeComponent(
|
|
|
40232
40251
|
},
|
|
40233
40252
|
importComplete: function importComplete(res, field) {
|
|
40234
40253
|
var self = this;
|
|
40235
|
-
if (
|
|
40236
|
-
if (res.
|
|
40237
|
-
|
|
40238
|
-
|
|
40239
|
-
|
|
40240
|
-
|
|
40241
|
-
|
|
40242
|
-
|
|
40243
|
-
|
|
40244
|
-
|
|
40245
|
-
|
|
40246
|
-
|
|
40247
|
-
|
|
40248
|
-
|
|
40249
|
-
|
|
40250
|
-
|
|
40251
|
-
|
|
40254
|
+
if (res && res.rtnCode && res.rtnCode === 201) {
|
|
40255
|
+
if (res.rtnMsg) {
|
|
40256
|
+
self.$message({
|
|
40257
|
+
message: data.rtnMsg,
|
|
40258
|
+
type: 'warning',
|
|
40259
|
+
showClose: true
|
|
40260
|
+
});
|
|
40261
|
+
}
|
|
40262
|
+
return;
|
|
40263
|
+
} else if (res && res.rtnCode && res.rtnCode === 202 && res.rtnMsg) {
|
|
40264
|
+
self.$common.confirm(res.rtnMsg, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(function () {
|
|
40265
|
+
var file = field.self.$refs.fileUpload.uploadFiles[0].raw;
|
|
40266
|
+
field.self.uploadData.flagHaveAlert = 1;
|
|
40267
|
+
field.self.$refs.fileUpload.clearFiles();
|
|
40268
|
+
self.$nextTick(function () {
|
|
40269
|
+
field.self.$refs.fileUpload.handleStart(file);
|
|
40270
|
+
field.self.$refs.fileUpload.isUpdateSupport = 1;
|
|
40271
|
+
field.self.$refs.fileUpload.submit();
|
|
40272
|
+
field.self.uploadData.flagHaveAlert = 0;
|
|
40273
|
+
return;
|
|
40274
|
+
});
|
|
40275
|
+
}).catch(function () {});
|
|
40276
|
+
} else if (field.flagAsync) {
|
|
40277
|
+
if (res.rtnCode && res.rtnCode === 202 && res.rtnMsg) {
|
|
40278
|
+
self.$common.confirm(res.rtnMsg, '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(function () {
|
|
40279
|
+
submitData.flagHaveAlert = 1;
|
|
40280
|
+
if (res.content && res.content.action) {
|
|
40281
|
+
var dialogOption = {
|
|
40282
|
+
title: field.pageTitle || field.label,
|
|
40283
|
+
content: [{
|
|
40284
|
+
component: 'ct-progress',
|
|
40285
|
+
attrs: {
|
|
40286
|
+
progressAction: res.content.action,
|
|
40287
|
+
progressKey: res.content.key,
|
|
40288
|
+
progressType: 'import',
|
|
40289
|
+
width: '350px',
|
|
40290
|
+
height: '165px'
|
|
40291
|
+
},
|
|
40292
|
+
on: {
|
|
40293
|
+
finished: function finished(data) {
|
|
40294
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
40295
|
+
if (data.rtnMsg) {
|
|
40296
|
+
self.$message({
|
|
40297
|
+
message: data.rtnMsg,
|
|
40298
|
+
type: 'success',
|
|
40299
|
+
showClose: true
|
|
40300
|
+
});
|
|
40301
|
+
}
|
|
40302
|
+
self.getPage(1);
|
|
40303
|
+
},
|
|
40304
|
+
error: function error(data) {
|
|
40305
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
40306
|
+
self.$message({
|
|
40307
|
+
message: data.rtnMsg,
|
|
40308
|
+
type: 'warning',
|
|
40309
|
+
showClose: true
|
|
40310
|
+
});
|
|
40311
|
+
}
|
|
40312
|
+
}
|
|
40313
|
+
}]
|
|
40314
|
+
};
|
|
40315
|
+
self.$common.openDialog(dialogOption);
|
|
40316
|
+
}
|
|
40317
|
+
}).catch(function () {});
|
|
40318
|
+
} else {
|
|
40319
|
+
if (res.content && res.content.action) {
|
|
40320
|
+
var dialogOption = {
|
|
40321
|
+
title: field.pageTitle || field.label,
|
|
40322
|
+
content: [{
|
|
40323
|
+
component: 'ct-progress',
|
|
40324
|
+
attrs: {
|
|
40325
|
+
progressAction: res.content.action,
|
|
40326
|
+
progressKey: res.content.key,
|
|
40327
|
+
progressType: 'import',
|
|
40328
|
+
width: '350px',
|
|
40329
|
+
height: '165px'
|
|
40330
|
+
},
|
|
40331
|
+
on: {
|
|
40332
|
+
finished: function finished(data) {
|
|
40333
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
40334
|
+
if (data.rtnMsg) {
|
|
40335
|
+
self.$message({
|
|
40336
|
+
message: data.rtnMsg,
|
|
40337
|
+
type: 'success',
|
|
40338
|
+
showClose: true
|
|
40339
|
+
});
|
|
40340
|
+
}
|
|
40341
|
+
self.getPage(1);
|
|
40342
|
+
},
|
|
40343
|
+
error: function error(data) {
|
|
40344
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
40252
40345
|
self.$message({
|
|
40253
40346
|
message: data.rtnMsg,
|
|
40254
|
-
type: '
|
|
40347
|
+
type: 'warning',
|
|
40255
40348
|
showClose: true
|
|
40256
40349
|
});
|
|
40257
40350
|
}
|
|
40258
|
-
self.getPage(1);
|
|
40259
|
-
},
|
|
40260
|
-
error: function error(data) {
|
|
40261
|
-
self.$common.closeDialog(dialogOption.dialog);
|
|
40262
|
-
self.$message({
|
|
40263
|
-
message: data.rtnMsg,
|
|
40264
|
-
type: 'warning',
|
|
40265
|
-
showClose: true
|
|
40266
|
-
});
|
|
40267
40351
|
}
|
|
40268
|
-
}
|
|
40269
|
-
}
|
|
40270
|
-
|
|
40271
|
-
|
|
40352
|
+
}]
|
|
40353
|
+
};
|
|
40354
|
+
self.$common.openDialog(dialogOption);
|
|
40355
|
+
}
|
|
40272
40356
|
}
|
|
40273
40357
|
} else {
|
|
40274
40358
|
if (field && field.changeCallBackFunName) {
|
|
@@ -58168,6 +58252,12 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
58168
58252
|
get sideBarWidth() {
|
|
58169
58253
|
return source.content.sideBarWidth || 360;
|
|
58170
58254
|
},
|
|
58255
|
+
set sideBarWidth(v) {
|
|
58256
|
+
source.content.sideBarWidth = v;
|
|
58257
|
+
},
|
|
58258
|
+
get mainBarWidth() {
|
|
58259
|
+
return source.content.mainBarWidth;
|
|
58260
|
+
},
|
|
58171
58261
|
get selectedRowBackColor() {
|
|
58172
58262
|
return source.content.selectedRowBackColor;
|
|
58173
58263
|
}
|
|
@@ -70298,7 +70388,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
70298
70388
|
"use strict";
|
|
70299
70389
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicBtn_vue__ = __webpack_require__(148);
|
|
70300
70390
|
/* unused harmony namespace reexport */
|
|
70301
|
-
/* harmony import */ var
|
|
70391
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_646a28cc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicBtn_vue__ = __webpack_require__(506);
|
|
70302
70392
|
function injectStyle (ssrContext) {
|
|
70303
70393
|
__webpack_require__(499)
|
|
70304
70394
|
}
|
|
@@ -70318,7 +70408,7 @@ var __vue_scopeId__ = null
|
|
|
70318
70408
|
var __vue_module_identifier__ = null
|
|
70319
70409
|
var Component = normalizeComponent(
|
|
70320
70410
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicBtn_vue__["a" /* default */],
|
|
70321
|
-
|
|
70411
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_646a28cc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicBtn_vue__["a" /* default */],
|
|
70322
70412
|
__vue_template_functional__,
|
|
70323
70413
|
__vue_styles__,
|
|
70324
70414
|
__vue_scopeId__,
|
|
@@ -70339,7 +70429,7 @@ var content = __webpack_require__(500);
|
|
|
70339
70429
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
70340
70430
|
if(content.locals) module.exports = content.locals;
|
|
70341
70431
|
// add the styles to the DOM
|
|
70342
|
-
var update = __webpack_require__(3)("
|
|
70432
|
+
var update = __webpack_require__(3)("77a96f17", content, true, {});
|
|
70343
70433
|
|
|
70344
70434
|
/***/ }),
|
|
70345
70435
|
/* 500 */
|
|
@@ -70445,7 +70535,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
70445
70535
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70446
70536
|
|
|
70447
70537
|
"use strict";
|
|
70448
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.model.isDropdown)?_c('el-dropdown',_vm._b({attrs:{"trigger":"click","placement":"bottom","disabled":_vm.model.disabled || _vm.model.locked},on:{"command":_vm.commandClick},nativeOn:{"click":function($event){return _vm.dropClick($event)}}},'el-dropdown',_vm.model.attrs,false),[_c('el-button',{attrs:{"type":"primary"}},[_vm._v("\n "+_vm._s(_vm.model.label)),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_vm._v(" "),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.model.elementOptions),function(item){return _c('el-dropdown-item',{key:item.code,attrs:{"command":item.code}},[_vm._v(_vm._s(item.name))])}))],1):(_vm.model.isImport)?_c('el-upload',_vm._b({attrs:{"action":_vm.model.action,"size":"mini","data":_vm.uploadData,"headers":_vm.headers,"multiple":false,"show-file-list":false,"on-success":_vm.handleAvatarSuccess,"on-error":_vm.handleAvatarError}},'el-upload',_vm.model.attrs,false),[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(_vm._s(_vm.model.label))])],1):(_vm.model.subText)?_c('el-button',_vm._b({staticStyle:{"height":"100%","padding":"5px 0"},style:({color:_vm.model.textColor,backgroundColor:_vm.model.bgColor,borderColor:_vm.model.borderColor}),attrs:{"type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked},on:{"click":function($event){_vm.$emit('click',_vm.model)}}},'el-button',_vm.model.attrs,false),[_c('div',[_vm._v(_vm._s(_vm.model.label))]),_vm._v(" "),_c('div',{staticClass:"subText"},[_vm._v(_vm._s(_vm.model.subText))])]):(_vm.model.isCallTel)?_c('el-button',_vm._b({staticClass:"max",style:({color:_vm.model.textColor,backgroundColor:_vm.model.imgUrl?'transparent':_vm.model.bgColor,borderColor:_vm.model.imgUrl?'transparent':_vm.model.borderColor,padding:_vm.model.imgUrl?'0px':null}),attrs:{"type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked},on:{"click":_vm.clickHandle}},'el-button',_vm.model.attrs,false),[_c('el-popover',{staticClass:"Stats-popover",attrs:{"popper-class":_vm.visible ? 'isBlock':'isNone',"placement":_vm.option.placement?_vm.option.placement:'left',"trigger":_vm.option.trigger?_vm.option.trigger:''},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('div',{staticStyle:{"border-bottom":"none"}},[_c('div',{staticStyle:{"color":"#388cd3","text-align":"center"}},[_vm._v(_vm._s(_vm.message))]),_vm._v(" "),_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.qrCode),expression:"qrCode"}],staticStyle:{"margin-top":"5px"},style:({'width':_vm.width+'px','height':_vm.height+'px'}),attrs:{"src":_vm.qrCode}})]),_vm._v(" "),(_vm.model.imgUrl)?_c('img',{attrs:{"slot":"reference","title":_vm.model.label,"src":_vm.tellImgUrl?_vm.tellImgUrl:_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'},slot:"reference"}):_c('span',{attrs:{"slot":"reference"},slot:"reference"},[_vm._v(_vm._s(_vm.model.label))])])],1):(_vm.model.isCheckbox)?_c('el-checkbox',{on:{"change":_vm.clickHandle},model:{value:(_vm.model.code1),callback:function ($$v) {_vm.$set(_vm.model, "code1", $$v)},expression:"model.code1"}},[_vm._v("\n "+_vm._s(_vm.model.label)+"\n")]):(_vm.model.isSearchRouterKey&&_vm.fieldSearchWhere)?_c('el-dropdown',_vm._b({ref:"searchwhere",staticClass:"max max-search-btn-dropdown",style:({color:_vm.model.textColor,backgroundColor:_vm.model.imgUrl?'transparent':_vm.model.bgColor,borderColor:_vm.model.imgUrl?'transparent':_vm.model.borderColor,padding:_vm.model.imgUrl?'0px':null}),attrs:{"trigger":"click","hide-on-click":false,"split-button":"","type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked,"placement":"bottom-start"},on:{"visible-change":_vm.clickHandleDropdown,"click":_vm.clickHandle}},'el-dropdown',_vm.model.attrs,false),[(_vm.flagAppMode)?_c('div',{attrs:{"title":_vm.model.label}},[_c('img',{attrs:{"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}),_vm._v(" "),_c('div',{staticClass:"labelText",staticStyle:{"margin-top":"5px"}},[_vm._v(_vm._s(_vm.model.label))])]):_c('div',[(_vm.model.imgUrl)?_c('img',{attrs:{"title":_vm.model.label,"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}):_c('span',[_vm._v(_vm._s(_vm.model.label))])]),_vm._v(" "),_c('el-dropdown-menu',[_c('el-dropdown-item',[_c('div',{staticStyle:{"width":"100%","float":"left","margin":"10px 0"}},[_vm._l((_vm.SearchWhereButtons),function(field,index){return _c('el-button',{key:index,staticStyle:{"float":"left"},attrs:{"type":field.isHyperLink ? 'text' : 'primary',"disabled":field.locked},on:{"click":function($event){_vm.SaveSearchWhere(field)}}},[_vm._v(_vm._s(field.label))])}),_vm._v(" "),_c('span',{staticStyle:{"margin-left":"10px","margin-top":"3px","float":"left"},attrs:{"title":"维维护已保存的查询条件,如:设置和取消默认、修改标签、删除等。"},on:{"click":_vm.SearchWhereManage}},[_c('i',{staticClass:"el-icon-s-tools",staticStyle:{"font-size":"18px"}})])],2)]),_vm._v(" "),_vm._l((_vm.SearchWhereList),function(col,index){return _c('el-dropdown-item',{key:index},[_c('span',{staticStyle:{"width":"100%","float":"left"},on:{"click":function($event){_vm.clickDropdownItem(col)}}},[_vm._v(_vm._s(col.labelName))])])})],2)],1):_c('el-button',_vm._b({staticClass:"max",style:({color:_vm.model.textColor,backgroundColor:_vm.model.imgUrl?'transparent':_vm.model.bgColor,borderColor:_vm.model.imgUrl?'transparent':_vm.model.borderColor,padding:_vm.model.imgUrl?'0px':null}),attrs:{"type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked},on:{"click":_vm.clickHandle}},'el-button',_vm.model.attrs,false),[(_vm.flagAppMode)?_c('div',{attrs:{"title":_vm.model.label}},[_c('img',{attrs:{"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}),_vm._v(" "),_c('div',{staticClass:"labelText",staticStyle:{"margin-top":"5px"},domProps:{"innerHTML":_vm._s(_vm.model.label)}})]):_c('div',[(_vm.model.imgUrl)?_c('img',{attrs:{"title":_vm.model.label,"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}):_c('span',{domProps:{"innerHTML":_vm._s(_vm.model.label)}})])])}
|
|
70538
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.model.isDropdown)?_c('el-dropdown',_vm._b({attrs:{"trigger":"click","placement":"bottom","disabled":_vm.model.disabled || _vm.model.locked},on:{"command":_vm.commandClick},nativeOn:{"click":function($event){return _vm.dropClick($event)}}},'el-dropdown',_vm.model.attrs,false),[_c('el-button',{attrs:{"type":"primary"}},[_vm._v("\n "+_vm._s(_vm.model.label)),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_vm._v(" "),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.model.elementOptions),function(item){return _c('el-dropdown-item',{key:item.code,attrs:{"command":item.code}},[_vm._v(_vm._s(item.name))])}))],1):(_vm.model.isImport)?_c('el-upload',_vm._b({ref:"fileUpload",attrs:{"action":_vm.model.action,"size":"mini","data":_vm.uploadData,"headers":_vm.headers,"multiple":false,"show-file-list":false,"on-success":_vm.handleAvatarSuccess,"on-error":_vm.handleAvatarError}},'el-upload',_vm.model.attrs,false),[_c('el-button',{attrs:{"size":"mini","type":"primary"}},[_vm._v(_vm._s(_vm.model.label))])],1):(_vm.model.subText)?_c('el-button',_vm._b({staticStyle:{"height":"100%","padding":"5px 0"},style:({color:_vm.model.textColor,backgroundColor:_vm.model.bgColor,borderColor:_vm.model.borderColor}),attrs:{"type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked},on:{"click":function($event){_vm.$emit('click',_vm.model)}}},'el-button',_vm.model.attrs,false),[_c('div',[_vm._v(_vm._s(_vm.model.label))]),_vm._v(" "),_c('div',{staticClass:"subText"},[_vm._v(_vm._s(_vm.model.subText))])]):(_vm.model.isCallTel)?_c('el-button',_vm._b({staticClass:"max",style:({color:_vm.model.textColor,backgroundColor:_vm.model.imgUrl?'transparent':_vm.model.bgColor,borderColor:_vm.model.imgUrl?'transparent':_vm.model.borderColor,padding:_vm.model.imgUrl?'0px':null}),attrs:{"type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked},on:{"click":_vm.clickHandle}},'el-button',_vm.model.attrs,false),[_c('el-popover',{staticClass:"Stats-popover",attrs:{"popper-class":_vm.visible ? 'isBlock':'isNone',"placement":_vm.option.placement?_vm.option.placement:'left',"trigger":_vm.option.trigger?_vm.option.trigger:''},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('div',{staticStyle:{"border-bottom":"none"}},[_c('div',{staticStyle:{"color":"#388cd3","text-align":"center"}},[_vm._v(_vm._s(_vm.message))]),_vm._v(" "),_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.qrCode),expression:"qrCode"}],staticStyle:{"margin-top":"5px"},style:({'width':_vm.width+'px','height':_vm.height+'px'}),attrs:{"src":_vm.qrCode}})]),_vm._v(" "),(_vm.model.imgUrl)?_c('img',{attrs:{"slot":"reference","title":_vm.model.label,"src":_vm.tellImgUrl?_vm.tellImgUrl:_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'},slot:"reference"}):_c('span',{attrs:{"slot":"reference"},slot:"reference"},[_vm._v(_vm._s(_vm.model.label))])])],1):(_vm.model.isCheckbox)?_c('el-checkbox',{on:{"change":_vm.clickHandle},model:{value:(_vm.model.code1),callback:function ($$v) {_vm.$set(_vm.model, "code1", $$v)},expression:"model.code1"}},[_vm._v("\n "+_vm._s(_vm.model.label)+"\n")]):(_vm.model.isSearchRouterKey&&_vm.fieldSearchWhere)?_c('el-dropdown',_vm._b({ref:"searchwhere",staticClass:"max max-search-btn-dropdown",style:({color:_vm.model.textColor,backgroundColor:_vm.model.imgUrl?'transparent':_vm.model.bgColor,borderColor:_vm.model.imgUrl?'transparent':_vm.model.borderColor,padding:_vm.model.imgUrl?'0px':null}),attrs:{"trigger":"click","hide-on-click":false,"split-button":"","type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked,"placement":"bottom-start"},on:{"visible-change":_vm.clickHandleDropdown,"click":_vm.clickHandle}},'el-dropdown',_vm.model.attrs,false),[(_vm.flagAppMode)?_c('div',{attrs:{"title":_vm.model.label}},[_c('img',{attrs:{"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}),_vm._v(" "),_c('div',{staticClass:"labelText",staticStyle:{"margin-top":"5px"}},[_vm._v(_vm._s(_vm.model.label))])]):_c('div',[(_vm.model.imgUrl)?_c('img',{attrs:{"title":_vm.model.label,"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}):_c('span',[_vm._v(_vm._s(_vm.model.label))])]),_vm._v(" "),_c('el-dropdown-menu',[_c('el-dropdown-item',[_c('div',{staticStyle:{"width":"100%","float":"left","margin":"10px 0"}},[_vm._l((_vm.SearchWhereButtons),function(field,index){return _c('el-button',{key:index,staticStyle:{"float":"left"},attrs:{"type":field.isHyperLink ? 'text' : 'primary',"disabled":field.locked},on:{"click":function($event){_vm.SaveSearchWhere(field)}}},[_vm._v(_vm._s(field.label))])}),_vm._v(" "),_c('span',{staticStyle:{"margin-left":"10px","margin-top":"3px","float":"left"},attrs:{"title":"维维护已保存的查询条件,如:设置和取消默认、修改标签、删除等。"},on:{"click":_vm.SearchWhereManage}},[_c('i',{staticClass:"el-icon-s-tools",staticStyle:{"font-size":"18px"}})])],2)]),_vm._v(" "),_vm._l((_vm.SearchWhereList),function(col,index){return _c('el-dropdown-item',{key:index},[_c('span',{staticStyle:{"width":"100%","float":"left"},on:{"click":function($event){_vm.clickDropdownItem(col)}}},[_vm._v(_vm._s(col.labelName))])])})],2)],1):_c('el-button',_vm._b({staticClass:"max",style:({color:_vm.model.textColor,backgroundColor:_vm.model.imgUrl?'transparent':_vm.model.bgColor,borderColor:_vm.model.imgUrl?'transparent':_vm.model.borderColor,padding:_vm.model.imgUrl?'0px':null}),attrs:{"type":_vm.model.isHyperLink ? 'text' : 'primary',"icon":_vm.model.icon,"disabled":_vm.model.disabled || _vm.model.locked},on:{"click":_vm.clickHandle}},'el-button',_vm.model.attrs,false),[(_vm.flagAppMode)?_c('div',{attrs:{"title":_vm.model.label}},[_c('img',{attrs:{"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}),_vm._v(" "),_c('div',{staticClass:"labelText",staticStyle:{"margin-top":"5px"},domProps:{"innerHTML":_vm._s(_vm.model.label)}})]):_c('div',[(_vm.model.imgUrl)?_c('img',{attrs:{"title":_vm.model.label,"src":_vm.model.imgUrl,"height":_vm.model.buttonHeight+'px'}}):_c('span',{domProps:{"innerHTML":_vm._s(_vm.model.label)}})])])}
|
|
70449
70539
|
var staticRenderFns = []
|
|
70450
70540
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
70451
70541
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
@@ -70476,7 +70566,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
70476
70566
|
"use strict";
|
|
70477
70567
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCalendar_vue__ = __webpack_require__(150);
|
|
70478
70568
|
/* unused harmony namespace reexport */
|
|
70479
|
-
/* harmony import */ var
|
|
70569
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9ee2cf18_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCalendar_vue__ = __webpack_require__(516);
|
|
70480
70570
|
function injectStyle (ssrContext) {
|
|
70481
70571
|
__webpack_require__(509)
|
|
70482
70572
|
}
|
|
@@ -70496,7 +70586,7 @@ var __vue_scopeId__ = null
|
|
|
70496
70586
|
var __vue_module_identifier__ = null
|
|
70497
70587
|
var Component = normalizeComponent(
|
|
70498
70588
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicCalendar_vue__["a" /* default */],
|
|
70499
|
-
|
|
70589
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_9ee2cf18_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicCalendar_vue__["a" /* default */],
|
|
70500
70590
|
__vue_template_functional__,
|
|
70501
70591
|
__vue_styles__,
|
|
70502
70592
|
__vue_scopeId__,
|
|
@@ -70517,7 +70607,7 @@ var content = __webpack_require__(510);
|
|
|
70517
70607
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
70518
70608
|
if(content.locals) module.exports = content.locals;
|
|
70519
70609
|
// add the styles to the DOM
|
|
70520
|
-
var update = __webpack_require__(3)("
|
|
70610
|
+
var update = __webpack_require__(3)("8c5db542", content, true, {});
|
|
70521
70611
|
|
|
70522
70612
|
/***/ }),
|
|
70523
70613
|
/* 510 */
|
|
@@ -70899,7 +70989,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
70899
70989
|
value.isCurrentMonth ? '' : 'item-disabled',
|
|
70900
70990
|
value.isSelected && !value.isToday ? 'canlendar_selected' : '',
|
|
70901
70991
|
value.isToday ? 'canlendar_today' : '',
|
|
70902
|
-
'item canlendar_item flex flex-column flex-center' ],attrs:{"id":"fieldName"},on:{"contextmenu":function($event){$event.preventDefault();$event.stopPropagation();_vm.openRightClick($event, value)}}},_vm._l((_vm.getDayData(value.day)),function(item,index){return (_vm.model.columns)?_c('section',{key:index},_vm._l((_vm.model.columns),function(col,index){return _c('div',{key:index},[(col.fieldName != 'operation')?_c('div',[(col.fieldName == 'date')?_c('span',{staticClass:"date-text"},[_vm._v("\n "+_vm._s(_vm.extractedDate(item[col.fieldName]))+"\n ")]):_c('span',{domProps:{"innerHTML":_vm._s(item[col.fieldName])}})]):_vm._e()])})):_vm._e()}))})],2)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.menuVisible && _vm.actionRouter),expression:"menuVisible && actionRouter"}],staticClass:"box-menu",style:({ left: _vm.menu_left + 'px', top: _vm.menu_top + 'px' }),attrs:{"id":"boxMenu"}},_vm._l((_vm.actionRouter),function(item,index){return _c('div',{key:index,staticClass:"opertion",on:{"click":function($event){_vm.routerClickHandler(item)}}},[(_vm.currentData[item.rightField] == 1)?_c('div',[_c('div',{staticClass:"memuItem"},[_vm._v(_vm._s(item.label))])]):_vm._e()])}))],1)}
|
|
70992
|
+
'item canlendar_item flex flex-column flex-center' ],attrs:{"id":"fieldName"},on:{"contextmenu":function($event){$event.preventDefault();$event.stopPropagation();_vm.openRightClick($event, value)}}},_vm._l((_vm.getDayData(value.day)),function(item,index){return (value.isCurrentMonth&&_vm.model.columns)?_c('section',{key:index},_vm._l((_vm.model.columns),function(col,index){return _c('div',{key:index},[(col.fieldName != 'operation')?_c('div',[(col.fieldName == 'date')?_c('span',{staticClass:"date-text"},[_vm._v("\n "+_vm._s(_vm.extractedDate(item[col.fieldName]))+"\n ")]):_c('span',{domProps:{"innerHTML":_vm._s(item[col.fieldName])}})]):_vm._e()])})):_vm._e()}))})],2)]),_vm._v(" "),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.menuVisible && _vm.actionRouter),expression:"menuVisible && actionRouter"}],staticClass:"box-menu",style:({ left: _vm.menu_left + 'px', top: _vm.menu_top + 'px' }),attrs:{"id":"boxMenu"}},_vm._l((_vm.actionRouter),function(item,index){return _c('div',{key:index,staticClass:"opertion",on:{"click":function($event){_vm.routerClickHandler(item)}}},[(_vm.currentData[item.rightField] == 1)?_c('div',[_c('div',{staticClass:"memuItem"},[_vm._v(_vm._s(item.label))])]):_vm._e()])}))],1)}
|
|
70903
70993
|
var staticRenderFns = []
|
|
70904
70994
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
70905
70995
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
@@ -71669,7 +71759,7 @@ var content = __webpack_require__(561);
|
|
|
71669
71759
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
71670
71760
|
if(content.locals) module.exports = content.locals;
|
|
71671
71761
|
// add the styles to the DOM
|
|
71672
|
-
var update = __webpack_require__(3)("
|
|
71762
|
+
var update = __webpack_require__(3)("48d0517e", content, true, {});
|
|
71673
71763
|
|
|
71674
71764
|
/***/ }),
|
|
71675
71765
|
/* 561 */
|
|
@@ -71680,7 +71770,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
71680
71770
|
|
|
71681
71771
|
|
|
71682
71772
|
// module
|
|
71683
|
-
exports.push([module.i, ".sidebar[data-v-
|
|
71773
|
+
exports.push([module.i, ".sidebar[data-v-75c59fdc]{z-index:1000;top:-1px;bottom:-1px;padding:0;width:auto;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.18);box-shadow:0 6px 12px rgba(0,0,0,.18)}", ""]);
|
|
71684
71774
|
|
|
71685
71775
|
// exports
|
|
71686
71776
|
|
|
@@ -72544,7 +72634,7 @@ var content = __webpack_require__(569);
|
|
|
72544
72634
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
72545
72635
|
if(content.locals) module.exports = content.locals;
|
|
72546
72636
|
// add the styles to the DOM
|
|
72547
|
-
var update = __webpack_require__(3)("
|
|
72637
|
+
var update = __webpack_require__(3)("f10da8f4", content, true, {});
|
|
72548
72638
|
|
|
72549
72639
|
/***/ }),
|
|
72550
72640
|
/* 569 */
|