tenghui-ui 1.1.12 → 1.2.1
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/dist/style.css +1 -1
- package/dist/tenghui-ui.es.js +213 -122
- package/dist/tenghui-ui.es.js.map +1 -1
- package/dist/tenghui-ui.umd.js +1 -1
- package/dist/tenghui-ui.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.el-menu[data-v-1a7163e6]{width:100%;height:60px!important}.el-submenu .el-menu-item[data-v-1a7163e6]{min-width:unset}.el-submenu__title i[data-v-1a7163e6]{color:unset}.ui-tabs[data-v-e7fe9cfa]{border-bottom:1px solid #ebeef5;padding:0 10px;height:40px;background-color:#fff}.ui-tabs__item[data-v-e7fe9cfa]{float:left;height:31px;border-radius:6px 6px 0 0;border:1px solid #ebeef5;margin-top:10px;box-sizing:border-box;font-size:12px;line-height:30px;padding:0 10px;color:#c0c4cc;cursor:pointer;border-bottom-color:#fff;margin-right:1px;position:relative;transition:all .1s linear}.ui-tabs__item:hover .el-icon-error[data-v-e7fe9cfa]{opacity:1}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]{position:absolute;right:2px;top:50%;margin-top:-5px;opacity:0;transition:all .1s linear}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]:hover{color:#409effcc}.ui-tabs__item--active[data-v-e7fe9cfa]{color:#409effcc;padding-right:20px}.ui-tabs__item--active .el-icon-error[data-v-e7fe9cfa]{top:50%;right:5px;font-size:14px;margin-top:-5px;opacity:1}.el-icon-s-tools[data-v-b586e068]{font-size:20px;color:#fff;line-height:60px;margin-right:20px;cursor:pointer}[data-v-0a02be4b] .el-dialog__header{border-bottom:1px solid #ededed}[data-v-0a02be4b] .el-dialog__header .el-dialog__title{font-size:16px}[data-v-0a02be4b] .el-dialog__footer{border-top:1px solid #ededed}[data-v-0a02be4b] .el-dialog__body .el-form .el-select,[data-v-0a02be4b] .el-dialog__body .el-form .el-input,[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number{width:240px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number .el-input__inner{text-align:left}[data-v-0a02be4b] .el-dialog__body .el-form .ui-item__main{width:100%}[data-v-0a02be4b] .el-dialog__body .el-form .el-form-item__label{font-size:12px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input--small .el-input__icon{height:32px}.ui-form__item[data-v-
|
|
1
|
+
.el-menu[data-v-1a7163e6]{width:100%;height:60px!important}.el-submenu .el-menu-item[data-v-1a7163e6]{min-width:unset}.el-submenu__title i[data-v-1a7163e6]{color:unset}.ui-tabs[data-v-e7fe9cfa]{border-bottom:1px solid #ebeef5;padding:0 10px;height:40px;background-color:#fff}.ui-tabs__item[data-v-e7fe9cfa]{float:left;height:31px;border-radius:6px 6px 0 0;border:1px solid #ebeef5;margin-top:10px;box-sizing:border-box;font-size:12px;line-height:30px;padding:0 10px;color:#c0c4cc;cursor:pointer;border-bottom-color:#fff;margin-right:1px;position:relative;transition:all .1s linear}.ui-tabs__item:hover .el-icon-error[data-v-e7fe9cfa]{opacity:1}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]{position:absolute;right:2px;top:50%;margin-top:-5px;opacity:0;transition:all .1s linear}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]:hover{color:#409effcc}.ui-tabs__item--active[data-v-e7fe9cfa]{color:#409effcc;padding-right:20px}.ui-tabs__item--active .el-icon-error[data-v-e7fe9cfa]{top:50%;right:5px;font-size:14px;margin-top:-5px;opacity:1}.el-icon-s-tools[data-v-b586e068]{font-size:20px;color:#fff;line-height:60px;margin-right:20px;cursor:pointer}[data-v-0a02be4b] .el-dialog__header{border-bottom:1px solid #ededed}[data-v-0a02be4b] .el-dialog__header .el-dialog__title{font-size:16px}[data-v-0a02be4b] .el-dialog__footer{border-top:1px solid #ededed}[data-v-0a02be4b] .el-dialog__body .el-form .el-select,[data-v-0a02be4b] .el-dialog__body .el-form .el-input,[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number{width:240px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number .el-input__inner{text-align:left}[data-v-0a02be4b] .el-dialog__body .el-form .ui-item__main{width:100%}[data-v-0a02be4b] .el-dialog__body .el-form .el-form-item__label{font-size:12px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input--small .el-input__icon{height:32px}.ui-form__item[data-v-5f450689]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-5f450689]{margin-right:10px;font-size:12px;width:70px;text-align:right}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-07c7d454]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-07c7d454]{display:flex}.ui-search__footer[data-v-07c7d454]{margin-top:10px}.ui-search[data-v-07c7d454] .ui-form__item{display:block}.ui-search[data-v-07c7d454] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-table[data-v-f8366462]{padding:0 10px}.ui-table[data-v-f8366462] .el-table-column--selection .el-checkbox{display:block}.ui-pagination[data-v-f8366462]{text-align:center;padding:10px 0}.ui-image--error[data-v-4d3de6d0]{text-align:center;color:#999;background-color:#efefef}
|
package/dist/tenghui-ui.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var render$
|
|
1
|
+
var render$9 = function() {
|
|
2
2
|
var _vm = this;
|
|
3
3
|
var _h = _vm.$createElement;
|
|
4
4
|
var _c = _vm._self._c || _h;
|
|
5
5
|
return _c("div", { staticClass: "ui-template" }, [_c("h1", [_vm._v(_vm._s(_vm.msg))]), _c("el-table", { staticStyle: { "width": "100%" }, attrs: { "data": _vm.tableData } }, [_c("el-table-column", { attrs: { "prop": "date", "label": "\u65E5\u671F", "width": "180" } }), _c("el-table-column", { attrs: { "prop": "name", "label": "\u59D3\u540D", "width": "180" } }), _c("el-table-column", { attrs: { "prop": "address", "label": "\u5730\u5740" } })], 1)], 1);
|
|
6
6
|
};
|
|
7
|
-
var staticRenderFns$
|
|
8
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
7
|
+
var staticRenderFns$9 = [];
|
|
8
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
|
|
9
9
|
function normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
10
10
|
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
11
11
|
if (render2) {
|
|
@@ -57,7 +57,7 @@ function normalizeComponent(scriptExports, render2, staticRenderFns2, functional
|
|
|
57
57
|
options
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
const __vue2_script$
|
|
60
|
+
const __vue2_script$9 = {
|
|
61
61
|
name: "ComTemplate",
|
|
62
62
|
data() {
|
|
63
63
|
return {
|
|
@@ -83,21 +83,21 @@ const __vue2_script$8 = {
|
|
|
83
83
|
},
|
|
84
84
|
methods: {}
|
|
85
85
|
};
|
|
86
|
-
const __cssModules$
|
|
87
|
-
var __component__$
|
|
88
|
-
function __vue2_injectStyles$
|
|
89
|
-
for (let o in __cssModules$
|
|
90
|
-
this[o] = __cssModules$
|
|
86
|
+
const __cssModules$9 = {};
|
|
87
|
+
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "183fe45a", null, null);
|
|
88
|
+
function __vue2_injectStyles$9(context) {
|
|
89
|
+
for (let o in __cssModules$9) {
|
|
90
|
+
this[o] = __cssModules$9[o];
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
var ComTemplate = /* @__PURE__ */ function() {
|
|
94
|
-
return __component__$
|
|
94
|
+
return __component__$9.exports;
|
|
95
95
|
}();
|
|
96
96
|
ComTemplate.install = (app) => {
|
|
97
97
|
app.component(ComTemplate.name, ComTemplate);
|
|
98
98
|
};
|
|
99
99
|
const InComTemplate = ComTemplate;
|
|
100
|
-
var render$
|
|
100
|
+
var render$8 = function() {
|
|
101
101
|
var _vm = this;
|
|
102
102
|
var _h = _vm.$createElement;
|
|
103
103
|
var _c = _vm._self._c || _h;
|
|
@@ -109,9 +109,9 @@ var render$7 = function() {
|
|
|
109
109
|
})], 2) : _c("el-menu-item", { attrs: { "index": item.path || item.name } }, [_c("i", { staticClass: "el-icon-menu" }), _c("span", { attrs: { "slot": "title" }, slot: "title" }, [_vm._v(_vm._s(item.name))])])];
|
|
110
110
|
})], 2);
|
|
111
111
|
};
|
|
112
|
-
var staticRenderFns$
|
|
113
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
114
|
-
const __vue2_script$
|
|
112
|
+
var staticRenderFns$8 = [];
|
|
113
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
|
|
114
|
+
const __vue2_script$8 = {
|
|
115
115
|
name: "ComMenu",
|
|
116
116
|
props: {
|
|
117
117
|
data: {
|
|
@@ -131,21 +131,21 @@ const __vue2_script$7 = {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const __cssModules$
|
|
135
|
-
var __component__$
|
|
136
|
-
function __vue2_injectStyles$
|
|
137
|
-
for (let o in __cssModules$
|
|
138
|
-
this[o] = __cssModules$
|
|
134
|
+
const __cssModules$8 = {};
|
|
135
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "1a7163e6", null, null);
|
|
136
|
+
function __vue2_injectStyles$8(context) {
|
|
137
|
+
for (let o in __cssModules$8) {
|
|
138
|
+
this[o] = __cssModules$8[o];
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
var ComComponent$
|
|
142
|
-
return __component__$
|
|
141
|
+
var ComComponent$8 = /* @__PURE__ */ function() {
|
|
142
|
+
return __component__$8.exports;
|
|
143
143
|
}();
|
|
144
|
-
ComComponent$
|
|
145
|
-
app.component(ComComponent$
|
|
144
|
+
ComComponent$8.install = (app) => {
|
|
145
|
+
app.component(ComComponent$8.name, ComComponent$8);
|
|
146
146
|
};
|
|
147
|
-
const InComComponent$
|
|
148
|
-
var render$
|
|
147
|
+
const InComComponent$8 = ComComponent$8;
|
|
148
|
+
var render$7 = function() {
|
|
149
149
|
var _vm = this;
|
|
150
150
|
var _h = _vm.$createElement;
|
|
151
151
|
var _c = _vm._self._c || _h;
|
|
@@ -158,9 +158,9 @@ var render$6 = function() {
|
|
|
158
158
|
} } })]);
|
|
159
159
|
}), 0)]);
|
|
160
160
|
};
|
|
161
|
-
var staticRenderFns$
|
|
162
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
163
|
-
const __vue2_script$
|
|
161
|
+
var staticRenderFns$7 = [];
|
|
162
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
163
|
+
const __vue2_script$7 = {
|
|
164
164
|
name: "ComTabs",
|
|
165
165
|
props: {
|
|
166
166
|
data: {
|
|
@@ -188,21 +188,21 @@ const __vue2_script$6 = {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
|
-
const __cssModules$
|
|
192
|
-
var __component__$
|
|
193
|
-
function __vue2_injectStyles$
|
|
194
|
-
for (let o in __cssModules$
|
|
195
|
-
this[o] = __cssModules$
|
|
191
|
+
const __cssModules$7 = {};
|
|
192
|
+
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "e7fe9cfa", null, null);
|
|
193
|
+
function __vue2_injectStyles$7(context) {
|
|
194
|
+
for (let o in __cssModules$7) {
|
|
195
|
+
this[o] = __cssModules$7[o];
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
var ComComponent$
|
|
199
|
-
return __component__$
|
|
198
|
+
var ComComponent$7 = /* @__PURE__ */ function() {
|
|
199
|
+
return __component__$7.exports;
|
|
200
200
|
}();
|
|
201
|
-
ComComponent$
|
|
202
|
-
app.component(ComComponent$
|
|
201
|
+
ComComponent$7.install = (app) => {
|
|
202
|
+
app.component(ComComponent$7.name, ComComponent$7);
|
|
203
203
|
};
|
|
204
|
-
const InComComponent$
|
|
205
|
-
var render$
|
|
204
|
+
const InComComponent$7 = ComComponent$7;
|
|
205
|
+
var render$6 = function() {
|
|
206
206
|
var _vm = this;
|
|
207
207
|
var _h = _vm.$createElement;
|
|
208
208
|
var _c = _vm._self._c || _h;
|
|
@@ -210,9 +210,9 @@ var render$5 = function() {
|
|
|
210
210
|
return _vm.handleOperation("outLogin");
|
|
211
211
|
} } }, [_vm._v("\u9000\u51FA\u767B\u5F55")])], 1)], 1);
|
|
212
212
|
};
|
|
213
|
-
var staticRenderFns$
|
|
214
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
215
|
-
const __vue2_script$
|
|
213
|
+
var staticRenderFns$6 = [];
|
|
214
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
215
|
+
const __vue2_script$6 = {
|
|
216
216
|
name: "ComTool",
|
|
217
217
|
methods: {
|
|
218
218
|
handleOperation(cmd) {
|
|
@@ -228,21 +228,21 @@ const __vue2_script$5 = {
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
|
-
const __cssModules$
|
|
232
|
-
var __component__$
|
|
233
|
-
function __vue2_injectStyles$
|
|
234
|
-
for (let o in __cssModules$
|
|
235
|
-
this[o] = __cssModules$
|
|
231
|
+
const __cssModules$6 = {};
|
|
232
|
+
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "b586e068", null, null);
|
|
233
|
+
function __vue2_injectStyles$6(context) {
|
|
234
|
+
for (let o in __cssModules$6) {
|
|
235
|
+
this[o] = __cssModules$6[o];
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
var ComComponent$
|
|
239
|
-
return __component__$
|
|
238
|
+
var ComComponent$6 = /* @__PURE__ */ function() {
|
|
239
|
+
return __component__$6.exports;
|
|
240
240
|
}();
|
|
241
|
-
ComComponent$
|
|
242
|
-
app.component(ComComponent$
|
|
241
|
+
ComComponent$6.install = (app) => {
|
|
242
|
+
app.component(ComComponent$6.name, ComComponent$6);
|
|
243
243
|
};
|
|
244
|
-
const InComComponent$
|
|
245
|
-
var render$
|
|
244
|
+
const InComComponent$6 = ComComponent$6;
|
|
245
|
+
var render$5 = function() {
|
|
246
246
|
var _vm = this;
|
|
247
247
|
var _h = _vm.$createElement;
|
|
248
248
|
var _c = _vm._self._c || _h;
|
|
@@ -252,9 +252,9 @@ var render$4 = function() {
|
|
|
252
252
|
} } }, [_vm._v("\u53D6\u6D88")]) : _vm._e(), _vm.showBtn ? _c("el-button", { attrs: { "size": "small", "type": "primary" }, on: { "click": _vm.handleConfirm } }, [_vm._v("\u786E\u5B9A")]) : _vm._e()])];
|
|
253
253
|
}, proxy: true }], null, true) }, [_vm._t("default")], 2);
|
|
254
254
|
};
|
|
255
|
-
var staticRenderFns$
|
|
256
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
257
|
-
const __vue2_script$
|
|
255
|
+
var staticRenderFns$5 = [];
|
|
256
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
257
|
+
const __vue2_script$5 = {
|
|
258
258
|
name: "ComDialog",
|
|
259
259
|
props: {
|
|
260
260
|
visible: {
|
|
@@ -303,27 +303,27 @@ const __vue2_script$4 = {
|
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
|
-
const __cssModules$
|
|
307
|
-
var __component__$
|
|
308
|
-
function __vue2_injectStyles$
|
|
309
|
-
for (let o in __cssModules$
|
|
310
|
-
this[o] = __cssModules$
|
|
306
|
+
const __cssModules$5 = {};
|
|
307
|
+
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "0a02be4b", null, null);
|
|
308
|
+
function __vue2_injectStyles$5(context) {
|
|
309
|
+
for (let o in __cssModules$5) {
|
|
310
|
+
this[o] = __cssModules$5[o];
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
var ComComponent$
|
|
314
|
-
return __component__$
|
|
313
|
+
var ComComponent$5 = /* @__PURE__ */ function() {
|
|
314
|
+
return __component__$5.exports;
|
|
315
315
|
}();
|
|
316
|
-
ComComponent$
|
|
317
|
-
app.component(ComComponent$
|
|
316
|
+
ComComponent$5.install = (app) => {
|
|
317
|
+
app.component(ComComponent$5.name, ComComponent$5);
|
|
318
318
|
};
|
|
319
|
-
const InComComponent$
|
|
320
|
-
var render$
|
|
319
|
+
const InComComponent$5 = ComComponent$5;
|
|
320
|
+
var render$4 = function() {
|
|
321
321
|
var _vm = this;
|
|
322
322
|
var _h = _vm.$createElement;
|
|
323
323
|
var _c = _vm._self._c || _h;
|
|
324
324
|
return _c("div", { staticClass: "ui-form__item" }, [_c("div", [_vm._t("label", [_vm.label ? _c("div", { staticClass: "ui-item__label" }, [_c("span", [_vm._v(_vm._s(_vm.label))])]) : _vm._e()])], 2), _c("div", { staticClass: "ui-item__main" }, [_vm.type === "input" ? [_c("el-input", { attrs: { "size": "small", "placeholder": _vm.placeholder, "disabled": _vm.readonly, "maxlength": _vm.maxlength }, model: { value: _vm.modelForm, callback: function($$v) {
|
|
325
325
|
_vm.modelForm = $$v;
|
|
326
|
-
}, expression: "modelForm" } })] : _vm.type === "select" ? [_c("el-select", { attrs: { "size": "small", "placeholder": _vm.placeholder || "\u8BF7\u9009\u62E9", "multiple": _vm.multiple, "disabled": _vm.readonly, "
|
|
326
|
+
}, expression: "modelForm" } })] : _vm.type === "select" ? [_c("el-select", { attrs: { "size": "small", "placeholder": _vm.placeholder || "\u8BF7\u9009\u62E9", "multiple": _vm.multiple, "disabled": _vm.readonly, "clearable": _vm.clearable, "filterable": "" }, model: { value: _vm.modelForm, callback: function($$v) {
|
|
327
327
|
_vm.modelForm = $$v;
|
|
328
328
|
}, expression: "modelForm" } }, _vm._l(_vm.selectOption, function(item) {
|
|
329
329
|
return _c("el-option", { key: item.value, attrs: { "value": item.value.toString(), "label": item.label } });
|
|
@@ -339,9 +339,9 @@ var render$3 = function() {
|
|
|
339
339
|
_vm.modelForm = $$v;
|
|
340
340
|
}, expression: "modelForm" } })] : _vm._e()], 2)]);
|
|
341
341
|
};
|
|
342
|
-
var staticRenderFns$
|
|
343
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
344
|
-
const __vue2_script$
|
|
342
|
+
var staticRenderFns$4 = [];
|
|
343
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
344
|
+
const __vue2_script$4 = {
|
|
345
345
|
name: "ComFormItem",
|
|
346
346
|
model: {
|
|
347
347
|
prop: "model",
|
|
@@ -384,6 +384,10 @@ const __vue2_script$3 = {
|
|
|
384
384
|
default() {
|
|
385
385
|
return { value: "value", label: "label" };
|
|
386
386
|
}
|
|
387
|
+
},
|
|
388
|
+
clearable: {
|
|
389
|
+
type: Boolean,
|
|
390
|
+
default: true
|
|
387
391
|
}
|
|
388
392
|
},
|
|
389
393
|
data() {
|
|
@@ -440,58 +444,58 @@ const __vue2_script$3 = {
|
|
|
440
444
|
}
|
|
441
445
|
}
|
|
442
446
|
};
|
|
443
|
-
const __cssModules$
|
|
444
|
-
var __component__$
|
|
445
|
-
function __vue2_injectStyles$
|
|
446
|
-
for (let o in __cssModules$
|
|
447
|
-
this[o] = __cssModules$
|
|
447
|
+
const __cssModules$4 = {};
|
|
448
|
+
var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "5f450689", null, null);
|
|
449
|
+
function __vue2_injectStyles$4(context) {
|
|
450
|
+
for (let o in __cssModules$4) {
|
|
451
|
+
this[o] = __cssModules$4[o];
|
|
448
452
|
}
|
|
449
453
|
}
|
|
450
|
-
var ComComponent$
|
|
451
|
-
return __component__$
|
|
454
|
+
var ComComponent$4 = /* @__PURE__ */ function() {
|
|
455
|
+
return __component__$4.exports;
|
|
452
456
|
}();
|
|
453
|
-
ComComponent$
|
|
454
|
-
app.component(ComComponent$
|
|
457
|
+
ComComponent$4.install = (app) => {
|
|
458
|
+
app.component(ComComponent$4.name, ComComponent$4);
|
|
455
459
|
};
|
|
456
|
-
const InComComponent$
|
|
457
|
-
var render$
|
|
460
|
+
const InComComponent$4 = ComComponent$4;
|
|
461
|
+
var render$3 = function() {
|
|
458
462
|
var _vm = this;
|
|
459
463
|
var _h = _vm.$createElement;
|
|
460
464
|
var _c = _vm._self._c || _h;
|
|
461
465
|
return _c("div", { staticClass: "ui-operation" }, [_vm._t("default")], 2);
|
|
462
466
|
};
|
|
463
|
-
var staticRenderFns$
|
|
464
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
465
|
-
const __vue2_script$
|
|
467
|
+
var staticRenderFns$3 = [];
|
|
468
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
469
|
+
const __vue2_script$3 = {
|
|
466
470
|
name: "ComOperation",
|
|
467
471
|
prop: {
|
|
468
472
|
type: String,
|
|
469
473
|
default: "main"
|
|
470
474
|
}
|
|
471
475
|
};
|
|
472
|
-
const __cssModules$
|
|
473
|
-
var __component__$
|
|
474
|
-
function __vue2_injectStyles$
|
|
475
|
-
for (let o in __cssModules$
|
|
476
|
-
this[o] = __cssModules$
|
|
476
|
+
const __cssModules$3 = {};
|
|
477
|
+
var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "3c6cb9f6", null, null);
|
|
478
|
+
function __vue2_injectStyles$3(context) {
|
|
479
|
+
for (let o in __cssModules$3) {
|
|
480
|
+
this[o] = __cssModules$3[o];
|
|
477
481
|
}
|
|
478
482
|
}
|
|
479
|
-
var ComComponent$
|
|
480
|
-
return __component__$
|
|
483
|
+
var ComComponent$3 = /* @__PURE__ */ function() {
|
|
484
|
+
return __component__$3.exports;
|
|
481
485
|
}();
|
|
482
|
-
ComComponent$
|
|
483
|
-
app.component(ComComponent$
|
|
486
|
+
ComComponent$3.install = (app) => {
|
|
487
|
+
app.component(ComComponent$3.name, ComComponent$3);
|
|
484
488
|
};
|
|
485
|
-
const InComComponent$
|
|
486
|
-
var render$
|
|
489
|
+
const InComComponent$3 = ComComponent$3;
|
|
490
|
+
var render$2 = function() {
|
|
487
491
|
var _vm = this;
|
|
488
492
|
var _h = _vm.$createElement;
|
|
489
493
|
var _c = _vm._self._c || _h;
|
|
490
494
|
return _c("div", { staticClass: "ui-search" }, [_c("div", { staticClass: "ui-search__main" }, [_vm._t("default")], 2), _c("div", { staticClass: "ui-search__footer" }, [_c("el-button", { attrs: { "size": "small", "icon": "el-icon-refresh" }, on: { "click": _vm.handleReset } }, [_vm._v("\u91CD\u7F6E")]), _c("el-button", { attrs: { "size": "small", "icon": "el-icon-search", "type": "primary" }, on: { "click": _vm.handleQuery } }, [_vm._v("\u67E5\u8BE2")])], 1)]);
|
|
491
495
|
};
|
|
492
|
-
var staticRenderFns$
|
|
493
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
494
|
-
const __vue2_script$
|
|
496
|
+
var staticRenderFns$2 = [];
|
|
497
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
498
|
+
const __vue2_script$2 = {
|
|
495
499
|
name: "ComSearch",
|
|
496
500
|
methods: {
|
|
497
501
|
handleQuery() {
|
|
@@ -512,20 +516,20 @@ const __vue2_script$1 = {
|
|
|
512
516
|
}
|
|
513
517
|
}
|
|
514
518
|
};
|
|
515
|
-
const __cssModules$
|
|
516
|
-
var __component__$
|
|
517
|
-
function __vue2_injectStyles$
|
|
518
|
-
for (let o in __cssModules$
|
|
519
|
-
this[o] = __cssModules$
|
|
519
|
+
const __cssModules$2 = {};
|
|
520
|
+
var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "07c7d454", null, null);
|
|
521
|
+
function __vue2_injectStyles$2(context) {
|
|
522
|
+
for (let o in __cssModules$2) {
|
|
523
|
+
this[o] = __cssModules$2[o];
|
|
520
524
|
}
|
|
521
525
|
}
|
|
522
|
-
var ComComponent$
|
|
523
|
-
return __component__$
|
|
526
|
+
var ComComponent$2 = /* @__PURE__ */ function() {
|
|
527
|
+
return __component__$2.exports;
|
|
524
528
|
}();
|
|
525
|
-
ComComponent$
|
|
526
|
-
app.component(ComComponent$
|
|
529
|
+
ComComponent$2.install = (app) => {
|
|
530
|
+
app.component(ComComponent$2.name, ComComponent$2);
|
|
527
531
|
};
|
|
528
|
-
const InComComponent$
|
|
532
|
+
const InComComponent$2 = ComComponent$2;
|
|
529
533
|
function countTableHeight(staticNum = 0) {
|
|
530
534
|
const pageCountEls = document.querySelectorAll(".ui-page__main:not(.v-leave) > div");
|
|
531
535
|
const paginationEl = document.querySelector(".ui-pagination");
|
|
@@ -562,7 +566,7 @@ function countTableHeight(staticNum = 0) {
|
|
|
562
566
|
tableHeight = window.innerHeight - tableHeight;
|
|
563
567
|
return tableHeight;
|
|
564
568
|
}
|
|
565
|
-
var render = function() {
|
|
569
|
+
var render$1 = function() {
|
|
566
570
|
var _vm = this;
|
|
567
571
|
var _h = _vm.$createElement;
|
|
568
572
|
var _c = _vm._self._c || _h;
|
|
@@ -580,9 +584,9 @@ var render = function() {
|
|
|
580
584
|
return _vm.handlePageChange("offset", val);
|
|
581
585
|
} } })], 1) : _vm._e()], 1);
|
|
582
586
|
};
|
|
583
|
-
var staticRenderFns = [];
|
|
584
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
585
|
-
const __vue2_script = {
|
|
587
|
+
var staticRenderFns$1 = [];
|
|
588
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
589
|
+
const __vue2_script$1 = {
|
|
586
590
|
name: "ComTable",
|
|
587
591
|
props: {
|
|
588
592
|
showSelect: { type: Boolean, default: false },
|
|
@@ -673,8 +677,93 @@ const __vue2_script = {
|
|
|
673
677
|
window.removeEventListener("resize", this.handleRefreshHeight);
|
|
674
678
|
}
|
|
675
679
|
};
|
|
680
|
+
const __cssModules$1 = {};
|
|
681
|
+
var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "f8366462", null, null);
|
|
682
|
+
function __vue2_injectStyles$1(context) {
|
|
683
|
+
for (let o in __cssModules$1) {
|
|
684
|
+
this[o] = __cssModules$1[o];
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
var ComComponent$1 = /* @__PURE__ */ function() {
|
|
688
|
+
return __component__$1.exports;
|
|
689
|
+
}();
|
|
690
|
+
ComComponent$1.install = (app) => {
|
|
691
|
+
app.component(ComComponent$1.name, ComComponent$1);
|
|
692
|
+
};
|
|
693
|
+
const InComComponent$1 = ComComponent$1;
|
|
694
|
+
var render = function() {
|
|
695
|
+
var _vm = this;
|
|
696
|
+
var _h = _vm.$createElement;
|
|
697
|
+
var _c = _vm._self._c || _h;
|
|
698
|
+
return _c("el-image", { ref: "imageRef", style: { width: _vm.sizeMain }, attrs: { "src": _vm.srcMain, "preview-src-list": _vm.previewList }, scopedSlots: _vm._u([{ key: "placeholder", fn: function() {
|
|
699
|
+
return [_c("div", { directives: [{ name: "loading", rawName: "v-loading", value: true, expression: "true" }], staticClass: "ui-image--loading", style: { width: _vm.sizeMain, height: _vm.height } })];
|
|
700
|
+
}, proxy: true }, { key: "error", fn: function() {
|
|
701
|
+
return [_c("div", { staticClass: "ui-image--error", style: { width: _vm.sizeMain, height: _vm.height, lineHeight: _vm.height, fontSize: _vm.fontSize } }, [_c("i", { staticClass: "el-icon-picture-outline" })])];
|
|
702
|
+
}, proxy: true }]) });
|
|
703
|
+
};
|
|
704
|
+
var staticRenderFns = [];
|
|
705
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
706
|
+
const __vue2_script = {
|
|
707
|
+
name: "ComImage",
|
|
708
|
+
props: {
|
|
709
|
+
size: {
|
|
710
|
+
type: String,
|
|
711
|
+
default: ""
|
|
712
|
+
},
|
|
713
|
+
src: {
|
|
714
|
+
type: [String, Array],
|
|
715
|
+
default() {
|
|
716
|
+
return "";
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
previewSrcList: {
|
|
720
|
+
type: Array,
|
|
721
|
+
default() {
|
|
722
|
+
return [];
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
data() {
|
|
727
|
+
return {
|
|
728
|
+
height: ""
|
|
729
|
+
};
|
|
730
|
+
},
|
|
731
|
+
computed: {
|
|
732
|
+
previewList() {
|
|
733
|
+
if (this.previewSrcList.length)
|
|
734
|
+
return this.previewSrcList;
|
|
735
|
+
if (Array.isArray(this.src)) {
|
|
736
|
+
return this.src;
|
|
737
|
+
} else {
|
|
738
|
+
return [];
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
srcMain() {
|
|
742
|
+
if (Array.isArray(this.src)) {
|
|
743
|
+
return this.src[0];
|
|
744
|
+
} else {
|
|
745
|
+
return this.src;
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
fontSize() {
|
|
749
|
+
return `${parseInt(this.height) - 30}px`;
|
|
750
|
+
},
|
|
751
|
+
sizeMain() {
|
|
752
|
+
if (!this.size)
|
|
753
|
+
return "100%";
|
|
754
|
+
else if (Number(this.size))
|
|
755
|
+
return `${this.size}px`;
|
|
756
|
+
else
|
|
757
|
+
return this.size;
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
async mounted() {
|
|
761
|
+
await this.$nextTick();
|
|
762
|
+
this.height = `${this.$refs.imageRef.$el.offsetWidth}px`;
|
|
763
|
+
}
|
|
764
|
+
};
|
|
676
765
|
const __cssModules = {};
|
|
677
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, "
|
|
766
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, "4d3de6d0", null, null);
|
|
678
767
|
function __vue2_injectStyles(context) {
|
|
679
768
|
for (let o in __cssModules) {
|
|
680
769
|
this[o] = __cssModules[o];
|
|
@@ -689,6 +778,7 @@ ComComponent.install = (app) => {
|
|
|
689
778
|
const InComComponent = ComComponent;
|
|
690
779
|
const components = [
|
|
691
780
|
InComTemplate,
|
|
781
|
+
InComComponent$8,
|
|
692
782
|
InComComponent$7,
|
|
693
783
|
InComComponent$6,
|
|
694
784
|
InComComponent$5,
|
|
@@ -706,14 +796,15 @@ const defaultConfig = {
|
|
|
706
796
|
version: "dev",
|
|
707
797
|
install,
|
|
708
798
|
ComTemplate: InComTemplate,
|
|
709
|
-
ComMenu: InComComponent$
|
|
710
|
-
ComTabs: InComComponent$
|
|
711
|
-
ComTool: InComComponent$
|
|
712
|
-
ComDialog: InComComponent$
|
|
713
|
-
ComFormItem: InComComponent$
|
|
714
|
-
ComOperation: InComComponent$
|
|
715
|
-
ComSearch: InComComponent$
|
|
716
|
-
ComTable: InComComponent
|
|
799
|
+
ComMenu: InComComponent$8,
|
|
800
|
+
ComTabs: InComComponent$7,
|
|
801
|
+
ComTool: InComComponent$6,
|
|
802
|
+
ComDialog: InComComponent$5,
|
|
803
|
+
ComFormItem: InComComponent$4,
|
|
804
|
+
ComOperation: InComComponent$3,
|
|
805
|
+
ComSearch: InComComponent$2,
|
|
806
|
+
ComTable: InComComponent$1,
|
|
807
|
+
ComImage: InComComponent
|
|
717
808
|
};
|
|
718
809
|
try {
|
|
719
810
|
defaultConfig.version = require("../package.json").version;
|