htui-yllkbz 1.2.37 → 1.2.41
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/lib/htui.common.js +268 -37
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.umd.js +268 -37
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +4 -4
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +55 -54
- package/src/packages/HtCountDown/index.vue +58 -10
- package/src/packages/HtTable/index.vue +8 -2
- package/src/packages/index.ts +2 -1
- package/src/packages/type.ts +3 -3
- package/src/shims-vue.d.ts +6 -1
- package/src/views/About.vue +44 -22
package/lib/htui.umd.js
CHANGED
|
@@ -437,6 +437,28 @@ module.exports = function spread(callback) {
|
|
|
437
437
|
};
|
|
438
438
|
|
|
439
439
|
|
|
440
|
+
/***/ }),
|
|
441
|
+
|
|
442
|
+
/***/ "1148":
|
|
443
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
444
|
+
|
|
445
|
+
"use strict";
|
|
446
|
+
|
|
447
|
+
var toInteger = __webpack_require__("a691");
|
|
448
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
449
|
+
|
|
450
|
+
// `String.prototype.repeat` method implementation
|
|
451
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.repeat
|
|
452
|
+
module.exports = ''.repeat || function repeat(count) {
|
|
453
|
+
var str = String(requireObjectCoercible(this));
|
|
454
|
+
var result = '';
|
|
455
|
+
var n = toInteger(count);
|
|
456
|
+
if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
|
|
457
|
+
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
458
|
+
return result;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
|
|
440
462
|
/***/ }),
|
|
441
463
|
|
|
442
464
|
/***/ "1276":
|
|
@@ -2710,6 +2732,23 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
2710
2732
|
module.exports = {};
|
|
2711
2733
|
|
|
2712
2734
|
|
|
2735
|
+
/***/ }),
|
|
2736
|
+
|
|
2737
|
+
/***/ "408a":
|
|
2738
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2739
|
+
|
|
2740
|
+
var classof = __webpack_require__("c6b6");
|
|
2741
|
+
|
|
2742
|
+
// `thisNumberValue` abstract operation
|
|
2743
|
+
// https://tc39.github.io/ecma262/#sec-thisnumbervalue
|
|
2744
|
+
module.exports = function (value) {
|
|
2745
|
+
if (typeof value != 'number' && classof(value) != 'Number') {
|
|
2746
|
+
throw TypeError('Incorrect invocation');
|
|
2747
|
+
}
|
|
2748
|
+
return +value;
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2751
|
+
|
|
2713
2752
|
/***/ }),
|
|
2714
2753
|
|
|
2715
2754
|
/***/ "4160":
|
|
@@ -6616,6 +6655,140 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
6616
6655
|
});
|
|
6617
6656
|
|
|
6618
6657
|
|
|
6658
|
+
/***/ }),
|
|
6659
|
+
|
|
6660
|
+
/***/ "b680":
|
|
6661
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6662
|
+
|
|
6663
|
+
"use strict";
|
|
6664
|
+
|
|
6665
|
+
var $ = __webpack_require__("23e7");
|
|
6666
|
+
var toInteger = __webpack_require__("a691");
|
|
6667
|
+
var thisNumberValue = __webpack_require__("408a");
|
|
6668
|
+
var repeat = __webpack_require__("1148");
|
|
6669
|
+
var fails = __webpack_require__("d039");
|
|
6670
|
+
|
|
6671
|
+
var nativeToFixed = 1.0.toFixed;
|
|
6672
|
+
var floor = Math.floor;
|
|
6673
|
+
|
|
6674
|
+
var pow = function (x, n, acc) {
|
|
6675
|
+
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
6676
|
+
};
|
|
6677
|
+
|
|
6678
|
+
var log = function (x) {
|
|
6679
|
+
var n = 0;
|
|
6680
|
+
var x2 = x;
|
|
6681
|
+
while (x2 >= 4096) {
|
|
6682
|
+
n += 12;
|
|
6683
|
+
x2 /= 4096;
|
|
6684
|
+
}
|
|
6685
|
+
while (x2 >= 2) {
|
|
6686
|
+
n += 1;
|
|
6687
|
+
x2 /= 2;
|
|
6688
|
+
} return n;
|
|
6689
|
+
};
|
|
6690
|
+
|
|
6691
|
+
var FORCED = nativeToFixed && (
|
|
6692
|
+
0.00008.toFixed(3) !== '0.000' ||
|
|
6693
|
+
0.9.toFixed(0) !== '1' ||
|
|
6694
|
+
1.255.toFixed(2) !== '1.25' ||
|
|
6695
|
+
1000000000000000128.0.toFixed(0) !== '1000000000000000128'
|
|
6696
|
+
) || !fails(function () {
|
|
6697
|
+
// V8 ~ Android 4.3-
|
|
6698
|
+
nativeToFixed.call({});
|
|
6699
|
+
});
|
|
6700
|
+
|
|
6701
|
+
// `Number.prototype.toFixed` method
|
|
6702
|
+
// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed
|
|
6703
|
+
$({ target: 'Number', proto: true, forced: FORCED }, {
|
|
6704
|
+
// eslint-disable-next-line max-statements
|
|
6705
|
+
toFixed: function toFixed(fractionDigits) {
|
|
6706
|
+
var number = thisNumberValue(this);
|
|
6707
|
+
var fractDigits = toInteger(fractionDigits);
|
|
6708
|
+
var data = [0, 0, 0, 0, 0, 0];
|
|
6709
|
+
var sign = '';
|
|
6710
|
+
var result = '0';
|
|
6711
|
+
var e, z, j, k;
|
|
6712
|
+
|
|
6713
|
+
var multiply = function (n, c) {
|
|
6714
|
+
var index = -1;
|
|
6715
|
+
var c2 = c;
|
|
6716
|
+
while (++index < 6) {
|
|
6717
|
+
c2 += n * data[index];
|
|
6718
|
+
data[index] = c2 % 1e7;
|
|
6719
|
+
c2 = floor(c2 / 1e7);
|
|
6720
|
+
}
|
|
6721
|
+
};
|
|
6722
|
+
|
|
6723
|
+
var divide = function (n) {
|
|
6724
|
+
var index = 6;
|
|
6725
|
+
var c = 0;
|
|
6726
|
+
while (--index >= 0) {
|
|
6727
|
+
c += data[index];
|
|
6728
|
+
data[index] = floor(c / n);
|
|
6729
|
+
c = (c % n) * 1e7;
|
|
6730
|
+
}
|
|
6731
|
+
};
|
|
6732
|
+
|
|
6733
|
+
var dataToString = function () {
|
|
6734
|
+
var index = 6;
|
|
6735
|
+
var s = '';
|
|
6736
|
+
while (--index >= 0) {
|
|
6737
|
+
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
6738
|
+
var t = String(data[index]);
|
|
6739
|
+
s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;
|
|
6740
|
+
}
|
|
6741
|
+
} return s;
|
|
6742
|
+
};
|
|
6743
|
+
|
|
6744
|
+
if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');
|
|
6745
|
+
// eslint-disable-next-line no-self-compare
|
|
6746
|
+
if (number != number) return 'NaN';
|
|
6747
|
+
if (number <= -1e21 || number >= 1e21) return String(number);
|
|
6748
|
+
if (number < 0) {
|
|
6749
|
+
sign = '-';
|
|
6750
|
+
number = -number;
|
|
6751
|
+
}
|
|
6752
|
+
if (number > 1e-21) {
|
|
6753
|
+
e = log(number * pow(2, 69, 1)) - 69;
|
|
6754
|
+
z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
|
|
6755
|
+
z *= 0x10000000000000;
|
|
6756
|
+
e = 52 - e;
|
|
6757
|
+
if (e > 0) {
|
|
6758
|
+
multiply(0, z);
|
|
6759
|
+
j = fractDigits;
|
|
6760
|
+
while (j >= 7) {
|
|
6761
|
+
multiply(1e7, 0);
|
|
6762
|
+
j -= 7;
|
|
6763
|
+
}
|
|
6764
|
+
multiply(pow(10, j, 1), 0);
|
|
6765
|
+
j = e - 1;
|
|
6766
|
+
while (j >= 23) {
|
|
6767
|
+
divide(1 << 23);
|
|
6768
|
+
j -= 23;
|
|
6769
|
+
}
|
|
6770
|
+
divide(1 << j);
|
|
6771
|
+
multiply(1, 1);
|
|
6772
|
+
divide(2);
|
|
6773
|
+
result = dataToString();
|
|
6774
|
+
} else {
|
|
6775
|
+
multiply(0, z);
|
|
6776
|
+
multiply(1 << -e, 0);
|
|
6777
|
+
result = dataToString() + repeat.call('0', fractDigits);
|
|
6778
|
+
}
|
|
6779
|
+
}
|
|
6780
|
+
if (fractDigits > 0) {
|
|
6781
|
+
k = result.length;
|
|
6782
|
+
result = sign + (k <= fractDigits
|
|
6783
|
+
? '0.' + repeat.call('0', fractDigits - k) + result
|
|
6784
|
+
: result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
|
|
6785
|
+
} else {
|
|
6786
|
+
result = sign + result;
|
|
6787
|
+
} return result;
|
|
6788
|
+
}
|
|
6789
|
+
});
|
|
6790
|
+
|
|
6791
|
+
|
|
6619
6792
|
/***/ }),
|
|
6620
6793
|
|
|
6621
6794
|
/***/ "b727":
|
|
@@ -9124,7 +9297,7 @@ var es_array_map = __webpack_require__("d81d");
|
|
|
9124
9297
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
9125
9298
|
var es_function_name = __webpack_require__("b0c0");
|
|
9126
9299
|
|
|
9127
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9300
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/SelectTable/index.vue?vue&type=template&id=0af39fce&
|
|
9128
9301
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-popover',{ref:"elPopver",staticClass:"ht-popover",attrs:{"placement":"bottom","title":"","width":_vm.width||600,"trigger":"click"},on:{"show":_vm.show,"hide":_vm.hide}},[_c('div',{staticClass:"ht-contnet",style:(("width:" + _vm.inputWidth + "px")),attrs:{"slot":"reference"},on:{"click":function($event){!_vm.state.config.disabled?_vm.state.visible = true:_vm.state.visible=false}},slot:"reference"},[_c('el-input',{style:(("width:" + _vm.inputWidth + "px")),attrs:{"readonly":"","placeholder":_vm.placeholder,"disabled":_vm.state.config.disabled,"suffix-icon":_vm.state.icon},on:{"blur":_vm.blurInput,"focus":_vm.focusInput},model:{value:(_vm.state.name),callback:function ($$v) {_vm.$set(_vm.state, "name", $$v)},expression:"state.name"}}),(_vm.state.name&&_vm.state.config.clearable)?_c('el-button',{staticClass:"ht-close",attrs:{"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.clear($event)}}},[_c('div',[_c('i',{staticClass:"el-icon-circle-close"})])]):_vm._e()],1),_c('CommonTable',{ref:_vm.state.config.key||'ht-table',attrs:{"searchPlaceholder":_vm.searchPlaceholder,"columns":_vm.state.columns,"visible":_vm.state.visible,"confige":_vm.state.config},on:{"callback":_vm.callback,"update:visible":function($event){return _vm.$set(_vm.state, "visible", $event)}}})],1)}
|
|
9129
9302
|
var staticRenderFns = []
|
|
9130
9303
|
|
|
@@ -10116,7 +10289,7 @@ function isPromise(obj) {
|
|
|
10116
10289
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
10117
10290
|
}
|
|
10118
10291
|
|
|
10119
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10292
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/SelectTable/CommonTable.vue?vue&type=template&id=5a58ed06&scoped=true&
|
|
10120
10293
|
var CommonTablevue_type_template_id_5a58ed06_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.state.loading),expression:"state.loading"}]},[_c('header',[_c('el-input',{staticClass:"htui-search",attrs:{"placeholder":_vm.searchPlaceholder||'请输入关键字查询'},model:{value:(_vm.state.filterData.Filter),callback:function ($$v) {_vm.$set(_vm.state.filterData, "Filter", $$v)},expression:"state.filterData.Filter"}})],1),_c('article',[_c('el-table',{ref:"comTable",staticStyle:{"width":"100%"},attrs:{"height":_vm.confige.table&&_vm.confige.table.height?_vm.confige.table.height:250,"row-key":_vm.confige.table&&_vm.confige.table.rowkey?_vm.confige.table.rowkey:'id',"data":_vm.dataSource,"tooltip-effect":"dark"},on:{"row-click":_vm.rowClick}},[_c('el-table-column',{attrs:{"width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
10121
10294
|
var row = ref.row;
|
|
10122
10295
|
return [_c('el-checkbox',{attrs:{"value":_vm.state.checkObj&&_vm.state.checkObj.id===row.id},nativeOn:{"click":function($event){$event.preventDefault();}}})]}}])}),_c('el-table-column',{attrs:{"label":"序号","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._v(" "+_vm._s((_vm.state.filterData.currentPage-1)*_vm.state.filterData.MaxResultCount+(scope.$index+1))+" ")]}}])}),_vm._l((_vm.columns),function(item){return _c('el-table-column',{key:item.key,attrs:{"label":item.title,"show-overflow-tooltip":true,"prop":item.key,"width":item.width||120}},[_vm._t(item.key,[_vm._v(_vm._s(item.key))])],2)})],2)],1),_c('footer',[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('p',{staticStyle:{"width":"90px","float":"left"}},[_vm._v("共"+_vm._s(_vm.dataSource.length)+"条")]),(false)?undefined:_vm._e()],1)],1)],1)])}
|
|
@@ -10216,7 +10389,7 @@ function _objectSpread2(target) {
|
|
|
10216
10389
|
|
|
10217
10390
|
return target;
|
|
10218
10391
|
}
|
|
10219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10392
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-kst-auth/src/components/Login.vue?vue&type=template&id=e39d3314&
|
|
10220
10393
|
var Loginvue_type_template_id_e39d3314_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("auth-login-form",{tag:"div",staticClass:"container-login",attrs:{"base-config":JSON.stringify(_vm.baseConfig)}})}
|
|
10221
10394
|
var Loginvue_type_template_id_e39d3314_staticRenderFns = []
|
|
10222
10395
|
|
|
@@ -11077,7 +11250,7 @@ SelectTable.install = function (Vue) {
|
|
|
11077
11250
|
};
|
|
11078
11251
|
|
|
11079
11252
|
/* harmony default export */ var packages_SelectTable = (SelectTable);
|
|
11080
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11253
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/PageInfo/index.vue?vue&type=template&id=abb473c6&
|
|
11081
11254
|
var PageInfovue_type_template_id_abb473c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{"background":_vm.background,"hide-on-single-page":_vm.hideOnSinglePage,"disabled":!!_vm.disabled,"small":!!_vm.small,"current-page":_vm.state.pageInfo.currentPage,"page-size":_vm.state.pageInfo.maxResultCount,"page-sizes":_vm.pageSizes||[10, 20, 30, 40, 50, 100],"layout":_vm.layout||'total, sizes, prev, pager, next, jumper',"total":_vm.state.pageInfo.totalCount},on:{"current-change":_vm.handleCurrentChange,"size-change":_vm.handelSizeChange}})}
|
|
11082
11255
|
var PageInfovue_type_template_id_abb473c6_staticRenderFns = []
|
|
11083
11256
|
|
|
@@ -11238,8 +11411,8 @@ PageInfo.install = function (Vue) {
|
|
|
11238
11411
|
};
|
|
11239
11412
|
|
|
11240
11413
|
/* harmony default export */ var packages_PageInfo = (PageInfo);
|
|
11241
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11242
|
-
var
|
|
11414
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtTable/index.vue?vue&type=template&id=08154685&scoped=true&
|
|
11415
|
+
var HtTablevue_type_template_id_08154685_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.state.loading),expression:"state.loading"}]},[_c('article',[_c('el-table',{ref:"comTable",attrs:{"height":_vm.height,"max-height":_vm.maxHeight,"border":_vm.border,"stripe":_vm.stripe,"size":_vm.size,"fit":_vm.fit,"show-header":_vm.showHeader,"empty-text":_vm.emptyText||'暂无数据',"row-style":_vm.rowStyle,"row-class-name":_vm.rowClassName,"current-row-key":_vm.currentRowKey,"highlight-current-row":_vm.highlightCurrentRow,"row-key":_vm.rowKey||'id',"data":_vm.data,"tooltip-effect":"dark"},on:{"row-click":function (row, column, event){ return _vm.$emit('row-click',row, column, event); },"row-contextmenu":function (row, column, event){ return _vm.$emit('row-contextmenu',row, column, event); },"row-dblclick":function (row, column, event){ return _vm.$emit('row-dblclick',row, column, event); },"header-click":function ( column, event){ return _vm.$emit('header-click', column, event); },"header-contextmenu":function ( column, event){ return _vm.$emit('header-contextmenu', column, event); },"sort-change":function (ref){
|
|
11243
11416
|
var column = ref.column;
|
|
11244
11417
|
var prop = ref.prop;
|
|
11245
11418
|
var order = ref.order;
|
|
@@ -11249,14 +11422,14 @@ var HtTablevue_type_template_id_03466226_scoped_true_render = function () {var _
|
|
|
11249
11422
|
var row = ref.row;
|
|
11250
11423
|
var column = ref.column;
|
|
11251
11424
|
var rowIndex = ref.rowIndex;
|
|
11252
|
-
return [_vm._t(item.key,[(item.type==='org')?[(_vm.getPropByPath(row,item.key))?_c('common-org-info',{attrs:{"org-id":_vm.getPropByPath(row,item.key),"type":"tag"}}):_c('span',[_vm._v("--")])]:(item.type==='common')?[(_vm.getPropByPath(row,item.key))?_c("common-datas-info-id",{tag:"div",attrs:{"user-id":item.commonType['userId']?_vm.getPropByPath(row,item.key):'[]',"department-id":item.commonType['departmentId']?_vm.getPropByPath(row,item.key):'[]',"role-id":item.commonType['roleId']?_vm.getPropByPath(row,item.key):'[]',"base-data-id":item.commonType['baseDataId']?_vm.getPropByPath(row,item.key):'',"base-data-value":item.commonType['baseDataValue']?_vm.getPropByPath(row,item.key):'',"base-data-name":item.commonType['baseDataName']?_vm.getPropByPath(row,item.key):'',"base-data-info":true}}):_c('span',[_vm._v("--")])]:(item.type==='userId')?[(_vm.getPropByPath(row,item.key))?_c("common-datas-info-id",{tag:"div",attrs:{"user-id":JSON.stringify(_vm.getPropByPath(row,item.key)),"base-data-info":true}}):_c('span',[_vm._v("--")])]:(item.type==='time')?[(_vm.getPropByPath(row,item.key))?_c('div',{staticClass:"ht-column-cell"},[(!item.spread)?_c('span',[_vm._v(" "+_vm._s(_vm.getPropByPath(row,item.key).replace('T', ' ').slice(0,19)))]):[_c('p',{staticStyle:{"color":"var(--primary)","margin":"0","padding":"0"}},[_vm._v(_vm._s(_vm.getPropByPath(row,item.key).slice(11,19)))]),_c('p',{staticStyle:{"margin":"0","padding":"0"}},[_vm._v(_vm._s(_vm.getPropByPath(row,item.key).replace('T', ' ').slice(0,10)))])]],2):_c('span',[_vm._v("--")])]:_c('span',[_vm._v(_vm._s(_vm.getPropByPath(row,item.key)))])],{"row":row,"column":column,"rowIndex":rowIndex})]}},{key:"header",fn:function(ref){
|
|
11425
|
+
return [_vm._t(item.key,[(item.type==='org')?[(_vm.getPropByPath(row,item.key))?_c('common-org-info',{attrs:{"org-id":_vm.getPropByPath(row,item.key),"type":"tag"}}):_c('span',[_vm._v("--")])]:(item.type==='common')?[(_vm.getPropByPath(row,item.key))?_c("common-datas-info-id",{tag:"div",attrs:{"user-id":item.commonType['userId']?_vm.getPropByPath(row,item.key):'[]',"department-id":item.commonType['departmentId']?_vm.getPropByPath(row,item.key):'[]',"role-id":item.commonType['roleId']?_vm.getPropByPath(row,item.key):'[]',"base-data-id":item.commonType['baseDataId']?_vm.getPropByPath(row,item.key):'',"base-data-value":item.commonType['baseDataValue']?_vm.getPropByPath(row,item.key):'',"base-data-name":item.commonType['baseDataName']?_vm.getPropByPath(row,item.key):'',"base-data-info":true}}):_c('span',[_vm._v("--")])]:(item.type==='userId')?[(_vm.getPropByPath(row,item.key))?_c("common-datas-info-id",{tag:"div",attrs:{"user-id":JSON.stringify(_vm.getPropByPath(row,item.key)),"base-data-info":true}}):_c('span',[_vm._v("--")])]:(item.type==='time')?[(_vm.getPropByPath(row,item.key))?_c('div',{staticClass:"ht-column-cell"},[(!item.spread)?_c('span',[_vm._v(" "+_vm._s(_vm.getPropByPath(row,item.key).replace('T', ' ').slice(0,19)))]):[_c('p',{staticStyle:{"color":"var(--primary)","margin":"0","padding":"0"}},[_vm._v(_vm._s(_vm.getPropByPath(row,item.key).slice(11,19)))]),_c('p',{staticStyle:{"margin":"0","padding":"0"}},[_vm._v(_vm._s(_vm.getPropByPath(row,item.key).replace('T', ' ').slice(0,10)))])]],2):_c('span',[_vm._v("--")])]:(item.type==='boolean')?[(_vm.getPropByPath(row,item.key))?_c('el-tag',{attrs:{"type":'success'}},[_vm._v("是")]):_c('el-tag',{attrs:{"type":"danger"}},[_vm._v("否")])]:_c('span',[_vm._v(_vm._s(_vm.getPropByPath(row,item.key)))])],{"row":row,"column":column,"rowIndex":rowIndex})]}},{key:"header",fn:function(ref){
|
|
11253
11426
|
var column = ref.column;
|
|
11254
11427
|
var $index = ref.$index;
|
|
11255
11428
|
return [_vm._t('header_'+item.key,[_vm._v(_vm._s(item.title))],{"column":column,"$index":$index})]}}],null,true)}):_vm._e()]})],2)],1),(!_vm.hidePage)?_c('footer',[_c('el-row',{attrs:{"name":"footer"}},[_vm._t("footerLeft"),_c('el-col',{attrs:{"span":12}},[_c('PageInfo',{attrs:{"hide-on-single-page":_vm.pagination&&_vm.pagination.hideOnSinglePage,"small":_vm.pagination&&_vm.pagination.small,"page-sizes":_vm.pagination&&_vm.pagination.pageSizes,"page-info":_vm.state.pageInfo},on:{"onchange":function (e){ return _vm.$emit('onchange',e); }}})],1)],2)],1):_vm._e()])}
|
|
11256
|
-
var
|
|
11429
|
+
var HtTablevue_type_template_id_08154685_scoped_true_staticRenderFns = []
|
|
11257
11430
|
|
|
11258
11431
|
|
|
11259
|
-
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=
|
|
11432
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=08154685&scoped=true&
|
|
11260
11433
|
|
|
11261
11434
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
11262
11435
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -11455,11 +11628,11 @@ HtTablevue_type_script_lang_ts_HtTable = __decorate([vue_class_component_esm({
|
|
|
11455
11628
|
|
|
11456
11629
|
var HtTable_component = normalizeComponent(
|
|
11457
11630
|
packages_HtTablevue_type_script_lang_ts_,
|
|
11458
|
-
|
|
11459
|
-
|
|
11631
|
+
HtTablevue_type_template_id_08154685_scoped_true_render,
|
|
11632
|
+
HtTablevue_type_template_id_08154685_scoped_true_staticRenderFns,
|
|
11460
11633
|
false,
|
|
11461
11634
|
null,
|
|
11462
|
-
"
|
|
11635
|
+
"08154685",
|
|
11463
11636
|
null
|
|
11464
11637
|
|
|
11465
11638
|
)
|
|
@@ -11481,7 +11654,7 @@ packages_HtTable.install = function (Vue) {
|
|
|
11481
11654
|
};
|
|
11482
11655
|
|
|
11483
11656
|
/* harmony default export */ var src_packages_HtTable = (packages_HtTable);
|
|
11484
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11657
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtExport/index.vue?vue&type=template&id=23fd9fd2&scoped=true&
|
|
11485
11658
|
var HtExportvue_type_template_id_23fd9fd2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.state.loading),expression:"state.loading"}],on:{"click":_vm.exportExcel}},[_vm._t("default",[_c('el-button',{attrs:{"type":"primary"}},[_vm._v(" 导出Excel ")])],{"loading":_vm.state.loading})],2)}
|
|
11486
11659
|
var HtExportvue_type_template_id_23fd9fd2_scoped_true_staticRenderFns = []
|
|
11487
11660
|
|
|
@@ -11690,7 +11863,7 @@ packages_HtExport.install = function (Vue) {
|
|
|
11690
11863
|
};
|
|
11691
11864
|
|
|
11692
11865
|
/* harmony default export */ var src_packages_HtExport = (packages_HtExport);
|
|
11693
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11866
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtUpload/index.vue?vue&type=template&id=65ce7fe2&
|
|
11694
11867
|
var HtUploadvue_type_template_id_65ce7fe2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"files-view"},[_c('el-upload',{class:{ 'only-show': _vm.onlyShow },attrs:{"action":"/files/api/filing/file/upload","on-success":_vm.handleSuccess,"accept":_vm.state.accept,"before-upload":_vm.handelBeforeLoad,"headers":_vm.headers,"file-list":_vm.state.fileData.fileList,"list-type":"picture-card","multiple":"","disabled":_vm.onlyShow},scopedSlots:_vm._u([{key:"file",fn:function(ref){
|
|
11695
11868
|
var file = ref.file;
|
|
11696
11869
|
return _c('div',{attrs:{"title":file.fileName}},[(file.fileType&&file.fileType.includes('image'))?_c('img',{staticClass:"el-upload-list__item-thumbnail",attrs:{"src":("/files/api/filing/file/download/" + (file.fileToken)),"alt":file.fileName,"fit":"fill"}}):_c('img',{staticClass:"el-upload-list__item-thumbnail",attrs:{"src":_vm.showIcon(file),"alt":file.fileName,"fit":"fill"}}),_c('span',{staticClass:"el-upload-list__item-actions"},[(file.fileType&&file.fileType.includes('image'))?_c('span',{staticClass:"el-upload-list__item-preview",on:{"click":function($event){return _vm.handlePictureCardPreview(file)}}},[_c('i',{staticClass:"el-icon-zoom-in"})]):_vm._e(),(!_vm.state.disabled)?_c('span',{staticClass:"el-upload-list__item-delete",on:{"click":function($event){return _vm.handleDownload(file)}}},[_c('i',{staticClass:"el-icon-download"})]):_vm._e(),(!_vm.state.disabled &&!_vm.onlyShow)?_c('span',{staticClass:"el-upload-list__item-delete",on:{"click":function($event){return _vm.handleRemove(file)}}},[_c('i',{staticClass:"el-icon-delete"})]):_vm._e()])])}}])},[_c('i',{staticClass:"el-icon-plus",attrs:{"slot":"default"},slot:"default"})]),_c('el-dialog',{attrs:{"visible":_vm.state.dialogVisible,"modal-append-to-body":false,"modal":false,"append-to-body":true},on:{"update:visible":function($event){return _vm.$set(_vm.state, "dialogVisible", $event)}}},[_c('article',{staticStyle:{"height":"calc(100vh - 200px)","overflow":"auto"}},[_c('img',{attrs:{"src":_vm.state.dialogImageUrl,"alt":""}})])])],1)}
|
|
@@ -12049,7 +12222,7 @@ packages_HtUpload.install = function (Vue) {
|
|
|
12049
12222
|
};
|
|
12050
12223
|
|
|
12051
12224
|
/* harmony default export */ var src_packages_HtUpload = (packages_HtUpload);
|
|
12052
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12225
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtMd/index.vue?vue&type=template&id=1bb3f330&scoped=true&
|
|
12053
12226
|
var HtMdvue_type_template_id_1bb3f330_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('mavon-editor',{ref:"md",attrs:{"subfield":_vm.subfield,"default_open":"{}","placeholder":_vm.placeholder,"editable":!_vm.disabled},on:{"save":_vm.save,"imgAdd":_vm.addImg,"change":_vm.change},model:{value:(_vm.state.content),callback:function ($$v) {_vm.$set(_vm.state, "content", $$v)},expression:"state.content"}})}
|
|
12054
12227
|
var HtMdvue_type_template_id_1bb3f330_scoped_true_staticRenderFns = []
|
|
12055
12228
|
|
|
@@ -12216,12 +12389,15 @@ packages_HtMd.install = function (Vue) {
|
|
|
12216
12389
|
};
|
|
12217
12390
|
|
|
12218
12391
|
/* harmony default export */ var src_packages_HtMd = (packages_HtMd);
|
|
12219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12220
|
-
var
|
|
12221
|
-
var
|
|
12392
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48d53131-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtCountDown/index.vue?vue&type=template&id=6d5cd250&scoped=true&
|
|
12393
|
+
var HtCountDownvue_type_template_id_6d5cd250_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._t("default",[_c('span',[_vm._v(_vm._s(_vm.dateLess()))])],{"time":parseInt(_vm.state.count.toString()),"timeStr":_vm.dateLess()})],2)])}
|
|
12394
|
+
var HtCountDownvue_type_template_id_6d5cd250_scoped_true_staticRenderFns = []
|
|
12222
12395
|
|
|
12223
12396
|
|
|
12224
|
-
// CONCATENATED MODULE: ./src/packages/HtCountDown/index.vue?vue&type=template&id=
|
|
12397
|
+
// CONCATENATED MODULE: ./src/packages/HtCountDown/index.vue?vue&type=template&id=6d5cd250&scoped=true&
|
|
12398
|
+
|
|
12399
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.to-fixed.js
|
|
12400
|
+
var es_number_to_fixed = __webpack_require__("b680");
|
|
12225
12401
|
|
|
12226
12402
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtCountDown/index.vue?vue&type=script&lang=ts&
|
|
12227
12403
|
|
|
@@ -12233,6 +12409,7 @@ var HtCountDownvue_type_template_id_59940441_scoped_true_staticRenderFns = []
|
|
|
12233
12409
|
|
|
12234
12410
|
|
|
12235
12411
|
|
|
12412
|
+
|
|
12236
12413
|
var HtCountDownvue_type_script_lang_ts_HtCountDown = /*#__PURE__*/function (_Vue) {
|
|
12237
12414
|
_inherits(HtCountDown, _Vue);
|
|
12238
12415
|
|
|
@@ -12258,38 +12435,80 @@ var HtCountDownvue_type_script_lang_ts_HtCountDown = /*#__PURE__*/function (_Vue
|
|
|
12258
12435
|
key: "created",
|
|
12259
12436
|
value: function created() {
|
|
12260
12437
|
/** 如果是传入的秒数 */
|
|
12438
|
+
if (!this.stopwatch) {
|
|
12439
|
+
if (this.times) {
|
|
12440
|
+
this.state.count = this.times;
|
|
12441
|
+
}
|
|
12442
|
+
/** 如果传入的是哪一天 */
|
|
12443
|
+
|
|
12444
|
+
|
|
12445
|
+
if (this.date) {
|
|
12446
|
+
var sec = (new Date(this.date).getTime() - new Date().getTime()) / 1000;
|
|
12447
|
+
this.state.count = sec > 0 ? sec : 0;
|
|
12448
|
+
}
|
|
12449
|
+
} else {
|
|
12450
|
+
//如果是秒表则启动秒表计时:
|
|
12451
|
+
this.startStopWatch(true);
|
|
12452
|
+
}
|
|
12453
|
+
}
|
|
12454
|
+
/** 秒表 */
|
|
12455
|
+
|
|
12456
|
+
}, {
|
|
12457
|
+
key: "startStopWatch",
|
|
12458
|
+
value: function startStopWatch(reset) {
|
|
12459
|
+
var _this2 = this;
|
|
12460
|
+
|
|
12461
|
+
if (reset) {
|
|
12462
|
+
this.state.count = 0;
|
|
12463
|
+
}
|
|
12464
|
+
|
|
12465
|
+
this.timer = setInterval(function () {
|
|
12466
|
+
_this2.state.count = parseFloat((_this2.state.count + _this2.getFrequency / 1000).toFixed(5));
|
|
12467
|
+
}, this.getFrequency);
|
|
12468
|
+
}
|
|
12469
|
+
/** 重置 */
|
|
12470
|
+
|
|
12471
|
+
}, {
|
|
12472
|
+
key: "reset",
|
|
12473
|
+
value: function reset() {
|
|
12261
12474
|
if (this.times) {
|
|
12475
|
+
clearInterval(this.timer);
|
|
12262
12476
|
this.state.count = this.times;
|
|
12477
|
+
this.getTimer();
|
|
12263
12478
|
}
|
|
12264
|
-
/** 如果传入的是哪一天 */
|
|
12265
12479
|
|
|
12480
|
+
if (this.stopwatch) {
|
|
12481
|
+
clearInterval(this.timer);
|
|
12482
|
+
this.startStopWatch(true);
|
|
12483
|
+
} //
|
|
12266
12484
|
|
|
12267
|
-
if (this.date) {
|
|
12268
|
-
this.state.count = (new Date(this.date).getTime() - new Date().getTime()) / 1000;
|
|
12269
|
-
}
|
|
12270
12485
|
}
|
|
12271
12486
|
/** 时间倒计时开始 */
|
|
12272
12487
|
|
|
12273
12488
|
}, {
|
|
12274
12489
|
key: "getTimer",
|
|
12275
12490
|
value: function getTimer() {
|
|
12276
|
-
var
|
|
12491
|
+
var _this3 = this;
|
|
12277
12492
|
|
|
12278
12493
|
this.timer = setInterval(function () {
|
|
12279
|
-
|
|
12494
|
+
_this3.state.count--;
|
|
12280
12495
|
|
|
12281
|
-
if (
|
|
12282
|
-
clearInterval(
|
|
12496
|
+
if (_this3.state.count === 0) {
|
|
12497
|
+
clearInterval(_this3.timer);
|
|
12283
12498
|
}
|
|
12284
|
-
},
|
|
12499
|
+
}, this.getFrequency);
|
|
12285
12500
|
}
|
|
12286
12501
|
}, {
|
|
12287
12502
|
key: "dateLess",
|
|
12288
12503
|
value: function dateLess() {
|
|
12289
12504
|
var total = this.state.count;
|
|
12290
12505
|
|
|
12506
|
+
if (this.stopwatch) {
|
|
12507
|
+
return total;
|
|
12508
|
+
}
|
|
12509
|
+
|
|
12291
12510
|
if (!total) {
|
|
12292
|
-
return
|
|
12511
|
+
return "--";
|
|
12293
12512
|
}
|
|
12294
12513
|
|
|
12295
12514
|
var day = parseInt((total / (24 * 60 * 60)).toString()); //计算整数天数
|
|
@@ -12330,19 +12549,27 @@ var HtCountDownvue_type_script_lang_ts_HtCountDown = /*#__PURE__*/function (_Vue
|
|
|
12330
12549
|
if (val !== false) {
|
|
12331
12550
|
/** 如果传入的是哪一天 */
|
|
12332
12551
|
if (this.date) {
|
|
12333
|
-
|
|
12552
|
+
var sec = (new Date(this.date).getTime() - new Date().getTime()) / 1000;
|
|
12553
|
+
this.state.count = sec > 0 ? sec : 0;
|
|
12334
12554
|
}
|
|
12335
12555
|
|
|
12336
|
-
if (
|
|
12556
|
+
if (this.stopwatch) {
|
|
12557
|
+
this.startStopWatch(false);
|
|
12558
|
+
} else if (!this.date && !this.times) {
|
|
12337
12559
|
this.$notify.error("请先传入完成的参数");
|
|
12338
12560
|
return;
|
|
12561
|
+
} else {
|
|
12562
|
+
this.getTimer();
|
|
12339
12563
|
}
|
|
12340
|
-
|
|
12341
|
-
this.getTimer();
|
|
12342
12564
|
} else {
|
|
12343
12565
|
clearInterval(this.timer);
|
|
12344
12566
|
}
|
|
12345
12567
|
}
|
|
12568
|
+
}, {
|
|
12569
|
+
key: "getFrequency",
|
|
12570
|
+
get: function get() {
|
|
12571
|
+
return this.frequency || 1000;
|
|
12572
|
+
}
|
|
12346
12573
|
}]);
|
|
12347
12574
|
|
|
12348
12575
|
return HtCountDown;
|
|
@@ -12354,6 +12581,10 @@ __decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "
|
|
|
12354
12581
|
|
|
12355
12582
|
__decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "start", void 0);
|
|
12356
12583
|
|
|
12584
|
+
__decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "stopwatch", void 0);
|
|
12585
|
+
|
|
12586
|
+
__decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "frequency", void 0);
|
|
12587
|
+
|
|
12357
12588
|
__decorate([Watch("start", {
|
|
12358
12589
|
deep: true,
|
|
12359
12590
|
immediate: true
|
|
@@ -12373,11 +12604,11 @@ HtCountDownvue_type_script_lang_ts_HtCountDown = __decorate([vue_class_component
|
|
|
12373
12604
|
|
|
12374
12605
|
var HtCountDown_component = normalizeComponent(
|
|
12375
12606
|
packages_HtCountDownvue_type_script_lang_ts_,
|
|
12376
|
-
|
|
12377
|
-
|
|
12607
|
+
HtCountDownvue_type_template_id_6d5cd250_scoped_true_render,
|
|
12608
|
+
HtCountDownvue_type_template_id_6d5cd250_scoped_true_staticRenderFns,
|
|
12378
12609
|
false,
|
|
12379
12610
|
null,
|
|
12380
|
-
"
|
|
12611
|
+
"6d5cd250",
|
|
12381
12612
|
null
|
|
12382
12613
|
|
|
12383
12614
|
)
|
|
@@ -12409,7 +12640,7 @@ packages_HtCountDown.install = function (Vue) {
|
|
|
12409
12640
|
* @Author: hutao
|
|
12410
12641
|
* @Date: 2021-10-21 10:08:41
|
|
12411
12642
|
* @LastEditors: hutao
|
|
12412
|
-
* @LastEditTime:
|
|
12643
|
+
* @LastEditTime: 2022-01-04 09:47:12
|
|
12413
12644
|
*/
|
|
12414
12645
|
|
|
12415
12646
|
/** 下拉table选择控件 */
|
package/lib/htui.umd.js.gz
CHANGED
|
Binary file
|