htui-yllkbz 1.2.38 → 1.2.42
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 +265 -36
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.umd.js +265 -36
- 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 +55 -8
- 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 +39 -16
package/lib/htui.common.js
CHANGED
|
@@ -428,6 +428,28 @@ module.exports = function spread(callback) {
|
|
|
428
428
|
};
|
|
429
429
|
|
|
430
430
|
|
|
431
|
+
/***/ }),
|
|
432
|
+
|
|
433
|
+
/***/ "1148":
|
|
434
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
435
|
+
|
|
436
|
+
"use strict";
|
|
437
|
+
|
|
438
|
+
var toInteger = __webpack_require__("a691");
|
|
439
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
440
|
+
|
|
441
|
+
// `String.prototype.repeat` method implementation
|
|
442
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.repeat
|
|
443
|
+
module.exports = ''.repeat || function repeat(count) {
|
|
444
|
+
var str = String(requireObjectCoercible(this));
|
|
445
|
+
var result = '';
|
|
446
|
+
var n = toInteger(count);
|
|
447
|
+
if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
|
|
448
|
+
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
449
|
+
return result;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
|
|
431
453
|
/***/ }),
|
|
432
454
|
|
|
433
455
|
/***/ "1276":
|
|
@@ -2701,6 +2723,23 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
2701
2723
|
module.exports = {};
|
|
2702
2724
|
|
|
2703
2725
|
|
|
2726
|
+
/***/ }),
|
|
2727
|
+
|
|
2728
|
+
/***/ "408a":
|
|
2729
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2730
|
+
|
|
2731
|
+
var classof = __webpack_require__("c6b6");
|
|
2732
|
+
|
|
2733
|
+
// `thisNumberValue` abstract operation
|
|
2734
|
+
// https://tc39.github.io/ecma262/#sec-thisnumbervalue
|
|
2735
|
+
module.exports = function (value) {
|
|
2736
|
+
if (typeof value != 'number' && classof(value) != 'Number') {
|
|
2737
|
+
throw TypeError('Incorrect invocation');
|
|
2738
|
+
}
|
|
2739
|
+
return +value;
|
|
2740
|
+
};
|
|
2741
|
+
|
|
2742
|
+
|
|
2704
2743
|
/***/ }),
|
|
2705
2744
|
|
|
2706
2745
|
/***/ "4160":
|
|
@@ -6607,6 +6646,140 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
6607
6646
|
});
|
|
6608
6647
|
|
|
6609
6648
|
|
|
6649
|
+
/***/ }),
|
|
6650
|
+
|
|
6651
|
+
/***/ "b680":
|
|
6652
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6653
|
+
|
|
6654
|
+
"use strict";
|
|
6655
|
+
|
|
6656
|
+
var $ = __webpack_require__("23e7");
|
|
6657
|
+
var toInteger = __webpack_require__("a691");
|
|
6658
|
+
var thisNumberValue = __webpack_require__("408a");
|
|
6659
|
+
var repeat = __webpack_require__("1148");
|
|
6660
|
+
var fails = __webpack_require__("d039");
|
|
6661
|
+
|
|
6662
|
+
var nativeToFixed = 1.0.toFixed;
|
|
6663
|
+
var floor = Math.floor;
|
|
6664
|
+
|
|
6665
|
+
var pow = function (x, n, acc) {
|
|
6666
|
+
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
6667
|
+
};
|
|
6668
|
+
|
|
6669
|
+
var log = function (x) {
|
|
6670
|
+
var n = 0;
|
|
6671
|
+
var x2 = x;
|
|
6672
|
+
while (x2 >= 4096) {
|
|
6673
|
+
n += 12;
|
|
6674
|
+
x2 /= 4096;
|
|
6675
|
+
}
|
|
6676
|
+
while (x2 >= 2) {
|
|
6677
|
+
n += 1;
|
|
6678
|
+
x2 /= 2;
|
|
6679
|
+
} return n;
|
|
6680
|
+
};
|
|
6681
|
+
|
|
6682
|
+
var FORCED = nativeToFixed && (
|
|
6683
|
+
0.00008.toFixed(3) !== '0.000' ||
|
|
6684
|
+
0.9.toFixed(0) !== '1' ||
|
|
6685
|
+
1.255.toFixed(2) !== '1.25' ||
|
|
6686
|
+
1000000000000000128.0.toFixed(0) !== '1000000000000000128'
|
|
6687
|
+
) || !fails(function () {
|
|
6688
|
+
// V8 ~ Android 4.3-
|
|
6689
|
+
nativeToFixed.call({});
|
|
6690
|
+
});
|
|
6691
|
+
|
|
6692
|
+
// `Number.prototype.toFixed` method
|
|
6693
|
+
// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed
|
|
6694
|
+
$({ target: 'Number', proto: true, forced: FORCED }, {
|
|
6695
|
+
// eslint-disable-next-line max-statements
|
|
6696
|
+
toFixed: function toFixed(fractionDigits) {
|
|
6697
|
+
var number = thisNumberValue(this);
|
|
6698
|
+
var fractDigits = toInteger(fractionDigits);
|
|
6699
|
+
var data = [0, 0, 0, 0, 0, 0];
|
|
6700
|
+
var sign = '';
|
|
6701
|
+
var result = '0';
|
|
6702
|
+
var e, z, j, k;
|
|
6703
|
+
|
|
6704
|
+
var multiply = function (n, c) {
|
|
6705
|
+
var index = -1;
|
|
6706
|
+
var c2 = c;
|
|
6707
|
+
while (++index < 6) {
|
|
6708
|
+
c2 += n * data[index];
|
|
6709
|
+
data[index] = c2 % 1e7;
|
|
6710
|
+
c2 = floor(c2 / 1e7);
|
|
6711
|
+
}
|
|
6712
|
+
};
|
|
6713
|
+
|
|
6714
|
+
var divide = function (n) {
|
|
6715
|
+
var index = 6;
|
|
6716
|
+
var c = 0;
|
|
6717
|
+
while (--index >= 0) {
|
|
6718
|
+
c += data[index];
|
|
6719
|
+
data[index] = floor(c / n);
|
|
6720
|
+
c = (c % n) * 1e7;
|
|
6721
|
+
}
|
|
6722
|
+
};
|
|
6723
|
+
|
|
6724
|
+
var dataToString = function () {
|
|
6725
|
+
var index = 6;
|
|
6726
|
+
var s = '';
|
|
6727
|
+
while (--index >= 0) {
|
|
6728
|
+
if (s !== '' || index === 0 || data[index] !== 0) {
|
|
6729
|
+
var t = String(data[index]);
|
|
6730
|
+
s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;
|
|
6731
|
+
}
|
|
6732
|
+
} return s;
|
|
6733
|
+
};
|
|
6734
|
+
|
|
6735
|
+
if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');
|
|
6736
|
+
// eslint-disable-next-line no-self-compare
|
|
6737
|
+
if (number != number) return 'NaN';
|
|
6738
|
+
if (number <= -1e21 || number >= 1e21) return String(number);
|
|
6739
|
+
if (number < 0) {
|
|
6740
|
+
sign = '-';
|
|
6741
|
+
number = -number;
|
|
6742
|
+
}
|
|
6743
|
+
if (number > 1e-21) {
|
|
6744
|
+
e = log(number * pow(2, 69, 1)) - 69;
|
|
6745
|
+
z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
|
|
6746
|
+
z *= 0x10000000000000;
|
|
6747
|
+
e = 52 - e;
|
|
6748
|
+
if (e > 0) {
|
|
6749
|
+
multiply(0, z);
|
|
6750
|
+
j = fractDigits;
|
|
6751
|
+
while (j >= 7) {
|
|
6752
|
+
multiply(1e7, 0);
|
|
6753
|
+
j -= 7;
|
|
6754
|
+
}
|
|
6755
|
+
multiply(pow(10, j, 1), 0);
|
|
6756
|
+
j = e - 1;
|
|
6757
|
+
while (j >= 23) {
|
|
6758
|
+
divide(1 << 23);
|
|
6759
|
+
j -= 23;
|
|
6760
|
+
}
|
|
6761
|
+
divide(1 << j);
|
|
6762
|
+
multiply(1, 1);
|
|
6763
|
+
divide(2);
|
|
6764
|
+
result = dataToString();
|
|
6765
|
+
} else {
|
|
6766
|
+
multiply(0, z);
|
|
6767
|
+
multiply(1 << -e, 0);
|
|
6768
|
+
result = dataToString() + repeat.call('0', fractDigits);
|
|
6769
|
+
}
|
|
6770
|
+
}
|
|
6771
|
+
if (fractDigits > 0) {
|
|
6772
|
+
k = result.length;
|
|
6773
|
+
result = sign + (k <= fractDigits
|
|
6774
|
+
? '0.' + repeat.call('0', fractDigits - k) + result
|
|
6775
|
+
: result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
|
|
6776
|
+
} else {
|
|
6777
|
+
result = sign + result;
|
|
6778
|
+
} return result;
|
|
6779
|
+
}
|
|
6780
|
+
});
|
|
6781
|
+
|
|
6782
|
+
|
|
6610
6783
|
/***/ }),
|
|
6611
6784
|
|
|
6612
6785
|
/***/ "b727":
|
|
@@ -9115,7 +9288,7 @@ var es_array_map = __webpack_require__("d81d");
|
|
|
9115
9288
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
9116
9289
|
var es_function_name = __webpack_require__("b0c0");
|
|
9117
9290
|
|
|
9118
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9291
|
+
// 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&
|
|
9119
9292
|
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)}
|
|
9120
9293
|
var staticRenderFns = []
|
|
9121
9294
|
|
|
@@ -10107,7 +10280,7 @@ function isPromise(obj) {
|
|
|
10107
10280
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
10108
10281
|
}
|
|
10109
10282
|
|
|
10110
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10283
|
+
// 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&
|
|
10111
10284
|
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){
|
|
10112
10285
|
var row = ref.row;
|
|
10113
10286
|
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)])}
|
|
@@ -10207,7 +10380,7 @@ function _objectSpread2(target) {
|
|
|
10207
10380
|
|
|
10208
10381
|
return target;
|
|
10209
10382
|
}
|
|
10210
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10383
|
+
// 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&
|
|
10211
10384
|
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)}})}
|
|
10212
10385
|
var Loginvue_type_template_id_e39d3314_staticRenderFns = []
|
|
10213
10386
|
|
|
@@ -11068,7 +11241,7 @@ SelectTable.install = function (Vue) {
|
|
|
11068
11241
|
};
|
|
11069
11242
|
|
|
11070
11243
|
/* harmony default export */ var packages_SelectTable = (SelectTable);
|
|
11071
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11244
|
+
// 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&
|
|
11072
11245
|
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}})}
|
|
11073
11246
|
var PageInfovue_type_template_id_abb473c6_staticRenderFns = []
|
|
11074
11247
|
|
|
@@ -11229,8 +11402,8 @@ PageInfo.install = function (Vue) {
|
|
|
11229
11402
|
};
|
|
11230
11403
|
|
|
11231
11404
|
/* harmony default export */ var packages_PageInfo = (PageInfo);
|
|
11232
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11233
|
-
var
|
|
11405
|
+
// 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&
|
|
11406
|
+
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){
|
|
11234
11407
|
var column = ref.column;
|
|
11235
11408
|
var prop = ref.prop;
|
|
11236
11409
|
var order = ref.order;
|
|
@@ -11240,14 +11413,14 @@ var HtTablevue_type_template_id_03466226_scoped_true_render = function () {var _
|
|
|
11240
11413
|
var row = ref.row;
|
|
11241
11414
|
var column = ref.column;
|
|
11242
11415
|
var rowIndex = ref.rowIndex;
|
|
11243
|
-
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){
|
|
11416
|
+
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){
|
|
11244
11417
|
var column = ref.column;
|
|
11245
11418
|
var $index = ref.$index;
|
|
11246
11419
|
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()])}
|
|
11247
|
-
var
|
|
11420
|
+
var HtTablevue_type_template_id_08154685_scoped_true_staticRenderFns = []
|
|
11248
11421
|
|
|
11249
11422
|
|
|
11250
|
-
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=
|
|
11423
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=08154685&scoped=true&
|
|
11251
11424
|
|
|
11252
11425
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
11253
11426
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -11446,11 +11619,11 @@ HtTablevue_type_script_lang_ts_HtTable = __decorate([vue_class_component_esm({
|
|
|
11446
11619
|
|
|
11447
11620
|
var HtTable_component = normalizeComponent(
|
|
11448
11621
|
packages_HtTablevue_type_script_lang_ts_,
|
|
11449
|
-
|
|
11450
|
-
|
|
11622
|
+
HtTablevue_type_template_id_08154685_scoped_true_render,
|
|
11623
|
+
HtTablevue_type_template_id_08154685_scoped_true_staticRenderFns,
|
|
11451
11624
|
false,
|
|
11452
11625
|
null,
|
|
11453
|
-
"
|
|
11626
|
+
"08154685",
|
|
11454
11627
|
null
|
|
11455
11628
|
|
|
11456
11629
|
)
|
|
@@ -11472,7 +11645,7 @@ packages_HtTable.install = function (Vue) {
|
|
|
11472
11645
|
};
|
|
11473
11646
|
|
|
11474
11647
|
/* harmony default export */ var src_packages_HtTable = (packages_HtTable);
|
|
11475
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11648
|
+
// 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&
|
|
11476
11649
|
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)}
|
|
11477
11650
|
var HtExportvue_type_template_id_23fd9fd2_scoped_true_staticRenderFns = []
|
|
11478
11651
|
|
|
@@ -11681,7 +11854,7 @@ packages_HtExport.install = function (Vue) {
|
|
|
11681
11854
|
};
|
|
11682
11855
|
|
|
11683
11856
|
/* harmony default export */ var src_packages_HtExport = (packages_HtExport);
|
|
11684
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11857
|
+
// 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&
|
|
11685
11858
|
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){
|
|
11686
11859
|
var file = ref.file;
|
|
11687
11860
|
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)}
|
|
@@ -12040,7 +12213,7 @@ packages_HtUpload.install = function (Vue) {
|
|
|
12040
12213
|
};
|
|
12041
12214
|
|
|
12042
12215
|
/* harmony default export */ var src_packages_HtUpload = (packages_HtUpload);
|
|
12043
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12216
|
+
// 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&
|
|
12044
12217
|
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"}})}
|
|
12045
12218
|
var HtMdvue_type_template_id_1bb3f330_scoped_true_staticRenderFns = []
|
|
12046
12219
|
|
|
@@ -12207,12 +12380,15 @@ packages_HtMd.install = function (Vue) {
|
|
|
12207
12380
|
};
|
|
12208
12381
|
|
|
12209
12382
|
/* harmony default export */ var src_packages_HtMd = (packages_HtMd);
|
|
12210
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12211
|
-
var
|
|
12212
|
-
var
|
|
12383
|
+
// 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&
|
|
12384
|
+
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)])}
|
|
12385
|
+
var HtCountDownvue_type_template_id_6d5cd250_scoped_true_staticRenderFns = []
|
|
12386
|
+
|
|
12213
12387
|
|
|
12388
|
+
// CONCATENATED MODULE: ./src/packages/HtCountDown/index.vue?vue&type=template&id=6d5cd250&scoped=true&
|
|
12214
12389
|
|
|
12215
|
-
//
|
|
12390
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.to-fixed.js
|
|
12391
|
+
var es_number_to_fixed = __webpack_require__("b680");
|
|
12216
12392
|
|
|
12217
12393
|
// 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&
|
|
12218
12394
|
|
|
@@ -12224,6 +12400,7 @@ var HtCountDownvue_type_template_id_46487bac_scoped_true_staticRenderFns = []
|
|
|
12224
12400
|
|
|
12225
12401
|
|
|
12226
12402
|
|
|
12403
|
+
|
|
12227
12404
|
var HtCountDownvue_type_script_lang_ts_HtCountDown = /*#__PURE__*/function (_Vue) {
|
|
12228
12405
|
_inherits(HtCountDown, _Vue);
|
|
12229
12406
|
|
|
@@ -12249,37 +12426,78 @@ var HtCountDownvue_type_script_lang_ts_HtCountDown = /*#__PURE__*/function (_Vue
|
|
|
12249
12426
|
key: "created",
|
|
12250
12427
|
value: function created() {
|
|
12251
12428
|
/** 如果是传入的秒数 */
|
|
12429
|
+
if (!this.stopwatch) {
|
|
12430
|
+
if (this.times) {
|
|
12431
|
+
this.state.count = this.times;
|
|
12432
|
+
}
|
|
12433
|
+
/** 如果传入的是哪一天 */
|
|
12434
|
+
|
|
12435
|
+
|
|
12436
|
+
if (this.date) {
|
|
12437
|
+
var sec = (new Date(this.date).getTime() - new Date().getTime()) / 1000;
|
|
12438
|
+
this.state.count = sec > 0 ? sec : 0;
|
|
12439
|
+
}
|
|
12440
|
+
} else {
|
|
12441
|
+
//如果是秒表则启动秒表计时:
|
|
12442
|
+
this.startStopWatch(true);
|
|
12443
|
+
}
|
|
12444
|
+
}
|
|
12445
|
+
/** 秒表 */
|
|
12446
|
+
|
|
12447
|
+
}, {
|
|
12448
|
+
key: "startStopWatch",
|
|
12449
|
+
value: function startStopWatch(reset) {
|
|
12450
|
+
var _this2 = this;
|
|
12451
|
+
|
|
12452
|
+
if (reset) {
|
|
12453
|
+
this.state.count = 0;
|
|
12454
|
+
}
|
|
12455
|
+
|
|
12456
|
+
this.timer = setInterval(function () {
|
|
12457
|
+
_this2.state.count = parseFloat((_this2.state.count + _this2.getFrequency / 1000).toFixed(5));
|
|
12458
|
+
}, this.getFrequency);
|
|
12459
|
+
}
|
|
12460
|
+
/** 重置 */
|
|
12461
|
+
|
|
12462
|
+
}, {
|
|
12463
|
+
key: "reset",
|
|
12464
|
+
value: function reset() {
|
|
12252
12465
|
if (this.times) {
|
|
12466
|
+
clearInterval(this.timer);
|
|
12253
12467
|
this.state.count = this.times;
|
|
12468
|
+
this.getTimer();
|
|
12254
12469
|
}
|
|
12255
|
-
/** 如果传入的是哪一天 */
|
|
12256
12470
|
|
|
12471
|
+
if (this.stopwatch) {
|
|
12472
|
+
clearInterval(this.timer);
|
|
12473
|
+
this.startStopWatch(true);
|
|
12474
|
+
} //
|
|
12257
12475
|
|
|
12258
|
-
if (this.date) {
|
|
12259
|
-
var sec = (new Date(this.date).getTime() - new Date().getTime()) / 1000;
|
|
12260
|
-
this.state.count = sec > 0 ? sec : 0;
|
|
12261
|
-
}
|
|
12262
12476
|
}
|
|
12263
12477
|
/** 时间倒计时开始 */
|
|
12264
12478
|
|
|
12265
12479
|
}, {
|
|
12266
12480
|
key: "getTimer",
|
|
12267
12481
|
value: function getTimer() {
|
|
12268
|
-
var
|
|
12482
|
+
var _this3 = this;
|
|
12269
12483
|
|
|
12270
12484
|
this.timer = setInterval(function () {
|
|
12271
|
-
|
|
12485
|
+
_this3.state.count--;
|
|
12272
12486
|
|
|
12273
|
-
if (
|
|
12274
|
-
clearInterval(
|
|
12487
|
+
if (_this3.state.count === 0) {
|
|
12488
|
+
clearInterval(_this3.timer);
|
|
12275
12489
|
}
|
|
12276
|
-
},
|
|
12490
|
+
}, this.getFrequency);
|
|
12277
12491
|
}
|
|
12278
12492
|
}, {
|
|
12279
12493
|
key: "dateLess",
|
|
12280
12494
|
value: function dateLess() {
|
|
12281
12495
|
var total = this.state.count;
|
|
12282
12496
|
|
|
12497
|
+
if (this.stopwatch) {
|
|
12498
|
+
return total;
|
|
12499
|
+
}
|
|
12500
|
+
|
|
12283
12501
|
if (!total) {
|
|
12284
12502
|
return "--";
|
|
12285
12503
|
}
|
|
@@ -12326,16 +12544,23 @@ var HtCountDownvue_type_script_lang_ts_HtCountDown = /*#__PURE__*/function (_Vue
|
|
|
12326
12544
|
this.state.count = sec > 0 ? sec : 0;
|
|
12327
12545
|
}
|
|
12328
12546
|
|
|
12329
|
-
if (
|
|
12547
|
+
if (this.stopwatch) {
|
|
12548
|
+
this.startStopWatch(false);
|
|
12549
|
+
} else if (!this.date && !this.times) {
|
|
12330
12550
|
this.$notify.error("请先传入完成的参数");
|
|
12331
12551
|
return;
|
|
12552
|
+
} else {
|
|
12553
|
+
this.getTimer();
|
|
12332
12554
|
}
|
|
12333
|
-
|
|
12334
|
-
this.getTimer();
|
|
12335
12555
|
} else {
|
|
12336
12556
|
clearInterval(this.timer);
|
|
12337
12557
|
}
|
|
12338
12558
|
}
|
|
12559
|
+
}, {
|
|
12560
|
+
key: "getFrequency",
|
|
12561
|
+
get: function get() {
|
|
12562
|
+
return this.frequency || 1000;
|
|
12563
|
+
}
|
|
12339
12564
|
}]);
|
|
12340
12565
|
|
|
12341
12566
|
return HtCountDown;
|
|
@@ -12347,6 +12572,10 @@ __decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "
|
|
|
12347
12572
|
|
|
12348
12573
|
__decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "start", void 0);
|
|
12349
12574
|
|
|
12575
|
+
__decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "stopwatch", void 0);
|
|
12576
|
+
|
|
12577
|
+
__decorate([Prop()], HtCountDownvue_type_script_lang_ts_HtCountDown.prototype, "frequency", void 0);
|
|
12578
|
+
|
|
12350
12579
|
__decorate([Watch("start", {
|
|
12351
12580
|
deep: true,
|
|
12352
12581
|
immediate: true
|
|
@@ -12366,11 +12595,11 @@ HtCountDownvue_type_script_lang_ts_HtCountDown = __decorate([vue_class_component
|
|
|
12366
12595
|
|
|
12367
12596
|
var HtCountDown_component = normalizeComponent(
|
|
12368
12597
|
packages_HtCountDownvue_type_script_lang_ts_,
|
|
12369
|
-
|
|
12370
|
-
|
|
12598
|
+
HtCountDownvue_type_template_id_6d5cd250_scoped_true_render,
|
|
12599
|
+
HtCountDownvue_type_template_id_6d5cd250_scoped_true_staticRenderFns,
|
|
12371
12600
|
false,
|
|
12372
12601
|
null,
|
|
12373
|
-
"
|
|
12602
|
+
"6d5cd250",
|
|
12374
12603
|
null
|
|
12375
12604
|
|
|
12376
12605
|
)
|
|
@@ -12402,7 +12631,7 @@ packages_HtCountDown.install = function (Vue) {
|
|
|
12402
12631
|
* @Author: hutao
|
|
12403
12632
|
* @Date: 2021-10-21 10:08:41
|
|
12404
12633
|
* @LastEditors: hutao
|
|
12405
|
-
* @LastEditTime:
|
|
12634
|
+
* @LastEditTime: 2022-01-04 09:47:12
|
|
12406
12635
|
*/
|
|
12407
12636
|
|
|
12408
12637
|
/** 下拉table选择控件 */
|
package/lib/htui.common.js.gz
CHANGED
|
Binary file
|