ytg7vue 1.17.1 → 1.17.2
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/README.md +3 -1
- package/lib/idev.common.js +1 -1
- package/lib/index.js +30 -22
- package/lib/js/HdComGrid.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -29347,7 +29347,9 @@ var FileSaver = __webpack_require__(61);
|
|
29347
29347
|
format: '',
|
29348
29348
|
valueFormat: '',
|
29349
29349
|
placeholder: this.$t('选择日期'),
|
29350
|
-
|
29350
|
+
dateFormat: '',
|
29351
|
+
isNoValue: true
|
29352
|
+
|
29351
29353
|
};
|
29352
29354
|
},
|
29353
29355
|
|
@@ -29370,24 +29372,33 @@ var FileSaver = __webpack_require__(61);
|
|
29370
29372
|
this.format = 'yyyy';
|
29371
29373
|
this.valueFormat = 'yyyy';
|
29372
29374
|
this.placeholder = this.$t('选择年份');
|
29375
|
+
} else {
|
29376
|
+
this.format = 'yyyy-MM-dd';
|
29377
|
+
this.valueFormat = 'yyyy-MM-dd';
|
29378
|
+
this.placeholder = this.$t('选择日期');
|
29373
29379
|
}
|
29380
|
+
console.log('created', this.format, this.valueFormat);
|
29381
|
+
this.dateFormat = this.$attrs.format || this.format;
|
29374
29382
|
},
|
29375
29383
|
|
29376
|
-
methods: {
|
29384
|
+
methods: {
|
29385
|
+
dateFocus: function dateFocus() {
|
29386
|
+
console.log('focus', this.value);
|
29387
|
+
|
29388
|
+
this.dateFormat = (this.$attrs.format || this.format).replaceAll(/(-|:|\s|y|M)/, "");
|
29389
|
+
},
|
29390
|
+
dateBlur: function dateBlur() {
|
29391
|
+
console.log('blur', this.value);
|
29392
|
+
this.dateFormat = this.$attrs.format || this.format;
|
29393
|
+
}
|
29394
|
+
},
|
29377
29395
|
computed: {
|
29378
29396
|
selVal: {
|
29379
29397
|
get: function get() {
|
29380
29398
|
return this.value;
|
29381
29399
|
},
|
29382
29400
|
set: function set(val) {
|
29383
|
-
|
29384
|
-
}
|
29385
|
-
},
|
29386
|
-
dateFormat: function dateFormat() {
|
29387
|
-
if (this.isFocus) {
|
29388
|
-
return (this.$attrs.format || this.format).replaceAll(/(-|:|\s)/, "");
|
29389
|
-
} else {
|
29390
|
-
return this.$attrs.format || this.format;
|
29401
|
+
alert(val);
|
29391
29402
|
}
|
29392
29403
|
}
|
29393
29404
|
}
|
@@ -29493,9 +29504,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
29493
29504
|
Vue.component('HdFormBtn', __WEBPACK_IMPORTED_MODULE_12__HdFormBtn__["a" /* default */]);
|
29494
29505
|
Vue.component('HdMessage', __WEBPACK_IMPORTED_MODULE_13__HdMessage__["a" /* default */]);
|
29495
29506
|
Vue.component('HdFileUpload', __WEBPACK_IMPORTED_MODULE_14__HdFileUpload__["a" /* default */]);
|
29496
|
-
Vue.component('HdDatePicker', __WEBPACK_IMPORTED_MODULE_15__HdDatePicker__["a" /* default */]);
|
29497
|
-
Vue.component('ElDatePicker', __WEBPACK_IMPORTED_MODULE_15__HdDatePicker__["a" /* default */]);
|
29498
|
-
Vue.component('elDatePicker', __WEBPACK_IMPORTED_MODULE_15__HdDatePicker__["a" /* default */]);
|
29499
29507
|
}
|
29500
29508
|
});
|
29501
29509
|
|
@@ -42766,7 +42774,7 @@ $export($export.S, 'Promise', { 'try': function (callbackfn) {
|
|
42766
42774
|
"use strict";
|
42767
42775
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_script_index_0_HdComQuery_vue__ = __webpack_require__(75);
|
42768
42776
|
/* unused harmony namespace reexport */
|
42769
|
-
/* harmony import */ var
|
42777
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_template_compiler_index_id_data_v_d247f1e4_hasScoped_false_buble_transforms_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_template_index_0_HdComQuery_vue__ = __webpack_require__(195);
|
42770
42778
|
var normalizeComponent = __webpack_require__(0)
|
42771
42779
|
/* script */
|
42772
42780
|
|
@@ -42783,7 +42791,7 @@ var __vue_scopeId__ = null
|
|
42783
42791
|
var __vue_module_identifier__ = null
|
42784
42792
|
var Component = normalizeComponent(
|
42785
42793
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_script_index_0_HdComQuery_vue__["a" /* default */],
|
42786
|
-
|
42794
|
+
__WEBPACK_IMPORTED_MODULE_1__D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_template_compiler_index_id_data_v_d247f1e4_hasScoped_false_buble_transforms_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_template_index_0_HdComQuery_vue__["a" /* default */],
|
42787
42795
|
__vue_template_functional__,
|
42788
42796
|
__vue_styles__,
|
42789
42797
|
__vue_scopeId__,
|
@@ -42946,7 +42954,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
42946
42954
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
42947
42955
|
|
42948
42956
|
"use strict";
|
42949
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"高级查询","visible":_vm.visible,"width":"80%","append-to-body":"","top":"2vh"},on:{"update:visible":function($event){_vm.visible=$event}}},[_c('div',{staticClass:"filter-container",staticStyle:{"padding":"0"}},[_c('el-select',{attrs:{"filterable":"","default-first-option":"","placeholder":"请选择方案"},on:{"change":_vm.change},model:{value:(_vm.selQueryId),callback:function ($$v) {_vm.selQueryId=$$v},expression:"selQueryId"}},_vm._l((_vm.proLs),function(item){return _c('el-option',{key:item.queryId,attrs:{"label":item.name,"value":item.queryId}})})),_vm._v(" "),_c('el-button',{staticClass:"filter-item",attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":_vm.remove}},[_vm._v(_vm._s(_vm.$t('删除方案'))+"\n ")]),_vm._v(" "),_c('el-button',{staticClass:"filter-item",attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":function($event){_vm.proSaveVisible=true}}},[_vm._v(_vm._s(_vm.$t('方案保存'))+"\n ")]),_vm._v(" "),_c('el-button',{staticClass:"filter-item",attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":_vm.add}},[_vm._v(_vm._s(_vm.$t('新增条件'))+"\n ")])],1),_vm._v(" "),_c('div',{staticStyle:{"height":"360px"}},[_c('el-row',[_c('el-col',{attrs:{"span":11}},[_c('div',{staticStyle:{"padding-top":"0px","height":"250px"}},[_c('HdComQueryDetail',{ref:"LQuery",attrs:{"allColumn":_vm.allColumn,"list":_vm.leftLs,"title":"组一"}})],1)]),_vm._v(" "),_c('el-col',{attrs:{"span":2}},[_c('div',{staticStyle:{"width":"100%","position":"relative","top":"50px","text-align":"center"}},[_vm._v(_vm._s(_vm.$t('或者')))])]),_vm._v(" "),_c('el-col',{attrs:{"span":11}},[_c('div',{staticStyle:{"padding-top":"0px","height":"250px"}},[_c('HdComQueryDetail',{ref:"RQuery",attrs:{"allColumn":_vm.allColumn,"list":_vm.rightLs,"title":"组二"}})],1)])],1)
|
42957
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"高级查询","visible":_vm.visible,"width":"80%","append-to-body":"","top":"2vh"},on:{"update:visible":function($event){_vm.visible=$event}}},[_c('div',{staticClass:"filter-container",staticStyle:{"padding":"0"}},[_c('el-select',{attrs:{"filterable":"","default-first-option":"","placeholder":"请选择方案"},on:{"change":_vm.change},model:{value:(_vm.selQueryId),callback:function ($$v) {_vm.selQueryId=$$v},expression:"selQueryId"}},_vm._l((_vm.proLs),function(item){return _c('el-option',{key:item.queryId,attrs:{"label":item.name,"value":item.queryId}})})),_vm._v(" "),_c('el-button',{staticClass:"filter-item",attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":_vm.remove}},[_vm._v(_vm._s(_vm.$t('删除方案'))+"\n ")]),_vm._v(" "),_c('el-button',{staticClass:"filter-item",attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":function($event){_vm.proSaveVisible=true}}},[_vm._v(_vm._s(_vm.$t('方案保存'))+"\n ")]),_vm._v(" "),_c('el-button',{staticClass:"filter-item",attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":_vm.add}},[_vm._v(_vm._s(_vm.$t('新增条件'))+"\n ")])],1),_vm._v(" "),_c('div',{staticStyle:{"height":"360px"}},[_c('el-row',[_c('el-col',{attrs:{"span":11}},[_c('div',{staticStyle:{"padding-top":"0px","height":"250px"}},[_c('HdComQueryDetail',{ref:"LQuery",attrs:{"allColumn":_vm.allColumn,"list":_vm.leftLs,"title":"组一"}})],1)]),_vm._v(" "),_c('el-col',{attrs:{"span":2}},[_c('div',{staticStyle:{"width":"100%","position":"relative","top":"50px","text-align":"center"}},[_vm._v(_vm._s(_vm.$t('或者')))])]),_vm._v(" "),_c('el-col',{attrs:{"span":11}},[_c('div',{staticStyle:{"padding-top":"0px","height":"250px"}},[_c('HdComQueryDetail',{ref:"RQuery",attrs:{"allColumn":_vm.allColumn,"list":_vm.rightLs,"title":"组二"}})],1)])],1)],1),_vm._v(" "),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":function($event){_vm.doCloseAndKeep()}}},[_vm._v(_vm._s(_vm.$t('关闭') + '(' + _vm.$t('保留条件')))]),_vm._v(" "),_c('el-button',{on:{"click":_vm.doCloseAndClear}},[_vm._v(_vm._s(_vm.$t('关闭')))]),_vm._v(" "),_c('el-button',{attrs:{"type":"primary","hotKeyRange":_vm.$options.name},on:{"click":_vm.doQueryRs}},[_vm._v(_vm._s(_vm.$t('查询')))])],1),_vm._v(" "),_c('el-dialog',{attrs:{"title":"方案保存","visible":_vm.proSaveVisible,"width":"30%","append-to-body":"","top":"2vh"},on:{"update:visible":function($event){_vm.proSaveVisible=$event}}},[_c('el-row',[_c('el-col',{attrs:{"span":20}},[_c('el-input',{model:{value:(_vm.proName),callback:function ($$v) {_vm.proName=$$v},expression:"proName"}})],1),_vm._v(" "),_c('el-col',{attrs:{"span":4}},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.doSave}},[_vm._v(_vm._s(_vm.$t('保存')))])],1)],1)],1)],1)}
|
42950
42958
|
var staticRenderFns = []
|
42951
42959
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
42952
42960
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
@@ -46842,8 +46850,8 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
46842
46850
|
|
46843
46851
|
"use strict";
|
46844
46852
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_script_index_0_HdDatePicker_vue__ = __webpack_require__(96);
|
46845
|
-
/* unused harmony namespace
|
46846
|
-
/* harmony import */ var
|
46853
|
+
/* unused harmony reexport namespace */
|
46854
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_template_compiler_index_id_data_v_dc544fa6_hasScoped_false_buble_transforms_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_template_index_0_HdDatePicker_vue__ = __webpack_require__(270);
|
46847
46855
|
var normalizeComponent = __webpack_require__(0)
|
46848
46856
|
/* script */
|
46849
46857
|
|
@@ -46860,14 +46868,14 @@ var __vue_scopeId__ = null
|
|
46860
46868
|
var __vue_module_identifier__ = null
|
46861
46869
|
var Component = normalizeComponent(
|
46862
46870
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_script_index_0_HdDatePicker_vue__["a" /* default */],
|
46863
|
-
|
46871
|
+
__WEBPACK_IMPORTED_MODULE_1__D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_template_compiler_index_id_data_v_dc544fa6_hasScoped_false_buble_transforms_D_x_svn_HD_YTG_GCTOS_7_0_trunk_04_SRC_HD_YTG_GCTOS_WEB_PLUGIN_node_modules_vue_loader_13_7_3_vue_loader_lib_selector_type_template_index_0_HdDatePicker_vue__["a" /* default */],
|
46864
46872
|
__vue_template_functional__,
|
46865
46873
|
__vue_styles__,
|
46866
46874
|
__vue_scopeId__,
|
46867
46875
|
__vue_module_identifier__
|
46868
46876
|
)
|
46869
46877
|
|
46870
|
-
/* harmony default export */
|
46878
|
+
/* unused harmony default export */ var _unused_webpack_default_export = (Component.exports);
|
46871
46879
|
|
46872
46880
|
|
46873
46881
|
/***/ }),
|
@@ -46875,7 +46883,7 @@ var Component = normalizeComponent(
|
|
46875
46883
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
46876
46884
|
|
46877
46885
|
"use strict";
|
46878
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ExDatePicker',_vm._g(_vm._b({
|
46886
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ExDatePicker',_vm._g(_vm._b({attrs:{"format":_vm.dateFormat,"valueFormat":_vm.$attrs.valueFormat || _vm.valueFormat,"placeholder":_vm.placeholder},on:{"focus":_vm.dateFocus,"blur":_vm.dateBlur},model:{value:(_vm.selVal),callback:function ($$v) {_vm.selVal=$$v},expression:"selVal"}},'ExDatePicker',_vm.$attrs,false),_vm.$listeners))}
|
46879
46887
|
var staticRenderFns = []
|
46880
46888
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
46881
46889
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
@@ -46987,7 +46995,7 @@ function date() {
|
|
46987
46995
|
/* 272 */
|
46988
46996
|
/***/ (function(module, exports) {
|
46989
46997
|
|
46990
|
-
module.exports = {"name":"ytg7vue","version":"1.17.
|
46998
|
+
module.exports = {"name":"ytg7vue","version":"1.17.2","description":"烟台港插件","author":"liangjinghao","license":"commerical","private":false,"main":"lib/idev.common.js","scripts":{"dev":"node --max_old_space_size=8000 build/dev-server.js","clean":"rimraf lib","build:component":"npm run clean && webpack --config build/webpack.component.js","build:prod":"cross-env NODE_ENV=production env_config=prod node build/build.js","build:utils":"cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js","build:sit":"cross-env NODE_ENV=production env_config=sit node build/build.js","build:sit-preview":"cross-env NODE_ENV=production env_config=sit npm_config_preview=true npm_config_report=true node build/build.js","lint":"eslint --fix --ext .js,.vue src","jsdoc":"jsdoc -c ./conf.js -r"},"dependencies":{"async-validator":"^1.10.1","axios":"^0.17.1","echarts":"3.8.5","element-resize-detector":"^1.2.3","file-saver":"1.3.3","js-cookie":"2.2.0","jsonlint":"1.6.2","jspdf":"^1.5.3","jspdf-autotable":"^3.0.2","jszip":"3.1.4","minami":"^1.2.3","normalize.css":"7.0.0","nprogress":"0.2.0","screenfull":"5.0.2","showdown":"1.8.2","simplemde":"1.11.2","sortablejs":"1.6.1","vue":"2.5.9","vue-draggable-resizable":"^1.7.5","vue-resource":"^1.3.4","vue-router":"3.0.1","vue-shortkey":"^3.1.0","vue-splitpane":"1.0.0","vuedraggable":"2.15.0","vuex":"3.0.1","xlsx":"^0.11.7"},"devDependencies":{"autoprefixer":"7.1.6","babel-core":"6.26.0","babel-eslint":"8.0.2","babel-helper-vue-jsx-merge-props":"^2.0.3","babel-loader":"7.1.2","babel-plugin-syntax-jsx":"^6.18.0","babel-plugin-transform-runtime":"6.23.0","babel-plugin-transform-vue-jsx":"^3.7.0","babel-preset-env":"^1.6.1","babel-preset-stage-2":"6.24.1","babel-register":"6.26.0","chalk":"2.3.0","connect-history-api-fallback":"1.4.0","copy-webpack-plugin":"4.2.0","cross-env":"5.1.1","css-loader":"0.28.7","eslint":"4.11.0","eslint-friendly-formatter":"3.0.0","eslint-import-resolver-webpack":"0.8.3","eslint-loader":"1.9.0","eslint-plugin-html":"3.2.2","eslint-plugin-import":"2.8.0","eventsource-polyfill":"0.9.6","express":"4.16.2","extract-text-webpack-plugin":"3.0.2","file-loader":"0.11.2","friendly-errors-webpack-plugin":"1.6.1","function-bind":"1.1.0","fuse.js":"3.4.2","html-webpack-plugin":"2.30.0","http-proxy-middleware":"0.17.4","jsdoc":"^3.5.5","node-sass":"^4.5.0","opn":"4.0.2","optimize-css-assets-webpack-plugin":"3.2.0","ora":"1.1.0","postcss-loader":"^2.0.8","pushstate-server":"2.1.0","rimraf":"2.6.0","sass-loader":"6.0.6","script-loader":"0.7.2","semver":"5.3.0","sherry-docstrap":"^1.3.2","style-loader":"0.19.0","svg-sprite-loader":"3.4.1","url-loader":"0.6.2","vue-image-crop-upload":"^2.2.3","vue-loader":"^13.5.0","vue-style-loader":"3.0.3","vue-template-compiler":"2.5.9","webpack":"3.8.1","webpack-bundle-analyzer":"2.9.0","webpack-dev-middleware":"1.12.0","webpack-hot-middleware":"2.20.0","webpack-merge":"4.1.0","webpack-node-externals":"^1.7.2"},"engines":{"node":">= 4.0.0","npm":">= 3.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 9"]}
|
46991
46999
|
|
46992
47000
|
/***/ })
|
46993
47001
|
/******/ ]);
|