htui-yllkbz 1.3.13 → 1.3.14
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 +434 -16
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +434 -16
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +3 -3
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/HtSelectBaseData/index.vue +14 -3
- package/src/packages/HtShowBaseData/index.ts +15 -0
- package/src/packages/HtShowBaseData/index.vue +316 -0
- package/src/packages/HtTable/index.vue +18 -15
package/lib/htui.common.js
CHANGED
|
@@ -2199,6 +2199,46 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
|
|
|
2199
2199
|
});
|
|
2200
2200
|
|
|
2201
2201
|
|
|
2202
|
+
/***/ }),
|
|
2203
|
+
|
|
2204
|
+
/***/ "2ca0":
|
|
2205
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2206
|
+
|
|
2207
|
+
"use strict";
|
|
2208
|
+
|
|
2209
|
+
var $ = __webpack_require__("23e7");
|
|
2210
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
2211
|
+
var toLength = __webpack_require__("50c4");
|
|
2212
|
+
var notARegExp = __webpack_require__("5a34");
|
|
2213
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
2214
|
+
var correctIsRegExpLogic = __webpack_require__("ab13");
|
|
2215
|
+
var IS_PURE = __webpack_require__("c430");
|
|
2216
|
+
|
|
2217
|
+
var nativeStartsWith = ''.startsWith;
|
|
2218
|
+
var min = Math.min;
|
|
2219
|
+
|
|
2220
|
+
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
|
|
2221
|
+
// https://github.com/zloirock/core-js/pull/702
|
|
2222
|
+
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
2223
|
+
var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
|
|
2224
|
+
return descriptor && !descriptor.writable;
|
|
2225
|
+
}();
|
|
2226
|
+
|
|
2227
|
+
// `String.prototype.startsWith` method
|
|
2228
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.startswith
|
|
2229
|
+
$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
2230
|
+
startsWith: function startsWith(searchString /* , position = 0 */) {
|
|
2231
|
+
var that = String(requireObjectCoercible(this));
|
|
2232
|
+
notARegExp(searchString);
|
|
2233
|
+
var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
|
|
2234
|
+
var search = String(searchString);
|
|
2235
|
+
return nativeStartsWith
|
|
2236
|
+
? nativeStartsWith.call(that, search, index)
|
|
2237
|
+
: that.slice(index, index + search.length) === search;
|
|
2238
|
+
}
|
|
2239
|
+
});
|
|
2240
|
+
|
|
2241
|
+
|
|
2202
2242
|
/***/ }),
|
|
2203
2243
|
|
|
2204
2244
|
/***/ "2cf4":
|
|
@@ -3989,6 +4029,13 @@ module.exports = function (originalArray, length) {
|
|
|
3989
4029
|
};
|
|
3990
4030
|
|
|
3991
4031
|
|
|
4032
|
+
/***/ }),
|
|
4033
|
+
|
|
4034
|
+
/***/ "68be":
|
|
4035
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4036
|
+
|
|
4037
|
+
// extracted by mini-css-extract-plugin
|
|
4038
|
+
|
|
3992
4039
|
/***/ }),
|
|
3993
4040
|
|
|
3994
4041
|
/***/ "69f3":
|
|
@@ -4368,6 +4415,38 @@ module.exports = Object.create || function create(O, Properties) {
|
|
|
4368
4415
|
};
|
|
4369
4416
|
|
|
4370
4417
|
|
|
4418
|
+
/***/ }),
|
|
4419
|
+
|
|
4420
|
+
/***/ "7db0":
|
|
4421
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4422
|
+
|
|
4423
|
+
"use strict";
|
|
4424
|
+
|
|
4425
|
+
var $ = __webpack_require__("23e7");
|
|
4426
|
+
var $find = __webpack_require__("b727").find;
|
|
4427
|
+
var addToUnscopables = __webpack_require__("44d2");
|
|
4428
|
+
var arrayMethodUsesToLength = __webpack_require__("ae40");
|
|
4429
|
+
|
|
4430
|
+
var FIND = 'find';
|
|
4431
|
+
var SKIPS_HOLES = true;
|
|
4432
|
+
|
|
4433
|
+
var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
|
|
4434
|
+
|
|
4435
|
+
// Shouldn't skip holes
|
|
4436
|
+
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
4437
|
+
|
|
4438
|
+
// `Array.prototype.find` method
|
|
4439
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype.find
|
|
4440
|
+
$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
|
|
4441
|
+
find: function find(callbackfn /* , that = undefined */) {
|
|
4442
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
4443
|
+
}
|
|
4444
|
+
});
|
|
4445
|
+
|
|
4446
|
+
// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
|
|
4447
|
+
addToUnscopables(FIND);
|
|
4448
|
+
|
|
4449
|
+
|
|
4371
4450
|
/***/ }),
|
|
4372
4451
|
|
|
4373
4452
|
/***/ "7dd0":
|
|
@@ -8610,6 +8689,17 @@ module.exports = function (it, TAG, STATIC) {
|
|
|
8610
8689
|
};
|
|
8611
8690
|
|
|
8612
8691
|
|
|
8692
|
+
/***/ }),
|
|
8693
|
+
|
|
8694
|
+
/***/ "d55d":
|
|
8695
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8696
|
+
|
|
8697
|
+
"use strict";
|
|
8698
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3e20df09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("68be");
|
|
8699
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3e20df09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3e20df09_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
8700
|
+
/* unused harmony reexport * */
|
|
8701
|
+
|
|
8702
|
+
|
|
8613
8703
|
/***/ }),
|
|
8614
8704
|
|
|
8615
8705
|
/***/ "d5e9":
|
|
@@ -12222,8 +12312,8 @@ PageInfo.install = function (Vue) {
|
|
|
12222
12312
|
};
|
|
12223
12313
|
|
|
12224
12314
|
/* harmony default export */ var packages_PageInfo = (PageInfo);
|
|
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/HtTable/index.vue?vue&type=template&id=
|
|
12226
|
-
var
|
|
12315
|
+
// 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=fb8c90a6&scoped=true&
|
|
12316
|
+
var HtTablevue_type_template_id_fb8c90a6_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"}],staticStyle:{"background":"#fff"}},[_c('article',[_c('el-table',{ref:"comTable",attrs:{"height":_vm.height,"max-height":_vm.maxHeight,"border":_vm.border,"stripe":_vm.stripe!==undefined?_vm.stripe:true,"size":_vm.size||'small',"fit":_vm.fit,"header-row-style":_vm.headerRowStyle||{'background':'var(--primary-92)'},"header-row-class-name":_vm.headerRowClassName,"header-cell-class-name":_vm.headerCellClassName,"header-cell-style":_vm.headerCellStyle,"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){
|
|
12227
12317
|
var column = ref.column;
|
|
12228
12318
|
var prop = ref.prop;
|
|
12229
12319
|
var order = ref.order;
|
|
@@ -12237,17 +12327,17 @@ return [_vm._t("body_order",[_vm._v(" "+_vm._s((_vm.state.pageInfo.currentPage-1
|
|
|
12237
12327
|
var row = ref.row;
|
|
12238
12328
|
var column = ref.column;
|
|
12239
12329
|
var rowIndex = ref.rowIndex;
|
|
12240
|
-
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(
|
|
12330
|
+
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('HtShowBaseData',{attrs:{"hide-code":item.hideCode,"user-id":item.commonType==='userId'?JSON.stringify([_vm.getPropByPath(row,item.key)]):'[]',"department-id":item.commonType==='departmentId'?JSON.stringify([_vm.getPropByPath(row,item.key)]):'[]',"role-id":item.commonType==='roleId'?JSON.stringify([_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('HtShowBaseData',{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',"size":'small'}},[_vm._v("是")]):_c('el-tag',{attrs:{"type":"danger","size":'small'}},[_vm._v("否")])]:(item.type==='img')?[(_vm.getPropByPath(row,item.key))?_c('span',_vm._l((_vm.getPropByPath(row,item.key).split(',')),function(fileToken){return _c('el-image',{key:fileToken,staticStyle:{"width":"38px","height":"38px","margin-right":"5px"},attrs:{"src":'/files/api/filing/file/download/'+fileToken,"preview-src-list":['/files/api/filing/file/download/'+fileToken]}})}),1):_vm._e()]:(item.type==='file')?[(_vm.getPropByPath(row,item.key))?_c('span',[_c('i',{staticClass:"el-icon-paperclip",staticStyle:{"color":"var(--primary)","cursor":"pointer"},on:{"click":function($event){_vm.showFiles(_vm.getPropByPath(row,item.key))}}},[_vm._v(_vm._s(_vm.getPropByPath(row,item.key).split(',').length))])]):_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){
|
|
12241
12331
|
var column = ref.column;
|
|
12242
12332
|
var $index = ref.$index;
|
|
12243
12333
|
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(),_c('el-dialog',{attrs:{"visible":_vm.state.visibleFilter,"title":"属性设置","append-to-body":true,"close-on-click-modal":true,"width":"400px"},on:{"update:visible":function($event){return _vm.$set(_vm.state, "visibleFilter", $event)}}},[_c('p',{staticStyle:{"font-weight":"700","font-size":"18px","float":"left","margin":"0"},attrs:{"slot":"title"},slot:"title"},[_vm._v("自定义列展示")]),_c('div',{staticStyle:{"overflow":"hidden","height":"35vh","margin-top":"12px"}},[_c('el-scrollbar',{staticStyle:{"height":"calc(35vh + 17px)"}},[_c('el-tree',{ref:"tree",attrs:{"data":_vm.getAllColumns,"show-checkbox":"","expand-on-click-node":false,"node-key":"key","check-on-click-node":false,"default-checked-keys":_vm.state.checkedColumnKeys,"allow-drag":_vm.allowDrag,"draggable":"","allow-drop":_vm.allowDrop},on:{"node-drag-start":_vm.handleDragStart,"node-drag-enter":_vm.handleDragEnter,"node-drag-leave":_vm.handleDragLeave,"node-drag-over":_vm.handleDragOver,"node-drag-end":_vm.handleDragEnd,"node-drop":_vm.handleDrop,"check-change":_vm.changeColumns},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
12244
12334
|
var node = ref.node;
|
|
12245
12335
|
var data = ref.data;
|
|
12246
12336
|
return _c('span',{staticClass:"custom-tree-node"},[_vm._t('header_'+data.key,[_vm._v(_vm._s(data.title)),_c('span',{staticStyle:{"color":"#C0C4CC"}},[_vm._v(_vm._s(data.property?("(" + (data.property) + ")"):''))])],{"column":data})],2)}}],null,true)})],1)],1),_c('span',{attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.confirmSortAndshow}},[_vm._v("确定")]),_c('el-button',{on:{"click":function($event){_vm.state.visibleFilter=false}}},[_vm._v("取消")]),_c('el-button',{on:{"click":_vm.resetColumn}},[_vm._v("重置")])],1)]),_c('el-dialog',{attrs:{"visible":_vm.state.visibleFile,"title":"附件查看","append-to-body":true,"close-on-click-modal":true,"width":"400px","center":true},on:{"update:visible":function($event){return _vm.$set(_vm.state, "visibleFile", $event)}}},[_c('p',{staticStyle:{"font-weight":"700","font-size":"18px","float":"left","margin":"0"},attrs:{"slot":"title"},slot:"title"},[_vm._v("附件查看")]),_c('div',{staticStyle:{"overflow":"hidden","height":"calc(30vh)"}},[_c('el-scrollbar',{staticStyle:{"height":"calc(100% + 17px)"}},[_c('HtUploadFiles',{attrs:{"disabled":true},model:{value:(_vm.state.files),callback:function ($$v) {_vm.$set(_vm.state, "files", $$v)},expression:"state.files"}})],1)],1)])],1)}
|
|
12247
|
-
var
|
|
12337
|
+
var HtTablevue_type_template_id_fb8c90a6_scoped_true_staticRenderFns = []
|
|
12248
12338
|
|
|
12249
12339
|
|
|
12250
|
-
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=
|
|
12340
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=fb8c90a6&scoped=true&
|
|
12251
12341
|
|
|
12252
12342
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
12253
12343
|
var es_array_concat = __webpack_require__("99af");
|
|
@@ -13100,11 +13190,11 @@ HtTablevue_type_script_lang_ts_HtTable = __decorate([vue_class_component_esm({
|
|
|
13100
13190
|
|
|
13101
13191
|
var HtTable_component = normalizeComponent(
|
|
13102
13192
|
packages_HtTablevue_type_script_lang_ts_,
|
|
13103
|
-
|
|
13104
|
-
|
|
13193
|
+
HtTablevue_type_template_id_fb8c90a6_scoped_true_render,
|
|
13194
|
+
HtTablevue_type_template_id_fb8c90a6_scoped_true_staticRenderFns,
|
|
13105
13195
|
false,
|
|
13106
13196
|
null,
|
|
13107
|
-
"
|
|
13197
|
+
"fb8c90a6",
|
|
13108
13198
|
null
|
|
13109
13199
|
|
|
13110
13200
|
)
|
|
@@ -14115,13 +14205,337 @@ packages_HtUploadFiles.install = function (Vue) {
|
|
|
14115
14205
|
};
|
|
14116
14206
|
|
|
14117
14207
|
/* harmony default export */ var src_packages_HtUploadFiles = (packages_HtUploadFiles);
|
|
14118
|
-
// 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/HtSelectBaseData/index.vue?vue&type=template&id=
|
|
14119
|
-
var
|
|
14120
|
-
var
|
|
14208
|
+
// 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/HtSelectBaseData/index.vue?vue&type=template&id=135372f1&scoped=true&
|
|
14209
|
+
var HtSelectBaseDatavue_type_template_id_135372f1_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.readonly)?[(!_vm.dataTypeId)?_c('el-select',{staticStyle:{"width":"100%"},attrs:{"value":"","disabled":_vm.disabled,"placeholder":"请选择"}}):_c("common-datas-info",{tag:"div",attrs:{"disabled":_vm.disabled,"com-style":"background:#fff","config-json":_vm.configJson},on:{"change":_vm.getCommonData}})]:_c('div',[(this.value)?_c('HtShowBaseData',{staticStyle:{"font-size":"12px"},attrs:{"hide-code":_vm.hideCode,"base-data-id":this.value,"base-data-info":true,"com-style":"font-size:12px"}}):_vm._e()],1)],2)}
|
|
14210
|
+
var HtSelectBaseDatavue_type_template_id_135372f1_scoped_true_staticRenderFns = []
|
|
14211
|
+
|
|
14212
|
+
|
|
14213
|
+
// CONCATENATED MODULE: ./src/packages/HtSelectBaseData/index.vue?vue&type=template&id=135372f1&scoped=true&
|
|
14214
|
+
|
|
14215
|
+
// 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/HtShowBaseData/index.vue?vue&type=template&id=3e20df09&scoped=true&
|
|
14216
|
+
var HtShowBaseDatavue_type_template_id_3e20df09_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"show-common-item"},[(_vm.timeStr)?[_c('span',[_vm._v(" "+_vm._s(_vm.timeFormat)+" ")])]:_vm._e(),(_vm.departmentId)?_vm._l((_vm.departmentData),function(item){return _c('span',{key:item,staticClass:"item"},[_vm._v(" "+_vm._s(_vm.getorgById(item).displayName || _vm.empty)+" ")])}):_vm._e(),(_vm.userId)?_vm._l((_vm.userData),function(item){return _c('span',{key:item.id,staticClass:"item"},[_vm._v(" "+_vm._s(item.value || _vm.empty)+" ")])}):_vm._e(),(_vm.roleId)?_vm._l((_vm.roleData),function(item){return _c('span',{key:item.id,staticClass:"item"},[_vm._v(" "+_vm._s(item.name || _vm.empty)+" ")])}):_vm._e(),(_vm.baseDataId)?[(_vm.baseDataItem[_vm.baseDataId])?_c('span',{staticClass:"item"},[_vm._v(" "+_vm._s(_vm.state.text)+" ")]):_c('span',[_vm._v(" "+_vm._s(_vm.empty))])]:_vm._e(),(_vm.baseDataValue)?[(_vm.baseDataItem[_vm.baseDataValue])?_c('span',{staticClass:"item"},[_vm._v(" "+_vm._s(_vm.baseDataItem[_vm.baseDataValue].name || _vm.empty)+" "),(_vm.baseDataInfo&&!_vm.hideCode)?_c('span',[_vm._v(" ("+_vm._s(_vm.baseDataItem[_vm.baseDataValue].value || _vm.empty)+") ")]):_vm._e()]):_c('span',[_vm._v(" "+_vm._s(_vm.empty))])]:_vm._e(),(_vm.baseDataName)?[(_vm.baseDataItem[_vm.baseDataName])?_c('span',{staticClass:"item"},[_vm._v(" "+_vm._s(_vm.baseDataItem[_vm.baseDataName].name || _vm.empty)+" "),(_vm.baseDataInfo&&!_vm.hideCode)?_c('span',[_vm._v(" ("+_vm._s(_vm.baseDataItem[_vm.baseDataName].value || _vm.empty)+") ")]):_vm._e()]):_c('span',[_vm._v(" "+_vm._s(_vm.empty))])]:_vm._e()],2)}
|
|
14217
|
+
var HtShowBaseDatavue_type_template_id_3e20df09_scoped_true_staticRenderFns = []
|
|
14218
|
+
|
|
14219
|
+
|
|
14220
|
+
// CONCATENATED MODULE: ./src/packages/HtShowBaseData/index.vue?vue&type=template&id=3e20df09&scoped=true&
|
|
14221
|
+
|
|
14222
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
14223
|
+
var es_array_find = __webpack_require__("7db0");
|
|
14224
|
+
|
|
14225
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.starts-with.js
|
|
14226
|
+
var es_string_starts_with = __webpack_require__("2ca0");
|
|
14227
|
+
|
|
14228
|
+
// 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/HtShowBaseData/index.vue?vue&type=script&lang=ts&
|
|
14229
|
+
|
|
14230
|
+
|
|
14231
|
+
|
|
14232
|
+
|
|
14233
|
+
|
|
14234
|
+
|
|
14235
|
+
|
|
14236
|
+
|
|
14237
|
+
|
|
14238
|
+
|
|
14239
|
+
|
|
14240
|
+
|
|
14241
|
+
|
|
14242
|
+
|
|
14243
|
+
|
|
14244
|
+
|
|
14245
|
+
|
|
14246
|
+
|
|
14247
|
+
|
|
14248
|
+
|
|
14249
|
+
|
|
14250
|
+
var HtShowBaseDatavue_type_script_lang_ts_CommonDatas = /*#__PURE__*/function (_Vue) {
|
|
14251
|
+
_inherits(CommonDatas, _Vue);
|
|
14252
|
+
|
|
14253
|
+
var _super = _createSuper(CommonDatas);
|
|
14254
|
+
|
|
14255
|
+
function CommonDatas() {
|
|
14256
|
+
var _this;
|
|
14257
|
+
|
|
14258
|
+
_classCallCheck(this, CommonDatas);
|
|
14259
|
+
|
|
14260
|
+
_this = _super.apply(this, arguments);
|
|
14261
|
+
/** 人员 */
|
|
14262
|
+
|
|
14263
|
+
/** 数据 */
|
|
14264
|
+
|
|
14265
|
+
_this.state = {
|
|
14266
|
+
text: "",
|
|
14267
|
+
resData: {
|
|
14268
|
+
baseData: {
|
|
14269
|
+
items: []
|
|
14270
|
+
},
|
|
14271
|
+
dictionaryCategory: {
|
|
14272
|
+
items: []
|
|
14273
|
+
},
|
|
14274
|
+
dictionaryData: [],
|
|
14275
|
+
severityLevel: [],
|
|
14276
|
+
organizationUnit: [],
|
|
14277
|
+
organizationUsersTree: [],
|
|
14278
|
+
users: {
|
|
14279
|
+
items: []
|
|
14280
|
+
},
|
|
14281
|
+
SessionState: "",
|
|
14282
|
+
userInOrganiza: [],
|
|
14283
|
+
organizationUsers: {},
|
|
14284
|
+
roleList: []
|
|
14285
|
+
},
|
|
14286
|
+
baseDataItem: {}
|
|
14287
|
+
};
|
|
14288
|
+
return _this;
|
|
14289
|
+
}
|
|
14290
|
+
/** 生命周期 */
|
|
14291
|
+
|
|
14292
|
+
|
|
14293
|
+
_createClass(CommonDatas, [{
|
|
14294
|
+
key: "created",
|
|
14295
|
+
value: function created() {
|
|
14296
|
+
if (!accountConst.getLoginState()) {
|
|
14297
|
+
return;
|
|
14298
|
+
}
|
|
14299
|
+
|
|
14300
|
+
var data = window.localStorage.getItem("commonDatas");
|
|
14301
|
+
|
|
14302
|
+
if (data) {
|
|
14303
|
+
this.state.resData = Object.assign(this.state.resData, JSON.parse(data));
|
|
14304
|
+
}
|
|
14305
|
+
|
|
14306
|
+
var _this$state$resData$b = this.state.resData.baseData.items,
|
|
14307
|
+
items = _this$state$resData$b === void 0 ? [] : _this$state$resData$b;
|
|
14308
|
+
this.getBaseDataItem(items);
|
|
14309
|
+
this.setText();
|
|
14310
|
+
}
|
|
14311
|
+
/** 方法 */
|
|
14312
|
+
|
|
14313
|
+
/** 根据id获取用户部门 */
|
|
14314
|
+
|
|
14315
|
+
}, {
|
|
14316
|
+
key: "getorgById",
|
|
14317
|
+
value: function getorgById(id) {
|
|
14318
|
+
return this.state.resData.organizationUnit.find(function (val) {
|
|
14319
|
+
return val.id == id;
|
|
14320
|
+
}) || {};
|
|
14321
|
+
}
|
|
14322
|
+
/** 递归处理基础数据 */
|
|
14323
|
+
|
|
14324
|
+
}, {
|
|
14325
|
+
key: "getBaseDataItem",
|
|
14326
|
+
value: function getBaseDataItem(list) {
|
|
14327
|
+
var _this2 = this;
|
|
14328
|
+
|
|
14329
|
+
// const list = this.state.resData.baseData.items || []
|
|
14330
|
+
list.forEach(function (item) {
|
|
14331
|
+
_this2.state.baseDataItem[item.id || ""] = item;
|
|
14332
|
+
_this2.state.baseDataItem[item.value || ""] = item;
|
|
14333
|
+
_this2.state.baseDataItem[item.name || ""] = item;
|
|
14334
|
+
|
|
14335
|
+
if (item.children) {
|
|
14336
|
+
_this2.getBaseDataItem(item.children);
|
|
14337
|
+
}
|
|
14338
|
+
});
|
|
14339
|
+
}
|
|
14340
|
+
/** 获取节点相关的所有父节点信息--只针对基础数据 */
|
|
14341
|
+
|
|
14342
|
+
}, {
|
|
14343
|
+
key: "setAllLevel",
|
|
14344
|
+
value: function setAllLevel(id) {
|
|
14345
|
+
var baseDataItem = this.state.baseDataItem;
|
|
14346
|
+
var hideCode = this.hideCode;
|
|
14347
|
+
var text = "";
|
|
14348
|
+
|
|
14349
|
+
if (baseDataItem[id]) {
|
|
14350
|
+
if (hideCode) {
|
|
14351
|
+
text = "".concat(baseDataItem[id].name || "");
|
|
14352
|
+
} else {
|
|
14353
|
+
text = "".concat(baseDataItem[id].name || "", "(").concat(baseDataItem[id].value, ")");
|
|
14354
|
+
}
|
|
14355
|
+
|
|
14356
|
+
if (baseDataItem[id].parentId && this.showAllLevel) {
|
|
14357
|
+
var tempText = this.setAllLevel(baseDataItem[id]["parentId"]);
|
|
14358
|
+
text = "".concat(tempText, "/").concat(text);
|
|
14359
|
+
}
|
|
14360
|
+
}
|
|
14361
|
+
|
|
14362
|
+
return text;
|
|
14363
|
+
}
|
|
14364
|
+
}, {
|
|
14365
|
+
key: "setText",
|
|
14366
|
+
value: function setText() {
|
|
14367
|
+
if (this.baseDataId) {
|
|
14368
|
+
var tempText = this.setAllLevel(this.baseDataId);
|
|
14369
|
+
this.state.text = tempText;
|
|
14370
|
+
}
|
|
14371
|
+
}
|
|
14372
|
+
/** 计算属性 */
|
|
14373
|
+
|
|
14374
|
+
/** 基础数据 */
|
|
14375
|
+
|
|
14376
|
+
}, {
|
|
14377
|
+
key: "baseDataItem",
|
|
14378
|
+
get: function get() {
|
|
14379
|
+
return this.state.baseDataItem || {};
|
|
14380
|
+
}
|
|
14381
|
+
/** 获取严重等级 */
|
|
14382
|
+
|
|
14383
|
+
}, {
|
|
14384
|
+
key: "SeverityLevel",
|
|
14385
|
+
get: function get() {
|
|
14386
|
+
return this.state.resData.severityLevel || [];
|
|
14387
|
+
}
|
|
14388
|
+
/** 获取用户数据 */
|
|
14389
|
+
|
|
14390
|
+
}, {
|
|
14391
|
+
key: "userDataList",
|
|
14392
|
+
get: function get() {
|
|
14393
|
+
return this.state.resData.users.items || [];
|
|
14394
|
+
}
|
|
14395
|
+
/** 根据id获取用户数据 */
|
|
14396
|
+
|
|
14397
|
+
}, {
|
|
14398
|
+
key: "userData",
|
|
14399
|
+
get: function get() {
|
|
14400
|
+
if (!this.userId) {
|
|
14401
|
+
return [];
|
|
14402
|
+
}
|
|
14403
|
+
|
|
14404
|
+
if (this.state.resData.users.items) {
|
|
14405
|
+
var ids = JSON.parse(this.userId);
|
|
14406
|
+
var data = this.state.resData.users.items.filter(function (val) {
|
|
14407
|
+
return ids.includes(val.id);
|
|
14408
|
+
});
|
|
14409
|
+
return data;
|
|
14410
|
+
} else {
|
|
14411
|
+
return [];
|
|
14412
|
+
}
|
|
14413
|
+
}
|
|
14414
|
+
/** 根据id获取角色数据 */
|
|
14415
|
+
|
|
14416
|
+
}, {
|
|
14417
|
+
key: "roleData",
|
|
14418
|
+
get: function get() {
|
|
14419
|
+
if (!this.roleId) {
|
|
14420
|
+
return [];
|
|
14421
|
+
}
|
|
14422
|
+
|
|
14423
|
+
if (this.state.resData.roleList) {
|
|
14424
|
+
var ids = JSON.parse(this.roleId);
|
|
14425
|
+
var data = this.state.resData.roleList.filter(function (val) {
|
|
14426
|
+
return ids.includes(val.id || "");
|
|
14427
|
+
});
|
|
14428
|
+
return data;
|
|
14429
|
+
} else {
|
|
14430
|
+
return [];
|
|
14431
|
+
}
|
|
14432
|
+
}
|
|
14433
|
+
/** 根据id获取部门数据 */
|
|
14121
14434
|
|
|
14435
|
+
}, {
|
|
14436
|
+
key: "departmentData",
|
|
14437
|
+
get: function get() {
|
|
14438
|
+
if (!this.departmentId) {
|
|
14439
|
+
return [];
|
|
14440
|
+
}
|
|
14441
|
+
|
|
14442
|
+
var ids = JSON.parse(this.departmentId);
|
|
14443
|
+
return ids;
|
|
14444
|
+
}
|
|
14445
|
+
/** 时间格式 */
|
|
14446
|
+
|
|
14447
|
+
}, {
|
|
14448
|
+
key: "timeFormat",
|
|
14449
|
+
get: function get() {
|
|
14450
|
+
if (this.timeStr && this.timeStr.startsWith("0")) {
|
|
14451
|
+
return this.empty;
|
|
14452
|
+
} else {
|
|
14453
|
+
var _this$timeStr;
|
|
14454
|
+
|
|
14455
|
+
return ((_this$timeStr = this.timeStr) === null || _this$timeStr === void 0 ? void 0 : _this$timeStr.replace(/T/, " ").slice(0, 19)) || this.empty;
|
|
14456
|
+
}
|
|
14457
|
+
}
|
|
14458
|
+
}]);
|
|
14459
|
+
|
|
14460
|
+
return CommonDatas;
|
|
14461
|
+
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
14122
14462
|
|
|
14123
|
-
|
|
14463
|
+
__decorate([Prop({
|
|
14464
|
+
default: ""
|
|
14465
|
+
})], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "empty", void 0);
|
|
14466
|
+
|
|
14467
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "userId", void 0);
|
|
14468
|
+
|
|
14469
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "showAllLevel", void 0);
|
|
14470
|
+
|
|
14471
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "hideCode", void 0);
|
|
14472
|
+
|
|
14473
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "roleId", void 0);
|
|
14474
|
+
|
|
14475
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "departmentId", void 0);
|
|
14476
|
+
|
|
14477
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "severityValue", void 0);
|
|
14478
|
+
|
|
14479
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "timeStr", void 0);
|
|
14480
|
+
|
|
14481
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "baseDataId", void 0);
|
|
14482
|
+
|
|
14483
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "baseDataValue", void 0);
|
|
14484
|
+
|
|
14485
|
+
__decorate([Prop()], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "baseDataName", void 0);
|
|
14486
|
+
|
|
14487
|
+
__decorate([Prop({
|
|
14488
|
+
default: false
|
|
14489
|
+
})], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "baseDataInfo", void 0);
|
|
14124
14490
|
|
|
14491
|
+
__decorate([Watch("baseDataItem")], HtShowBaseDatavue_type_script_lang_ts_CommonDatas.prototype, "setText", null);
|
|
14492
|
+
|
|
14493
|
+
HtShowBaseDatavue_type_script_lang_ts_CommonDatas = __decorate([vue_class_component_esm({
|
|
14494
|
+
name: "HtShowBaseData"
|
|
14495
|
+
})], HtShowBaseDatavue_type_script_lang_ts_CommonDatas);
|
|
14496
|
+
/* harmony default export */ var HtShowBaseDatavue_type_script_lang_ts_ = (HtShowBaseDatavue_type_script_lang_ts_CommonDatas);
|
|
14497
|
+
// CONCATENATED MODULE: ./src/packages/HtShowBaseData/index.vue?vue&type=script&lang=ts&
|
|
14498
|
+
/* harmony default export */ var packages_HtShowBaseDatavue_type_script_lang_ts_ = (HtShowBaseDatavue_type_script_lang_ts_);
|
|
14499
|
+
// EXTERNAL MODULE: ./src/packages/HtShowBaseData/index.vue?vue&type=style&index=0&id=3e20df09&lang=scss&scoped=true&
|
|
14500
|
+
var HtShowBaseDatavue_type_style_index_0_id_3e20df09_lang_scss_scoped_true_ = __webpack_require__("d55d");
|
|
14501
|
+
|
|
14502
|
+
// CONCATENATED MODULE: ./src/packages/HtShowBaseData/index.vue
|
|
14503
|
+
|
|
14504
|
+
|
|
14505
|
+
|
|
14506
|
+
|
|
14507
|
+
|
|
14508
|
+
|
|
14509
|
+
/* normalize component */
|
|
14510
|
+
|
|
14511
|
+
var HtShowBaseData_component = normalizeComponent(
|
|
14512
|
+
packages_HtShowBaseDatavue_type_script_lang_ts_,
|
|
14513
|
+
HtShowBaseDatavue_type_template_id_3e20df09_scoped_true_render,
|
|
14514
|
+
HtShowBaseDatavue_type_template_id_3e20df09_scoped_true_staticRenderFns,
|
|
14515
|
+
false,
|
|
14516
|
+
null,
|
|
14517
|
+
"3e20df09",
|
|
14518
|
+
null
|
|
14519
|
+
|
|
14520
|
+
)
|
|
14521
|
+
|
|
14522
|
+
/* harmony default export */ var HtShowBaseData = (HtShowBaseData_component.exports);
|
|
14523
|
+
// CONCATENATED MODULE: ./src/packages/HtShowBaseData/index.ts
|
|
14524
|
+
/*
|
|
14525
|
+
* @Descripttion: 基础数据展示组件
|
|
14526
|
+
* @version:
|
|
14527
|
+
* @Author: hutao
|
|
14528
|
+
* @Date: 2022-04-12 17:34:51
|
|
14529
|
+
* @LastEditors: hutao
|
|
14530
|
+
* @LastEditTime: 2022-04-12 17:43:38
|
|
14531
|
+
*/
|
|
14532
|
+
|
|
14533
|
+
|
|
14534
|
+
HtShowBaseData.install = function (Vue) {
|
|
14535
|
+
Vue.component("HtShowBaseData", HtShowBaseData);
|
|
14536
|
+
};
|
|
14537
|
+
|
|
14538
|
+
/* harmony default export */ var packages_HtShowBaseData = (HtShowBaseData);
|
|
14125
14539
|
// 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/HtSelectBaseData/index.vue?vue&type=script&lang=ts&
|
|
14126
14540
|
|
|
14127
14541
|
|
|
@@ -14130,6 +14544,7 @@ var HtSelectBaseDatavue_type_template_id_41f2a534_scoped_true_staticRenderFns =
|
|
|
14130
14544
|
|
|
14131
14545
|
|
|
14132
14546
|
|
|
14547
|
+
|
|
14133
14548
|
var HtSelectBaseDatavue_type_script_lang_ts_HtSelectBaseData = /*#__PURE__*/function (_Vue) {
|
|
14134
14549
|
_inherits(HtSelectBaseData, _Vue);
|
|
14135
14550
|
|
|
@@ -14242,7 +14657,10 @@ __decorate([Prop({
|
|
|
14242
14657
|
__decorate([Watch("value")], HtSelectBaseDatavue_type_script_lang_ts_HtSelectBaseData.prototype, "onValue", null);
|
|
14243
14658
|
|
|
14244
14659
|
HtSelectBaseDatavue_type_script_lang_ts_HtSelectBaseData = __decorate([vue_class_component_esm({
|
|
14245
|
-
name: "HtSelectBaseData"
|
|
14660
|
+
name: "HtSelectBaseData",
|
|
14661
|
+
components: {
|
|
14662
|
+
HtShowBaseData: packages_HtShowBaseData
|
|
14663
|
+
}
|
|
14246
14664
|
})], HtSelectBaseDatavue_type_script_lang_ts_HtSelectBaseData);
|
|
14247
14665
|
/* harmony default export */ var HtSelectBaseDatavue_type_script_lang_ts_ = (HtSelectBaseDatavue_type_script_lang_ts_HtSelectBaseData);
|
|
14248
14666
|
// CONCATENATED MODULE: ./src/packages/HtSelectBaseData/index.vue?vue&type=script&lang=ts&
|
|
@@ -14257,11 +14675,11 @@ HtSelectBaseDatavue_type_script_lang_ts_HtSelectBaseData = __decorate([vue_class
|
|
|
14257
14675
|
|
|
14258
14676
|
var HtSelectBaseData_component = normalizeComponent(
|
|
14259
14677
|
packages_HtSelectBaseDatavue_type_script_lang_ts_,
|
|
14260
|
-
|
|
14261
|
-
|
|
14678
|
+
HtSelectBaseDatavue_type_template_id_135372f1_scoped_true_render,
|
|
14679
|
+
HtSelectBaseDatavue_type_template_id_135372f1_scoped_true_staticRenderFns,
|
|
14262
14680
|
false,
|
|
14263
14681
|
null,
|
|
14264
|
-
"
|
|
14682
|
+
"135372f1",
|
|
14265
14683
|
null
|
|
14266
14684
|
|
|
14267
14685
|
)
|
package/lib/htui.common.js.gz
CHANGED
|
Binary file
|
package/lib/htui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
body{margin:0}.ht-contnet{position:relative}.ht-contnet .ht-close{position:absolute;padding:0;width:16px;height:16px;top:8px;right:8px;color:#ccc;float:right}.ht-ul-upload li[data-v-443585d4]{width:100%;list-style:none;height:40px;line-height:40px;padding:0 8px;display:flex;justify-content:space-between;cursor:pointer}.ht-ul-upload li a[data-v-443585d4]{color:#606266;font-size:12px}.ht-ul-upload li .el-icon-close[data-v-443585d4]{display:none}.ht-ul-upload li[data-v-443585d4]:hover{background:#eee}.ht-ul-upload li:hover a[data-v-443585d4]{color:var(--primary)}.ht-ul-upload li:hover .el-icon-close[data-v-443585d4]{display:block;line-height:40px}.ht-ul-upload li:hover .el-icon-circle-check[data-v-443585d4]{display:none}.ht-ul-upload li .el-icon-circle-check[data-v-443585d4]{color:var(--primary)}.files-view .only-show>.el-upload{display:none}.files-view .only-show li{width:70px;height:54px;float:left;margin:8px 8px 0 0!important}.files-view .only-show li div{width:70px!important;height:54px}.files-view .only-show li div img{width:70px;height:54px}@font-face{font-family:fontello;src:url(fonts/fontello.e73a0647.eot);src:url(fonts/fontello.e73a0647.eot#iefix) format("embedded-opentype"),url(fonts/fontello.8d4a4e6f.woff2) format("woff2"),url(fonts/fontello.a782baa8.woff) format("woff"),url(fonts/fontello.068ca2b3.ttf) format("truetype"),url(img/fontello.9354499c.svg#fontello) format("svg");font-weight:400;font-style:normal}[class*=" fa-mavon-"]:before,[class^=fa-mavon-]:before{font-family:fontello;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-mavon-bold:before{content:"\E800"}.fa-mavon-italic:before{content:"\E801"}.fa-mavon-thumb-tack:before{content:"\E802"}.fa-mavon-link:before{content:"\E803"}.fa-mavon-picture-o:before{content:"\E804"}.fa-mavon-repeat:before{content:"\E805"}.fa-mavon-undo:before{content:"\E806"}.fa-mavon-trash-o:before{content:"\E807"}.fa-mavon-floppy-o:before{content:"\E808"}.fa-mavon-compress:before{content:"\E809"}.fa-mavon-eye:before{content:"\E80A"}.fa-mavon-eye-slash:before{content:"\E80B"}.fa-mavon-question-circle:before{content:"\E80C"}.fa-mavon-times:before{content:"\E80D"}.fa-mavon-align-left:before{content:"\E80F"}.fa-mavon-align-center:before{content:"\E810"}.fa-mavon-align-right:before{content:"\E811"}.fa-mavon-arrows-alt:before{content:"\F0B2"}.fa-mavon-bars:before{content:"\F0C9"}.fa-mavon-list-ul:before{content:"\F0CA"}.fa-mavon-list-ol:before{content:"\F0CB"}.fa-mavon-strikethrough:before{content:"\F0CC"}.fa-mavon-underline:before{content:"\F0CD"}.fa-mavon-table:before{content:"\F0CE"}.fa-mavon-columns:before{content:"\F0DB"}.fa-mavon-quote-left:before{content:"\F10D"}.fa-mavon-code:before{content:"\F121"}.fa-mavon-superscript:before{content:"\F12B"}.fa-mavon-subscript:before{content:"\F12C"}.fa-mavon-header:before{content:"\F1DC"}.fa-mavon-window-maximize:before{content:"\F2D0"}.markdown-body strong{font-weight:bolder}.markdown-body .hljs-center{text-align:center}.markdown-body .hljs-right{text-align:right}.markdown-body .hljs-left{text-align:left}.markdown-body .hljs{overflow:auto}
|
|
1
|
+
body{margin:0}.ht-contnet{position:relative}.ht-contnet .ht-close{position:absolute;padding:0;width:16px;height:16px;top:8px;right:8px;color:#ccc;float:right}.ht-ul-upload li[data-v-443585d4]{width:100%;list-style:none;height:40px;line-height:40px;padding:0 8px;display:flex;justify-content:space-between;cursor:pointer}.ht-ul-upload li a[data-v-443585d4]{color:#606266;font-size:12px}.ht-ul-upload li .el-icon-close[data-v-443585d4]{display:none}.ht-ul-upload li[data-v-443585d4]:hover{background:#eee}.ht-ul-upload li:hover a[data-v-443585d4]{color:var(--primary)}.ht-ul-upload li:hover .el-icon-close[data-v-443585d4]{display:block;line-height:40px}.ht-ul-upload li:hover .el-icon-circle-check[data-v-443585d4]{display:none}.ht-ul-upload li .el-icon-circle-check[data-v-443585d4]{color:var(--primary)}.files-view .only-show>.el-upload{display:none}.files-view .only-show li{width:70px;height:54px;float:left;margin:8px 8px 0 0!important}.files-view .only-show li div{width:70px!important;height:54px}.files-view .only-show li div img{width:70px;height:54px}@font-face{font-family:fontello;src:url(fonts/fontello.e73a0647.eot);src:url(fonts/fontello.e73a0647.eot#iefix) format("embedded-opentype"),url(fonts/fontello.8d4a4e6f.woff2) format("woff2"),url(fonts/fontello.a782baa8.woff) format("woff"),url(fonts/fontello.068ca2b3.ttf) format("truetype"),url(img/fontello.9354499c.svg#fontello) format("svg");font-weight:400;font-style:normal}[class*=" fa-mavon-"]:before,[class^=fa-mavon-]:before{font-family:fontello;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-mavon-bold:before{content:"\E800"}.fa-mavon-italic:before{content:"\E801"}.fa-mavon-thumb-tack:before{content:"\E802"}.fa-mavon-link:before{content:"\E803"}.fa-mavon-picture-o:before{content:"\E804"}.fa-mavon-repeat:before{content:"\E805"}.fa-mavon-undo:before{content:"\E806"}.fa-mavon-trash-o:before{content:"\E807"}.fa-mavon-floppy-o:before{content:"\E808"}.fa-mavon-compress:before{content:"\E809"}.fa-mavon-eye:before{content:"\E80A"}.fa-mavon-eye-slash:before{content:"\E80B"}.fa-mavon-question-circle:before{content:"\E80C"}.fa-mavon-times:before{content:"\E80D"}.fa-mavon-align-left:before{content:"\E80F"}.fa-mavon-align-center:before{content:"\E810"}.fa-mavon-align-right:before{content:"\E811"}.fa-mavon-arrows-alt:before{content:"\F0B2"}.fa-mavon-bars:before{content:"\F0C9"}.fa-mavon-list-ul:before{content:"\F0CA"}.fa-mavon-list-ol:before{content:"\F0CB"}.fa-mavon-strikethrough:before{content:"\F0CC"}.fa-mavon-underline:before{content:"\F0CD"}.fa-mavon-table:before{content:"\F0CE"}.fa-mavon-columns:before{content:"\F0DB"}.fa-mavon-quote-left:before{content:"\F10D"}.fa-mavon-code:before{content:"\F121"}.fa-mavon-superscript:before{content:"\F12B"}.fa-mavon-subscript:before{content:"\F12C"}.fa-mavon-header:before{content:"\F1DC"}.fa-mavon-window-maximize:before{content:"\F2D0"}.markdown-body strong{font-weight:bolder}.markdown-body .hljs-center{text-align:center}.markdown-body .hljs-right{text-align:right}.markdown-body .hljs-left{text-align:left}.markdown-body .hljs{overflow:auto}.show-common-item[data-v-3e20df09]{display:inline-block}.show-common-item .item+.item[data-v-3e20df09]{padding-left:10px}
|